Function: init(address _stakeMangerAddress, address _govStakeMangerAddress)
Initializes the contract.
Inputs
_stakeMangerAddressControl: Fully controlled by the caller.
Constraints: None.
Impact: The stake manager address.
_govStakeMangerAddressControl: Fully controlled by the caller.
Constraints: None.
Impact: The gov stake manager address.
Branches and code coverage (including function calls)
Intended branches
Set the stake manager address.
Set the gov stake manager address.
Rename to
_stakeManagerAddressand_govStakeManagerAddress.Assure
_stakeMangerAddressand_govStakeMangerAddressare not zero.Assure
_stakeMangerAddressand_govStakeMangerAddressare not the same.
Negative behavior
Should not allow being called twice. Partly ensured through
require(stakeManagerAddress() == address(0), "already init");.