EeseeAssetSpokeCCIP
Last updated
Last updated
Wraps specified assets and sends them to {recipient} in the form of ERC1155 tokens.
Name | Type | Description |
---|---|---|
_Reclaim assets that might have been stuck after unwrap. Emits Unstuck event. Note: Must be called from asset recipient address that had their asset stuck.
Allows calculating token ID on L2 chain before wrapping.
Allows calculating token ID on L2 chain before wrapping.
Calculates asset hash.
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
Called by the PAUSER_ROLE to pause, triggers stopped state.
Called by the PAUSER_ROLE to unpause, returns to normal state.
Returns true if the contract is paused, and false otherwise.
Emitted when the pause is triggered by account
.
Emitted when the pause is lifted by account
.
_See {IERC721Receiver-onERC721Received}.
Always returns IERC721Receiver.onERC721Received.selector
._
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
assets
struct Asset[]
- Assets to wrap.
crosschainCalls
struct Call[]
- Calls to make on destination chain.
fallbackRecipient
address
- Address to transfer leftover tokens after crosschainCalls.
additionalData
bytes
- Additional information to pass to crosschain protocol.
gasPaid
uint256
- Gas paid for the crosschain call.
stuckAssetHash
bytes32
- Hash of the asset that got stuck.
recipient
address
- Address to transfer asset to.
asset
struct Asset
- Asset sent to {recipient}.
asset
struct Asset
- Asset to calculate token Id for.
[0]
uint256
uint256 - Calculated token Id for wrapped asset on L2 chain.
assetHash
bytes32
- Asset hash to calculate token Id for.
[0]
uint256
uint256 - Calculated token Id for wrapped asset on L2 chain.
asset
struct Asset
- Asset to calculate asset hash for.
message
struct Client.Any2EVMMessage
CCIP Message