aave-bsc
Installation
SKILL.md
AAVE V3 BSC SKILL
This skill allows CryptoClaw to interact with the Aave V3 protocol on the BNB Smart Chain (BSC).
Protocol Addresses (BSC)
- Pool Proxy:
0x6807dc923806fE8Fd134338EABCA509979a7e0cB - Pool Addresses Provider:
0xff75B6da14FfbbfD355Daf7a2731456b3562Ba6D - Protocol Data Provider:
0xc90Df74A7c16245c5F5C5870327Ceb38Fe5d5328
Common Functions
getUserAccountData
Query the user's current account state (collateral, debt, health factor).
- Contract: Pool Proxy (
0x6807dc923806fE8Fd134338EABCA509979a7e0cB) - ABI Snippet:
[{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserAccountData","outputs":[{"internalType":"uint256","name":"totalCollateralBase","type":"uint256"},{"internalType":"uint256","name":"totalDebtBase","type":"uint256"},{"internalType":"uint256","name":"availableBorrowsBase","type":"uint256"},{"internalType":"uint256","name":"currentLiquidationThreshold","type":"uint256"},{"internalType":"uint256","name":"ltv","type":"uint256"},{"internalType":"uint256","name":"healthFactor","type":"uint256"}],"stateMutability":"view","type":"function"}]