Smart Contracts
Contract Overview
Contract
Purpose
LottoBalls Contract
Inheritance
contract LottoBalls is
ReentrancyGuard, // Prevents reentrancy attacks
Pausable, // Emergency pause functionality
VRFConsumerBaseV2Plus, // Chainlink VRF integration
ILottoBalls // Interface definitionState Variables
Tokens
IERC20 public ltbToken; // LTB token contract
IERC20 public usdc; // USDC token contract
IERC20 public lazerToken; // Whitelist access tokenGame Configuration
Tracking
Bet Structure
Core Functions
play()
fulfillRandomWords()
View Functions
Admin Functions
LTB Token Contract
Roles
Privileged Functions
Events
GameRequested
GameResolved
ManualGameOverride
Constants
External Dependencies
Dependency
Purpose
Last updated