saddle-finance / saddle-frontend

An open source UI for saddle.finance 🤠
https://saddle.exchange
54 stars 58 forks source link

Calculate SDL earned per day, log in dev #1231

Closed hammeiam closed 2 years ago

hammeiam commented 2 years ago

Take the SDL rate of all gauges times the user share per gauge to get the user's SDL earned per day. Log to the console in dev. We can show this to the user once we have a design for it.

codecov[bot] commented 2 years ago

Codecov Report

Merging #1231 (7b9c718) into master (76da89b) will decrease coverage by 0.02%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1231      +/-   ##
==========================================
- Coverage   10.29%   10.27%   -0.03%     
==========================================
  Files         161      161              
  Lines        6068     6081      +13     
  Branches     1973     1978       +5     
==========================================
  Hits          625      625              
- Misses       5443     5456      +13     
Impacted Files Coverage Δ
src/pages/Farm/Farm.tsx 0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more