yearn / ySync

sync.yearn.farm
GNU General Public License v3.0
3 stars 10 forks source link

feat: Check to know to hide vaults when users cannot deposit to them #84

Closed karelianpie closed 1 year ago

karelianpie commented 1 year ago

Description

Check if the vault deposit limit = 0 and if in meta if retired = false if this is the case show an error retired=true on ysync

Related Issue

Closes https://github.com/yearn/ySync/issues/83

Motivation and Context

So we have a check to know to hide vaults when users cannot deposit to them

How Has This Been Tested?

Ran locally, refer to screenshot below

Screenshots (if appropriate):

Screenshot_7_2_2023__11_11
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
ysync ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 7, 2023 at 10:16AM (UTC)