Your DeFi reimagined. A one-stop, gamified DeFi hub for Mantle.
Send, Swap. Bridge. Farm. Earn. Play.
Bazigr unifies it all : no more switching platforms.
Live Demo:
Smart Contract Addresses (Mantle testnet):
BAZ Token : 0x0e4D19ac0ed1CAa536A90C9bb06B6167F1341AFF
WMANTLE (Wrapped Mantle) : 0x1aeE0246D98D220aCCEDD8898E24A418EC65C57c
UniswapV2 Factory(custom) : 0x26d96DCd0723305f32a32AC5A1bC58928CfE314f
UniswapV2 Router(custom) : 0xa478C958d3b26D1Da146f7Ae6263AA17AFF7Bc8F
Swap Contract : 0x674DEB50b0402bca07c97c1DD34eeD4f9648eE79
MasterChef (Yield Farming) : 0x82631dAb37ec2E3103053036451C9a193F5c05B2
BAZ/WMANTLE Liquidity Pair : 0x97Ba9f0A85A4E2FdCbd21a16927FEe4aC47E28fB
Mantle Bridge : 0x118b30B86500239442744A73F1384D97F8C9B63C
What is Bazigr ?
Bazigr is a next-generation gamified DeFi platform built on the Mantle Testnet, designed to make decentralized finance fun, interactive, and rewarding for users of all levels.
It’s not you traditional DEX, it’s your all-in-one DeFi playground.
Core Features :
1. Automated Market Maker (AMM) Engine :
Bazigr utilizes a constant-product AMM model defined by the invariant equation:
x * y = k
where x and y represent the pool reserves of BAZ and WMANTLE, and k remains constant to ensure continuous liquidity and deterministic pricing.
Pricing Formula
P(BAZ/WMANTLE) = Y / X
Price is derived from the ratio of pool reserves.
Swap Execution
During each swap, reserves are updated to maintain the invariant:
X' = X + ΔX
Y' = X' / k
Ensuring X' * Y' = k
Trading Fee: 0.3% per swap
Distribution: Entirely allocated to liquidity providers
Effective Output:
ΔY_out = Y - X + (1 - 0.003) * ΔX / k
A 5% slippage cap is enforced during transaction validation to mitigate sandwich and front-running attacks.
2. Liquidity & Yield Farming (Unified LP Economy)
Liquidity providers form the backbone of Bazigr’s AMM by supplying equal-value pairs of BAZ and WMANTLE. In return, they receive LP tokens representing their proportional ownership of the pool.
LP minting follows:LP_minted = TotalLP * min(dx/x, dy/y)
Example:
If total pool = 1000 BAZ + 5 WMANTLE, and a user adds 100 BAZ + 0.5 WMANTLE, they receive ~10% of the pool’s LP share.
These LP tokens can be staked in the MasterChef contract to earn continuous BAZ rewards, calculated as:Reward = (User_Stake / Total_Stake) * (BAZ_per_block * Blocks_elapsed)
Parameters & Yield Mechanics:
Emission Rate: 10 BAZ per block (~5s intervals)
Dynamic APR: Adjusts with total staked liquidity and token price
Auto-Compound or Swap-to-Native: Users can restake or redeem rewards instantly
Fee Share: 0.3% of all trades distributed to LPs
No Lockups: Withdraw liquidity or exit staking anytime
Emergency Withdraw: Retain both LP and pending rewards safely
3. Cross-Chain Bridge (MANTLE testnet ↔ Sepolia ETH)
Bazigr Bridge enables secure, relayer-assisted cross-chain transfers of assets between Mantle and Sepolia
SourceBridge: Locks tokens and emits BridgeRequest(nonce, user, amount, destChainId).
Relayer Network: Monitors events, builds proofs, and submits to DestinationBridge.
DestinationBridge: Verifies proof (Merkle/SPV or relayer-signed) and unlocks tokens.
Each transaction is nonce-protected, replay-safe, and finality-checked before execution.
4. BAZ → MANTLE Native Swap (Redeem)
Users can convert accrued BAZ rewards directly to native protocol tokens MNTin a single atomic transaction. The router executes the swap against the AMM using the constant-product formula:dy = (y * dx * (1 - fee)) / (x + dx * (1 - fee)), where dx = BAZ input and dy = native output.
5. AI DeFi Agent
Beginners can perdorm any defi intent with just a prompt"Swap 100 BAZ to MNT" → executes token approval, AMM swap, and confirmation
"Bridge 50 BAZ from MANTLE to Sepolia" → initiates cross-chain bridge process
"Stake my LP tokens" → locates MasterChef pool and deposits automatically
6. Cashback Reward Mechanism
Every qualifying transaction (swap, redeem, add liquidity, stake) earns you a scratchcard which currently provides BAZ coins as cashback
Architecture
Frontend: Next.js 15 + TailwindCSS + ReOwn Wallet Adapter
Backend: Node.js + Express for relayer and AI intent processing.
AI Intent Layer: LangChain + OpenAI API for converting natural-language prompts (e.g., “swap 100 BAZ to MNT”) into executable transaction payloads.
Nonce protection, slippage validation (≤ 5 %), reentrancy guards, and pausability modifiers integrated into all core contracts.