Skip to content
LogoLogo

IAcrossV3BridgeConfig

Git Source

Inherits: IBridgeConfig

Functions

isForeignChainSupported

Foreign Chain ID => Whether the chain is supported.

function isForeignChainSupported(uint256 foreignChainId) external view returns (bool);

Parameters

NameTypeDescription
foreignChainIduint256

Returns

NameTypeDescription
<none>bool

setForeignChainSupported

Sets whether a foreign chain is supported.

function setForeignChainSupported(uint256 foreignChainId, bool supported) external;

Parameters

NameTypeDescription
foreignChainIduint256The foreign chain ID.
supportedboolTrue if the chain is supported, false otherwise.

Events

ForeignChainSupportUpdated

event ForeignChainSupportUpdated(uint256 indexed foreignChainId, bool indexed supported);

Parameters

NameTypeDescription
foreignChainIduint256
supportedbool