MureAxlTransceiver
Inherits: AxelarExecutableWithToken, Context
State Variables
gasService
IAxelarGasService public immutable gasService
Functions
constructor
constructor(address gateway_, address gasService_) AxelarExecutableWithToken(gateway_);
Parameters
| Name | Type | Description |
|---|---|---|
gateway_ | address | address of axl gateway on deployed chain |
gasService_ | address | address of axl gas service on deployed chain |
transmitMessageWithToken
function transmitMessageWithToken(
string calldata destinationChain,
string calldata destinationAddress,
bytes calldata payload,
string calldata symbol,
uint256 amount
) external payable;
_execute
function _execute(
bytes32 commandId,
string calldata sourceChain,
string calldata sourceAddress,
bytes calldata payload
) internal override;
_executeWithToken
logic to be executed on dest chain
this is triggered automatically by relayer
function _executeWithToken(
bytes32 commandId,
string calldata sourceChain,
string calldata sourceAddress,
bytes calldata payload,
string calldata tokenSymbol,
uint256 amount
) internal override;
Parameters
| Name | Type | Description |
|---|---|---|
commandId | bytes32 | |
sourceChain | string | |
sourceAddress | string | |
payload | bytes | encoded gmp message sent from src chain |
tokenSymbol | string | symbol of token sent from src chain |
amount | uint256 | amount of tokens sent from src chain |
Events
Executed
event Executed(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload);
ExecutedWithToken
event ExecutedWithToken(
bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string tokenSymbol, uint256 amount
);
Errors
CallFailed
error CallFailed();
InsufficientGas
error InsufficientGas();