Solidity API
IDepositExecute
deposit
function deposit(bytes32 resourceID, address depositer, bytes data) external payable returns (bytes)
It is intended that deposit are made using the Bridge contract.
Name | Type | Description |
---|---|---|
resourceID | bytes32 | ResourceID to be used. |
depositer | address | Address of account making the deposit in the Bridge contract. |
data | bytes | Consists of additional data needed for a specific deposit. |
executeProposal
function executeProposal(bytes32 resourceID, bytes data) external
It is intended that proposals are executed by the Bridge contract.
Name | Type | Description |
---|---|---|
resourceID | bytes32 | ResourceID to be used. |
data | bytes | Consists of additional data needed for a specific deposit execution. |