// TECHNICAL_OVERVIEW
IMPLEMENTED_ARCHITECTURE
01
THE_MISSION
ChainPass PSL delivers verifiable on-chain ticket ownership for PSL matches. Family passes are minted on WireFluid as ERC-721 soulbound NFTs tied to the buyer wallet and validated at gate entry without manual overrides.
02
SOULBOUND_OWNERSHIP
Transfer functions are disabled at the contract level, so ownership remains bound to the original wallet from mint to entry. Minting is restricted to one pass per wallet per match with person count constraints enforced on-chain.
03
MATCH_REGISTRY
Admins register matches on-chain with teams, stadium, timings, and enclosure matrices (name, capacity, and price). The contract enforces active-match checks, enclosure capacity, and stadium limits at mint time.
04
IDENTITY_BINDING
CNIC is formatted and hashed client-side before minting. Only the bytes32 hash is persisted on-chain, preserving privacy while enabling physical-ID validation at entry.
05
SECURE_ENTRY_QR
My Tickets generates a delegated QR payload that rotates on a short interval. Scanner flow verifies signatures, owner address, usage state, and CNIC hash before marking tickets as used on-chain.
06
FAN_LEADERBOARDS
Leaderboard rankings are derived from on-chain mint activity and people-count totals across passes, providing transparent season-wide engagement insights per wallet.
i
This system is configured for WireFluid Testnet (Chain ID: 92533) using RPC https://evm.wirefluid.com. Deployment and initialization scripts target the wirefluid network profile.