AxelarImplementation
Last updated
Last updated
This contract is used to allow Superform to send messages via Axelar.
Axelar builds upon AMBImplementation
to formalize certain methods specific to the Axelar protocol.
The implemented interface can be found in Axelar's IAxelarExecutable interface here.
This function handles an interchain message sent via Axelar. Only the Hyperlane Mailbox may call this function.
name | description |
---|---|
As mentioned in the AMB Implementations section, messages can be retried by calling retryPayload
with a bytes relevant data. In the case of Axelar, the data is the following:
There are some bridge related configurations to be made on the contract. These configuration functions can only be set by the PROTOCOL_ADMIN.
This function allows the ProtocolAdmin
to set the AxelarGateway on a given chain.
This function allows the ProtocolAdmin
to set gas estimation relevant addresses gas addresses, related with message execution and gas amount estimation.
name | description |
---|---|
name | description |
---|---|
commandId
bytes32 unique axelar id, given per message
sourceChain
string format of the source chain of the message
sourceAddress
string format of the source address sending the message. This is an AxelarImplementation contract on the source chain
payload
bytes content of the message
gateway_
The axelar gateway address
gasService_
Address of Axelar gas service for payments of message execution
gasEstimator_
Address of Axelar gas estimator for on chain gas estimations