Skip to content

Latest commit

 

History

History
241 lines (225 loc) · 8.67 KB

StakingProxy.md

File metadata and controls

241 lines (225 loc) · 8.67 KB

Staking Proxy contract. (StakingProxy.sol)

View Source: contracts/governance/Staking/StakingProxy.sol

↗ Extends: StakingStorageShared, UpgradableProxy

StakingProxy contract

Staking contract should be upgradable, use UpgradableProxy. StakingStorage is deployed with the upgradable functionality by using this contract instead, that inherits from UpgradableProxy the possibility of being enhanced and re-deployed.

Functions


constructor

Construct a new staking contract.

function (address SOV) public nonpayable

Arguments

Name Type Description
SOV address The address of the SOV token address.
Source Code
constructor(address SOV) public {
        SOVToken = IERC20(SOV);
        kickoffTS = block.timestamp;
    }

Contracts