@ponderfinance/dex
v0.1.22
Published
Core smart contracts for Ponder Protocol
Downloads
1,940
Readme
Ponder Protocol
╭────────╮
╭───────────────╮
╭───────────────────────╮
╭───────────────────────────────╮
╭───────────────────────────────────────╮
╰───────────────────────────────╯
╰───────────────────────╯
╰───────────────╯
╰────────╯
Ponder is a decentralized exchange protocol built specifically for Bitkub Chain, featuring an innovative meme token launch platform. The protocol combines Uniswap V2's proven AMM foundation with yield farming through the PONDER token and a unique fair launch mechanism.
Core Protocol Components
1. Automated Market Maker (AMM)
- Constant product formula (x * y = k)
- 0.3% trading fee structure
- Time-weighted price oracle system
- Permissionless liquidity provision
555 Fun Mechanics
The 555 Launch platform introduces a novel token launch mechanism designed to create sustainable meme token ecosystems.
Launch Creation Process
- Creator initiates launch with:
- Token name and symbol
- Token metadata (IPFS URI)
- Initial token supply: 555,555,555 tokens
- Token Allocation:
- 80% (444,444,444 tokens) - Public sale contributors
- 10% (55,555,555 tokens) - Creator vesting
- 10% (55,555,555 tokens) - Initial liquidity
Launch Contribution Phase
- Target Raise:
- Fixed at 5,555 KUB value
- Price determined via PONDER/KUB oracle
- Contributors provide PONDER tokens
- PONDER Distribution:
- 50% to launch token/PONDER LP
- 30% to PONDER/KUB LP
- 20% burned permanently
Automatic Market Making
- Initial Liquidity Pool Creation:
- Launch token/PONDER pool established
- Additional PONDER/KUB liquidity
- LP tokens locked for 180 days
- Trading Fee Structure:
- 0.3% total fee on trades
- 0.2% to LP providers
- 0.1% to token creator
Tokenomics
PONDER Token Utility
- Launch Platform:
- Required for participating in launches
- Automatically pairs with new tokens
- Burns create deflationary pressure
- Liquidity Mining:
- Farm PONDER by providing liquidity
- Boost rewards by staking PONDER
- Pool-specific multipliers up to 3x
- Protocol Fees:
- Creator fees in PONDER
- LP rewards in trading pairs
- Treasury accumulation
Token Distribution
Total Supply: 1,000,000,000 PONDER
Initial Distribution (60%):
25% (250M) - Treasury/DAO
- Protocol development
- Ecosystem growth
- Community initiatives
15% (150M) - Team/Reserve
- 1-year linear vesting
- Strategic partnerships
- Long-term development
10% (100M) - Initial Liquidity
- DEX trading pairs
- Market stability
10% (100M) - Marketing
- Community growth
- User acquisition
- Brand development
Farming Distribution (40%):
- 400M tokens over 4 years
- Per-second emission rate
- Adjustable pool weights
- Boost multipliers up to 3x
Deflationary Mechanics
- Launch Platform Burns:
- 20% of contributed PONDER
- Permanent supply reduction
- Increased scarcity over time
- Trading Fee Burns:
- Portion of protocol fees
- Regular buyback and burn
- Market-driven burn rate
Value Accrual Mechanisms
- Launch Platform:
- PONDER required for launches
- LP pair creation
- Fee distribution to holders
- Farming System:
- Liquidity incentivization
- Long-term staking rewards
- Boost mechanism lock-up
- Protocol Growth:
- Treasury accumulation
- DAO governance (planned)
- Ecosystem expansion
System Architecture
Core Contracts
- PonderFactory:
- Pair creation
- Fee management
- Protocol control
- PonderRouter:
- Trading functions
- Liquidity management
- Path optimization
- FiveFiveFiveLauncher:
- Launch creation
- PONDER collection
- LP generation
- Fee distribution
- PonderToken:
- Supply management
- Vesting control
- Burn mechanics
Integration Guide
Launch Platform Integration:
// Create a new token launch
uint256 launchId = launcher.createLaunch(
"Token Name",
"SYMBOL",
"ipfs://metadata"
);
// Contribute to launch
launcher.contribute(launchId);
// Claim vested tokens (creator)
launchToken.claimVestedTokens();
// Withdraw LP tokens (after lock period)
launcher.withdrawLP(launchId);
Farming Integration:
// Stake LP tokens
masterChef.deposit(pid, amount);
// Stake PONDER for boost
masterChef.boostStake(pid, amount);
// Harvest rewards
masterChef.deposit(pid, 0);
// Withdraw LP tokens
masterChef.withdraw(pid, amount);
License
MIT License - see LICENSE