saddle-finance / saddle-frontend

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

Gauge staking contract calls #1109

Closed hammeiam closed 2 years ago

hammeiam commented 2 years ago

add more data and contract calls to power the new /farm page. @nkrulikovsky please take a look and continue this work if you can.

https://user-images.githubusercontent.com/7607886/175095529-3ea15213-81e5-43a2-91d3-61ebd9571ee1.mov

codecov[bot] commented 2 years ago

Codecov Report

Merging #1109 (23172d7) into master (05229d7) will decrease coverage by 0.28%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1109      +/-   ##
==========================================
- Coverage   10.64%   10.35%   -0.29%     
==========================================
  Files         150      151       +1     
  Lines        5319     5467     +148     
  Branches     1688     1736      +48     
==========================================
  Hits          566      566              
- Misses       4751     4899     +148     
  Partials        2        2              
Impacted Files Coverage Δ
src/components/TopMenu.tsx 0.00% <0.00%> (ø)
src/hooks/useContract.ts 3.82% <0.00%> (-0.05%) :arrow_down:
src/hooks/useUserGauge.ts 0.00% <0.00%> (ø)
src/pages/Farm/Farm.tsx 0.00% <0.00%> (ø)
src/pages/Farm/FarmOverview.tsx 0.00% <0.00%> (ø)
src/pages/Farm/StakeDialog.tsx 0.00% <0.00%> (ø)
src/providers/GaugeProvider.tsx 4.76% <0.00%> (-0.24%) :arrow_down:
src/utils/gauges.ts 1.00% <0.00%> (-0.06%) :arrow_down:

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 05229d7...23172d7. Read the comment docs.