EeseeOnRampImplementationAxelar

EeseeOnRampImplementationAxelar

Note: WIP, this should be either protected by access control or be using Axelar's on onchain gas estimation, which has not released yet.

tokenId

bytes32 tokenId

Token Id used in Axelar Interchain Token Service.

CantReceiveMessages

error CantReceiveMessages()

InvalidTokenId

error InvalidTokenId()

initialize

function initialize(bytes data) public

Initialize onRamp with provided data. Data is abi-encoded tuple(bytes,address) offRamp. Note: Proxies using this implementation should implement access control for this function.

Inherited from AxelarInterchainTokenServiceCaller

Inherited from ICallerBase

CrosschainSend

event CrosschainSend(bytes32 projectIdentifier, struct AddressWithChain destination, bytes additionalData)

CrosschainReceive

event CrosschainReceive(bytes32 projectIdentifier, struct AddressWithChain source, bytes additionalData)

Inherited from InterchainTokenExecutable

executeWithInterchainToken

function executeWithInterchainToken(bytes32 commandId, string sourceChain, bytes sourceAddress, bytes data, bytes32 tokenId, address token, uint256 amount) external virtual returns (bytes32)

Executes logic in the context of an interchain token transfer.

Only callable by the interchain token service.

Parameters

Return Values

Inherited from EeseeOnRampImplementationBase

forward

function forward(bytes data) external payable

Forwards ESE balance from this contract to {offRamp}.

Inherited from IEeseeOnRampImplementation

ESE

function ESE() external view returns (contract IERC20)

offRamp

function offRamp() external view returns (bytes chainSelector, address _address)

Forward

event Forward(struct AddressWithChain destination, uint256 amount)

Last updated