ICallProxy
Functions
submissionChainIdFrom
Chain from which the current submission is received
submissionNativeSender
Native sender of the current submission
call
Used for calls where native asset transfer is involved.
Parameters:
Name | Type | Description |
---|---|---|
| address | Receiver of the tokens if the call to _receiver fails |
| address | Contract to be called |
| bytes | Call data |
| uint256 | Flags to change certain behavior of this function, see Flags library for more details |
| bytes | Native sender |
| uint256 | Id of a chain that originated the request |
callERC20
Used for calls where ERC20 transfer is involved.
Parameters:
Name | Type | Description |
---|---|---|
| address | Asset address |
| address | Receiver of the tokens if the call to _receiver fails |
| address | Contract to be called |
| bytes | Call data |
| uint256 | Flags to change certain behavior of this function, see Flags library for more details |
| bytes | Native sender |
| uint256 | Id of a chain that originated the request |
Last updated