AaveV3
You can import the AaveV3 environment by running:
It is recommended to read the AaveV3 whitepaper first.
Supported Tokens
At the moment, we suport the following tokens:
- Wrapped Bitcoin - WBTC
- Wrapped Ether - WETH
- USD Coin - USDC
- Tether - WETH
- Chainlink - LINK
- Dai Stablecoin - DAI
- Aave Token - AAVE
- Uniswap Token - UNI
- Balancer - BAL
Observations
An observation refers to the information that the agent receives from the environment at every block.
With AAVE, the most interesting observation is probably a users health factor.
The methods within AaveV3Obs
can be found here.
Actions
Actions are the means through which the agent interacts with the environment to achieve goals.
In general, there are 4 actions you can perform on the Uniswap V3 environment:
- SUPPLY: Supplying collateral.
- BORROW: Borrowing a token from the pool.
- WITHDRAW: Withdrawing collateral.
- REPAY: Repay borrowed token.
- LIQUIDATION: Execute a liquidation on a poistion that slipped below a health factor of 1.0.
At the moment, we don't yet support Flash Loans.