Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC20 token contract + staking contact - Practice with solidity coding, deployment with ether.js, and testing with ethers.js

  • The ERC20 contract mints TGIF token, and the staking contact is launched using the token contract address
  • The staking contract enables users to stake funds, withdraw funds, and claim rewards
  • The rewards are calculated using a reward rate per second with resepct to total tokens staked
  • A modifier has been included to the stake, withdraw and claim rewards functions in order to update the reward calculation everytime a user modifies the state

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages