Proxy to execute the other contract calls. This contract is used when a user requests transfer with specific call of other contract.Documentation Index
Fetch the complete documentation index at: https://docs.debridge.com/llms.txt
Use this file to discover all available pages before exploring further.
Variables
DEBRIDGE_GATE_ROLE
submissionChainIdFrom
submissionNativeSender
Functions
initialize
call
Parameters:
| Name | Type | Description |
|---|---|---|
| _reserveAddress | address | Receiver of the tokens if the call to _receiver fails |
| _receiver | address | Contract to be called |
| _data | bytes | Call data |
| _flags | uint256 | Flags to change behavior; see Flags library for details |
| _nativeSender | bytes | Native sender |
| _chainIdFrom | uint256 | Id of a chain that originated the request |
callERC20
Parameters:
| Name | Type | Description |
|---|---|---|
| _token | address | Asset address |
| _reserveAddress | address | Receiver of the tokens if the call to _receiver fails |
| _receiver | address | Contract to be called |
| _data | bytes | Call data |
| _flags | uint256 | Flags to change behavior; see Flags library for details |
| _nativeSender | bytes | Native sender |
| _chainIdFrom | uint256 | Id of a chain that originated the request |