TokenManagerBase
View Source: @nomisma/elektro-protocol-aux/contracts/tokens/manager/TokenManagerBase.sol
↗ Extends: RoleAware, Resolvable ↘ Derived Contracts: ITokenManagerMain, TokenManagerAdmin
TokenManagerBase
Base contract inherited by {TokenManagerAdmin} and {TokenManagerAssets}. Keeps addresses of contracts needed for {TokenManager} functionality
Contract Members
Constants & Variables
Address of the {ElektroRegistryRouter}
Address of Ether (ETH). This is used internally to differentiate between ERC20 tokens and ETH. Any fund related operation check token address against this one to verify if the token in the operation is ETH or not. If it is - we need to do a different flow for managing it.
Address of the {TokenWrapper}
Address of Wrapped Ethereum (WETH). This is used internally to differentiate between other ERC20 tokens and WETH. Any fund related operation check token address against this one to verify if the token in the operation is WETH or not. If it is - we need to do a different flow for managing it.
BankRegistrySet
Parameters
bankRegistryAddress
address
ElektroRegistrySet
Parameters
elektroRegistryAddress
address
EthereumAddressSet
Parameters
etherAddress
address
WETH9AddressSet
Parameters
weth9Address
address
TokenWrapperSet
Parameters
tokenWrapperAddress
address
Modifiers
onlyAllowedContracts
onlyAllowedContracts
Only contracts that are verified by Registry are allowed
Arguments
_registry
address
Functions
Last updated
Was this helpful?