Badger-Finance / badger-rewards

MIT License
3 stars 3 forks source link

chore: make council LCB dynamic, extend date and format emissions file #984

Closed mitche50 closed 2 years ago

mitche50 commented 2 years ago

The council should receive an amount of LCB boost based off of their contribution months per BIP 93.

TLDR: there are 2 council member designations, standard and committee. The standard councilor gets 115 LCB per month, and committee councilor gets 430 + standard LCB.

This PR makes the accrual dynamic based on which month the contributor started (ATM, all council members started at the same time). It also ran black on the emissions file to clean up formatting

codecov[bot] commented 2 years ago

Codecov Report

Merging #984 (91221cb) into development (1863adc) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           development     #984      +/-   ##
===============================================
+ Coverage        82.66%   82.70%   +0.03%     
===============================================
  Files               59       59              
  Lines             2723     2729       +6     
===============================================
+ Hits              2251     2257       +6     
  Misses             472      472              
Impacted Files Coverage Δ
config/constants/emissions.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.