Fujicracy / fuji-v2

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

Borrow: skip allowance for native assets #174

Closed doliG closed 1 year ago

doliG commented 1 year ago

Context

We are about to support native assets (i.e eth for Ethereum, Matic for polygon...). If the user wants to borrw with a native assets, then we have to skip the allowance steps.

Todo

Explanations

To check if a token is native, use Token.isNative (ez).

doliG commented 1 year ago

Not planned for January realease