Interface for the Axelar Express Executable contract.
error AlreadyExecuted()
error InsufficientValue()
event ExpressExecuted(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, address expressExecutor)
Emitted when an express execution 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. |
expressExecutor | address | The address of the express executor. |
event ExpressExecutionFulfilled(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, address expressExecutor)
Emitted when an express execution is fulfilled.
Name | Type | Description |
---|---|---|
commandId | bytes32 | The commandId for the contractCall. |
sourceChain | string | The source chain. |
sourceAddress | string | The source address. |
payloadHash | bytes32 | The hash of the payload. |
expressExecutor | address | The address of the express executor. |
function getExpressExecutor(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash) external view returns (address expressExecutor)
Returns the express executor for a given command.
Name | Type | Description |
---|---|---|
commandId | bytes32 | The commandId for the contractCall. |
sourceChain | string | The source chain. |
sourceAddress | string | The source address. |
payloadHash | bytes32 | The hash of the payload. |
Name | Type | Description |
---|---|---|
expressExecutor | address | The address of the express executor. |
function expressExecute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload) external payable
Express executes a contract call.
Name | Type | Description |
---|---|---|
commandId | bytes32 | The commandId for the contractCall. |
sourceChain | string | The source chain. |
sourceAddress | string | The source address. |
payload | bytes | The payload data. |