CheapbookZ

Market Prices

Coin Price 24h
BTC Bitcoin
$42,417.1 -18.73%
ETH Ethereum
$1,331.76 -16.05%
SOL Solana
$55.44 -16.77%
BNB BNB Chain
$424.66 -16.37%
XRP XRP Ledger
$0.7244 -12.46%
DOGE Dogecoin
$0.0438 -21.86%
ADA Cardano
$0.1174 -16.44%
AVAX Avalanche
$5.25 -14.64%
DOT Polkadot
$0.4879 -18.98%
LINK Chainlink
$7.22 -15.77%

Fear & Greed

9

Extreme Fear

Market Sentiment

Event Calendar

{{年份}}
08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

28
03
unlock Arbitrum Token Unlock

92 million ARB released

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

18
03
unlock Sui Token Unlock

Team and early investor shares released

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

12
05
halving BCH Halving

Block reward halving event

Altseason Index

47

Bitcoin Season

BTC Dominance Altseason

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

Market Cap

All →
1
Bitcoin
BTC
$42,417.1
1
Ethereum
ETH
$1,331.76
1
Solana
SOL
$55.44
1
BNB Chain
BNB
$424.66
1
XRP Ledger
XRP
$0.7244
1
Dogecoin
DOGE
$0.0438
1
Cardano
ADA
$0.1174
1
Avalanche
AVAX
$5.25
1
Polkadot
DOT
$0.4879
1
Chainlink
LINK
$7.22

🐋 Whale Tracker

🔵
0x7c46...786f
1d ago
Stake
2,351,167 USDC
🔴
0x83ab...fe95
1h ago
Out
2,738.06 BTC
🔴
0xe719...80c2
1h ago
Out
3,969.21 BTC

💡 Smart Money

0x05ad...e1dd
Arbitrage Bot
+$3.2M
76%
0xb3c8...7553
Experienced On-chain Trader
+$3.8M
72%
0xa867...a3c4
Early Investor
+$3.1M
92%

🧮 Tools

All →
Policy

Null Is Not Zero: The Silent Failure Mode Inside On-Chain Analytics

CryptoWhale

Fourteen panels. All rendered. All green.

The dashboard belonged to a mid-cap DeFi protocol. It had been screenshotted into three separate pitch decks that month. Retention sat at 100%. Active wallets were flat but stable. TVL denominated in USD was up and to the right at a slope that made the growth lead smile. Every element loaded without a spinner, without an error state, without one red cell anywhere in the grid.

I asked for the query behind the retention panel. It joined a wallet-cohort table to a swap-events table on wallet_address. On the swap side, the join key was null for every row in the review period. Not sparse. Not 92% missing with a tail of stragglers. Null across the board, because the contract-decoding job had stopped populating the swapper column four weeks earlier and nobody had been paged.

The retention formula was COUNT(DISTINCT returning_wallets) / COUNT(DISTINCT cohort_wallets). Zero distinct returning wallets gave a zero numerator. The denominator never evaluated cleanly because the cohort table itself had stopped refreshing, so the engine returned null. The BI layer coerced null to zero. Zero divided by zero hit a front-end fallback that padded empty series to the axis maximum.

The panel was not wrong. It was empty. And empty rendered as perfect.

That gap — between a wrong number and an absent number — is what I want to take apart. Because in a market where every protocol ships a growth chart, almost nobody audits the layer where absence becomes zero. Trust is a variable, data is a constant. But a constant of zero will pass every integrity check that only asks whether a value exists.

The six layers between a block and a chart

Readers of an analytics dashboard see two things: a picture, and a number. There are at least six layers underneath, and each one has its own failure mode.

Ingestion pulls raw blocks, logs, and traces. Decoding maps bytecode events to named columns using an ABI. Enrichment joins prices, labels, and entity mappings. Abstraction — the spell layer, if you are on Dune — collapses decoded tables into human-readable models like dex.trades or lending.borrows. Query composes the final logic. Visualization renders it.

A crash at any of those layers produces an error. An empty return at any of those layers produces something far more dangerous: a plausible template that propagates downstream intact.

The propagation is deterministic, not random. This is the part people miss. Emptiness is not noise. Noise degrades a signal gradually and shows up as variance. Emptiness moves through a pipeline as a structured constant, and structured constants are self-consistent. A null sum is null. A null average is null. A null join produces zero rows. Zero rows aggregate to zero. Zero renders as a flat line. A flat line at zero looks exactly like a market that went quiet — which, in crypto, is a thing that happens constantly and therefore a thing nobody investigates.

I have watched four separate teams in the last eighteen months ship a dashboard where the underlying model had a null rate above 95% and the visual layer reported success. In three of those cases, the chart that looked most convincing was the one built on the emptiest table.

Why this market makes it worse

In a drawdown, an empty chart gets noticed. Somebody asks why volume is zero, and the question gets escalated because everyone is already staring at the same screen waiting for a bottom signal.

In an expansion, an empty chart gets cited. The growth narrative absorbs it. A flat line gets read as "consolidation." A zero gets read as "we filtered out the wash trading." A missing week gets read as "the chart starts here."

The incentive gradient points one direction. Nobody in a protocol's growth org gets rewarded for a pipeline that errors loudly. An empty panel that renders as zero is preferred over an error banner by every stakeholder in the org chart, from the intern who built the query to the investor reading the deck. The path of least resistance is always to coerce null to zero and move on.

I have been on the other side of that pressure. In 2017, working as a junior security analyst in Singapore, I audited fifteen early-stage ICO contracts for a boutique firm. One ERC20 transfer function had an integer overflow in the balance check. The audit report was not welcome. The team's advisor asked me whether I could "note it as a recommendation rather than a finding," because a critical finding would complicate the listing. I declined. The overflow would have allowed a balance to wrap and drain roughly $2 million at the then-current valuation. The team patched it. Nobody thanked me. The listing happened.

That experience set the template for everything I have done since. A finding that embarrasses the narrative is still a finding. The same logic applies to a null rate. The difference is that a contract vulnerability has an owner who can be blamed. A null rate has no owner, which is precisely why it survives.

The three-valued logic problem

SQL does not have two truth values. It has three: true, false, and unknown.

This is not trivia. It is the mechanical root of most of the silent analytics failures I have audited.

SELECT SUM(amount_usd) FROM dex.trades WHERE block_time > now() - interval '7 days' returns 0 if there are rows and all amounts are zero. It returns NULL if there are no rows at all. The two results are not the same. They render the same way in most charting libraries, because most charting libraries were built by people who never expected a database to distinguish absence from zero.