ElektroRegistrySetters.sol

View Source: contracts/elektro/init/ElektroRegistrySetters.sol

↗ Extends: ElektroRegistryStorage, IElektroRegistrySetters

ElektroRegistrySetters

Storage Setter contract for Elektro Registry Proxy Module. Sets state variables declared in the {ElektroRegistryStorage} and stored on {ElektroRegistryRouter}.

Contract Members

Constants & Variables

bytes32 private constant GOVERNOR_ROLE_NAME;

Functions

  • setFundLock(address _fundLock)

  • postUpgradeInitialize()

setFundLock

Setter for {FundLockRouter} address

function setFundLock(address _fundLock) external nonpayable onlyRole onlyRouterAccess 

Arguments

NameTypeDescription

_fundLock

address

postUpgradeInitialize

Setter for initialized state var preventing reinitialization of storage past the point of deployment. This is needed to be able to reset the var during Proxy Pattern smart contracts upgrade.

function postUpgradeInitialize() external nonpayable onlyRole onlyRouterAccess 

Arguments

Last updated