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

CrosschainReceive

Inherited from InterchainTokenExecutable

executeWithInterchainToken

Executes logic in the context of an interchain token transfer.

Only callable by the interchain token service.

Parameters

Name
Type
Description

commandId

bytes32

The unique message id.

sourceChain

string

The source chain of the token transfer.

sourceAddress

bytes

The source address of the token transfer.

data

bytes

The data associated with the token transfer.

tokenId

bytes32

The token ID.

token

address

The token address.

amount

uint256

The amount of tokens being transferred.

Return Values

Name
Type
Description

[0]

bytes32

bytes32 Hash indicating success of the execution.

Inherited from EeseeOnRampImplementationBase

forward

Forwards ESE balance from this contract to {offRamp}.

Inherited from IEeseeOnRampImplementation

ESE

offRamp

Forward

Last updated