Skip to main content

Class: WeirollContract

Hierarchy

  • BaseContract

    WeirollContract

Indexable

▪ [key: string]: ContractFunction | any

Constructors

constructor

new WeirollContract(address, contractInterface, commandflags): WeirollContract

Parameters

NameType
addressstring
contractInterfaceContractInterface
commandflagsCommandFlags

Returns

WeirollContract

Inherited from

BaseContract.constructor

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:46

Properties

address

Readonly address: string

Inherited from

BaseContract.address

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:40


commandflags

Readonly commandflags: CommandFlags

Inherited from

BaseContract.commandflags

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:41


functions

Readonly functions: Object

Index signature

▪ [name: string]: ContractFunction

Inherited from

BaseContract.functions

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:43


interface

Readonly interface: Interface

Inherited from

BaseContract.interface

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:42

Methods

createContract

createContract(contract, commandflags?): WeirollContract

Parameters

NameType
contractContract
commandflags?CommandFlags

Returns

WeirollContract

Inherited from

BaseContract.createContract

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:47


createLibrary

createLibrary(contract): WeirollContract

Parameters

NameType
contractContract

Returns

WeirollContract

Inherited from

BaseContract.createLibrary

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:48


getInterface

getInterface(contractInterface): Interface

Parameters

NameType
contractInterfaceContractInterface

Returns

Interface

Inherited from

BaseContract.getInterface

Defined in

external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:49