Smart Contracts
Explore and verify PeerBet smart contracts. All contracts are open source and verified on block explorers.
Select Chain
Contract Addresses
Custom Address Lookup
Enter any contract address to view it on the block explorer for the selected chain.
Key Contract Functions
createRoom(uint256 amount) → uint256 roomIdCreates a new game room with the specified stake amount
joinRoom(uint256 roomId)Joins an existing room and triggers the game start
requestRandomness(uint256 roomId) → bytes32 requestIdRequests a random number from Chainlink VRF
resolveOutcome(uint256 roomId)Resolves the game outcome based on VRF result
getLastResult(uint256 roomId) → uint256Returns the last game result for a room
withdraw(uint256 amount)Withdraws funds from the user's in-game balance
Verification Prompt
Security Notice
This viewer is read-only. Never enter private keys or seed phrases anywhere. PeerBet will never ask for your private keys.