IRelayerAccessManager
Functions
addWhitelistedRelayers
Add relayers to the whitelist so that they can add price updates
function addWhitelistedRelayers(address[] calldata relayers) external;
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;
Parameters
Name | Type | Description |
---|---|---|
relayers | address[] | The addresses to remove from the whitelist |
getWhitelistedRelayers
Get the list of whitelisted relayers
function getWhitelistedRelayers() external view returns (address[] memory relayers);
Returns
Name | Type | Description |
---|---|---|
relayers | address[] | The list of whitelisted relayers |
Events
AddWhitelistedRelayer
event AddWhitelistedRelayer(address indexed relayer);
RemoveWhitelistedRelayer
event RemoveWhitelistedRelayer(address indexed relayer);
Errors
RelayerAccessManager__NotWhitelistedRelayer
error RelayerAccessManager__NotWhitelistedRelayer(address relayer);