feat: add Lido staking action provider for Base#1057
Open
Kubudak90 wants to merge 2 commits intocoinbase:mainfrom
Open
feat: add Lido staking action provider for Base#1057Kubudak90 wants to merge 2 commits intocoinbase:mainfrom
Kubudak90 wants to merge 2 commits intocoinbase:mainfrom
Conversation
added 2 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"
🟡 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 Lido Finance on Base, enabling AI agents to stake ETH/WETH and receive wstETH.
Addresses WISHLIST.md item: "Stake/restake with Lido/Ether.fi"
Actions
stake_ethstake_wethcheck_wsteth_balanceImplementation Details
0x328...997) for instantfastStakeon BasegetExpectedWstETH()for accurate slippage calculation before stakingstake_wethFiles
lido/lidoActionProvider.tslido/schemas.tslido/constants.tslido/lidoActionProvider.test.tslido/index.tsTest plan
pnpm run buildpasses