IntellSwap
Your gateway to decentralized finance on Mantle Testnet Network — swap, stake, and predict with confidence.
ビデオ
説明
IntellSwap DeFi Platform
Your gateway to decentralized finance on Mantle Testnet Network - swap, stake, and predict with confidence.
Features
Swap & Pool
Instant token swaps with AMM. Provide liquidity and earn 0.3% fees on every trade.
Token-to-token swaps via AMM
Liquidity pool management (add/remove liquidity)
Automatic price calculation
Slippage protection
Multi-hop routing through MNT
Staking
Stake MNT or INTEL to earn APY rewards plus bonus revenue share from betting profits.
Revenue Share System: When match owner withdraws betting profit, a percentage is distributed to stakers:
15% of profit → MNT stakers
10% of profit → INTEL stakers
Revenue distributed pro-rata based on stake amount
⚠️ Important: Revenue share only applies when owner makes profit. If owner loses, stakers receive nothing from that match.
Example:
Owner deposits 20 MNT as initial liquidity to open a match.
If Owner Profit
• Initial liquidity: 20 MNT
• Total bets collected: 100 MNT
• Total payouts to winners: 80 MNT
• Final balance: 40 MNT (20 + 100 - 80)
• Owner profit: 20 MNT (40 - 20)
→ MNT stakers receive: 3 MNT (15% of 20)
→ INTEL stakers receive: 2 MNT (10% of 20)
→ Owner receives: 35 MNT (40 - 3 - 2)
If Owner Loss
• Initial liquidity: 20 MNT
• Total bets collected: 100 MNT
• Total payouts to winners: 110 MNT
• Final balance: 10 MNT (20 + 100 - 110)
• Owner loss: -10 MNT (10 - 20)
→ MNT stakers receive: 0 MNT
→ INTEL stakers receive: 0 MNT
→ Owner receives: 10 MNT (remaining balance)
Prediction (Sports Betting)
Bet on sports matches with fixed odds. Fully on-chain and trustless.
Betting Rules:
Users can only bet on matches with "Upcoming" status
Betting closes 10 minutes before match starts
Multiple bets allowed on same match
No cancellation once bet is placed
Smart Contracts
Staking Contracts
NativeStaking.sol - Stake MNT to earn 14% APY + 15% revenue share
TokenStakingNativeReward.sol - Stake ERC20 tokens (INTEL) to earn APY + revenue share
Betting Contracts
MasterFactory.sol - Central registry to manage all SportsBettingFactory contracts
SportsBettingFactory.sol - Creates and manages betting matches, handles staking integration
MatchWithDraw.sol - Match with Team A, Draw, Team B options (e.g., Football)
MatchNoDraw.sol - Match with Team A, Team B options only (e.g., Basketball, Tennis)
Contract Functions
MasterFactory.sol
addFactory()- Register existing factorygetActiveFactories()- Get all active factories
SportsBettingFactory.sol
createMatchWithDraw()- Create match with 3 outcomes (Team A, Draw, Team B)createMatchNoDraw()- Create match with 2 outcomes (Team A, Team B)setStakingAddresses()- Set staking for revenue sharegetAllMatchesWithDraw()- Get all matches with drawgetAllMatchesNoDraw()- Get all matches without draw
MatchWithDraw.sol / MatchNoDraw.sol
depositLiquidity()- Owner deposits initial liquiditybet()- User places bet on outcomefinalizeResult()- Owner sets match resultclaim()- User claims winningswithdrawProfit()- Owner withdraws profit + revenue share
Tech Stack
React + Vite
Wagmi + RainbowKit
TailwindCSS
Solidity Smart Contracts
Links
ハッカソンの進行状況
During this hackathon, we built a Prediction (Sports Betting) platform fully implemented on smart contracts, using Fixed Odds System. In the future, instead of the owner creating and executing everything manually, we plan to use a sports betting API provider. The API provider will send triggers to a bot, and the owner’s wallet, which is implemented within the bot, will automatically execute the smart contract. This way, moving forward, the system will become fully on-chain.
テックスタック
資金調達の状況
N/A