uint256 CHAIN_TRACKER_SLOT
struct ChainTrackerStorage {
mapping(string => bool) trustedChains;
}
function _setTrustedChain(string chainName) internal
function _removeTrustedChain(string chainName) internal
function isTrustedChain(string chainName) public view returns (bool trusted)
Getter for whether a chain is trusted or not.
Needs to be overwitten.
| Name | Type | Description |
|---|---|---|
| chainName | string | the name of the chain to query for. |
| Name | Type | Description |
|---|---|---|
| trusted | bool | whether the chain is trusted or not. |