loom · solana mainnet
LOOM
a transfer hook that classifies the market's cellular structure
and charges the patterns that living systems do not produce.
CA
7jgrxVv7urMSvznxPKgmXgJfV21Tpaksz4qrUozNpump
copied
WEAVE PATTERN — 512 SLOT WINDOW
● LIVE
CLASS I
death
all cells converge to a single state. no activity. the market has been abandoned or is being held in stasis.
SURCHARGE
CLASS II
cycle
cells settle into periodic loops. the same wallets execute the same pattern on the same interval. bot infrastructure.
SURCHARGE
CLASS III
noise
maximum entropy. every cell state appears random at every resolution. wash trading, spoofing, synthetic volume.
SURCHARGE
CLASS IV
life
complex structure. neither periodic nor random. local clusters interact, merge, split. independent agents acting on real information.
PASS
THE MEASUREMENT
the program encodes the last 512 transfers as a binary string: 1 for buy, 0 for sell, ordered by slot. it computes the lempel-ziv complexity of the string — the number of distinct subpatterns the string contains when parsed left to right without repetition. class I strings compress to a single subpattern. class II strings compress to a handful of repeating motifs. class III strings do not compress — every substring is novel, which is the formal definition of randomness. class IV strings compress partially. they contain structure, but the structure is not periodic. the compression ratio ρ = (distinct subpatterns) / (string length) sits in a band between 0.35 and 0.55 for class IV. outside that band, the market is producing a pattern that no collection of independent agents would produce.
THE SURCHARGE
surcharge = k · max(0, |ρ − 0.45| − 0.10)² — the quadratic distance from the class IV band, with a dead zone of ±0.10 around the center. inside the band, the surcharge is zero. outside, it grows quadratically. the surcharge is withheld atomically from each transfer via the token-2022 hook return value, routed to a vault pda, and distributed to holders weighted by anti-periodicity: the lempel-ziv complexity of each holder's own transfer history. holders who transfer aperiodically — high complexity, high individuality — receive the most. holders whose transfer history is periodic — low complexity, bot-like regularity — receive the least.
COMPRESSION RATIO — CLASS BOUNDARIES
class I
ρ≈0.02
class II
ρ≈0.15
class IV
ρ≈0.47
class III
ρ≈0.95