Defi Digest

The #1 free DeFi community on Whop. Daily alpha, protocol breakdowns, on-chain analysis, and crypto trading education — from beginner to...
Yerevan, AM
•
•Created byProfile pictureZoqi
1 joined
Profile picture
ZoqiProfile picture@zoqionfire·Sep 20

On-Chain Data Breakdown | Edition 5: Reading Lending Market Health

Most people watch TVL. Lending markets break on utilization, oracle lag, and clustered health factors. This is how to read those three before a cascade shows up on Twitter.


Edition 3 covered whale wallets. Edition 4 covered MEV. This one is the credit tape: Aave, Morpho, and any venue that lets you borrow dollars against volatile collateral.


---


What “healthy” actually means


A lending market has four numbers that matter. TVL is not one of them.


  1. Utilization — borrowed / supplied. This sets the rate. It also tells you how much of the pool can exit.

  2. Available liquidity — supplied minus borrowed. This is the exit door. If it is thin, withdrawals and liquidations compete for the same dollars.

  3. Health factor / LTV vs liquidation threshold — how close the average borrower is to being sold.

  4. Oracle path — which feed prices the collateral, how often it updates, and whether a thin pool can move that feed.


Price-up weeks inflate dollar TVL even when nobody deposited. Lending health is about whether the book can be unwound, not whether the headline went up.


---


Step 1: Pull the market, not the chain


Go to DeFiLlama, open the protocol, then the specific market (chain + asset). You want:


  • Supply, borrow, utilization

  • Supply APY vs borrow APY

  • Collateral types enabled on that market


Then go to a market-level scanner (Aavescan for Aave, Morpho’s app for Morpho Blue markets). Confirm the same numbers. If Llama and the scanner disagree, trust the scanner. Llama is a snapshot. The scanner is closer to the contract.


Write down three things:

  • Utilization %

  • Cash still sitting in the reserve

  • The kink on the rate curve (Aave’s Uoptimal, Morpho’s target utilization)


How to read it

  • Utilization under ~70%: borrowers can leave, suppliers can leave. Quiet.

  • Utilization 80–95%: rates spike, the exit door shrinks. This is where weekend news hurts.

  • Utilization >95%: the pool is a queue. New borrows fail, withdrawals of the borrowed asset fail, liquidators are the only ones who can free liquidity.


Worked example of the logic: a $2.4B USDC pool at 3.9% supply APY is a different animal from a $3M RWA pool at 7%. The 7% is a small, hot book. Size first, rate second.


---


Step 2: Map the rate curve so you know when it will jump


Aave-style curves are not linear.


  • Below Uoptimal, rate rises slowly (base + slope1)

  • Above Uoptimal, slope2 takes over and rates can double in a day


You do not need the formula. You need the kink.


On Aave: note Uoptimal (often 80–94% for stables). On Morpho Blue: each market has its own curve, set by the curator. On newer venues (HyperCore-style): look for a stated “rates rise fast after 80% utilization” and treat that as the kink.


Practical check: if utilization is 3–5 points under the kink, one whale borrow can reprice the whole pool. That is a setup, not a crisis. Size the whale against available liquidity. A $172M USDC deposit into a multi-billion pool is a rate event. The same deposit into a $200M pool is a market-structure event.


---


Step 3: Read health factors, not “whale bought”


Open the protocol’s risk dashboard or a Dune dashboard for that market’s liquidations.


You want:

  • Distribution of health factors (how many accounts sit between 1.0 and 1.1)

  • Collateral mix of those accounts (one-asset books vs diversified)

  • Oracle source for that collateral


Health factor ~1.0 means the next down-tick can liquidate. 1.05–1.15 is the danger band in a fast market. >1.5 is usually fine unless the oracle is stale or the collateral is a thin token.


Cluster risk is the tell. One hundred small accounts at 1.08 is noisier than one whale at 1.40. A cascade needs a wall of accounts that all breach together.


For isolated markets (Morpho Blue, many RWA books): there is no cross-collateral. That is good (contagion is contained) and bad (the whole market is one curator, one oracle, one collateral). If a single curator supplies almost all liquidity, the “market” is that curator’s balance sheet.


---


Step 4: Build a 15-minute liquidation map


You do not need a paid terminal.


  1. Find the liquidation threshold (LT) for the collateral. Example: 65% LTV, 82.5% LT means a 17.5-point buffer from max borrow to liq.

  2. Convert LT into a price. If a borrower maxed LTV, the liq price is roughly current_price × (LTV / LT).

  3. Stack those liq prices. The densest band is where liquidators will hit the AMM or the order book at the same time.

  4. Compare that band to available liquidity in the borrow asset. If $200M would need to be repaid and the reserve has $40M, the rest is fire-sale collateral.


Do this on a notepad. The first time you watch a real liquidation, the map will match the tape.


Oracle lag: Chainlink heartbeat plus deviation threshold. If ETH moves 8% in two minutes and the feed updates on 1% / 1 hour, you can get both “late liqs” (protocol undercollateralized) and “unfair liqs” (feed spiked on a thin pool). Know which feed the market uses before you size.


---


Step 5: Weekend and new-market checklist


New credit venues look healthy on day one because the liquidity was already sitting there (portfolio margin, idle stables, a single curator). Ask:


  • Was the supply organic, or was it re-labeled from another product?

  • What is the supply cap vs borrow cap? A $500M borrow cap on a $1B supply cap is a governor. Respect it.

  • Is looping the obvious trade? Deposit volatile token, borrow stable, buy more token. Theoretical max leverage is 1 / (1 - LTV). At 65% LTV that is about 2.86x. Looped books unwind faster than spot books.

  • Does the protocol keep a slice of interest as a shortfall buffer? 10% of interest is not a backstop against a 20% gap-down.


If you cannot answer those, you are looking at a press release, not a market.


---


Tools, in the order to open them


  1. DeFiLlama — protocol TVL vs USD inflows. Inflows strip price. Use both.

  2. Aavescan / Morpho app / the venue’s own UI — utilization, caps, rates.

  3. Chaos Labs / Gauntlet risk pages (when the protocol publishes them) — parameter history, VaR, liquidable notional at -5/-10/-20%.

  4. Dune — search “[protocol] liquidations” and “[protocol] health factor.” Fork a dashboard. Do not start from a blank SQL editor.

  5. CoinGlass liquidation map — CEX/perp liqs, useful as a cross-check when the same asset is collateral on-chain.

  6. Arkham / Nansen — only after you have the market numbers. Then you label who owns the clustered health factors. Labels without utilization is just voyeurism.


---


What to write down every Sunday


  • Top 3 lending markets by borrow notional, with utilization and distance to kink

  • Largest single-asset collateral book and its LT

  • Any new market with one curator or one oracle

  • Whether stables are earning more on-chain than T-bills. If they are not, demand is leverage, not cash management


That page will tell you more than a TVL heatmap.


Edition 6 will pick up from here: how to read stablecoin mint/burn and CEX netflow as the funding side of these same books.

Profile picture
ZoqiProfile picture@zoqionfire·Sep 20

DeFi Graveyard | Edition 5: When Governance Becomes the Exploit

Bridges get drained. Compilers break. Those are Editions 3 and 4. This one is quieter: the attacker used the protocol’s own voting rules, or its own price math, and the chain called it valid.


Four post-mortems. None of them are Terra, Ronin, Wormhole, Euler, or Curve/Vyper.


---


1. Beanstalk — April 17, 2022. ~$182 million. Flash-loaned a DAO.


Beanstalk was an Ethereum credit protocol with an algorithmic stablecoin (BEAN) and a governance token (Stalk). Stalk voted. More Stalk, more say.


The attacker:

  1. Flash-loaned hundreds of millions from Aave/Uniswap

  2. Deposited into Beanstalk’s pools to mint a controlling Stalk position

  3. Called emergencyGovernanceExecution to pass BIP-18 in the same transaction

  4. BIP-18 sent protocol funds (BEAN, UNI-V2 LP, BEAN3CRV, etc.) to the attacker

  5. Repaid the flash loan, kept ~$80M, left the rest as bad debt / drained reserves


Total value extracted was reported around $182M. The DAO did not get a vote in real time. There was no effective delay between “I have the tokens” and “I pass the proposal.”


Root cause: governance power was a function of tokens you could rent for one transaction. Emergency execution skipped the timelock that would have made this visible.


Lesson: if a flash loan can buy a majority, you do not have a DAO. You have a pool. Timelocks are not bureaucracy. They are the only reason a malicious proposal is a headline instead of a settlement.


---


2. Build Finance — February 2022. Hostile takeover, then mint.


Build Finance ran a DAO and a token (BUILD). An attacker accumulated enough voting power through the market, passed a proposal that granted mint rights, minted BUILD, and dumped it.


The dollar figure was small next to Beanstalk (hundreds of thousands, not hundreds of millions). The mechanism was cleaner, and more common than people admit:


  • Low float + on-chain governance = the market is the attack surface

  • Voters who do not vote are a subsidy to the attacker

  • “Admin functions behind a DAO” is still an admin function


Root cause: there was no separate guardian, no mint cap the DAO could not lift, and not enough engaged votes to make a sneak proposal expensive.


Lesson: count idle votes, not token holders. If 8% of supply votes on a normal day, an attacker only needs 8% plus one. Delegation without participation is how takeovers clear.


---


3. Inverse Finance — April 2, 2022. ~$15.6 million. Oracle on a thin pool.


Inverse’s Frontier lending market used an on-chain price for INV. The attacker:


  1. Manipulated the INV price via a thin liquidity pool (flash-loaned size vs the pool, not vs the market cap)

  2. Posted inflated INV as collateral

  3. Borrowed out the real assets (ETH, stables, WBTC)

  4. Let the oracle print a number the protocol was bound to honor


Reported loss ~$15.6M. Inverse later had additional incidents. The first one is the template.


This is not “governance” in the voting sense. It is governance of what the protocol is allowed to believe. An oracle choice is a governance choice. Inverse let a pool it did not control set the value of its own token as collateral.


Root cause: INV, a low-liquidity governance token, was acceptable collateral priced off a manipulable feed.


Lesson: never let a token the protocol issues be borrowed against at a price the protocol does not independently defend. TWAP helps. A second feed helps. Listing your own token as collateral at aggressive LTV does not. If the collateral’s float is smaller than the reserve, the oracle is a weapon.


---


4. Harvest Finance — October 26, 2020. ~$24 million. Share price as an oracle.


Harvest vaults minted shares based on the value of the underlying Curve positions. The attacker:


  1. Flash-loaned USDC

  2. Skewed the USDC/USDT (and related) Curve pool Harvest used

  3. Deposited into the Harvest vault at the inflated share price

  4. Unwound the Curve pool

  5. Withdrew more assets than they deposited

  6. Repeated across vaults


About $24M left the vaults. Users who sat still ate the loss via share-price dilution. Harvest later reimbursed a large portion from its treasury / farmer funds. That does not change the design error.


Root cause: the vault treated a spot Curve virtual price as ground truth, and deposits were atomic with the manipulation.


Lesson: any function that mints shares, values collateral, or pays a withdrawal against a pool you can move in the same block is an oracle, even if nobody named it that. Same-block deposit and withdraw against a manipulable price is the bug. A delay, a TWAP, or a deposit cap per block kills this class.


---


The pattern across all four


Incident

What failed

What the chain saw

Beanstalk

No timelock on emergency governance

A valid vote

Build Finance

Mint rights behind a sleepy majority

A valid proposal

Inverse

Own token, thin-pool oracle

A valid price

Harvest

Vault share price = Curve spot

A valid deposit


In each case the contracts did what they were told. “Code is law” is not a defense. It is the autopsy.


---


Rules that would have stopped these


  1. Timelock every parameter that moves money. 24 hours minimum. Emergency functions that skip the lock must be narrower than “send all tokens.”

  2. Flash-loan-resistant voting. Snapshot with a past block. Vote-escrow with an unbond. Anything that cannot be rented in one transaction.

  3. Do not list your governance token as collateral until it has deep, multi-venue liquidity and a feed that cannot be moved with a flash loan.

  4. Treat every vault share price as an oracle. TWAP or delayed mint/redeem. Cap deposits per block relative to pool depth.

  5. Measure voter turnout. If turnout is 5%, your attack cost is 5% of supply. Publish that number the way you publish TVL.


Edition 4 was about buggy math and compiler trust. This edition is about trusting a vote, a price, or a share calculation that an attacker can buy for one block.


If a protocol cannot explain its timelock, its oracle, and its mint path in three sentences, you are the exit liquidity for whoever can.

Profile picture
ZoqiProfile picture@zoqionfire·Sep 17

💀 DeFi Graveyard — Flash Loans, Oracle Manipulation, and Reentrancy

DeFi Graveyard — Flash Loans, Oracle Manipulation, and Reentrancy


Edition 4 — September 17, 2026


Last edition covered Terra, bridges, and rugs — disasters you can often see coming from tokenomics or validator counts. This edition is about protocol-level exploits: attacks that used the protocol's own rules, inside a single transaction, to drain real deposits.


---


💀 Case Study #1: Euler Finance — $197 Million Flash Loan, Then a Full Recovery


What it was: Euler V1 was a permissionless lending market on Ethereum. On March 13, 2023, an attacker drained roughly $197 million in USDC, DAI, wBTC, and stETH.


How it died: This was not "oracle says the wrong number." It was a logic bug in how Euler handled donations and liquidations, funded by a flash loan so the attacker needed no starting capital.


  1. Flash-borrow a large amount of the target asset

  2. Deposit it, then borrow against it aggressively using Euler's high loan-to-value products

  3. Abuse the donate path to push a position into an insolvent state on purpose, without the debt accounting catching up

  4. Liquidate that position (their own) in a way that lets the liquidator seize more collateral than the remaining debt justified

  5. Repeat across markets, repay the flash loan, keep the surplus


The entire sequence settled atomically. If any step failed, the flash loan would revert and the attacker would owe nothing.


The aftermath: After weeks of negotiation, on-chain messages, and a few ugly detours (including funds brushing against wallets associated with Lazarus), the exploiter returned the assets — closer to $240 million once prices moved. Euler later rebuilt as V2 with a different architecture. 100% of user funds from the V1 exploit were recovered, which is rare enough to be the headline as much as the loss.


The fatal flaw: A donate/liquidation interaction that let a user manufacture bad debt and then get paid to "cure" it. Flash loans just removed the need to bring $200M to the table.


Lesson: Flash loans are not a hack. They are uncollateralized leverage that lasts one transaction. Any function that assumes "nobody would donate this" or "nobody would liquidate themselves" is an attack surface the moment capital is free for 12 seconds. Read protocol diffs for donate, skim, and self-liquidation paths — those are where Euler-class bugs live.


---


💀 Case Study #2: Cream Finance — $130 Million, the Third Hack in One Year


What it was: Cream was a Compound fork that kept adding exotic collateral. On October 27, 2021, it lost about $130 million. That was the third major Cream exploit in 2021, after ~$37.5M in February and ~$19M in August.


How it died: Flash loans plus an oracle that trusted Cream's own receipt tokens.


  1. Borrow hundreds of millions via flash loans from other venues

  2. Deposit into Cream, receive crTokens

  3. Cycle deposits and borrows against yUSD / crYUSD so that pricePerShare (the oracle input) inflated inside the same transaction

  4. With collateral now marked at a fantasy value, borrow real assets far beyond the true deposit

  5. Repay the flash loan, walk away with the drained pools


Because the oracle read an internal, manipulable share price rather than an independent TWAP or external feed, the attacker could print "value" by interacting with Cream itself.


The fatal flaw: Recursive collateral. If the thing you use as a price source can be moved by depositing into the same protocol, a flash loan turns that recursion into a drain. Cream also kept listing long-tail and yield-bearing tokens whose pricing was not built for adversarial, atomic flow.


Lesson: Ask two questions before you deposit into a lending market: (1) what oracle prices each collateral type, and (2) can that price be moved in one transaction by trading or depositing the collateral itself? Spot AMM prices and internal share prices fail both tests. Repeated hacks of the same protocol are not bad luck — they are a signal to leave.


---


💀 Case Study #3: Mango Markets — $114 Million Without a Buggy Line of Code


What it was: Mango v3 was a Solana margin and lending venue. On October 11, 2022, trader Avraham Eisenberg extracted about $114–117 million. He later called it a "highly profitable trading strategy." A US jury in April 2024 convicted him of wire fraud, commodities fraud, and commodities manipulation.


How it died: No reentrancy. No stolen key. Thin-market oracle + MNGO as collateral.


  1. Fund two accounts with ~$10M USDC each

  2. Account A goes long MNGO perps and buys MNGO spot; Account B takes the other side of the perp so the books look hedged

  3. Push MNGO through thin Serum / related venues from roughly $0.03 toward $0.91

  4. Mango's oracle, which marked MNGO using those venues, reports the new price as real

  5. Account A's unrealized "profit" becomes borrowable collateral; withdraw SOL, USDC, and other assets that actually had liquidity

  6. Oracle mean-reverts. The protocol is left with a hole.


Eisenberg returned on the order of $67 million in a DAO deal. The DOJ and CFTC still charged him. The case is the template for "it was allowed by the smart contract" vs. market manipulation law.


The fatal flaw: A low-liquidity governance token was in the oracle and in the collateral set. Price was not a fact of nature — it was something a well-capitalized account could purchase for a few minutes, long enough to borrow the real assets.


Lesson: Code correctness is not economic safety. If a token's entire float can be moved with eight figures, it should not price anyone's borrowing power. Before using a perp/lending DEX, check which assets are collateral, where the oracle reads, and how much it costs to move that market 10x.


---


💀 Case Study #4: Curve / Vyper — $70 Million From a Compiler Bug, Not the AMM Math


What it was: On July 30, 2023, several Curve pools (and protocols sitting on top of them — Alchemix, JPEG'd, Metronome, and others) were drained for on the order of $70 million. Curve's StableSwap math was not the bug. Vyper versions 0.2.15–0.3.0 had a broken reentrancy lock: the @nonreentrant decorator did not actually prevent a contract from re-entering itself.


How it died: Classic reentrancy, restored by a compiler failure.


  1. Attacker calls remove_liquidity (or a similar pool function) on a Vyper-compiled pool

  2. During the external ETH/token transfer, execution jumps back into the pool before balances are finalized

  3. The lock that should have blocked the second entry is a no-op on those compiler versions

  4. Attacker withdraws against state that still thinks the first withdrawal has not happened

  5. Repeat until the pool is empty


Some whitehats and MEV bots raced the attacker and returned a portion. Curve's CRV token crashed as founder Michael Egorov's large CRV-backed loans on other venues approached liquidation — a second-order hit that had nothing to do with the original reentrancy, and everything to do with concentrated founder collateral.


The fatal flaw: The security control existed in source (@nonreentrant) and did not exist in bytecode. Audits that read Solidity/Vyper source but do not verify the compiled opcode path will miss this class of bug. So will any mental model that says "Curve is too battle-tested to reenter."


Lesson: Reentrancy is not a 2016 story. It still fires when a token callback, a native ETH send, or an ERC-777-style hook returns into a contract whose guards failed. For pools: prefer battle-tested compiler versions, check whether the pool even uses a reentrancy lock, and do not assume LP tokens are safe because the AMM formula is famous. For lending: founder-heavy collateral in the same token the protocol just got exploited on is how a pool hack becomes a market-wide liquidation scare.


---


The Pattern Across All Four


Disaster

Root Cause

Category

Euler V1

Donate + liquidation accounting, funded atomically

Flash loan / logic bug

Cream Finance

Internal share-price oracle, recursive collateral

Oracle manipulation

Mango Markets

Thin-market oracle on a collateral token

Economic exploit

Curve / Vyper

Reentrancy lock compiled to a no-op

Reentrancy / toolchain


Four different layers — function logic, price source, market design, compiler — and the same outcome: deposits leave, users argue about whether it was a "hack" or a "trade," and the post-mortem is public if you read it.


---


The Due Diligence Checklist


Before you size into a lending market, AMM, or perp DEX:


  • Flash loans: Does any function (donate, skim, self-liquidate, settle) assume the caller is not also the borrower, liquidator, and depositor in the same transaction?

  • Oracles: TWAP or independent feed vs. spot AMM vs. the protocol's own share price? How much notional does it take to move that feed 20%?

  • Collateral listing: Is a low-float governance token allowed as collateral? That is the Mango shape.

  • Reentrancy: Are there external calls before state is updated? Which compiler version produced the bytecode, not just which language the repo is in?

  • Second-order risk: If this pool dies, whose loans on other protocols are backed by the LP or the governance token?


If you cannot answer those, you are not underwriting the protocol. You are renting yield until somebody else can.


---


Next edition: the "economic" failures that were not hacks — death spirals, bad-debt spirals, and what insolvency looks like on-chain when nobody stole anything. ⚰️


Which of these four would you have called a hack vs. a trade at the time? Argue it in the comments. 👇

Profile picture
ZoqiProfile picture@zoqionfire·Sep 17

📊 On-Chain Data Breakdown — MEV Extraction, Sandwich Attacks, and How to Protect Yourself

On-Chain Data Breakdown — MEV Extraction, Sandwich Attacks, and How to Protect Yourself


Edition 4 — September 17, 2026


We've covered governance data, treasury flows, and whale wallets. Today we look at something that hits your own swaps: MEV — value extracted from your transactions by bots that see them before they land.


---


What MEV Actually Is


MEV (Maximal Extractable Value) is profit that block producers and searchers can capture by choosing the order, inclusion, or exclusion of transactions. On Ethereum, pending swaps sit in the public mempool. Anyone watching that mempool can insert their own transactions around yours.


The honest version: arbitrage that keeps DEX prices in line with CEXs is MEV, and it is useful. The hostile version: a bot sees your swap, jumps in front of it, and makes you pay a worse price so it can exit into your buy. That is a sandwich. Both are MEV. Only one of them is taking money out of your trade.


Why this belongs in an on-chain series: every sandwich leaves a fingerprint. You can find it in your transaction history, measure it, and route around it.


---


Anatomy of a Sandwich Attack


A sandwich is three transactions in one block, in this order:


  1. Front-run: the bot buys the same token you are about to buy, pushing the pool price up

  2. Your swap: you execute at the worse price the bot just created

  3. Back-run: the bot sells into the demand you just provided, pocketing the difference minus gas


The bot needs two things: a view of your pending transaction (public mempool), and the ability to land transactions immediately before and after yours (priority fees, builder relationships, or an auction like Flashbots). Your slippage setting is the budget. If you allowed 1% slippage on a $50,000 swap, you advertised up to $500 of extractable value.


Step-by-step: how the bot decides you are worth attacking


  1. It decodes your pending swap (router, token in, token out, amount, min amount out)

  2. It simulates the pool impact — if your trade moves the price enough, there is meat

  3. It computes a front-run size that pushes you to (but not past) your min-out

  4. It bids enough priority fee / builder tip to win the slot around you

  5. If the whole bundle is profitable after gas, it submits. If not, it skips you.


Thin pools and large size relative to liquidity are the combination that gets you eaten. A $200 swap on ETH/USDC rarely sandwiches. A $40,000 swap on a mid-cap alt with 0.5% depth does.


---


How to Spot a Sandwich in Your Own History


You do not need a special product to confirm you got sandwiched. You need the transaction hash and a block explorer.


Step-by-step:


  1. Open your swap on Etherscan (or the explorer for that chain)

  2. Note the block number and your transaction's position in the block

  3. Look at the transaction immediately before yours and immediately after

  4. If both are swaps on the same pool, in the same direction then the reverse, from a wallet that is not yours, that is the sandwich

  5. Compare your execution price to the pool's mid price at the start of the block — the gap beyond normal swap fees is what you paid the bot


What a clean swap looks like: your transaction sits between unrelated activity. The pool price before and after your trade moves by roughly the amount your size should move it, and nobody else touched that pool in the same block.


What a sandwiched swap looks like: same pool, three hops, your trade in the middle, the outer two from a contract wallet funded for MEV. Your realized price is near your slippage limit, not near the quoted price in the wallet UI.


Do this for your last 10 sizable swaps. If several of them have the same pattern, your RPC / router path is leaking into the public mempool and you should change how you send trades.


---


Tools That Reduce (Not Eliminate) MEV


No tool makes MEV vanish. These change who can see your transaction and when.


Private RPCs and protected submission

  • Flashbots Protect (and similar Protect RPCs): your transaction skips the public mempool and goes to builders that have committed not to sandwich it. If it cannot land, it does not get gossiped to every searcher first.

  • MEV Blocker and comparable endpoints: same idea, often with a rebate if back-run value is captured and shared instead of sandwiching you.

  • Wallet settings: many wallets now have a "MEV protection" toggle. That toggle is only as good as the RPC behind it — check which endpoint it actually uses.


Intent-based / batch settlement

  • CoW Swap and similar batch auctions: you sign an intent, not a raw AMM swap. Solvers compete to fill you. Sandwiches against a public Uniswap pool do not apply the same way because there is no pending AMM call sitting in the mempool.

  • RFQ / intent routers that fill off-pool when they can.


Your own parameters (this is free and you should do it anyway)

  • Tighten slippage on liquid pairs. 0.5–1% on a long-tail token is an invitation. On ETH/USDC, 0.1–0.3% is usually enough.

  • Split size. Two $10k swaps often extract less than one $20k swap into a thin pool, because each is a smaller price move.

  • Avoid trading immediately after a volatile print when pool depth has just been eaten.


Pro tip: private submission protects you from public-mempool sandwiches. It does not protect you from a builder that is itself extracting, or from pool impact that is just your own size. Always read the quoted vs. executed price.


---


A Weekly MEV Hygiene Routine


After every large swap:

  • Check the block. If you were sandwiched, note the pool, the size, and the RPC you used.


Once a week:

  • Review whether your wallet is still pointing at a Protect-style RPC

  • For any token you trade repeatedly, glance at that pool's depth — if TVL dropped, your old slippage setting is now too loose

  • If you provide liquidity, remember you are on the other side: sandwich volume is often just toxic flow against LPs. Fee tier and range width matter as much as "did I get sandwiched as a taker."


---


Common Mistakes


1. Thinking a private RPC makes you un-extractable. It hides the trade from the gossip network. Builders, solvers, and the pool itself still see it at inclusion time.


2. Setting 5–10% slippage "just in case" on a volatile alt. You are publishing the maximum the bot is allowed to take. Set the worst price you will actually accept, not a round number.


3. Blaming MEV for ordinary price impact. A $100k buy in a $2M pool will move the price with or without a bot. Check whether anyone actually traded around you before you assume you were sandwiched.


4. Sending the same swap twice after a failure. The first attempt may still be sitting in a mempool or a builder queue. Duplicates get you filled twice or sandwiched twice.


---


Your Assignment


Take your last three swaps over $1,000:


  1. Open each on a block explorer and inspect the transactions immediately before and after yours

  2. Write down whether the same pool was touched, and whether your execution sat near your slippage cap

  3. If any of them were sandwiches, switch that wallet to a private / Protect RPC and re-check the next trade


Drop a transaction hash in the comments if you want a second pair of eyes on whether it was a sandwich or just impact.


---


Next edition: on-chain liquidations — how to read health factors, cascade risk, and which dashboards actually show you a market before it blows up. 🔍

Profile picture
ZoqiProfile picture@zoqionfire·Sep 14

📊 On-Chain Data Breakdown — Tracking Whale Wallets & Smart Money Step-by-Step

On-Chain Data Breakdown — Tracking Whale Wallets & Smart Money Step-by-Step


Edition 3 — September 14, 2026


We've covered governance data and treasury flows in past editions. Today we go back to fundamentals: how to actually find, track, and interpret whale wallet activity using the tools professionals rely on every day.


---


Why Whale Tracking Still Works


Every wallet on a public blockchain leaves a permanent, queryable trail. Large holders ("whales") move markets when they buy, sell, or reposition — and unlike traditional finance, you don't need insider access or a Bloomberg terminal to see it happen. You just need to know where to look.


What whale tracking can tell you:

  • Early accumulation before a token pumps (smart money buying quietly)

  • Distribution before a dump (smart money exiting into retail demand)

  • Which protocols institutional players actually trust with size

  • Correlation between wallet clusters and market-moving narratives


---


Tool #1: Nansen — Wallet Labeling at Scale


Nansen's core value is labeling. It tags millions of wallets as "Smart Money," exchange wallets, fund wallets, market makers, and more — so you're not staring at anonymous hex strings.


Step-by-step: Finding smart money entries into a token


  1. Go to Nansen's Token God Mode for any token you're researching

  2. Check the Smart Money tab — this filters holder activity to wallets Nansen has identified as historically profitable

  3. Look at net flow over the past 7/30 days — are labeled smart money wallets net buying or net selling?

  4. Cross-reference with exchange inflows/outflows — smart money buying + net outflows from exchanges (tokens moving to cold storage/DeFi) is a strong accumulation signal

  5. Check the holder distribution chart for sudden concentration changes


Pro tip: Nansen's "Smart Money" label isn't magic — it's wallets that have been historically profitable on entries/exits. Past performance isn't a guarantee, but consistent smart money accumulation ahead of price moves happens often enough to be a real signal.


---


Tool #2: Arkham Intelligence — Deanonymization and Entity Tracking


Arkham specializes in connecting wallets to real-world entities — exchanges, funds, founders, market makers — using a mix of on-chain heuristics and its bounty-driven Intel Exchange.


Step-by-step: Tracking a specific whale wallet


  1. Search any wallet address or entity name (e.g., "Jump Trading," "a16z," a specific whale address)

  2. Check the Portfolio tab for full holdings across chains — this gives you total exposure, not just one token

  3. Use the Transaction History to see recent moves — sort by value to catch the biggest recent trades

  4. Set up an Alert for the wallet — get notified in real-time when it moves funds above a threshold you set

  5. Use the Entity view if the wallet is labeled — this often reveals all wallets connected to the same entity, giving you the full picture instead of one address


Real example: If you see a labeled VC fund wallet unstaking a large position and moving it toward an exchange-labeled wallet, that's a much stronger sell signal than watching an anonymous address do the same thing — because you know the sophistication and likely intent behind the move.


---


Tool #3: Dune Analytics — Custom Queries for Anything On-Chain


Dune is the most flexible tool here because you (or the community) can write custom SQL-like queries against raw blockchain data. Thousands of public dashboards already exist for nearly every major protocol and narrative.


Step-by-step: Building a whale-tracking view without writing SQL


  1. Search Dune for existing dashboards — try "[token name] whale watch" or "[token name] holder analysis"

  2. Look for dashboards tracking large transfers (e.g., transfers over $100K or $1M) — these often have a live feed table

  3. Check holder concentration dashboards — what % of supply do the top 10, top 50, top 100 wallets hold, and is that changing over time?

  4. Cross-reference transfer spikes with price action on a secondary chart — did a big transfer precede or follow a price move?

  5. Bookmark dashboards for tokens you actively trade and check them daily — consistency beats one-off snapshots


If you do want to go deeper: Dune lets you write your own SQL queries against indexed blockchain data. A simple starter pattern: pull all Transfer events for a token contract, filter for transfers above a size threshold, and group by sender and receiver to see who's actually moving size.


---


Putting It Together: A Whale-Tracking Workflow


Here's how to combine these tools into a repeatable weekly routine:


Monday — Broad scan:

  • Check Nansen's Smart Money Net Flow leaderboard for tokens you follow

  • Note any tokens where smart money flow diverges sharply from price action (buying dips, selling pumps)


Wednesday — Deep dive on movers:

  • For tokens flagged Monday, pull up Arkham and identify which specific entities are behind the flow

  • Check if it's a single whale, a fund, or distributed smart money (distributed buying is a stronger signal than one large wallet)


Friday — Confirm with on-chain fundamentals:

  • Use Dune to check holder concentration trends — is the buying/selling changing the distribution meaningfully, or is it noise relative to total supply?

  • Cross-reference with any protocol-specific fundamentals (TVL changes, governance activity) covered in our other posts


---


Common Mistakes to Avoid


1. Treating one whale move as gospel. A single large wallet buying doesn't mean much on its own — it could be an OTC deal, an exchange rebalancing, or a one-off position. Look for clusters of smart money activity, not isolated transactions.


2. Ignoring wallet context. A "whale" wallet could be a locked team allocation, a bridge contract, or a staking pool — not an active trader. Always check what the wallet actually is before reading intent into its balance.


3. Confusing correlation with causation. Whale accumulation often happens alongside a broader narrative, not because of a single wallet's activity. Use whale data as one signal among several, not a standalone trading strategy.


4. Not accounting for exchange wallets. Large inflows to a labeled exchange wallet often just mean deposits for trading, not necessarily selling pressure. Distinguish between "moved to exchange" and "confirmed sold" where possible.


---


Your Assignment


Pick one token you're currently holding or watching. Run it through all three tools this week:

  1. Check Nansen's Smart Money net flow

  2. Look up the top 5 holders on Arkham and see if any are labeled entities

  3. Find or build a Dune dashboard tracking holder concentration over the past 90 days


Share what you find in the comments — let's build a shared whale-watching habit as a community. 👀


---


Next edition: MEV extraction — how sandwich attacks work, how to spot them in your own transaction history, and tools to protect yourself. 🔍

Profile picture
ZoqiProfile picture@zoqionfire·Sep 14

💀 DeFi Graveyard — Terra/LUNA, Bridge Hacks, and the Rug Pulls That Defined an Era

DeFi Graveyard — Terra/LUNA, Bridge Hacks, and the Rug Pulls That Defined an Era


Edition 3 — September 14, 2026


This edition covers the foundational disaster stories every DeFi participant should know cold — the ones that reshaped how the entire industry thinks about risk. If you weren't around for these, consider this required reading.


---


💀 Case Study #1: Terra/LUNA — The $40 Billion Algorithmic Stablecoin Collapse


What it was: Terra was a blockchain ecosystem built around UST, an algorithmic stablecoin that maintained its $1 peg through a mint-and-burn relationship with its sister token, LUNA. Anchor Protocol offered a jaw-dropping ~20% APY on UST deposits, drawing in billions in "risk-free" yield-seeking capital.


How it died: In May 2022, large UST withdrawals from Anchor combined with coordinated selling created de-pegging pressure. Here's the mechanism that turned a wobble into total collapse:


  1. UST started trading below $1

  2. The protocol's design meant arbitrageurs could burn UST to mint LUNA at a discount, which should have restored the peg

  3. But this flooded the market with new LUNA supply — LUNA's price started crashing

  4. As LUNA crashed, the "backing" for UST's stability mechanism evaporated

  5. This triggered a death spiral: more UST de-pegging → more LUNA minting → more LUNA price collapse → repeat


Within a week, LUNA went from about $80 to fractions of a cent. UST never recovered its peg. Total value destroyed: roughly $40 billion, including retail savings that had been marketed as safe, stable yield.


The fatal flaw: An algorithmic stablecoin backed by nothing but market confidence and a sister token's price is fundamentally a confidence game. There was no real collateral buffer — just a reflexive mechanism that worked perfectly in calm markets and catastrophically in a bank run.


Lesson: If a stablecoin's peg depends on the price of a volatile token staying high, it isn't stable — it's a leveraged bet wearing a stablecoin costume. Always ask: what's the actual collateral, and can it survive a genuine panic? Real-backed stablecoins (fiat reserves, overcollateralized crypto) have structural advantages that algorithmic designs cannot replicate.


---


💀 Case Study #2: Ronin Bridge — The $625 Million Hack Nobody Noticed for a Week


What it was: Ronin was the Ethereum sidechain built for Axie Infinity, the play-to-earn game that exploded in popularity in 2021. The Ronin Bridge let users move assets between Ethereum and Ronin.


How it died: In March 2022, attackers (later attributed to the Lazarus Group, linked to North Korea) compromised 5 of the 9 validator nodes controlling the bridge — the exact threshold needed to approve withdrawals. They used a combination of social engineering (a fake job offer with a malicious PDF sent to a Sky Mavis employee) and exploiting a validator relationship with Axie DAO that hadn't been revoked.


The attackers drained 173,600 ETH and 25.5M USDC — worth about $625 million at the time, making it one of the largest crypto hacks ever.


The most alarming part: The hack wasn't discovered for six days. A user trying to withdraw 5,000 ETH couldn't complete the transaction, which is what finally triggered an investigation.


The fatal flaw: Validator centralization. Only 9 validators controlled the entire bridge, and 5 was the multisig threshold. Sky Mavis controlled 4 of those validators directly, and a 5th was controlled through a temporary arrangement with Axie DAO that was never properly walked back after it was no longer needed.


Lesson: Bridges are consistently the weakest link in crypto infrastructure because they concentrate enormous value behind small validator sets. Before trusting a bridge with meaningful funds, check: how many validators secure it? What's the multisig threshold? Is that threshold appropriately decentralized, or could a handful of compromised keys drain everything?


---


💀 Case Study #3: Wormhole Bridge — $326 Million From a Single Missing Signature Check


What it was: Wormhole is a cross-chain messaging protocol connecting Solana to Ethereum and other chains, widely used for bridging assets.


How it died: In February 2022, an attacker found a flaw in Wormhole's smart contract: it failed to properly verify that all "guardian" signatures on a transaction were legitimate. The attacker spoofed the guardian signature verification and minted 120,000 wrapped ETH (wETH) on Solana without depositing any real ETH as collateral on the Ethereum side.


They then swapped a portion of this fraudulently minted wETH for other assets before the exploit was caught, netting approximately $326 million.


The response: Jump Crypto (Wormhole's backer) replaced the stolen funds within days to prevent a bank-run-style collapse of the wrapped asset's backing — an unusually well-resourced save that most protocols could never replicate.


The fatal flaw: A single validation check missing in the smart contract code. This is a stark reminder that in DeFi, one line of missing logic can cost hundreds of millions of dollars.


Lesson: Smart contract audits are necessary but not sufficient. Even well-funded, widely-used protocols can ship exploitable code. Diversify bridge risk — don't concentrate large positions in wrapped assets from a single bridge, no matter how reputable, and understand that "audited" doesn't mean "unhackable."


---


💀 Case Study #4: Squid Game Token — The Textbook Rug Pull


What it was: In late 2021, riding the viral popularity of the Netflix show, an anonymous team launched SQUID, a token themed around the show with a "play-to-earn" gaming concept planned. Marketing leaned heavily on FOMO and Squid Game branding (without any official licensing from Netflix).


How it died: SQUID had a deliberately built-in trap: the tokenomics prevented most holders from selling — only specific "marketplace" transactions were permitted, effectively a one-way door for retail buyers.


The token pumped an absurd 75,000%+ in days, drawing massive media attention (including from outlets that should have known better). Then, in a matter of minutes, the developers dumped their holdings, the price crashed to effectively zero, and the team's website and social media vanished instantly.


The fatal flaw: No audit, no doxxed team, anonymous launch, and — most damningly — a technical mechanism explicitly designed to trap buyer funds. Anyone who checked the contract code before buying could have seen the sell restriction.


Lesson: If you cannot sell a token freely, that is not a bug — in most rug pulls, it's the entire business model. Before buying any new token, check: can holders actually sell? Is liquidity locked? Is the team doxxed? Is there an audit from a reputable firm? Skipping these checks on a hype-driven token is how retail investors lose everything in minutes.


---


The Pattern Across All Four


Disaster

Root Cause

Category

Terra/LUNA

Reflexive, uncollateralized stablecoin design

Design flaw

Ronin Bridge

Centralized validator set (5-of-9 multisig)

Infrastructure risk

Wormhole

Missing signature validation in smart contract

Code vulnerability

Squid Game Token

Malicious tokenomics + anonymous team

Outright fraud


Four completely different failure modes, four completely different lessons — but one shared thread: in every case, the warning signs were visible beforehand to anyone who knew what to look for.


---


The Due Diligence Checklist


Before you deploy meaningful capital into any protocol or token:


  • Stablecoins: What's the actual collateral? Is it overcollateralized with real assets, or does it depend on a sister token's price?

  • Bridges: How many validators/guardians secure it? What's the compromise threshold? Has it been exploited before?

  • Smart contracts: Has it been audited by a reputable firm? Are there any known unresolved findings? How long has it been live without incident?

  • New tokens: Can you actually sell? Is liquidity locked and for how long? Is the team doxxed? Does the hype outpace the actual utility?


If a project fails multiple checks here, no amount of marketing or short-term price action should convince you to go all-in.


---


Next edition: Protocol-level exploits — flash loan attacks, oracle manipulation, and reentrancy bugs explained with real transaction breakdowns. ⚰️


Which disaster surprised you the most? Let us know in the comments. 👇

Profile picture
ZoqiProfile picture@zoqionfire·Mar 21

💀 DeFi Graveyard — When DAOs Eat Themselves: Governance Attacks & Treasury Raids

DeFi Graveyard — When DAOs Eat Themselves: Governance Attacks & Treasury Raids


Edition 2 — March 21, 2026


Last edition we covered smart contract failures and rug pulls. Today's theme is darker: projects that were killed from the inside — through hostile governance takeovers, treasury raids, and the slow death of misaligned incentives.


These aren't hacks. These are governance working exactly as designed... just not in the way anyone expected.


---


💀 Case Study #1: Beanstalk — The $182M Flash Loan Governance Attack


What it was: An algorithmic stablecoin protocol on Ethereum with a credit-based system called "Soil" that managed Bean's peg.


How it died: On April 17, 2022, an attacker executed the most elegant governance attack in DeFi history:


  1. Took out a flash loan of ~$1 billion across Aave, Uniswap, and SushiSwap

  2. Deposited into Beanstalk to gain massive governance power (voting weight = deposits)

  3. Proposed and immediately passed a malicious governance proposal (BIP-18) that drained the treasury

  4. Withdrew $182 million in protocol funds

  5. Repaid the flash loan — all in a single transaction


The entire attack cost the attacker about $10 in gas fees.


The fatal flaw: Beanstalk had no time lock on governance. Proposals could be submitted and executed in the same block if you had enough voting power. Flash loans gave anyone temporary access to unlimited voting power.


Lesson: Governance without time locks is not governance — it's a suggestion box with a trap door. Every protocol needs:

  • Minimum proposal delay (24-48 hours between submission and voting)

  • Minimum voting period (3-7 days)

  • Time lock on execution (24+ hours after vote passes)

  • Snapshot-based voting power (your weight = tokens held at proposal creation, not vote time)


Beanstalk actually relaunched after this with proper time locks. But $182M in user funds were gone.


---


💀 Case Study #2: Build Finance DAO — Hostile Takeover by a Single Voter


What it was: A DeFi venture DAO that collectively managed a treasury and built/invested in DeFi products.


How it died: In February 2022, a single actor accumulated enough BUILD tokens to unilaterally pass governance proposals. They then:


  1. Passed a proposal to transfer the entire treasury to their own wallet

  2. Minted new BUILD tokens to dilute all other holders

  3. Took over the protocol's Uniswap liquidity and other assets

  4. Total damage: ~$470K drained


The fatal flaw: No quorum requirements, no multi-sig safeguards, and token distribution was concentrated enough that one whale could pass anything.


Lesson: Small DAOs are the most vulnerable to governance capture. The "decentralized" in DAO is only as real as your token distribution. Critical safeguards:

  • Quorum requirements (minimum % of total supply must vote)

  • Multi-sig treasury controls (governance proposes, multi-sig executes)

  • Token distribution analysis before participating (if <10 wallets hold >50%, it's not a DAO — it's a group chat with a treasury)


---


💀 Case Study #3: Sushi — Death by a Thousand Governance Cuts


What it was: The #2 DEX by TVL at its peak, forked from Uniswap with token incentives. At one point held over $5 billion in TVL.


How it died (slowly): Sushi didn't collapse in one attack. It bled out over years through governance dysfunction:


The Chef Nomi incident (2020): The anonymous founder drained $14M from the dev fund, tanked the token, then returned the funds after public outcry and handed control to Sam Bankman-Fried (yes, that SBF).


The 0xMaki departure (2021): The community leader who rebuilt Sushi after Chef Nomi was quietly pushed out in a governance dispute. Community trust fractured.


The treasury crisis (2022-2023): Sushi's "Head Chef" Jared Grey revealed the treasury had only 18 months of runway. Proposed a controversial fee redirect from xSUSHI stakers to the treasury. This broke the core value proposition — stakers were earning yield, and governance voted to take it away.


The contributor exodus: Multiple core developers left citing governance dysfunction, unclear compensation, and lack of direction. Proposals to hire replacements stalled in governance gridlock.


Where it is now: A fraction of its former TVL, minimal development activity, and governance proposals that take months to pass.


The fatal flaw: No clear organizational structure. "Decentralized" became an excuse for no accountability. When there's no CEO and governance can't make decisions efficiently, protocols stagnate.


Lesson: Full decentralization from day one doesn't work for protocols that need rapid iteration. The most successful DAOs (Aave, Maker, Uniswap) maintain progressive decentralization — core teams execute, governance provides oversight, and decentralization increases as the protocol matures.


---


💀 Case Study #4: Wonderland/TIME — When the Treasurer Is a Convicted Felon


What it was: An OHM-fork on Avalanche led by Daniele Sestagalli. Promised (9,9) rebasing yields and "DeFi 2.0" treasury management. TVL peaked above $2 billion.


How it died:


January 2022: Blockchain sleuth ZachXBT revealed that Wonderland's treasury manager, known as "0xSifu," was actually Michael Patryn — co-founder of QuadrigaCX (the Canadian exchange whose founder faked his death and lost $190M in customer funds) and a convicted felon for identity theft and credit card fraud.


The fallout:

  • Daniele initially defended keeping 0xSifu, claiming his past was "known"

  • Community revolted — governance vote to wind down the protocol

  • TIME token crashed 80%+ as holders rushed to redeem

  • Treasury assets were partially distributed but the process was chaotic

  • Daniele eventually stepped back from the project


The fatal flaw: Pseudonymous treasury management with no oversight. One person had effective control over $1B+ in assets, and the community had no way to verify their identity or track fund movements in real-time.


Lesson: Trust, but verify. For any protocol managing significant treasury:

  • On-chain proof of reserves (real-time, not quarterly)

  • Multi-sig with known, doxxed signers

  • Transparent fund flow dashboards

  • Background checks for anyone with treasury access (yes, even in "trustless" DeFi)


---


The Pattern: How DAOs Die From Within


Looking across all these cases, the failure modes cluster into three categories:


1. Governance Mechanism Failures

  • No time locks → flash loan attacks

  • No quorum → minority takeovers

  • No vote escrow → mercenary governance


2. Treasury Management Failures

  • Single points of control → embezzlement risk

  • No proof of reserves → hidden losses

  • Native token-heavy treasuries → death spiral in downturns


3. Organizational Failures

  • No clear leadership → governance gridlock

  • Contributor burnout with no replacement pipeline → slow decay

  • Misaligned incentives between token holders and builders → brain drain


---


The Survival Checklist


Before aping into any DAO-governed protocol, check:


Risk Factor

Red Flag

Green Flag

Time lock

None or <24 hours

48+ hour delay on execution

Voter distribution

Top 5 wallets >50% of supply

No single entity >10%

Treasury composition

>70% native token

>50% stablecoins + ETH

Treasury oversight

Single-sig or anon multi-sig

Doxxed multi-sig + on-chain dashboards

Contributor health

Key devs leaving, grants stalling

Active hiring, regular shipping

Governance activity

<5% participation, proposals stalling

>20% participation, clear execution


If a project fails 3+ of these checks, the governance risk alone should make you reconsider your position — regardless of how good the tech is.


---


Key Takeaway


Code is law, but governance is politics. The same power dynamics that corrupt traditional institutions — concentration of power, misaligned incentives, lack of accountability — play out in DAOs at 10x speed with real money on the line.


The best DeFi investors don't just audit smart contracts. They audit governance structures, treasury health, and contributor dynamics. That's where the real risk lives.


---


Next edition: Protocol-level exploits — infinite mints, oracle manipulations, and the bridge hacks that drained billions. ⚰️


Got a dead project you want us to autopsy? Drop it in the comments. 👇

Profile picture
ZoqiProfile picture@zoqionfire·Mar 21

📊 On-Chain Data Breakdown — Decoding Governance Votes & DAO Treasury Flows

On-Chain Data Breakdown — Decoding Governance Votes & DAO Treasury Flows


Edition 2 — March 21, 2026


Last time we covered wallet tracking and smart money analysis. Today we're going deeper: how to read governance activity and DAO treasury movements to spot opportunities before the market prices them in.


---


Why Governance Data Matters


Every major DeFi protocol is controlled by token governance. Proposals to change fee structures, deploy to new chains, allocate treasury funds, or modify risk parameters — these all hit on-chain before they hit your timeline.


If you can read governance data, you can:

  • Front-run major protocol changes (fee switches, token buybacks)

  • Spot internal conflict before it becomes public drama

  • Track where DAOs are deploying capital (and which ecosystems they're betting on)

  • Identify protocols about to activate value accrual for token holders


---


Tool Stack for Governance Analysis


1. Boardroom (boardroom.io)

The best aggregator for DAO governance across protocols.


How to use it:

  • Go to the protocol page (e.g., Aave, Uniswap, Compound)

  • Check Active Proposals — read the actual text, not just titles

  • Look at Voter Turnout — declining participation often means apathy or concentration of power

  • Track Delegate Activity — who's voting, who's abstaining, and who's accumulating delegation


What to look for:

  • Fee switch proposals (direct revenue to token holders)

  • Treasury diversification votes (selling native tokens for stables = bearish short-term)

  • Grant program renewals (signals ecosystem health)

  • Parameter changes on lending protocols (liquidation threshold changes = risk appetite shifting)


2. Tally (tally.xyz)

Best for on-chain Governor contracts specifically.


Step-by-step:

  1. Search for any Governor-based DAO

  2. Click into active proposals → read the executable code (not just the description)

  3. Check the "For" vs "Against" vote weight — but also check how many unique wallets voted vs. total vote weight

  4. A proposal passing with 3 wallets holding 90% of votes is very different from 500 wallets


Pro tip: Look at proposals that failed narrowly. They often come back modified and pass on the second attempt. That's your early signal.


3. DeepDAO (deepdao.io)

Macro-level DAO analytics — treasuries, participation rates, cross-DAO delegate activity.


Key metrics to track:

  • Total Treasury Value — is the DAO's war chest growing or shrinking?

  • Monthly Outflows — how fast are they burning through reserves?

  • Participation Rate Trends — declining participation = governance capture risk

  • Cross-DAO Delegates — some power delegates vote across 20+ DAOs. Track their patterns.


---


Real Example: Reading the Aave Governance Crisis in Real-Time


Here's a live case study using what's happening right now:


Step 1: Go to Aave's governance on Boardroom or Tally. You'll see the ACI proposal for $51M compensation and V4 deployment votes.


Step 2: Check the voter breakdown:

  • How concentrated is the "For" vote? If 2-3 wallets control the outcome, that's governance centralization

  • Are delegates splitting? Delegate fragmentation on major votes signals protocol-level disagreement


Step 3: Cross-reference with BGD Labs' wallet activity on Etherscan:

  • Are they moving AAVE tokens? Unstaking?

  • Any large transfers to exchanges? (potential sell pressure from departing contributors)


Step 4: Check Aave's treasury on DeepDAO:

  • Can they afford $51M without selling AAVE tokens?

  • What's the stablecoin reserve vs. native token allocation?


This single analysis gives you: insider-level understanding of protocol health, potential token sell pressure, and whether governance drama will escalate — all before CT catches up.


---


DAO Treasury Tracking — Where the Money Flows


Using Dune Analytics for Treasury Flows


Search for "[Protocol] treasury" dashboards on Dune. Key queries to look for:


1. Inflows vs. Outflows

  • Revenue coming in (protocol fees, liquidation revenue)

  • Grants going out (ecosystem fund distributions)

  • Net treasury growth rate


2. Asset Composition

  • What percentage is native token vs. stablecoins vs. ETH?

  • DAOs heavy in their own token are vulnerable to death spirals

  • DAOs accumulating stables are building resilience


3. Vendor Payments

  • Track recurring payments to service providers (Gauntlet, Chaos Labs, development teams)

  • A DAO suddenly dropping a risk provider = they're either cutting costs or switching strategies


Using Arkham Intelligence for Wallet Labels


Arkham labels DAO treasury wallets and multisigs. Here's the workflow:


  1. Find the DAO's treasury address (usually a Gnosis Safe multisig)

  2. Plug it into Arkham → see all inflows/outflows with counterparty labels

  3. Set up alerts for large outflows (>$1M)

  4. Cross-reference outflows with governance proposals — are they executing approved spending?


Red flag: Large outflows with no corresponding governance proposal = potential unauthorized spending or panic liquidation.


---


Actionable Framework: The Governance Alpha Checklist


Before investing in any governance token, run this check:


Check

Tool

What You Want to See

Active proposals

Boardroom/Tally

Fee switches, buybacks, value accrual

Voter concentration

Tally

No single entity >30% of votes

Treasury health

DeepDAO/Dune

>50% in stables, positive net flow

Delegate activity

Boardroom

Growing unique delegates, not declining

Contributor retention

Forum/Discord

Core teams renewing, not departing

Treasury runway

Dune

>2 years at current burn rate


Green flags: Fee switch proposals, treasury diversification into stables, growing delegate count, core team re-ups.


Red flags: Concentrated voting power, treasury mostly in native token, declining participation, key contributors leaving, large unexplained outflows.


---


Your Assignment


Pick any DAO you hold governance tokens in. Run the full checklist above. You might be surprised what you find — governance data is the most underused alpha source in crypto.


Drop your findings in the comments. Let's crowdsource some governance intel. 👇


---


Next edition: We'll cover MEV tracking — how to see who's extracting value from your transactions and how to protect yourself. 🔍

Profile picture
ZoqiProfile picture@zoqionfire·Mar 18

💀 DeFi Graveyard — Post-Mortems on Crypto's Biggest Failures (And How to Avoid the Next One)

The DeFi space has produced some of the most spectacular financial collapses in history. Billions of dollars — gone. Projects that looked unstoppable — dead.


This post breaks down the biggest failures, explains exactly what went wrong, and gives you the red flags to watch for so you never get caught holding the bag.


---


☠️ #1: Terra/LUNA — The $40 Billion Collapse


What it was: Terra was a Layer 1 blockchain with an algorithmic stablecoin called UST. Instead of being backed by real dollars, UST maintained its $1 peg through an arbitrage mechanism with LUNA tokens. Anchor Protocol offered ~20% APY on UST deposits, attracting massive inflows.


Peak TVL: ~$30B across the Terra ecosystem

UST market cap at peak: ~$18.7B

LUNA price at peak: ~$116


What Went Wrong:


  1. The "death spiral" mechanism: When UST lost its peg, users could redeem 1 UST for $1 worth of LUNA. But as everyone rushed to exit, LUNA was minted at an exponential rate — crashing its price. The lower LUNA went, the more had to be minted, accelerating the collapse.


  1. Anchor's unsustainable yield: The 20% APY wasn't generated organically — it was subsidized by the Luna Foundation Guard (LFG). When subsidies ran dry, confidence evaporated.


  1. Concentrated whale exits: On-chain data showed several large wallets simultaneously pulling billions from Anchor, triggering the initial depeg.


  1. BTC reserve didn't save it: LFG held ~$3.5B in Bitcoin reserves meant to defend the peg. They sold it all. It wasn't enough. The selling also cratered BTC's price, hurting the entire market.


The Damage:

  • UST went from $1.00 → $0.02

  • LUNA went from $116 → $0.00001 (essentially zero)

  • ~$40B in value destroyed in under a week

  • Terraform Labs founder Do Kwon later arrested and charged with fraud

  • Ripple effects crashed BTC from ~$40K to ~$26K


Lessons Learned:

  • Algorithmic stablecoins without full collateral are inherently fragile. The arbitrage mechanism only works when people believe in it. Once confidence breaks, it spirals.

  • "Too big to fail" doesn't exist in DeFi. Terra was the #3 chain by TVL before it died.

  • Unsustainable yields are a red flag, not a feature. If a protocol offers 20% APY on a stablecoin and you can't identify where the yield comes from, you are the yield.


---


☠️ #2: The Ronin Bridge Hack — $625 Million Stolen


What it was: Ronin was the bridge connecting the Axie Infinity gaming ecosystem to Ethereum. In March 2022, hackers (later attributed to North Korea's Lazarus Group) stole $625M in ETH and USDC.


What Went Wrong:


  1. Validator centralization: Ronin used a proof-of-authority model with only 9 validators. The attacker compromised 5 of them (the minimum needed to approve transactions).


  1. Sky Mavis held too many keys: The Axie Infinity developer controlled 4 of the 9 validator keys. A third-party DAO (Axie DAO) controlled a 5th key but had given Sky Mavis temporary access that was never revoked.


  1. Nobody noticed for 6 days: The hack happened on March 23, 2022. It wasn't discovered until March 29, when a user tried to withdraw 5,000 ETH and couldn't.


The Damage:

  • 173,600 ETH + 25.5M USDC stolen ($625M)

  • Ronin bridge paused for months

  • Axie Infinity's daily active users dropped from 2.7M to under 400K

  • US Treasury sanctioned the attacker wallet (linked to Lazarus Group)

  • Sky Mavis eventually reimbursed users with a $150M raise from Binance


Lessons Learned:

  • Bridge security is only as strong as its weakest validator. If one entity controls the majority of keys, it's not decentralized — it's a multisig with extra steps.

  • Always check a bridge's validator set before depositing large amounts. How many validators? Who controls them? What's the threshold?

  • The biggest hacks in crypto history are almost always bridge exploits. Bridges are the #1 attack vector in DeFi.


---


☠️ #3: The Wormhole Bridge Hack — $320 Million


What it was: Wormhole was one of the largest cross-chain bridges, connecting Ethereum, Solana, and other chains. In February 2022, a hacker exploited a vulnerability in the bridge's smart contract.


What Went Wrong:


  1. Smart contract bug: The attacker bypassed the bridge's signature verification by exploiting a flaw in how Wormhole validated guardian signatures. They minted 120,000 wETH on Solana without depositing any ETH on Ethereum.


  1. The vulnerability was known: A GitHub commit fixing the exact vulnerability had been pushed just days before the attack — but hadn't been deployed to production yet.


  1. Jump Trading bailed it out: Jump Crypto (Wormhole's parent company) replaced the 120,000 ETH (~$320M) from their own treasury to make users whole.


Lessons Learned:

  • Undeployed patches are ticking time bombs. If a vulnerability fix exists in a repo but isn't live, sophisticated attackers will find and exploit it.

  • Cross-chain bridges carry the highest risk in DeFi. The complexity of verifying state across multiple blockchains creates massive attack surface.

  • Check if bridges have bug bounties and recent audits before bridging large amounts.


---


☠️ #4: FTX / Alameda Research — The $8 Billion Fraud


What it was: FTX was the 2nd-largest crypto exchange. Alameda Research was its affiliated trading firm. In November 2022, it was revealed that FTX had been funneling customer deposits to Alameda to cover trading losses.


What Went Wrong:


  1. Customer funds were used as collateral. FTX sent billions in customer deposits to Alameda, which used them for leveraged trades that went bad.


  1. FTT token as collateral. Alameda's balance sheet was heavily backed by FTT (FTX's own exchange token). When Binance's CZ announced he'd sell his FTT holdings, the token crashed, exposing the insolvency.


  1. No segregation of funds. Basic accounting controls didn't exist. Customer assets were commingled with proprietary trading funds.


  1. SBF's inner circle controlled everything. A small group made all decisions with zero oversight, zero board governance, and zero audits from a Big 4 firm.


The Damage:

  • $8B+ in customer funds lost

  • FTX filed for bankruptcy

  • Sam Bankman-Fried convicted of fraud and sentenced to 25 years

  • Contagion spread: BlockFi, Genesis, Voyager all collapsed

  • Entire crypto market crashed ~25%


Lessons Learned:

  • Not your keys, not your crypto. Never store more on an exchange than you need for active trading.

  • If an exchange token is used as collateral by affiliated entities, run. Circular collateral is a house of cards.

  • Regulatory oversight matters. FTX operated from the Bahamas specifically to avoid US regulations.


---


☠️ #5: Rug Pulls — Death by a Thousand Scams


Not every failure is a sophisticated hack. Many are simple theft. Here are the most common rug pull patterns:


The Classic Rug Pull:

  1. Developer launches token with locked liquidity (or claims to)

  2. Hype builds through paid influencers and fake community

  3. Price moons as retail buys in

  4. Developer removes liquidity or uses a hidden backdoor function

  5. Token goes to zero. Developer disappears.


Famous Examples:

  • Squid Game Token (2021): Rose 75,000% in a week, then crashed 99.99% when devs pulled liquidity. Investors couldn't sell because the contract had an anti-sell mechanism.

  • AnubisDAO (2021): Raised $60M in a "fair launch." All ETH drained within 20 hours.

  • Frosties NFT (2022): NFT project raised $1.3M, developers disappeared, later arrested by DOJ.


Red Flags for Rug Pulls:

Red Flag

What It Means

Anonymous team with no track record

Nobody to hold accountable

Liquidity not locked or locked for < 6 months

Can be pulled at any time

Contract not verified on Etherscan

Code could contain hidden functions

No audit from a reputable firm

Smart contract risks unknown

Unrealistic APY promises (1000%+)

Ponzi economics

Aggressive paid influencer marketing

Buying hype, not building product

Can't sell (anti-dump mechanisms)

You're the exit liquidity


---


🛡️ The DeFi Safety Checklist


Before putting money into ANY DeFi protocol, run through this checklist:


Team & Governance:

  • [ ] Is the team doxxed (publicly known identities)?

  • [ ] Is there a functioning governance structure?

  • [ ] Has the team shipped consistently over time?


Smart Contract Security:

  • [ ] Has the protocol been audited by 2+ reputable firms?

  • [ ] Is the code open-source and verified on-chain?

  • [ ] Does the protocol have an active bug bounty program?

  • [ ] Are there timelocks on admin functions?


Economic Model:

  • [ ] Can you identify where the yield comes from?

  • [ ] Is the token's value dependent on new money entering? (Ponzi test)

  • [ ] Are there realistic tokenomics with vesting schedules?


Operational Security:

  • [ ] Does the protocol use multi-sig wallets (3/5 or higher)?

  • [ ] Are oracle feeds from multiple sources (Chainlink, etc.)?

  • [ ] Does the protocol have circuit breakers for extreme events?


Track Record:

  • [ ] Has the protocol survived at least one bear market?

  • [ ] Has it handled a security incident transparently?

  • [ ] Is TVL growing organically (not just from incentive farming)?


---


🔑 The Bottom Line


Every project in the DeFi Graveyard shares common threads:


  1. Centralization disguised as decentralization — Whether it's Terra's Foundation Guard, Ronin's validator keys, or FTX's corporate structure, the failures always trace back to too much control in too few hands.


  1. Unsustainable economics — If the math doesn't work without new money constantly entering, it's a Ponzi with extra steps. Always ask: where does the yield come from?


  1. Complexity as camouflage — The more complicated a protocol's mechanism, the easier it is to hide risk. If you can't explain how it works in plain English, you probably shouldn't have money in it.


  1. Speed of collapse — DeFi failures don't happen slowly. Terra went from $30B to zero in 5 days. Your stop-loss won't save you. Size positions accordingly.


The best investors in crypto aren't the ones who find the next 100x. They're the ones who avoid the next zero.


---


Know of a project that belongs in the Graveyard? Drop it in the comments and we'll break it down. 👇

Profile picture
ZoqiProfile picture@zoqionfire·Mar 18

📊 On-Chain Data Breakdown — How to Track Smart Money Like a Pro

Most retail traders are looking at price charts while the real alpha lives on-chain. Whale wallets, smart money flows, and protocol-level data tell you what's happening before the price moves.


This guide will show you exactly how to use the three most powerful on-chain tools — Arkham Intelligence, Nansen, and Dune Analytics — to track the wallets that actually move markets.


---


🧠 Why On-Chain Analysis Matters


Every transaction on a public blockchain is permanently recorded. That means:


  • When a whale moves $50M in ETH to an exchange → you can see it before they sell

  • When a VC fund starts accumulating a token → the on-chain footprint is visible

  • When a protocol's TVL is bleeding out → you know before the token dumps

  • When smart money rotates from lending to staking → you can follow the flow


Price charts show you the past. On-chain data shows you the present and near future.


---


🔍 Tool #1: Arkham Intelligence — Wallet Tracking & Entity Labeling


What it does: Arkham labels wallets belonging to known entities (funds, exchanges, protocols, individuals) and lets you track their real-time activity.


Free tier: Yes — powerful free version available.


Step-by-Step: Track a Whale Wallet


  1. Go to

  2. Search a known entity (e.g., "Jump Trading", "Wintermute", "Alameda")

  3. Click on the entity to see all associated wallets

  4. Look at Recent Transactions — filter by token, chain, or time range

  5. Set up Alerts to get notified when a specific wallet moves funds


What to Look For:

  • Exchange deposits = potential sell pressure incoming

  • Exchange withdrawals = accumulation (bullish signal)

  • Large stablecoin movements to DeFi protocols = yield farming rotation

  • New token acquisitions = early position building


Real Example:

If you see Jump Trading move 10,000 ETH from cold storage to Binance, that's a potential bearish signal. If they move 10,000 ETH from Binance to a staking contract, that's bullish conviction.


Pro Tips:

  • Track Foundation wallets of projects you're invested in (e.g., Ethereum Foundation, Solana Foundation)

  • Watch for VC unlock schedules — when tokens vest, VCs often sell

  • Monitor exchange hot wallets for unusual inflows


---


🔍 Tool #2: Nansen — Smart Money Labels & Portfolio Tracking


What it does: Nansen tracks over 300M+ labeled wallets and categorizes them by behavior — "Smart Money," "Fund," "Fresh Wallet," "Airdrop Hunter," etc.


Free tier: Limited. Pro starts at ~$100/month. Worth it for serious traders.


Step-by-Step: Follow Smart Money Into New Tokens


  1. Go to

  2. Navigate to Smart Money dashboard

  3. Filter by "Token Holdings" or "Recent Buys"

  4. Look for tokens where multiple smart money wallets are accumulating

  5. Cross-reference with Token God Mode to see the full holder breakdown


Key Nansen Features:


Smart Money Dashboard:

  • Shows what tokens the top-performing wallets are buying and selling

  • Filter by timeframe (24h, 7d, 30d)

  • Sort by number of smart money holders or net flow


Token God Mode:

  • For any token, see the complete holder distribution

  • Identify if whales are accumulating or distributing

  • See exchange inflows vs. outflows

  • Track holder concentration (is one wallet holding 30%? Red flag.)


NFT Paradise (if applicable):

  • Smart money tracking for NFT collections

  • Useful for identifying mint snipes and early accumulation


What Smart Money Signals Mean:

Signal

Interpretation

5+ smart wallets buy same token in 48h

High-conviction accumulation

Smart money selling while price rises

Distribution phase — be cautious

Fresh wallets buying from known funds

Possible insider activity

Exchange outflows spike

Supply shock — bullish


---


🔍 Tool #3: Dune Analytics — Custom Dashboards & Protocol Deep Dives


What it does: Dune lets anyone write SQL queries against blockchain data to create custom dashboards. It's the most powerful on-chain analytics tool if you can read data.


Free tier: Yes — most dashboards are public and free.


Step-by-Step: Analyze Protocol Health


  1. Go to

  2. Search for a protocol (e.g., "Aave", "Uniswap", "Lido")

  3. Browse community-built dashboards — look for ones with high star counts

  4. Key metrics to check:

    • Daily active users (are they growing or declining?)

    • TVL over time (trending up or bleeding?)

    • Revenue/fees (is the protocol actually making money?)

    • Token holder distribution (concentrated or decentralized?)


Must-Bookmark Dune Dashboards:


  • @hildobby's Ethereum Overview — the gold standard for ETH ecosystem metrics

  • DEX Volumes — compare Uniswap vs. Curve vs. Balancer vs. others

  • Stablecoin Supply — track USDC/USDT/DAI/USDS flows across chains

  • Bridge Flows — see which chains are gaining/losing liquidity

  • L2 Beat — Layer 2 TVL, transaction counts, and fee revenue


Building Your Own Queries (Intermediate):


If you know basic SQL, you can build custom intelligence:


-- Find wallets that bought a token in the last 24h
-- with transaction value > $100K
SELECT
  "from" as wallet,
  SUM(value) as total_bought,
  COUNT(*) as num_txns
FROM erc20_ethereum.evt_Transfer
WHERE contract_address = 0x... -- token contract
  AND block_time > NOW() - INTERVAL '24 hours'
GROUP BY 1
HAVING SUM(value) > 100000
ORDER BY 2 DESC
LIMIT 20


You don't need to be a developer. Start with existing dashboards and modify them.


---


🎯 Putting It All Together: The Smart Money Workflow


Here's the exact workflow professional on-chain analysts use:


Step 1: Identify the signal

  • Nansen Smart Money dashboard shows 7 wallets buying TOKEN_X in 48 hours


Step 2: Verify the wallets

  • Cross-reference on Arkham — are these known funds? DeFi power users? Or random fresh wallets?


Step 3: Check the protocol fundamentals

  • Pull up the Dune dashboard for TOKEN_X's protocol

  • Is TVL growing? Are fees increasing? Is there a catalyst?


Step 4: Assess risk

  • Check token holder concentration on Nansen Token God Mode

  • Look for upcoming unlock schedules

  • Check if the token is on any "smart money sell" lists


Step 5: Size your position accordingly

  • On-chain signals are probabilistic, not certain

  • Use them as conviction boosters alongside your fundamental analysis


---


⚠️ Common Mistakes to Avoid


  1. Blindly copying whale trades — Whales have different risk profiles and timelines than you. A $50M fund can afford a 50% drawdown. You probably can't.


  1. Ignoring context — A whale depositing tokens to an exchange might be selling, or they might be providing liquidity, lending, or moving to a different wallet. Always check the destination.


  1. Chasing old signals — On-chain data moves fast. If you see a smart money buy from 3 days ago, you might already be late.


  1. Over-relying on a single tool — Use all three tools together. Arkham for wallet tracking, Nansen for smart money labels, Dune for protocol fundamentals.


  1. Confusing correlation with causation — Just because a whale bought something doesn't make it a good trade. They lose money too.


---


🔑 Key Takeaways


  • On-chain data is the closest thing to an information edge in crypto

  • Arkham = wallet tracking and entity identification (free)

  • Nansen = smart money labels and token holder analysis (paid, worth it)

  • Dune = custom protocol analytics and community dashboards (free)

  • Combine all three for maximum signal quality

  • Always use on-chain data as ONE input in your decision-making, not the only input


The alpha is in the wallets. Start tracking them.


---


Questions about on-chain analysis? Drop them in the comments below. 👇