Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: For certain protocols provide info on whether the deposited asset is enabled for use as collateral #62

Open
isidorosp opened this issue Jul 13, 2020 · 0 comments

Comments

@isidorosp
Copy link

Certain DeFi Protocols (e.g. Compound, Aave), let a user use their deposited assets as collateral in order to take out loans (borrow). The user must enable this on a per asset basis. Since there is thus a differentiation between deposited assets and deposited assets enabled as collateral, it would be nice if this information was exposed in the protocolBalances calls. Since this property isn't common across all protocols perhaps it would go into something like an extendedInformation property within the metadata for the token.

As an example, here is one of the Aave methods that exposes this information: https://docs.aave.com/developers/developing-on-aave/the-protocol/lendingpool#getuserreservedata (see usageAsCollateralEnabled).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant