Contract Analysis
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
CONFLICT OF INTEREST
This contract is published by DNZN LABS, the organisation behind this site. The analysis uses only public sources. See the DNZN LABS project space for the identity and control mapping it relies on.
Analysis Date: 2026-11-27
Metadata
Primary Contract
| PROPERTY | VALUE |
|---|---|
| Contract Address | 0x00a9F390...0d25BA (etherscan) |
| Network | Ethereum Mainnet (also deployed on Base; see A Separate Copy on Base) |
| Contract Type | Standalone, owned content host. Serves the RAKE dapp and its widget over ERC-8244 and ERC-5219 |
| Deployment Date | 2026-11-22 09:37:59 Coordinated Universal Time (UTC) |
| Deployment Block | 26,469,806 (etherscan) |
| Contract Creator | 0x5A158aF8...bBC50d (etherscan) (elanik.wei), routed through the Deterministic Deployment Proxy 0x4e59b448...B4956C (etherscan) |
| Creation TX | 0x37d157cc...8d3295 (tx) |
| Compiler Version | solc v0.8.38+commit.1835d247, via-IR, optimizer 1,000 runs, Ethereum Virtual Machine (EVM) version cancun |
| Runtime Size | 7,154 bytes |
| Total Functions | 24 (17 from App, 7 inherited from Solady Ownable) |
| External Contract Dependencies | The SSTORE2 chunk contracts its pointer lists name; 4 at the time of analysis |
| Upgrade Mechanism | ☑ None for the code. △ The served content can be replaced by the owner until lock() is called |
| Verification Status | ☑ Verified on Etherscan |
| Audit Status | ☒ No audit report located |
Related Addresses
| TYPE | ADDRESS | NOTES |
|---|---|---|
| Owner | 0x00c0e887...1F3790 (etherscan) |
DNZN Ops vault, a 2-of-4 Multisig with a 3,600-second delay. Set as owner by the constructor |
| Deployment route | 0x4e59b448...B4956C (etherscan) |
The keyless CREATE2 factory analysed in Deterministic Deployment Proxy. Salt 0x87cdf85b...ead3f2 |
| Dapp chunk 0 | 0x029E4004...0D98F4 (etherscan) |
SSTORE2 chunk created by App at nonce 1. Sizes in Storage Layout |
| Dapp chunk 1 | 0x87eE9c5C...1780A3 (etherscan) |
SSTORE2 chunk, nonce 2 |
| Dapp chunk 2 | 0x295fF302...239227 (etherscan) |
SSTORE2 chunk, nonce 3 |
| Widget chunk 0 | 0x93Fa8086...b19044 (etherscan) |
SSTORE2 chunk, nonce 4 |
| DistributionFactory | 0x00D19609...6d7f8E (etherscan) |
Not called by App. Named in the served dapp as the contract its create screen sends to. See the DistributionFactory analysis |
| DNZN distribution | 0xB611Ff19...4D5199 (etherscan) |
Not called by App. The dapp's featured distribution. See the Distribution analysis |
Executive Summary
App is the contract that hosts RAKE's web interface. It stores a gzip-compressed HTML document and a separate JavaScript widget as SSTORE2 chunks (contracts whose code is the data), and returns them to anyone who asks: html() returns the whole page, and request() answers web-style paths for web3:// clients and HTTP gateways that translate requests into calls. App holds no funds and never calls the RAKE contracts. What it controls is the code a visitor's browser runs when it loads the dapp from the chain, and that code is what asks the visitor's wallet to sign.
The owner can add chunks, replace either pointer list, and change the version string. lock(), not called on either chain at the time of analysis, would end that permanently, after checking that every pointer is a readable SSTORE2 chunk. Once locked, the served bytes cannot change: a chunk's code begins with a STOP byte, so it cannot run anything, including a self-destruct, and the lock check refuses any pointer that could later be re-pointed, such as an EIP-7702 account.
The owner is the DNZN Ops vault, so replacing the dapp takes two of four signatures and the vault's one-hour delay, or four signatures without it. See The Owner Can Replace the Dapp Until It Is Locked.
The same bytecode sits at the same address on Base (basescan), owned by the vault at the same address there (basescan). Its dapp differs from mainnet's in one configuration line; see A Separate Copy on Base.
Architecture
graph TB
EL["elanik.wei<br/>0x5A158aF8...bBC50d"]
DDP["Deterministic Deployment Proxy<br/>0x4e59b448...B4956C"]
V["Ops vault (owner)<br/>0x00c0e887...1F3790<br/>2-of-4, 1-hour delay"]
APP["App<br/>0x00a9F390...0d25BA<br/>chunks · widgetChunks · gzipped · locked · version"]
C["Dapp chunks (SSTORE2)<br/>0x029E4004 · 0x87eE9c5C · 0x295fF302<br/>53,805 bytes gzip"]
W["Widget chunk (SSTORE2)<br/>0x93Fa8086...b19044<br/>8,525 bytes of JS"]
G["web3:// client or gateway<br/>(rake.dnzn.dev, w3link)"]
B["Visitor's browser + wallet"]
R["RAKE contracts<br/>factory, distributions"]
EL -->|"salt + init code"| DDP
DDP -->|"CREATE2, owner = vault"| APP
V -->|"addChunk / setChunks / lock ..."| APP
APP -->|"CREATE (SSTORE2.write)"| C
APP -->|"CREATE (SSTORE2.write)"| W
APP -.->|"EXTCODECOPY on read"| C
APP -.->|"EXTCODECOPY on read"| W
G -->|"eth_call html() / request()"| APP
G -->|"page + widget.js"| B
B -->|"transactions the page builds"| R
style APP fill:#e1f0ff
style V fill:#ffe1e1
System Overview
Writing content:
addChunk(data)deploysdataas a new SSTORE2 contract (a0x00byte followed bydata) and appends its address tochunks.addWidgetChunkdoes the same forwidgetChunks.setChunks(ptrs, gzipped)replaces the whole dapp list with existing pointers and sets thegzippedflag;setWidgetChunks(ptrs)replaces the widget list. Each pointer must hold code whose first byte is0x00.lock()re-checks every pointer in both lists, requires at least one dapp chunk, and setslocked. Every write function then revertsLocked().
Reading content:
html()concatenates the dapp chunks. Ifgzippedis false it returns them as they are. If true, it returns a 677-byte HTML bootstrap that holds the payload as base64, inflates it in the browser withDecompressionStream('gzip'), swaps the result in as the document, and re-creates each<script>so it runs.widget()concatenates the widget chunks and returns them unwrapped.request(path, headers)returnshtml()withContent-Type: text/html; charset=utf-8for an empty path,""orindex.html;widget()withapplication/javascript; charset=utf-8forwidget.jswhen a widget exists; and status 404 with an empty body for everything else. Request headers are ignored.resolveMode()returns"5219", which tells an EIP-4804 client to userequest()rather than calling the path as a function name (the ERC-6944 convention).
Deployment and Setup History
| BLOCK | DATE (UTC) | TX | WHAT HAPPENED |
|---|---|---|---|
| 26,469,806 (etherscan) | 2026-11-22 09:37:59 | 0x37d157cc...8d3295 (tx) |
Deployed with owner = Ops vault, version v0.1. Five blocks after the factory |
| 26,502,027 (etherscan) | 2026-11-26 21:21:23 | 0xff5a3e36...6e6ef2 (tx) |
Vault executeQueued → addChunk (chunk 0) |
| 26,502,029 (etherscan) | 2026-11-26 21:21:47 | 0x450f7b76...ad287c (tx) |
Vault executeQueued → addChunk (chunk 1) |
| 26,502,031 (etherscan) | 2026-11-26 21:22:11 | 0x60b99bb3...59fb69 (tx) |
Vault executeQueued → batch: addChunk (chunk 2), addWidgetChunk, setChunks([0,1,2], true), setWidgetChunks([w0]) |
All three setup transactions were sent by elanik.wei, a vault signer, as executeQueued calls on the vault, the path that runs a transaction after its delay. addChunk leaves gzipped as it was, so for the 48 seconds between the first and last setup transaction html() returned compressed bytes without the bootstrap. The setChunks call in the last transaction set the flag.
The Base deployment's history was not retrieved: the Etherscan API v2 free tier does not serve Base, and the public Base RPC rate-limited the log query. Its state was read directly.
Design Patterns Used
- SSTORE2: content is stored as contract code and read with
EXTCODECOPY, which costs roughly an order of magnitude less gas per byte to write thanSSTORE. Each chunk is capped at 24,575 bytes of data by the EIP-170 code size limit. - Client-side decompression: the page is stored gzipped and inflated by the visitor's browser, which cuts the stored size of the 170,381-byte document to 53,805 bytes.
- One-way lock: a flag, checked by every write function, that cannot be cleared.
- Owner set at construction: the constructor initialises Solady
Ownablewith the address passed in, so ownership went straight to the vault. The deploying key, elanik.wei, holds one of the vault's four signatures.
Access Control
Roles & Permissions
| ROLE | ASSIGNED BY | REVOKABLE | CALL COUNT |
|---|---|---|---|
| Owner | Constructor argument; then transferOwnership or completeOwnershipHandover |
Yes, by the owner (transfer or renounce) | Unlimited until lock(); afterwards only ownership functions remain |
| Handover requester | Self, via requestOwnershipHandover |
Yes, by the requester; expires after 48 hours | Unlimited |
| Anyone | — | N/A | Unlimited (all views) |
Permission Matrix
| FUNCTION | OWNER | ANYONE |
|---|---|---|
addChunk, addWidgetChunk |
☑ (until locked) | ☒ |
setChunks, setWidgetChunks |
☑ (until locked) | ☒ |
setVersion |
☑ (until locked) | ☒ |
lock |
☑ | ☒ |
transferOwnership, renounceOwnership |
☑ (also after lock) | ☒ |
completeOwnershipHandover |
☑ (for a live request) | ☒ |
requestOwnershipHandover, cancelOwnershipHandover |
☑ | ☑ |
html, widget, request, resolveMode and the getters |
☑ | ☑ |
Time Locks & Delays
| ACTION | TIME LOCK | CAN CANCEL | PURPOSE |
|---|---|---|---|
| Any owner action on App | None in App | N/A | ◇ App executes owner calls immediately |
| Any owner action, as the Ops vault performs it | The vault's 3,600-second delay; skipped when all four signers sign | Yes, two vault signers | ◇ Enforced by the vault, not App. Applies only while the vault is the owner |
| Ownership handover | Request valid for 48 hours | Requester | ◇ Solady's two-step alternative to transferOwnership |
Economic Model
App holds and moves no funds. It has no receive or fallback, so plain ETH sent to it reverts, and none of its own functions accept ETH. The five functions inherited from Solady Ownable are marked payable; ETH attached to one of them would stay in App, which has no way to send it out. App's balance was zero on both chains at the snapshot blocks.
Its economic weight is indirect. The dapp it serves builds the transactions a visitor signs, including create on the factory with an optional ETH deposit and a plain ETH payment to the featured distribution. Whoever controls App's content before it is locked controls what those transactions contain. The current content sends create to the factory and the plain payment to the featured distribution; management calls (propose, applyQueued, cancel, distribute, release, claim, acceptOwnership) go to whichever distribution the visitor is viewing.
Summary of Observations
App is a 7,154-byte contract that serves the RAKE dapp and widget from SSTORE2 chunks. Its source, its storage, the chunks it points to and the bytes it serves were checked against chain state on Ethereum and Base, and its revert paths and routing were exercised with cast call.
Properties observed in the code:
- Content can change only through the owner, and only until
lock(). - After
lock(), the served bytes cannot change andlockedcannot be cleared. html()returns exactly the stored payload: the base64 in the bootstrap decodes to the concatenated chunks, andwidget()returns the widget chunk byte for byte.- The widget's Subresource Integrity (SRI) hash embedded in the dapp matches the stored widget.
Caveats for visitors and integrators:
- App was not locked on either chain at the time of analysis, so the dapp can still be replaced. See Potential Risks.
transferOwnershipmoves ownership in one step, with no acceptance by the new owner.- The Base copy is configured and filled separately, and nothing on-chain ties the two copies together.
- The dapp reads most of the chain state it displays through public Remote Procedure Call (RPC) endpoints named in its configuration, even when a wallet is connected.
This analysis was performed for educational purposes and should not be considered an official security audit or financial advice.
References
| RESOURCE | NOTES |
|---|---|
| Etherscan — App | Verified source, ABI, compiler settings, creation data |
| ERC-5219: Contract Resource Requests | The request() interface |
| ERC-6944: ERC-5219 Resolve Mode | The resolveMode() convention App returns "5219" for |
| ERC-4804: Web3 URL to EVM Call Message Translation | The web3:// scheme clients use to reach App |
| EIP-3541: Reject new contract code starting with the 0xEF byte | Why no deployed contract can pass for an EIP-7702 designator |
| EIP-7702: Set Code for EOAs | The delegation designator lock() refuses as a pointer |
| Solady SSTORE2 | Chunk write and read |
| Solady Ownable | Ownership, handover and the 48-hour expiry |
| MDN — Subresource Integrity | How the widget's integrity attribute is checked by browsers |
| MDN — DecompressionStream | The browser API the bootstrap relies on |
| DNZN LABS project space | Identity and control mapping for every DNZN address named here |
Change Log
| DATE | AUTHOR | NOTES |
|---|---|---|
| 2026-11-27 | Artificial. | Generated by robots. Gas: 845 tok |
| 2026-11-27 | Denizen. | Reviewed, edited, and curated by humans. |