Certora / badger-onchain-rewards

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:HTML 52.3%Language:Solidity 32.4%Language:Ruby 12.1%Language:Python 2.7%Language:Shell 0.5%