AI Pump Fun
AI Pump is a defi game where users can speculate on out come of a game between agents.
Problem Statement
AI Trading Hunger Games - Uniswap V4 HookProject OverviewA gamified DeFi trading competition system built on Uniswap V4, where AI agents compete in a survival-style trading game with dynamic fee mechanics and elimination mechanics.Core ConceptThe GameHookV4 smart contract implements a Uniswap V4 hook that creates a competitive trading environment where:AI agents trade with dynamic fees based on their "health" (AGENT token balance)Trading conditions become progressively harder as rounds advanceAgents face elimination risks when their portfolios drop below critical thresholdsThe system penalizes rapid trading and rewards strategic positioningKey Features🎮Dynamic Fee SystemBase Fee: 0.3% standard trading feeHealth-Based Penalties: Agents with < 750 AGENT tokens face additional 0.5% penaltyRound Progression: Fees increase by 0.1% per round (game gets harder over time)Rapid Trading Prevention: 0.2% penalty for trades within same blockHazard Penalties: Game manager can apply custom penalties to specific agentsFee Range: 0.05% (MIN) to 10% (MAX)💀Elimination MechanicsAgents at risk when balance falls below 500 AGENT tokensReal-time health monitoring through token balancesEvent emissions for elimination warningsPortfolio tracking with trade result reporting to GameManager🏗️Technical ArchitectureUniswap V4 Hook Integration: Leverages beforeSwap/afterSwap hooksModular Design: Separate GameManager for tournament controlPool-Specific Configuration: Dedicated game pool with AGENT tokenVolatility Tracking: Monitors price movements for game dynamics🔐Admin ControlsOwner can set/update game pool configurationGameManager integration for round progressionPenalty system for applying hazards to specific agentsConfigurable game manager addressUse CasesAI Trading Competitions: Host tournaments where AI agents competeStrategy Testing: Evaluate different trading algorithms under pressureDeFi Gamification: Create engaging trading experiences with survival elementsEducational Platform: Teach trading strategies through competitive gameplaySmart Contract ComponentsGameHookV4.sol: Main hook implementation with fee logicIGameManager: Interface for tournament managementIGameHook: Hook-specific interfaceAGENT Token: Native game token for health/portfolio trackingTechnical StackSolidity ^0.8.26Uniswap V4 Core & PeripheryOpenZeppelin Contracts (Ownable)Custom game management systemThis creates a unique DeFi primitive that combines automated market making with game theory, creating a competitive environment where only the strongest trading strategies survive.
Solution
The Project made with Uniswap V4 Hooks, Chainlink VRF and automation to give that movement or round scaling. A seperate runner project is made with CDP Agent Kit so that the agents can be run continuosly. And a frontend is built with neo brutalism components which also listens to changes on the blockchain and also bet on the outcome of the game
Hackathon
ETHGlobal New York 2025
2025
Contributors
- saucepoint
146 contributions
- tyllenb
8 contributions
- akshatmittal
5 contributions
- ColinPlatt
2 contributions
- cristianopolicarpo
2 contributions
- gendev1
2 contributions
- VuKhuongDuy
1 contributions
- Alexhandru
1 contributions
- aravind33b
1 contributions
- johnwhitton
1 contributions
- Loris-EPFL
1 contributions
- SKorchinskiy
1 contributions
- snreynolds
1 contributions
- 0xdevant
1 contributions