ICctpV2BridgeEncoder
Inherits: IBridgeEncoder
Functions
cctpV2TokenMessenger
Address of the CCTP TokenMessengerV2
function cctpV2TokenMessenger() external view returns (address);Returns
| Name | Type | Description |
|---|---|---|
| <none> | address |
getCctpDomain
EVM chain ID => CCTP domain
function getCctpDomain(uint256 evmChainId) external view returns (uint32);Parameters
| Name | Type | Description |
|---|---|---|
| evmChainId | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint32 |
setCctpDomain
Associates an EVM chain ID with a CCTP domain in the contract storage.
function setCctpDomain(uint256 evmChainId, uint32 cctpDomain) external;Parameters
| Name | Type | Description |
|---|---|---|
| evmChainId | uint256 | The EVM chain ID. |
| cctpDomain | uint32 | The CCTP domain. |
Events
CctpDomainRegistered
event CctpDomainRegistered(uint256 indexed evmChainId, uint32 indexed cctpDomain);Parameters
| Name | Type | Description |
|---|---|---|
| evmChainId | uint256 | |
| cctpDomain | uint32 |