Class: WeirollContract
Hierarchy
-
BaseContract↳
WeirollContract
Indexable
▪ [key: string]: ContractFunction | any
Constructors
constructor
• new WeirollContract(address, contractInterface, commandflags): WeirollContract
Parameters
| Name | Type |
|---|---|
address | string |
contractInterface | ContractInterface |
commandflags | CommandFlags |
Returns
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
| Name | Type |
|---|---|
contract | Contract |
commandflags? | CommandFlags |
Returns
Inherited from
BaseContract.createContract
Defined in
external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:47
createLibrary
▸ createLibrary(contract): WeirollContract
Parameters
| Name | Type |
|---|---|
contract | Contract |
Returns
Inherited from
BaseContract.createLibrary
Defined in
external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:48
getInterface
▸ getInterface(contractInterface): Interface
Parameters
| Name | Type |
|---|---|
contractInterface | ContractInterface |
Returns
Interface
Inherited from
BaseContract.getInterface
Defined in
external/cow-sdk/node_modules/@weiroll/weiroll.js/dist/planner.d.ts:49