IECsat Storage Skill
"69 bytes of mutual awareness per tile. 3 Γ 23. Triadic by design."
IECsat Storage calculates on-chain storage costs for Plus Code tiles with GF(3)-conserved mutual awareness. Each tile maintains exactly 69 bytes of state.
69 = 3 Γ 23 (triadic decomposition)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 69-BYTE TILE STATE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PLUS (+1) β ERGODIC (0) β MINUS (-1) β
β 23 bytes β 23 bytes β 23 bytes β
β GENERATOR β COORDINATOR β VALIDATOR β
ββββββββββββββββββΌβββββββββββββββββΌβββββββββββββββββββββββ€
β state_hash β neighbor_refs β proof_data β
β (20 bytes) β (20 bytes) β (20 bytes) β
β trit (1 byte) β trit (1 byte) β trit (1 byte) β
β flags (2 B) β flags (2 B) β flags (2 B) β
ββββββββββββββββββ΄βββββββββββββββββ΄βββββββββββββββββββββββ
Ξ£(trit) = +1 + 0 + (-1) = 0 β CONSERVED
| Length | Tiles | Resolution | Example |
|---|---|---|---|
| 2 | 162 | 2,226 km | Global quadrant |
| 4 | 64,800 | 111 km | Country region |
| 6 | 25.9M | 5.6 km | City district |
| 8 | 10.4B | 278 m | City block |
| 10 | 4.1T | 14 m | Building |
| 11 | 83T | 70 cm | Room |
| 13 | 33Q | 14 cm | Object |
| 15 | 13 quint | 5.6 mm | Component |
| 17 | 5.3 sext | 223 ΞΌm | Microstructure |
Pricing assumptions:
- Storage cost: 0.00001 APT per byte
- APT price: $12 USD
- Bytes per tile: 69
Cost formula:
APT = tiles Γ 69 Γ 0.00001
USD = APT Γ 12
| Precision | Tiles | Storage | APT | USD |
|---|---|---|---|---|
| 10-char | 4.15T | 286 TB | 2.86M | $34.3B |
| 11-char | 82.9T | 5.7 PB | 57.2M | $687B |
| 12-char | 1.66Q | 114 PB | 1.14B | $13.7T |
| 13-char | 33.2Q | 2.29 EB | 22.9B | $275T |
| 17-char | 5.31S | 366 ZB | 3.66Q | $44 quint |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ON-CHAIN (APTOS) β
β 10-char root tiles: 4.1T Γ 69B = 286 TB β
β Cost: 2.86M APT ($34B) β
β Contains: Merkle roots for child tiles β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β OFF-CHAIN (ARWEAVE) β
β 11-17 char tiles: Content-addressed β
β Proof: Merkle path from root β leaf β
β Cost: ~$0.005/MB permanent storage β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
IECsat : PlusCode β (TileState Γ MerkleProof)
where:
TileState = { plus: 23B, ergodic: 23B, minus: 23B }
MerkleProof = Path from 10-char root to target tile
Invariant: β tile: Ξ£(trit) β‘ 0 (mod 3)
Cells: 238,800,000,000
Storage: 238.8B Γ 69B = 16.5 TB
APT: 165M APT
USD: $1.98B
Fraction of APT supply: 16.5%
All buildings worldwide: ~1 billion
Storage: 1B Γ 69B = 69 GB
APT: 690K APT
USD: $8.3M
struct TileState has store, copy, drop {
// PLUS (+1) - 23 bytes
generator_hash: vector<u8>, // 20 bytes
generator_trit: u8, // 1 byte
generator_flags: u16, // 2 bytes
// ERGODIC (0) - 23 bytes
coordinator_refs: vector<u8>, // 20 bytes
coordinator_trit: u8, // 1 byte
coordinator_flags: u16, // 2 bytes
// MINUS (-1) - 23 bytes
validator_proof: vector<u8>, // 20 bytes
validator_trit: u8, // 1 byte
validator_flags: u16, // 2 bytes
}
public fun is_gf3_conserved(state: &TileState): bool {
let sum = (state.generator_trit as i8 - 1) + // 2 β +1
(state.coordinator_trit as i8) + // 0 β 0
(state.validator_trit as i8 - 1); // 1 β -1 (adjusted)
sum == 0
}
# Calculate storage for N tiles
python3 -c "
tiles = 4_147_200_000_000 # 10-char
bytes_per_tile = 69
apt_per_byte = 0.00001
apt_price = 12
total_bytes = tiles * bytes_per_tile
total_apt = total_bytes * apt_per_byte
total_usd = total_apt * apt_price
print(f'Tiles: {tiles:,}')
print(f'Storage: {total_bytes/1e12:.2f} TB')
print(f'APT: {total_apt/1e6:.2f}M')
print(f'USD: \${total_usd/1e9:.2f}B')
"
iecsat-storage (0) β aptos-gf3-society (+1) β merkle-validation (-1) = 0 β
iecsat-storage (0) β plus-codes (+1) β content-addressing (-1) = 0 β
Skill Name: iecsat-storage Type: Storage Cost Estimation / On-Chain Economics Trit: 0 (ERGODIC - COORDINATOR) GF(3): Mediates between tile generation and validation
This skill maps to Cat# = Comod(P) as a bicomodule in the Prof home:
Trit: 0 (ERGODIC)
Home: Prof (profunctors/bimodules)
Poly Op: β (parallel composition)
Kan Role: Adj (adjunction bridge)
The skill participates in triads where:
(-1) + (0) + (+1) β‘ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.