EeseeOnRampImplementationCCIP

EeseeOnRampImplementationCCIP

gasLimit

uint256 gasLimit

Gas Limit used in CCIP call.

CantReceiveMessages

error CantReceiveMessages()

InvalidGasLimit

error InvalidGasLimit()

initialize

function initialize(bytes data) public

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

supportsInterface

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

See {IERC165-supportsInterface}.

Inherited from CCIPCaller

ccipReceive

function ccipReceive(struct Client.Any2EVMMessage message) external virtual

Called by the Router to deliver a message. If this reverts, any token transfers also revert. The message will move to a FAILED state and become available for manual execution.

Note ensure you check the msg.sender is the OffRampRouter

Parameters

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 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