Smart Contracts & Escrow
The non-custodial financial backbone of Prizee LOTTERY is the CircleSmartEscrow smart contract deployed on the Arc Network.
Escrow Lifecycle & Player Protection
CircleSmartEscrow enforces transparent, non-custodial custody of all campaign prize pools. When a creator launches a lottery or task bounty, funds are deposited directly into the smart contract and permanently locked until verified draw settlement.
stateDiagram-v2
[*] --> Funding: Creator Configures Round
Funding --> Active: 100% Prize Pool Locked in Escrow
Active --> Locked: Draw Countdown Reaches 0 (Sales Closed)
Locked --> Settled: On-Chain Block Hash Verified & Winners Paid Automatically
Locked --> Refunded: Quorum Not Met / Valid Cancellation
Settled --> [*]
Refunded --> [*]
Core Product Guarantees
1. 100% Locked Prize Escrow
- When a round is created, the creator deposits the total advertised prize pool directly into
CircleSmartEscrow. - The smart contract holds the funds in autonomous custody. At no point can platform administrators or third parties divert, rehypothecate, or lock these funds.
2. Automated & Instant Winner Payouts
- Once the target on-chain block is mined and winning numbers are derived, the protocol executes automated smart contract payouts.
- Prize amounts are transferred directly from the contract to each winning player's non-custodial wallet address.
3. Creator Refund Protection
- If a campaign fails to meet its minimum participation requirements or is cancelled prior to ticket sale commencement, the creator can trigger an automated 100% refund.
- Once refunded, the round is permanently sealed, guaranteeing no double-spending or stale rounds.
Supported Prize Currencies
The escrow smart contract natively supports standard digital assets on the Arc Network:
| Asset | Symbol | Role in Protocol | Decimals |
|---|---|---|---|
| USD Coin | USDC | Primary Lottery Currency & Gas Token | 6 |
| Euro Coin | EURC | European & International Creator Bounties | 6 |
| Wrapped Bitcoin | cirBTC | High-Roller Jackpots & Strategic Pools | 8 |
Security Invariants
- No Admin Rehypothecation: Neither Prizee LOTTERY nor any individual holds keys that can unilaterally withdraw locked prize funds.
- Reentrancy Protection: All fund transfers follow strict Checks-Effects-Interactions standards to prevent smart contract exploit vectors.
- Deterministic Verification: Every round is indexed by a unique cryptographic ID derived on-chain, ensuring verifiable auditability on ArcScan Explorer.