feat: add Beefy Finance yield vault action provider#1058
Open
Kubudak90 wants to merge 3 commits intocoinbase:mainfrom
Open
feat: add Beefy Finance yield vault action provider#1058Kubudak90 wants to merge 3 commits intocoinbase:mainfrom
Kubudak90 wants to merge 3 commits intocoinbase:mainfrom
Conversation
added 3 commits
March 29, 2026 23:59
Add a new action provider for Pendle Finance, enabling AI agents to interact with Pendle's yield tokenization protocol on Base. Actions: - buy_pt: Buy Principal Tokens to lock in fixed yield - sell_pt: Sell PT back to underlying tokens - buy_yt: Buy Yield Tokens to speculate on yield - sell_yt: Sell YT back to underlying tokens - add_liquidity: Provide liquidity to Pendle markets - remove_liquidity: Remove liquidity from markets - claim_rewards: Claim accrued interest, yield, and PENDLE rewards - list_markets: List active Pendle markets with APYs and TVL Uses Pendle Hosted SDK API for optimal execution (aggregator routing, limit order matching, gas-efficient offchain params). Falls back to direct Router V4 calls for claim_rewards. Addresses WISHLIST.md item: "Pendle interactions (LP, PT, YT)"
Add a new action provider for Lido Finance, enabling AI agents to stake ETH/WETH and receive wstETH on Base. Actions: - stake_eth: Stake native ETH to receive wstETH via Lido fastStake - stake_weth: Stake WETH to receive wstETH (with auto-approval) - check_wsteth_balance: Check wallet's wstETH balance Uses Lido's Direct Staking via Chainlink CCIP Custom Sender for instant fastStake operations on Base. wstETH earns ~3-4% APY through an increasing exchange rate. Addresses WISHLIST.md item: "Stake/restake with Lido/Ether.fi"
Add a new action provider for Beefy Finance, enabling AI agents to deposit into and manage auto-compounding yield vaults on Base. Actions: - deposit: Deposit want tokens into a Beefy vault (auto-approval) - withdraw: Withdraw from vault (specific amount or withdrawAll) - check_position: Check mooToken balance, price per share, underlying value - list_vaults: List active Base vaults with APYs and TVL (filterable by platform) Beefy auto-compounds yield from 240+ vaults across Aerodrome, Morpho, Curve, Compound, and more on Base. Uses the Beefy public API for vault discovery and direct BeefyVaultV7 contract calls for deposits/withdrawals. Addresses WISHLIST.md item: "Farm yield (Beefy, Yearn)"
🟡 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
Adds a new action provider for Beefy Finance on Base, enabling AI agents to deposit into and manage auto-compounding yield vaults.
Addresses WISHLIST.md item: "Farm yield (Beefy, Yearn)"
Actions
depositwithdrawcheck_positionlist_vaultsImplementation Details
api.beefy.finance) for vault discovery, APY data, and TVLwant()token and its decimals before depositFiles
beefy/beefyActionProvider.tsbeefy/schemas.tsbeefy/constants.tsbeefy/beefyActionProvider.test.tsbeefy/index.tsTest plan
pnpm run buildpasses