saddle-finance / saddle-frontend

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

Make lpToken optional for gauge response #1168

Closed hammeiam closed 2 years ago

hammeiam commented 2 years ago

The backend will be adding a different type of gauge which does not conform to the LiquidityGaugeV5 ABI. Make all the queries optional, and just ignore any gauges that don't have an lpToken

codecov[bot] commented 2 years ago

Codecov Report

Merging #1168 (5cccdd2) into master (f4a5ad5) will not change coverage. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #1168   +/-   ##
=======================================
  Coverage   10.94%   10.94%           
=======================================
  Files         154      154           
  Lines        5708     5708           
  Branches     1799     1799           
=======================================
  Hits          625      625           
  Misses       5083     5083           
Impacted Files Coverage Δ
src/utils/gauges.ts 0.93% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.