Repository navigation
feat(action-providers): Add Santa Rosa Action Provider for 0.03% DEX Swaps and Anti-Liquidation Flash Rescues on Base L2 - #1612
Open
lucascordone-spec wants to merge 2 commits into
Conversation
…nd jest test suite for Base L2
🟡 Heimdall Review Status
|
This branch has not been deployed
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 the SantaRosaActionProvider to
@coinbase/agentkit, providing autonomous AI agents on Base L2 (base-mainnetandbase-sepolia) with:Changes
typescript/agentkit/src/action-providers/santarosa/:constants.ts: Router contract on Base (0xcd4f88bca4e2653fd24f61b4ef3aaccd76310a57), Chain IDs (8453,84532), fee constants (3 bps swap fee vs 25 bps Uniswap).schemas.ts: Zod validation schemas for all actions (swap,quote_leverage_multiply,get_user_debt_positions,simulate_rescue_savings,build_rescue_transaction).santaRosaActionProvider.ts: Action provider extendingActionProvider<EvmWalletProvider>with@CreateActionmethods.santaRosaActionProvider.test.ts: Jest test suite covering network support, schemas, and action execution.index.ts: Barrel exports.README.md: Comprehensive documentation following AgentKit templates.typescript/agentkit/src/action-providers/index.ts.Verification
base-mainnetandbase-sepolia.swapexecution and calldata generation targeting Base Mainnet Router0xcd4f88bca4e2653fd24f61b4ef3aaccd76310a57.Motivation for Base & AgentKit Ecosystem
Autonomous agents execute frequent micro-transactions and deplete balances quickly under standard 0.25% - 0.30% swap fees. Integrating Santa Rosa gives AgentKit agents the cheapest swap execution venue on Base while providing an instant, automated on-chain revenue share stream for agent builders.