Transfer with Router Contract
This contract allows to transfer tokens and ether to a target address only by allowed callers and emit events. RetroRouter contract used to initate cross-chain transactions from other smart-contracts
Last updated
This contract allows to transfer tokens and ether to a target address only by allowed callers and emit events. RetroRouter contract used to initate cross-chain transactions from other smart-contracts
Last updated
transferToken
*Used for ERC20 transfers
Parameter | Type | Description |
---|---|---|
transferEther
*Used for native transfers
Parameter | Type | Description |
---|---|---|
sender
address
User's address for which transfer was initiated
token
ERC20
Token to transfer (needs ERC20 approval)
amount
uint256
The amount of the token to send
sender
address
User's address for which transfer was initiated