Smart Contracts

Explore and verify PeerBet smart contracts. All contracts are open source and verified on block explorers.

Select Chain

Contract Addresses

PeerBet
Verified
0x8ca77b5a7c4b71e5b3...
View on Explorer
PYUSD Token
Verified
0x1234567890abcdef12...
View on Explorer

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 roomId

Creates 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 requestId

Requests a random number from Chainlink VRF

resolveOutcome(uint256 roomId)

Resolves the game outcome based on VRF result

getLastResult(uint256 roomId) → uint256

Returns 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.