Governed
View Source: moc-governance/contracts/Governance/Governed.sol
↗ Extends: Initializable ↘ Derived Contracts: CommissionSplitter, MoCBucketContainer, MoCEMACalculator, MoCInrate, MoCInrateEvents, MoCInrateStructs, MoCSettlement, MoCSettlementEvents, MoCVendors, MoCVendorsEvents, Stoppable, UpgradeDelegator
Governed - version: 0.1.12
Base contract to be inherited by governed contractsThis contract is not usable on its own since it does not have any productive useful behaviour The only purpose of this contract is to define some useful modifiers and functions to be used on the governance aspect of the child contract
Contract Members
Constants & Variables
Modifiers
onlyAuthorizedChanger
Modifier that protects the functionYou should use this modifier in any function that should be called through the governance system
Arguments
Functions
initialize
Initialize the contract with the basic settingsThis initialize replaces the constructor but it is not called automatically. It is necessary because of the upgradeability of the contracts
Arguments
_governor
IGovernor
Governor address
changeIGovernor
Change the contract's governor. Should be called through the old governance system
Arguments
newIGovernor
IGovernor
New governor address
Last updated