AaveV3Adapter
The implementation of Aave.Finance MoneyMarket that integrates with AssetManager.
assetManager
the AssetManager contract address
market
Aave Market contract
lendingPool
Aave Lending pool contract
tokenToAToken
Mapping of token to aToken
floorMap
Mapping of token to floor amount
ceilingMap
Mapping of token to ceiling amount
LogSetAssetManager
LogSetFloor
LogSetCeiling
__AaveV3Adapter_init
TokenNotSupported
SenderNotAssetManager
checkTokenSupported
Check supplied token address is supported
onlyAssetManager
Check sender is the asset manager
setAssetManager
Set the asset manager contract address Only callable by the admin
Parameters
setFloor
Set floor amount Only callable by the admin
Parameters
setCeiling
Set ceiling amount Only callable by the admin
Parameters
getRate
Get the underlying market rate
Parameters
getSupply
Get total supply of this Contracts
Parameters
getSupplyView
Get total supply of this Contracts including any balance that has been deposited into the underlying market
Parameters
supportsToken
Check if this token is supported
Parameters
mapTokenToAToken
Add aToken to the token mapping for a supported token
Parameters
deposit
Deposit tokens into the underlying Aave V3 lending pool
Parameters
withdraw
Withdraw tokens from this adapter Only callable by the AssetManager
Parameters
withdrawAll
Withdraw all tokens from this adapter Only callable by the AssetManager
Parameters
claimRewards
Claim rewards from the Aave rewards controller
Parameters
_getSupply
_supportsToken
Last updated