feat(aave): Add Aave V3 action provider for lending/borrowing#911
Open
serayd61 wants to merge 1 commit intocoinbase:mainfrom
Open
feat(aave): Add Aave V3 action provider for lending/borrowing#911serayd61 wants to merge 1 commit intocoinbase:mainfrom
serayd61 wants to merge 1 commit intocoinbase:mainfrom
Conversation
This PR adds a new Aave V3 Action Provider with the following actions: 1. supply - Supply assets as collateral to Aave 2. withdraw - Withdraw supplied assets from Aave 3. borrow - Borrow assets against collateral with variable/stable rates 4. repay - Repay borrowed assets to Aave 5. get_user_data - Get user's account summary including health factor Features: - Support for Base Mainnet and Ethereum Mainnet - Support for WETH, USDC, cbETH, wstETH, DAI, USDT - Variable and stable interest rate modes - Health factor monitoring with status indicators - Comprehensive documentation and tests Addresses WISHLIST.md item: Aave integration
🟡 Heimdall Review Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new Aave V3 Action Provider for lending and borrowing operations, addressing the "Aave integration" item from WISHLIST.md.
New Actions
supplywithdrawborrowrepayget_user_dataSupported Networks
Supported Assets
Features
Files Added
typescript/agentkit/src/action-providers/aave/aaveActionProvider.tstypescript/agentkit/src/action-providers/aave/schemas.tstypescript/agentkit/src/action-providers/aave/constants.tstypescript/agentkit/src/action-providers/aave/index.tstypescript/agentkit/src/action-providers/aave/README.mdtypescript/agentkit/src/action-providers/aave/aaveActionProvider.test.tsRelated Issues
Addresses WISHLIST.md item:
Testing
All schemas and provider methods have unit tests.