Solidity API
IERCHandler
setResource
function setResource(bytes32 resourceID, address contractAddress) external
Correlates {resourceID} with {contractAddress}.
Name | Type | Description |
---|---|---|
resourceID | bytes32 | ResourceID to be used when making deposits. |
contractAddress | address | Address of contract to be called when a deposit is made and a deposited is executed. |
setBurnable
function setBurnable(address contractAddress) external
Marks {contractAddress} as mintable/burnable.
Name | Type | Description |
---|---|---|
contractAddress | address | Address of contract to be used when making or executing deposits. |
withdraw
function withdraw(bytes data) external
Withdraw funds from ERC safes.
Name | Type | Description |
---|---|---|
data | bytes | ABI-encoded withdrawal params relevant to the handler. |