Storage Layout
DISCLAIMER // NFA // DYOR
This analysis is based on observations of the contract behavior. We are not smart contract security experts. This document aims to explain what the contract appears to do based on the code. It should not be considered a comprehensive security audit or financial advice. Always verify critical information independently and consult with blockchain security professionals for important decisions.
⊙ generated by robots | curated by humans
| METADATA | |
|---|---|
| Contract Address | 0xc4eD7EA2...F8cB0A (etherscan) |
| Network | Ethereum Mainnet |
| Analysis Date | 2026-11-27 |
The layout is defined by the implementation and used by each clone in the clone's own storage. The implementation's own slots 0–4 read zero: it has never been initialised and cannot be. The values below are the DNZN clone 0xB611Ff19...4D5199 (etherscan) at block 26,508,644 (etherscan), read with cast storage.
Variables
| SLOT | VARIABLE NAME | TYPE | CURRENT VALUE | PURPOSE |
|---|---|---|---|---|
| 0 (bytes 0–19) | owner |
address |
0x00c0e887...1F3790 (etherscan) |
Sole caller of propose; may cancel any queued action |
| 0 (bytes 20–23) | delay |
uint32 |
604800 (0x93a80, 7 days) |
Seconds between propose and the earliest applyQueued |
| 0 (bytes 24–27) | nonce |
uint32 |
0 |
Number of proposals ever made; part of every action hash |
| 1 | pendingOwner |
address |
0x0 |
Nominee who may call acceptOwnership |
| 2 | description |
string |
DNZN // FUND DISTRIBUTION |
Display text; stored inline as a short string with length byte 0x32 (25 characters) |
| 3 | _table |
Beneficiary[] |
length 3 | Beneficiary rows, three slots each, starting at keccak256(3) |
| 4 | _pending |
Pending[] |
length 0 | Queued actions, three slots each, starting at keccak256(4) |
| 5 | _pendingIndex |
mapping(bytes32 => uint256) |
— | 1-based position of a hash in _pending; 0 means absent |
| 6 | queued |
mapping(bytes32 => uint256) |
— | Eta of each queued hash |
| 7 | reserved |
mapping(address => uint256) |
0 for ETH | Total escrowed per token |
| 8 | escrowed |
mapping(address => mapping(address => uint256)) |
— | Escrow per token and account |
| transient 0 | locked |
bool (transient) |
— | Reentrancy lock; held in Transient Storage and cleared at the end of every transaction |
| (bytecode) | factory |
address (Immutable) |
0x00D19609...6d7f8E (etherscan) |
The only address init accepts |
| (bytecode) | self |
address (immutable) |
0xc4eD7EA2...F8cB0A (etherscan) |
Lets receive tell the implementation apart from a clone |
Slot 0 reads 0x00000000...1f3790, with delay 0x93a80 in bytes 20–23 above the owner (full word in the artifacts). The packing order matches the source comment on pendingOwner, which explains placing it after nonce so that owner, delay and nonce share one slot. The mapping slots 5–8 match the constants the runtime uses when hashing mapping keys, and the transient lock is read and written with TLOAD/TSTORE at slot 0 of transient storage.
Beneficiary Rows
Each Beneficiary occupies three consecutive slots from keccak256(uint256(3)) = 0xc2575a0e...71f85b: the account and its uint96 share packed into the first, then name, then note.
| ROW | SLOT OFFSET | RAW VALUE | DECODED |
|---|---|---|---|
| 0 | +0 | 0x00000000...02cfb9 |
account 0x00b6E7D1...02cFb9 (etherscan), Basis Points (bps) 0x7d0 = 2,000 |
| 0 | +1 | 0x74726561...000010 (partial word) |
treasury (8 characters, inline) |
| 0 | +2 | 0x...43 |
long string of 33 bytes, stored at keccak256(slot) |
| 1 | +3 | 0x00000000...1f3790 |
account 0x00c0e887...1F3790 (etherscan), bps 0xfa0 = 4,000 |
| 1 | +4 | 0x6f707300...000006 (partial word) |
ops |
| 1 | +5 | 0x...41 |
long string of 32 bytes |
| 2 | +6 | 0x00000000...61902b |
account 0x357836fF...61902B (etherscan), bps 4,000 |
| 2 | +7 | 0x63726561...00000e (partial word) |
creator |
| 2 | +8 | 0x...43 |
long string of 33 bytes |
The long-string lengths match the notes returned by snapshot(): "long-term growth, future projects" (33), "infrastructure, services, tokens" (32), "founding engineer, product vision" (33).
Derived Slots
| ITEM | SLOT |
|---|---|
_pending element 0 |
keccak256(uint256(4)) = 0x8a35acfb...6bd19b |
queued[hash] |
keccak256(hash ‖ uint256(6)) |
reserved[token] |
keccak256(token ‖ uint256(7)); for ETH 0x6d525720...fbf6df |
escrowed[token][account] |
keccak256(account ‖ keccak256(token ‖ uint256(8))); ETH for the treasury is 0xbe5c6ee8...782be4 |
These derived slots were used as state overrides in the escrow and timelock simulations described in the methodology.
Diagrams
graph TB
subgraph Core["Core State — Slots 0-2"]
S0["Slot 0: owner | delay | nonce<br/>Ops vault | 604800 | 0"]
S1["Slot 1: pendingOwner — 0x0"]
S2["Slot 2: description — DNZN // FUND DISTRIBUTION"]
end
subgraph Arrays["Dynamic Arrays — Slots 3-4"]
S3["Slot 3: _table — length 3<br/>rows at keccak256(3), 3 slots each"]
S4["Slot 4: _pending — length 0"]
end
subgraph Maps["Mappings — Slots 5-8"]
S5["Slot 5: _pendingIndex"]
S6["Slot 6: queued — hash → eta"]
S7["Slot 7: reserved — token → total"]
S8["Slot 8: escrowed — token → account → amount"]
end
subgraph Other["Outside Persistent Storage"]
TL["transient 0: locked"]
IM["bytecode: factory, self"]
end
Core --> Arrays --> Maps
Other -.-> Core
style S0 fill:#ffe1e1
style S3 fill:#ffe1e1
style S7 fill:#fff4d6
style S8 fill:#fff4d6