Skip to main content

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:

AssetSymbolRole in ProtocolDecimals
USD CoinUSDCPrimary Lottery Currency & Gas Token6
Euro CoinEURCEuropean & International Creator Bounties6
Wrapped BitcoincirBTCHigh-Roller Jackpots & Strategic Pools8

Security Invariants

  1. No Admin Rehypothecation: Neither Prizee LOTTERY nor any individual holds keys that can unilaterally withdraw locked prize funds.
  2. Reentrancy Protection: All fund transfers follow strict Checks-Effects-Interactions standards to prevent smart contract exploit vectors.
  3. Deterministic Verification: Every round is indexed by a unique cryptographic ID derived on-chain, ensuring verifiable auditability on ArcScan Explorer.