Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

WETH <-> ETH doesn't fetch routes #608

Closed ferostabio closed 11 months ago

ferostabio commented 11 months ago

Error report:

I'm on manage position and I want to only+deposit or only+withdraw. When I'm switching between ETH <> WETH, the routes and the actions don't get updated. This is a serious issue bc the actions needed for each of the cases are different. 

In the case of deposit+only, when using ETH the actions are "Wrap" and "Deposit", when using WETH its only "Deposit".

Similar for withdraw+only: "Withdraw" and "Unwrap" vs. "Withdraw".