These specifications define how basketball game phases and statistics are encoded for on-chain operations, including cryptographic validation and trading settlement.
Stats are encoded with a formula: (half * 1000 OR quarter * 10000) + base_keyThese encodings are used for on-chain validation proofs and trading settlement.Full Game Stats (Keys 1-36):
Key
Statistic
1
Participant 1 Total Score
2
Participant 2 Total Score
3
Participant 1 Total Fouls
4
Participant 2 Total Fouls
5
Participant 1 Total Personal Fouls
6
Participant 2 Total Personal Fouls
7
Participant 1 Total Blocks
8
Participant 2 Total Blocks
9
Participant 1 Total Rebounds
10
Participant 2 Total Rebounds
11-36
(Additional stats including throws, points, assists, etc.)
Period-Specific Stats - Add period multiplier to base keys:
First Half (H1): Add 1000
Second Half (H2): Add 2000
Quarter 1: Add 10000
Quarter 2: Add 20000
Quarter 3: Add 30000
Quarter 4: Add 40000
Usage: These encodings are required when validating score data against on-chain Merkle roots, creating trading offers, or settling trades with cryptographic proofs.