BAZIGR
Your DeFi reimagined. A one-stop, gamified DeFi hub on the FLOW network.
视频
描述
Send, Swap. Bridge. Farm. Earn. Play.
Bazigr unifies it all : no more switching platforms.
Live Demo: https://bazigr-flow.vercel.app/
Smart Contract Addresses (Flow EVM Testnet):
BAZ Token : 0xa2A6d5e6c13F4AaEBA4c8589E04C4C3c4f3AD7c5
WFLOW (Wrapped FLOW) : 0xdd89B4D207Ef239c0ccD6771f876E94A5CC67c5e
UniswapV2 Factory(custom) : 0x70D70b6947199340E8A44ad21138Ce6577dE29Bf
UniswapV2 Router(custom) : 0xBEEeAB724B4505376c306cF0Ee723f4d3D104dB0
Swap Contract : 0xb4EEA05AF59Cb00A0E163a8855755067b187C14a
MasterChef (Farming) : 0x4D131c262507d56d962543b66aB5F732024298d5
BAZ/WFLOW Liquidity Pair : 0xc52C9c7eA6118989f882437f8DDe52eBB24e387A
Flow Bridge : 0xE27c8c852CB7592c46D9BE23A3705BA83D0cb41C
What is Bazigr ?
Bazigr is a next-generation gamified DeFi platform built on the Flow EVM 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 WFLOW, and k remains constant to ensure continuous liquidity and deterministic pricing.
Pricing Formula
P(BAZ/WFLOW) = 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
Fee Structure
Trading Fee: 0.3% per swap
Distribution: Entirely allocated to liquidity providers
Effective Output:
ΔY_out = Y - X + (1 - 0.003) * ΔX / k
Slippage Control
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 WFLOW. 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 WFLOW, and a user adds 100 BAZ + 0.5 WFLOW, 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 (Flow EVM ↔ Sepolia ETH)
Bazigr Bridge enables secure, relayer-assisted cross-chain transfers of assets between Flow EVM and Sepolia using a Lock-Mint / Burn-Unlock architecture.
Core Mechanism
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 → FLOW Native Swap (Redeem)
Users can convert accrued BAZ rewards directly to native protocol tokens FLOW in 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 FLOW" → executes token approval, AMM swap, and confirmation
"Bridge 50 BAZ from Flow 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 FLOW”) into executable transaction payloads.
🛡️ Security Layer
Nonce protection, slippage validation (≤ 5 %), reentrancy guards, and pausability modifiers integrated into all core contracts.
本次黑客松进展
The project was created in the hackathon time period.
技术栈
融资状态
NA