Skip to content

Generalized onChain reward contract that allows to retroactively reward depositors with any token

Notifications You must be signed in to change notification settings

Certora/badger-onchain-rewards

 
 

Repository files navigation

RewardsManager - NOT AUDITED - WIP - USE AT OWN RISK - UNDISCLOSED VULNERABILITIES!!!! DO NOT USE!!!

DO NOT USE IN PROD, there are known vulnerabilities!!!!

Allows to vest rewards based on time spent

Use case is deposits in a vault so that Badger Dao can move to fully onChain emissions Code is generalized enough to allow to handle an unknown amount of rewards for an unknown amount of types of tokens

Vulnerabilities, and reports

Commit: fb02070c919dd19f7f3ba5e2b2cfe9b4e394c1aa Report: https://docs.google.com/document/d/1bO2XfwQ60wQWePihgJu6UsukimI5ygTmC1rBTMGGNp0/edit Status: Vulnerabilities have been mitigated

Commit: 62a728 Report: https://www.hacknote.co/17c261f7d8fWbdml/17f3efe98b4HW20Y Status: Vulnerabilities have been mitigated

About

Generalized onChain reward contract that allows to retroactively reward depositors with any token

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 52.3%
  • Solidity 32.4%
  • Ruby 12.1%
  • Python 2.7%
  • Shell 0.5%