IAcrossV3BridgeConfig
Inherits: IBridgeConfig
Functions
isForeignChainSupported
Foreign Chain ID => Whether the chain is supported.
function isForeignChainSupported(uint256 foreignChainId) external view returns (bool);Parameters
| Name | Type | Description |
|---|---|---|
| foreignChainId | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bool |
setForeignChainSupported
Sets whether a foreign chain is supported.
function setForeignChainSupported(uint256 foreignChainId, bool supported) external;Parameters
| Name | Type | Description |
|---|---|---|
| foreignChainId | uint256 | The foreign chain ID. |
| supported | bool | True if the chain is supported, false otherwise. |
Events
ForeignChainSupportUpdated
event ForeignChainSupportUpdated(uint256 indexed foreignChainId, bool indexed supported);Parameters
| Name | Type | Description |
|---|---|---|
| foreignChainId | uint256 | |
| supported | bool |