Interface IMotoswapFactoryContract

This is the interface that represent the MotoSwap Factory contract. IMotoswapFactoryContract

Contracts

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

Hierarchy (view full)

Properties

Methods