Governable
Governable
This file documents a contract which is not yet deployed to Mainnet.
Governable contract.
A constructor is not defined, which makes the contract compatible with upgradable proxies. This requires calling explicitly _transferGovernance
function in a child contract.
governance
address governance
GovernanceTransferred
event GovernanceTransferred(address oldGovernance, address newGovernance)
onlyGovernance
modifier onlyGovernance()
transferGovernance
function transferGovernance(address newGovernance) external virtual
Transfers governance of the contract to newGovernance
.
_transferGovernance
function _transferGovernance(address newGovernance) internal virtual
Last updated
Was this helpful?