RelayerAccessManager
Inherits: IRelayerAccessManager, OwnableInternal
Functions
addWhitelistedRelayers
Add relayers to the whitelist so that they can add price updates
function addWhitelistedRelayers(address[] calldata relayers) external virtual onlyOwner;
Parameters
Name | Type | Description |
---|---|---|
relayers | address[] | The addresses to add to the whitelist |
removeWhitelistedRelayers
Remove relayers from the whitelist so that they cannot add priced updates
function removeWhitelistedRelayers(address[] calldata relayers) external virtual onlyOwner;
Parameters
Name | Type | Description |
---|---|---|
relayers | address[] | The addresses to remove from the whitelist |
getWhitelistedRelayers
Get the list of whitelisted relayers
function getWhitelistedRelayers() external view virtual returns (address[] memory relayers);
Returns
Name | Type | Description |
---|---|---|
relayers | address[] | The list of whitelisted relayers |
_revertIfNotWhitelistedRelayer
Revert if relayer
is not whitelisted
function _revertIfNotWhitelistedRelayer(address relayer) internal view;