JarValley

Market Prices

BTC Bitcoin
$52,948.9 -10.63%
ETH Ethereum
$1,615.81 -2.52%
SOL Solana
$69.35 -2.19%
BNB BNB Chain
$522.03 -6.94%
XRP XRP Ledger
$0.8598 -7.58%
DOGE Dogecoin
$0.0570 -1.50%
ADA Cardano
$0.1417 -1.39%
AVAX Avalanche
$6.29 -2.01%
DOT Polkadot
$0.6408 -3.41%
LINK Chainlink
$8.67 -2.20%

Event Calendar

{{ๅนดไปฝ}}
18
03
unlock Sui Token Unlock

Team and early investor shares released

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

28
03
unlock Arbitrum Token Unlock

92 million ARB released

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

12
05
halving BCH Halving

Block reward halving event

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

Tools

All โ†’

Altseason Index

45

Bitcoin Season

BTC Dominance Altseason

Market Cap

All โ†’
# Coin Price
1
Bitcoin BTC
$52,948.9
1
Ethereum ETH
$1,615.81
1
Solana SOL
$69.35
1
BNB Chain BNB
$522.03
1
XRP Ledger XRP
$0.8598
1
Dogecoin DOGE
$0.0570
1
Cardano ADA
$0.1417
1
Avalanche AVAX
$6.29
1
Polkadot DOT
$0.6408
1
Chainlink LINK
$8.67

๐Ÿ‹ Whale Tracker

๐Ÿ”ด
0xecf9...f160
1d ago
Out
4,058.64 BTC
๐ŸŸข
0x59f3...adb9
5m ago
In
3,634,919 USDT
๐Ÿ”ต
0x1189...025d
30m ago
Stake
3,481,766 USDT
Cryptopedia

The Zero That Isn't Zero: Null Propagation in On-Chain Risk Pipelines

0xZoe

The Zero That Isn't Zero: Null Propagation in On-Chain Risk Pipelines

Check the logs.

Nine dimensions came back. Technical architecture. Token economics. Market structure. Ecosystem position. Regulatory exposure. Team and governance. Risk matrix. Narrative cycle. Supply-chain transmission. Every one populated with section headers, formatted tables, and a verdict.

The verdict, in every cell: N/A.

Zero contract addresses. Zero timestamps. Zero entries in the source list. The category field reads "unclassified." The summary field reads "not provided." The output still closes with a confidence rating, a disclaimer, and a note that the pipeline should be re-run once inputs are supplied.

The pipeline did not crash. It returned a document. That is the failure.

I have seen this shape of bug before. In Solidity, every storage slot initializes to zero. A mapping(address => uint256) does not throw when you query an address that was never written to. It returns 0. The compiler does not warn. The runtime does not revert. Your contract reads a balance of zero and proceeds to liquidate a user who holds everything.

Missing data and real data occupy the same bytes.

This is not a parser error. It is a type-system error that the parser faithfully executed. And in a market where every decision sits downstream of somebody else's data, it is the most expensive class of bug left.


Context: the research stack is a chain of nulls

A crypto research pipeline is not one thing. It is a relay.

Indexer pulls from node. Node pulls from chain. Oracle pushes to contract. Contract answers to protocol. Protocol answers to dashboard. Dashboard answers to you.

Every link in that relay has a way to say "I do not know." Almost none of them have a way to say it loudly.

The Graph's indexers fall behind a reorg. A Dune query against a lagging table returns yesterday, formatted as today. A subgraph that fails to index a newly deployed contract returns an empty array โ€” not an error, an empty array. A team's own analytics endpoint returns 404, something in the middle of your stack swallows it, and a default gets substituted upstream of a number you are about to size against.

Now look at what came back from this run. The fields were not empty. That is the part that matters.

An empty string is falsy. "" fails most naive checks. But the string "unclassified" has twelve characters and passes every length > 0 test you can write. So does "not provided". So does "N/A". So does "pending." These are not nulls. They are nulls wearing a costume, and they walk straight through the validator because the validator was written by somebody who believed missing things look missing.

`length > 0` is not a validation. It is a superstition.

I have watched this exact mechanism take money.

In 2017 I was auditing ERC-20 contracts for an ICO three weeks out from public sale. The external auditor's checklist had a row for reentrancy marked N/A โ€” not applicable, they wrote, because the contract was a token and not a vault. Token contracts do not hold ETH, so reentrancy cannot drain anything. Reasonable logic. Wrong in one specific case: the token's approve and transferFrom interacted with a pre-sale contract that did hold ETH, and the pre-sale's withdrawal function called back into the token's balance accounting before state was written. I found it reading the call graph, not the checklist. The project shut down before sale. Fifteen ETH bounty, and a permanent change in how I read audit reports.

The auditor did not miss the bug. The auditor missed the row. A field marked N/A is a field nobody examined, and nobody noticed that nobody examined it.

That was a Word document and the stakes were one ICO. The mechanism has since been automated, and the stakes now clear nine figures.


Core: the arithmetic of a null

Here is the part a dashboard will never show you.

When a null enters an aggregation you have exactly two behaviors available: propagate or drop. That is the full menu. There is no third option, and one of them is worse than the other.

Propagate. null + 450 + 380 = NaN. The result becomes visibly, uselessly broken. You notice. You fix it. Cost: an hour.

Drop. The null is silently excluded and the mean is computed over the survivors. (450 + 380) / 2 = 415. The output is clean, plausible, well-formatted. Every cell is filled. Nothing looks wrong. Cost: your position.

The Zero That Isn't Zero: Null Propagation in On-Chain Risk Pipelines

Nine dimensions of this run came back with no information points. If a downstream aggregator drops them โ€” and every ORM, every pandas.mean(), every SUM() in SQL drops them unless you explicitly configure otherwise โ€” then the surviving sample becomes the analysis. A scoring model fed nine empty dimensions and three partial ones will emit a confident number. Not because the data supported it. Because the arithmetic had no alternative.

I want to be precise about mechanism, because "bad data is bad" is not an insight. "Bad data has a specific failure mode that is invisible by construction" is.

The three gates, which fail independently

Any field entering a decision needs three independent checks. Most pipelines implement one.

Gate one โ€” presence. Does the field exist? assert exists(field). This catches nothing here. All the fields existed. The JSON parsed. The schema validated. The document rendered.

Gate two โ€” semantics. Is the value a real observation, or a placeholder that satisfied gate one? This is the gate that was missing. "unclassified" is a semantic null. "not provided" is a semantic null. "N/A", "-", "TBD", "pending", and the literal string "null" are all semantic nulls. They are distinguishable from real data only by a denylist, or by typing the field as an enum with a mandatory UNKNOWN member that the renderer is forbidden to print.

Gate three โ€” freshness. Even a real observation decays. A real TVL from six weeks ago is a real number and a false statement. Freshness is a timestamp comparison, and it is the gate everyone skips because it requires knowing what "fresh" means for that specific field. TVL: hours. Oracle price: seconds to a heartbeat. Team headcount: months. Governance participation rate: one epoch.

Three gates. One is usually implemented. In this run, none were โ€” and the pipeline still emitted a document with a header, tables, and a confidence rating of high attached to the meta-conclusion that the input was broken.

Sit with that last part.

The confidence rating was correct. The assertion "this input is empty" was made with high confidence because it could be verified directly, by inspection, with no inference. Confidence was attached to the claim and not to the format. That is the one thing the run got right, and it is the one thing almost no production risk score does. Most scores are attached to the template. The template looked finished, so the score came out clean.

The on-chain version of the same bug

The EVM is a null-propagation machine with perfect legal finality.

latestRoundData() returns five values: roundId, answer, startedAt, updatedAt, and answeredInRound. A naive consumer takes answer and moves on. A correct consumer checks all of the following before trusting a single wei:

  • answer > 0 โ€” a feed that has never produced a valid round returns zero, and zero is a price
  • updatedAt != 0 โ€” no round has ever completed
  • block.timestamp - updatedAt <= heartbeat โ€” the answer is stale
  • answeredInRound >= roundId โ€” the answer was carried forward from a prior round, which is a polite way of writing "stale answer wearing a fresh round number"

Four checks. I have read dozens of integrations. Most implement one and a half.

The Zero That Isn't Zero: Null Propagation in On-Chain Risk Pipelines

The Compound incident in late November 2022 is the canonical case, and it is instructive precisely because nobody wrote a malicious contract. A governance patch touched price handling. For one market the price path returned zero. The protocol, doing exactly what it was instructed, treated a zero as a quote. A borrower who understood the mechanism walked out with roughly $80 million in exposure, and the market spent days unwinding it. The contract was not hacked. The contract answered the question it was asked. The question was wrong.

The Zero That Isn't Zero: Null Propagation in On-Chain Risk Pipelines

Terra is the version I lived through.

In May 2022, UST broke its peg. The Curve pool went to 0.98, then 0.95, and then the number stopped having a relationship to anything. Several lending venues were still consuming oracle answers that had not caught up โ€” or had caught up to a basket that included an in-kind redemption that did not exist. Collateral was marked at par. Borrowing continued.

I did not trade the peg. I read the withdrawal queues on the exchanges that touched the ecosystem, and I read every lockup contract with a withdrawal cap written into immutable code and no emergency path. When a protocol cannot pay out faster than it can be drained, the exit is the trade. I moved 100 ETH to cold storage across three transactions and shorted the governance tokens on perpetuals. My book finished that quarter down 10%. Plenty of people who understood DeFi better than I did finished down 100%, because their models had a fresh price and mine had a withdrawal limit.

I watch the blockchain, not the ticker. The ticker held UST at 0.99 for four hours after the pool had already voted.

Impermanent loss is the null everyone drops

In 2020 I ran 50 ETH through Sushiswap liquidity mining during DeFi Summer. Four months, active rebalancing, 220% ROI. I logged every entry and every exit in a spreadsheet with the impermanent-loss column filled in, because the APR number on the front end is a real number attached to a dropped term.

The displayed APR was accurate. It was also a filtered statistic โ€” the rewards side of the position with the LP-side decay removed. Nobody was lying. The interface showed what the interface could compute cheaply, and the expensive term, the one requiring a path-dependent integral over the price ratio, went unrendered because rendering it was work.

My 220% is the number after IL. The number before IL was much larger and much less true. Two traders running identical pools, identical size, identical entry, can post wildly different returns depending on whether the IL column is populated or blank โ€” and the blank version is the one that gets screenshotted.

That is the pattern. An N/A sitting in a config for six months, invisible, and then one afternoon it is the only field that matters.

The 2025 bot that sold 40% APR

Last year I audited an AI trading bot protocol claiming 40% annualized. Five hundred people were queued up to deposit.

The backtest was real. I reproduced 38% over eighteen months from their execution logs. Then I opened the config.

The slippage field was N/A. The backtest engine had seen the null, dropped it, and executed every simulated fill at mid. The strategy was an arbitrage loop on a thin pair where the realized spread ran 40 to 90 basis points per leg. Put the slippage line back and the engine goes negative before fees. The reason the backtest looked good was not dishonesty. It was a null the simulator politely declined to price.

I published the tear-down. The protocol suspended operations inside a week. A slice of those five hundred people were angry at me for breaking it, for about three days, and then they were angry at the team instead.

Unknown is not a small negative

The reflex is to treat an unpriced field as a modest penalty. Mark it down 10%. Reduce the size. That reflex is the whole loss.

An unknown is not a small negative. It is an unbounded one. If you do not know whether a contract contains a mint function, the distribution of outcomes is not centered slightly below your model's mean โ€” it includes the tail where supply is infinite. You cannot size against a distribution you cannot draw, and a haircut does not fix an undefined term. It decorates it.

The correct treatment is zero. Not 90%. Zero. The trade does not exist until the field resolves.

This is not conservatism. Conservatism is a haircut, an expected-value adjustment made by someone who believes they know the shape of the tail. This is a refusal to price a distribution that has an undefined term in it. Different operation entirely.

The 2021 CryptoPunks sweep taught me the same lesson from the other direction. I was reading holder distribution to identify accumulation, and the raw wallet count told me one thing while the exchange omnibus addresses told me another. A single custodial wallet can hold the float and read as retail on every dashboard in the market. That field is not N/A on most platforms. It is filled with a number that means something other than what the column header says โ€” which is worse than blank, because a blank at least invites a question.

Schema validation as a risk control

If you build or consume research pipelines, the rule fits in four lines:

if (infoPoints.length === 0) throw Reject('empty source');
if (/\b(N\/A|not provided|unclassified|TBD|pending|-)\b/i.test(flatten(values))) throw Reject('placeholder contamination');
if (now - field.timestamp > freshnessBudget[field.key]) throw Reject('stale');
if (confidence.attachedTo === 'format') throw Reject('confidence misattached');

Hard rejects. Not warnings. The pipeline does not return a document with N/A in it. It returns nothing, and nothing forces a human to look.

The distinction between "return a degraded report" and "return nothing" is the entire design decision. A degraded report has a shape. A human reading a nine-row table assumes nine rows were intended. A script consuming that table will compute a mean without hesitation. Only a thrown exception reliably stops the belt.

Rejecting a message whose source field equals "not provided" costs you one re-run. Accepting it costs you a position. The asymmetry is enormous, and the default behavior of nearly every pipeline I have read is to degrade rather than refuse.

I understand the incentive. A pipeline that throws looks broken. A pipeline that returns a filled table looks like it works. Dashboard culture rewards surfaces and punishes refusal. Which is exactly why refusal has to be engineering, not judgment.


Contrarian: the danger is not that the data is wrong

Everyone is defending against wrong data. Almost nobody defends against empty data.

Wrong data eventually announces itself. A price off by 30% draws a chart that looks insane. A team wallet moving to an unexpected address produces a transaction you can trace. Wrong data is a lie that can be caught โ€” and the industry has spent five years building an apparatus to catch lies. Simulations. Formal verification. On-chain monitors. Third-party attestations. Watchtowers. The entire security budget is aimed at falsity.

Empty data does not lie. It attests. It is a document with section headers and a signature block that never answered the question, and it is pixel-identical to the document that did.

That asymmetry maps cleanly onto who wins. Smart money watches, dumb money chases. The retail behavior is to consume the report: nine dimensions, nine verdicts, ship it. The professional behavior is one layer up โ€” read the source list first, and if the source list is empty, stop reading. You do not need to evaluate a risk matrix that has no inputs. You need to notice that it has no inputs. That single habit is worth more than any analytical edge inside the matrix itself.

The direction this is heading should concern you.

Language models are null-filling machines. Hand a model a field marked N/A and it does not throw โ€” it has a prior. "unclassified" is a low-probability token, "Layer 2" is a high-probability token, and the model resolves the ambiguity toward what it has seen most. The output arrives fluent, structured, and confident: a risk assessment in which the author's uncertainty has been auto-completed into a plausible sentence.

This is not hallucination in the ordinary sense. It is null propagation with a language model welded to the end of the pipe, converting each semantic null into a positive assertion. The pipeline gets more dangerous as it gets more articulate. And the tell โ€” the empty source list, the "not provided," the technically populated field that is actually vacant โ€” sits one layer deeper than any human reviewer is going to go at 2 a.m.

The 2017 auditor who marked reentrancy N/A was not careless. They were working from a template whose rows had been decided in advance, and a row marked N/A produces a report that reads as complete. That is what completeness looks like from outside: no blanks.

It cost me four hours with a call graph to learn that the absence was the bug.


Takeaway: read the timestamp, not the price

The next meaningful exploit in this market will not be a reentrancy bug. Reentrancy is a solved problem โ€” audited to death, formalized, simulated, and now expensive to deploy and easy to catch. Code is law, but human greed is the bug, and the greed has moved upstairs into the layer that decides which data gets trusted.

The surface now is the answer path. The contract that, when queried, declines to revert and supplies a default instead. Zero for a missing price. Empty array for a failed indexer. "Unclassified" for an unparsed category. Nine dimensions of N/A arriving on schedule, parsing cleanly, rendering beautifully, and reading as a green light to everyone who stops at the header.

So: read updatedAt before you read answer. Check the source list before you check the conclusion. Treat every N/A as a zero, and size accordingly โ€” which means the position is zero, not small. And put the reject gate in code, where it will still be there in six months when the person who wrote the validator has left the project.

The sideways tape is giving you what it always gives: time. Time to open the field everyone else skipped because the table looked full. Time to ask where the number came from and how old it is, instead of asking whether it is right.

The question worth sitting with is not whether your risk model is correct. It is whether your risk model has ever been asked to return nothing โ€” and whether anything downstream would notice if it did.

Most of them cannot. That is the whole problem.

Fear & Greed

6

Extreme Fear

Market Sentiment

Gas Tracker

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

๐Ÿ’ก Smart Money

0x9ad1...9c6a
Experienced On-chain Trader
+$3.6M
78%
0x291e...3add
Early Investor
+$4.9M
77%
0x1389...2491
Early Investor
+$4.8M
69%