Open the app

Build

Architecture

One core contract, a few helpers, and clear roles.

Check your version

The contracts still use the working name Gigapot (for example Gigapot and GigapotLens). This reference follows contract code e1056f7. The test network runs older code from 19 September (8a20efb). The launch contracts add fee bands, a Backer allowlist, prize minimums and the 25% jackpot; their calls will be listed here once the audited ABI is final. Use the ABI that matches the contracts you call.

The contracts#

Contracts and what they do
ContractWhat it does
GigapotThe core. Rounds, batches, results, prize credits, Backer accounting and the pool’s money.
TicketRightsSlices, transfers, splits, signatures, vouchers and claims.
FeeVaultCustodies purchase fees, pays Highroll’s cut and records referral commissions.
PythDrawSource + SP1 verifierRandom numbers and proof checks, kept separate.
RelayGatewayBuys lines for routed purchases. Holds nothing. Not a bridge.
GigapotLensRead-only summaries: Backer value, positions, batches and slices.
EarnVaultTracks pool money placed in an outside ERC-4626 vault.
TierPricing, EpochAccounting, RoundPipelineThree linked libraries that run on the core’s state.

Who can do what#

Roles
RoleCan doLimits
AnyoneBuy, manage their own lines, submit valid proofsNormal ownership, payment and proof checks
OwnerChange settings for future rounds, unpauseThe plan is a Safe plus a timelock. Check what’s deployed.
GuardianFreeze onlyCan’t unpause. Existing prizes and exits stay.
Treasurer / treasuryMove pool money out and backexportCapital: treasurer. returnCapital: treasurer or treasury.
Settlement operatorReport results earlyProofs are still needed before claims.

Where data lives#

Purchases create batches that never change. materializeQueue hashes them in small steps. SP1 proofs tie together the queue, the winning numbers and the claim tree.

Read state from the core and GigapotLens. Chosen numbers and referral details come from events and calldata.

Deployed modules

The older test record lists a deployed Lens, an SP1 Groth16 verifier and a TierPricing library address. It doesn’t show EpochAccounting or RoundPipeline deployed. Check a new manifest before using the e1056f7 ABI against a live address.

Updated 27 Sep 2026. Pages about money show the launch settings agreed on 24 Sep. The test network runs older code from 19 Sep. Nothing here is live with real money.