RegistryBaseStorage
Used to store most critical contract addresses
View Source: @nomisma/elektro-protocol-aux/contracts/registry/RegistryBaseStorage.sol
↗ Extends: RoleAware, Resolvable, OnlyRouterAccess ↘ Derived Contracts: ElektroRegistryStorage, RegistryBaseAdmin, RegistryBaseSetters
RegistryBaseStorage
Contract is used as a single place to keep addresses of major contracts used in Elektro. Instead of passing all needed contract addresses to contracts that need them, only Registry contract is passed. This approach ensures that change of contract address is done in one place, instead of multiple updates in all the contracts.
Structs
ContractStorage
Contract Members
Constants & Variables
Address of {TokenManagerRouter}
Address of {EventEmitterRouter}
Address of {TokenValidator}
Address of {ElektroResolver} - Resolver for the Elektro market module.
Variable to prevent subsequent initializations of the module's storage. Can only be set once during the construction of the higher level contract. Setting this var to 'true' should be done in the higher level contract since there might be extra functionality that can potentially fail after initRegistryBase() is complete
See {ContractStorage} struct
Modifiers
onlySelf
onlySelf
Modifier protecting functions that can only be called by the same module.
Arguments
Functions
Last updated
Was this helpful?