This interface allows setting and removing a trusted address for a specific chain.
Extends the IInterchainAddressTracker interface.
event TrustedChainSet(string chainName)
event TrustedChainRemoved(string chainName)
function isTrustedChain(string chainName) external 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. |
function setTrustedChain(string chainName) external
Sets the trusted address for the specified chain.
Name | Type | Description |
---|---|---|
chainName | string | Chain name to be trusted. |
function removeTrustedChain(string chainName) external
Remove the trusted address of the chain.
Name | Type | Description |
---|---|---|
chainName | string | Chain name to remove the trusted address for. |