Interface IOP_NETContract

This interface represents the OP_NET base contract. IOP_NETContract

Contracts

interface IOP_NETContract {
    address: BitcoinAddressLike;
    decodeEvent(event: NetEvent): OPNetEvent<{}>;
    decodeEvents(events: ContractEvents | NetEvent[]): OPNetEvent<{}>[];
    encodeCalldata(method: string, ...args: unknown[]): Buffer;
    isAddressOwner(address: BitcoinAddressLike): Promise<BaseContractProperty>;
    owner(): Promise<BaseContractProperty>;
    setSender(sender: BitcoinAddressLike): void;
}

Hierarchy (view full)

Properties

Methods