Skip to content

Range-Protocol/rewards-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Hardhat Project

Owner actions.

  • Can update rewards duration. (setRewardsDuration)
  • Recover non-staked ERC20 tokens. (recoverERC20)

Reward distibutor

  • Can start the reward epoch with a specified amount and set the reward-rate per second based on if there is a currently active rewards on-going or not. If there is no active on-ongoing reward then the reward starts with the specified amount and the reward rate is set as reward amount / reward duration. If there is an active reward epoch going-on then the remaining rewards are taken and added to the new epoch. (notifyRewardAmount)

About

Reward Contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors