Interface for the Axelar Express Executable contract with token.
event ExpressExecutedWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount, address expressExecutor)
Emitted when an express execution with a token is successfully performed.
| Name | Type | Description |
|---|---|---|
| commandId | bytes32 | The unique identifier for the command. |
| sourceChain | string | The source chain. |
| sourceAddress | string | The source address. |
| payloadHash | bytes32 | The hash of the payload. |
| symbol | string | The token symbol. |
| amount | uint256 | The amount of tokens. |
| expressExecutor | address | The address of the express executor. |
event ExpressExecutionWithTokenFulfilled(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount, address expressExecutor)
Emitted when an express execution with a token is fulfilled.
| Name | Type | Description |
|---|---|---|
| commandId | bytes32 | The commandId for the contractCallWithToken. |
| sourceChain | string | The source chain. |
| sourceAddress | string | The source address. |
| payloadHash | bytes32 | The hash of the payload. |
| symbol | string | The token symbol. |
| amount | uint256 | The amount of tokens. |
| expressExecutor | address | The address of the express executor. |
function getExpressExecutorWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount) external view returns (address expressExecutor)
Returns the express executor with token for a given command.
| Name | Type | Description |
|---|---|---|
| commandId | bytes32 | The commandId for the contractCallWithToken. |
| sourceChain | string | The source chain. |
| sourceAddress | string | The source address. |
| payloadHash | bytes32 | The hash of the payload. |
| symbol | string | The token symbol. |
| amount | uint256 | The amount of tokens. |
| Name | Type | Description |
|---|---|---|
| expressExecutor | address | The address of the express executor. |
function expressExecuteWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string symbol, uint256 amount) external payable
Express executes a contract call with token.
| Name | Type | Description |
|---|---|---|
| commandId | bytes32 | The commandId for the contractCallWithToken. |
| sourceChain | string | The source chain. |
| sourceAddress | string | The source address. |
| payload | bytes | The payload data. |
| symbol | string | The token symbol. |
| amount | uint256 | The amount of token. |