RelayerAccessManager

Git Source

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

NameTypeDescription
relayersaddress[]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

NameTypeDescription
relayersaddress[]The addresses to remove from the whitelist

getWhitelistedRelayers

Get the list of whitelisted relayers

function getWhitelistedRelayers() external view virtual returns (address[] memory relayers);

Returns

NameTypeDescription
relayersaddress[]The list of whitelisted relayers

_revertIfNotWhitelistedRelayer

Revert if relayer is not whitelisted

function _revertIfNotWhitelistedRelayer(address relayer) internal view;