CoreStakingManager

CoreStakingManager V0

setStakingPeriodDuration

The setStakingPeriodDuration function

function setStakingPeriodDuration(uint _newDuration) external onlyOwner

setTotalRewardAmount

The setTotalRewardAmount function

function setTotalRewardAmount(uint _newAmount) external onlyOwner updateReward(address(0))

stake

The stake function

function stake(uint _amount) external updateReward(msg.sender)

unstake

The unstake function

function unstake(uint _amount) external updateReward(msg.sender)

lastTimeRewardApplicable

The lastTimeRewardApplicable function

function lastTimeRewardApplicable() public view returns (uint)

rewardPerToken

The rewardPerToken function

function rewardPerToken() public view returns (uint)

earned

The earned function

function earned(address _depositor) public view returns (uint)

claimRewards

The claimRewards function

function claimRewards() external updateReward(msg.sender)

Last updated