eWhitelist docs
EWhitelist
This contract has its own storage, which could potentially clash with pool storage if the allocated slot were already used by the implementation. Warning: careful with upgrades as pool only accesses isWhitelistedToken view method. Other methods are locked and should never be approved by governance.
_EWHITELIST_TOKEN_WHITELIST_SLOT
authority
WhitelistSlot
onlyAuthorized
constructor
whitelistToken
Allows a whitelister to whitelist a token.
Parameters
removeToken
Allows a whitelister to remove a token.
Parameters
batchUpdateTokens
Allows a whitelister to whitelist/remove a list of tokens.
Parameters
isWhitelistedToken
Returns whether a token has been whitelisted.
Parameters
Return Values
getAuthority
Returns the address of the authority contract.
Return Values
_getWhitelistSlot
_assertCallerIsAuthorized
_isContract
Last updated