saddle-finance / saddle-frontend

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

Add sdl lock time #1143

Closed hammeiam closed 2 years ago

hammeiam commented 2 years ago

Avg SDL lock time = (veSDL totalSupply / SDL locked in veSDL) * max lock duration

Screen Shot 2022-06-27 at 10 26 35 AM

closes: https://github.com/saddle-finance/saddle-frontend/issues/1092

codecov[bot] commented 2 years ago

Codecov Report

Merging #1143 (9f0c74d) into master (a0ce5bf) will decrease coverage by 0.01%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1143      +/-   ##
==========================================
- Coverage   10.17%   10.16%   -0.02%     
==========================================
  Files         154      154              
  Lines        5564     5570       +6     
  Branches     1774     1780       +6     
==========================================
  Hits          566      566              
- Misses       4996     5002       +6     
  Partials        2        2              
Impacted Files Coverage Δ
src/pages/VeSDL/LockedInfo.tsx 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a0ce5bf...9f0c74d. Read the comment docs.