new DelegateDataCreator(input, config)
Parameters:
| Name | Type | Description |
|---|---|---|
input |
Object | input of final users.(gas, gasPrice, value and so on) |
config |
Object | config of cross chain used. |
- Source:
- trans/tx-data-creator/wan/DelegateDataCreator.js
Extends
Methods
-
<async> createCommonData()
-
Build common data
- Inherited From:
- Overrides:
- Source:
- trans/tx-data-creator/wan/DelegateDataCreator.js
Returns:
- Type
- Promise.<{code: boolean, result: null}>
-
createContractData()
-
Build contract data
- Inherited From:
- Overrides:
- Source:
- trans/tx-data-creator/wan/DelegateDataCreator.js
Returns:
- Type
- Object | transUtil.this.retResult | Object