Open
Conversation
Add comprehensive PumpClaw action provider for Base mainnet with the following actions: - create_token: Create new tokens with Uniswap V4 liquidity (FREE, 0 ETH) - get_token_info: Get detailed token information from factory registry - list_tokens: List all tokens created on PumpClaw - buy_token: Buy tokens with ETH via SwapRouter - sell_token: Sell tokens for ETH via SwapRouter (with automatic approval) - set_image_url: Update token image (creator only) Key features: - FREE deployment (0 ETH cost) - 80% creator fees on all trades - LP locked forever (cannot rug) - Built on Uniswap V4 Factory: 0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a90 SwapRouter: 0x3A9c65f4510de85F1843145d637ae895a2Fe04BE Includes: - Comprehensive test coverage with Jest mocks - Proper Zod schemas with validation - Error handling for all edge cases - Network support: Base mainnet only
🟡 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 PumpClaw action provider for interacting with the PumpClaw token factory and swap router on Base mainnet (Uniswap V4).
Actions Implemented
create_tokenget_token_infolist_tokensbuy_tokensell_tokenset_image_urlContracts (Base Mainnet)
0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a900x3A9c65f4510de85F1843145d637ae895a2Fe04BEBoth contracts are verified on Basescan.
Architecture
wowandmoonwellproviders)viemfor ABI encoding andformatUnitsfor displayisAddresssell_token(checks allowance before approving)Testing
Full Jest test coverage for all 6 actions:
Files
Plus one-line addition to
action-providers/index.tsfor the export.