Smart Contract Architecture
Dollar Infinite is built using a modular, secure, and transparent smart contract system deployed on the Binance Smart Chain (BSC). The architecture is designed for non-custodial operation, efficient yield generation, and strong security controls.
High-Level Architecture Overview
The protocol consists of interconnected contracts that handle deposits, allocation, trading, rewards, and affiliate commissions. All interactions are non-custodial β users retain full control of their funds at all times.
Simplified flow diagram:
βββββββββββββββββββββββββββββββ β USER WALLET β β (MetaMask / Trust / etc.) β βββββββββββββββββ¬ββββββββββββββ β (Web3 / WalletConnect) βΌ βββββββββββββββββββββββββββββββββββββββ β DOLLAR INFINITE CONTRACTS β β β β ββββββββββββββ ββββββββββββββββ β β β VAULT ββββΊβ STRATEGY β β β β CONTRACT β β MANAGER β β β ββββββββ¬ββββββ ββββββββ¬ββββββββ β β β β β β ββββββββ΄ββββββ βββββββββ΄ββββββββ β β β POSITION β β AI BOT β β β β TRACKER β β CONTROLLER β β β ββββββββ¬ββββββ βββββββββ¬ββββββββ β β β β β β ββββββββ΄ββββββ βββββββββ΄ββββββββ β β β REWARDS β β AFFILIATE β β β β DISTRIBUTORβ β MANAGER β β β ββββββββββββββ βββββββββββββββββ β βββββββββββββββββββββββββββββββββββββββ β βΌ βββββββββββββββββββββββββββββββ β BINANCE SMART CHAIN β β (BSC) β βββββββββββββββββββββββββββββββ
Main Contracts
Vault Contract
Primary user-facing contract
Handles deposits, withdrawals, and position management
Enforces lock periods
Integrates with Strategy Manager for allocation
Key functions:
deposit(uint256 amount, uint8 lockDays)withdraw(uint256 positionId)getUserPositions(address user)(view)getPendingRewards(uint256 positionId)(view)
Strategy Manager Contract
Controls dynamic capital allocation between lending protocols and AI bot
Rebalances based on performance and liquidity needs
Tracks total value locked (TVL) and allocation percentages
Key functions:
allocateCapital()(internal)getAllocationPercentages()(view)getTotalValueLocked()(view)
AI Bot Controller Contract
Manages automated trading operations
Executes trades on approved DEXs (mainly PancakeSwap)
Applies strict risk parameters (max slippage, min profit, position size limits)
Key functions:
executeTrade()(restricted/permissionless)getPerformance()(view)pauseTrading()(admin/emergency)
Rewards Distributor Contract
Calculates and distributes yields to users
Processes continuous accrual every block
Handles tiered rates based on lock periods
Key functions:
calculateYield()(internal)distributeRewards()(restricted)getPendingRewards()(view)
Affiliate Manager Contract
Tracks referrals and calculates commissions (20-level deep)
Based on profits generated by referrals (not deposits)
Key functions:
registerReferral()(internal)claimCommissions()(public)getPendingCommissions(address user)(view)
Security Features
Reentrancy Guard
Prevents recursive call attacks
Access Control
Role-based permissions (admin, bot executor, etc.)
Pausable
Emergency pause function (multi-sig controlled)
SafeMath / Overflow Protection
Prevents arithmetic errors
Timelock
Delayed execution for critical changes (upgrades, parameter updates)
Rate Limiting
Protects against flash-loan or spam attacks
Contract Verification
All contracts are verified on BSCScan:
Source code publicly viewable
Bytecode matches deployed version
Users can independently verify addresses and logic
How to verify:
Go to https://bscscan.com
Enter contract address (listed on official site)
Go to "Contract" tab β "Code" β Confirm "Contract Source Code Verified"
Official Contract Addresses (BSC Mainnet):
USDT (BEP-20):
0x55d398326f99059fF775485246999027B3197955Vault: [Insert real address here]
Strategy Manager: [Insert real address here]
Rewards Distributor: [Insert real address here]
Recommendation: Always cross-check addresses from the official dollarinfinite.com site before interacting.
β Next: Yield Generation Mechanism
Last Updated: February 2026 For real-time verification, always check BSCScan and the official platform.
Last updated
