M0ProtocolDataProvider
M0ProtocolDataProvider
Peripheral contract to collect and pre-process information from the Pool. Code available on github .
Methods
getAllReservesTokens
Returns list of the existing reserves in the pool.
Return Value
getAlltTokens
Returns list of the existing tTokens in the pool.
Return Value
getReserveConfigurationData
Returns the configuration data of the reserve as described below:
Call Params
Return Value
getReserveEModeCategory
Returns reserve's efficiency mode category.
Call Params
Return Value
getReserveCaps
Returns the caps parameters of the reserve
Call Params
Return Value
getPaused
Returns true if the pool is paused.
Call Params
Return Value
getSiloedBorrowing
Returns true if the asset is siloed for borrowing.
Call Params
Return Value
getLiquidationProtocolFee
Returns the protocol fee on the liquidation bonus.
Call Params
Return Value
getUnbackedMintCap
Returns the unbacked mint cap of the reserve
Call Params
Return Value
getDebtCeiling
Returns the debt ceiling of the reserve
Call Params
getDebtCeilingDecimals
Returns the debt ceiling decimals
Return Value
getReserveData
Returns the following reserve data 👇🏻
Call Params
Return Value
gettTokenTotalSupply
Returns the total supply of aTokens for a given asset
Call Params
Return Value
getTotalDebt
Returns the total debt for a given asset
Call Params
Return Value
getUserReserveData
Returns the following user reserve data
Call Params
Return Value
getReserveTokensAddresses
Returns the addresses of aToken, stableDebtToken and variableDebtToken of the reserve
Call Params
Return Value
getInterestRateStrategyAddress
Returns the address of the Interest Rate Strategy
Call Params
Return Value
Last updated