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
[ ] If collateral Token.isNative, skip allowance button
Explanations
To check if a token is native, use Token.isNative (ez).
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
Token.isNative
, skip allowance buttonExplanations
To check if a token is native, use
Token.isNative
(ez).