Skip to main content

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.

NameTypeDescription
resourceIDbytes32ResourceID to be used.
depositeraddressAddress of account making the deposit in the Bridge contract.
databytesConsists 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.

NameTypeDescription
resourceIDbytes32ResourceID to be used.
databytesConsists of additional data needed for a specific deposit execution.