axelar-gmp-sdk-solidity

Solidity API

IInterchainTransferSent

Interface for tracking asset value transfers using General Message Passing (GMP) calls in the Axelar Network. This interface defines an event that should be emitted when a GMP transfer is sent, allowing for standardized volume tracking across different implementations.

InterchainTransferSent

event InterchainTransferSent(string destinationChain, string destinationContractAddress, address sender, bytes recipient, address token, uint256 amount)

Emitted when a GMP transfer is sent, providing details for volume tracking.

Parameters

Name Type Description
destinationChain string The Axelar chain identifier of the destination chain.
destinationContractAddress string The address of the contract on the destination chain that receives the transfer.
sender address  
recipient bytes The address of the final recipient of the transferred assets on the destination chain.
token address The address of the token contract on the source chain.
amount uint256 The amount (in atomic units) of tokens transferred.

IInterchainTransferReceived

Interface for tracking asset value transfers using General Message Passing (GMP) calls in the Axelar Network. This interface defines an event that should be emitted when a GMP transfer is received, allowing for standardized volume tracking across different implementations.

InterchainTransferReceived

event InterchainTransferReceived(string sourceChain, string sourceAddress, bytes sender, address recipient, address token, uint256 amount)

Emitted when an interchain transfer is received, providing details for volume tracking.

Parameters

Name Type Description
sourceChain string The Axelar chain identifier of the source chain.
sourceAddress string The address of the contract that initiated the transfer on the source chain.
sender bytes The address of the sender in case it is different from the source contract address
recipient address The address of the final recipient of the transferred assets on the destination chain.
token address The address of the token contract on the destination chain.
amount uint256 The amount (in atomic units) of tokens received.