Skip to content

Dimosgr/beethovenx-token

 
 

Repository files navigation

BeethovenX token contracts

Token

The token uses OpenZeppelins ERC20 base contract and only adds a maximum supply of 250mio BEETS to it.

MasterChef

The master chef is based on SUSHI's version with some adjustments:

  • Upgrade to pragma 0.8.7
  • therefore remove usage of SafeMath (built in overflow check for solidity > 8)
  • Merge sushi's master chef V1 & V2 (no usage of dummy pool)
  • remove withdraw function (without harvest) => requires the rewardDebt to be an signed int instead of uint which requires a lot of casting and has no real usecase for us
  • no dev emissions, but treasury emissions instead
  • treasury percentage is subtracted from emissions instead of added on top
  • update of emission rate with upper limit of 6 BEETS/block
  • more require checks in general

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 61.6%
  • Solidity 37.2%
  • Other 1.2%