Skip to content

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 0x00D19609...6d7f8E (etherscan)
Network Ethereum Mainnet (also deployed on Base; see Same Address on Base)
Contract Type Standalone CREATE2 clone factory. Holds no storage and has no owner
Deployment Date 2026-11-22 09:36:59 Coordinated Universal Time (UTC)
Deployment Block 26,469,801 (etherscan)
Contract Creator 0x5A158aF8...bBC50d (etherscan) (elanik.wei), routed through the Deterministic Deployment Proxy 0x4e59b448...B4956C (etherscan)
Creation TX 0x5cfd85b7...4a8f50 (tx)
Compiler Version solc v0.8.38+commit.1835d247, via-IR, optimizer 1,000 runs, Ethereum Virtual Machine (EVM) version cancun
Runtime Size 1,319 bytes
Total Functions 3 (create, predict, implementation)
External Contract Dependencies 1 — the Distribution implementation it deploys in its own constructor
Upgrade Mechanism ☑ None — not upgradable, no owner, no storage
Verification Status ☑ Verified on Etherscan (factory and implementation, same source file)
Audit Status ☒ No audit report located
TYPE ADDRESS NOTES
Implementation 0xc4eD7EA2...F8cB0A (etherscan) Distribution, 9,277 bytes. Deployed by the factory's constructor with CREATE2 at salt 0. Every clone delegates to it
Deployment route 0x4e59b448...B4956C (etherscan) The keyless CREATE2 factory analysed in Deterministic Deployment Proxy. Fixes the factory's address from its bytecode and salt 0xf83d35ce...6e4193
Clone (DNZN) 0xB611Ff19...4D5199 (etherscan) Created at block 26,469,844 (etherscan) in 0xe8b7ca91...b9afc1 (tx), 43 blocks after the factory. The factory's one clone as of block 26,507,971 (etherscan)
Clone creator 0x68e0741D...b186eE (etherscan) Externally Owned Account (EOA) whose address forms the top 20 bytes of the clone's salt
Clone owner 0x00c0e887...1F3790 (etherscan) DNZN Ops vault, a 2-of-4 Multisig. Also a beneficiary of the clone
Beneficiary (treasury) 0x00b6E7D1...02cFb9 (etherscan) A 2-of-3 multisig clone of the same Multisig implementation as the Ops vault, created by dxnzn.wei in 0xbd032eda...10ded8 (tx)
Beneficiary (creator) 0x357836fF...61902B (etherscan) dxnzn.wei

Executive Summary

The DistributionFactory deploys copies of a payment-splitting contract called Distribution, the on-chain part of DNZN LABS' RAKE product. Each copy is a 45-byte Minimal Proxy that forwards every call to one shared implementation, and each holds its own owner, Timelock delay, description and table of beneficiaries with basis-point shares. Money sent to a copy is split across that table when anyone calls distribute.

The factory has one state-changing function, create, which places a new clone with CREATE2 and initialises it in the same transaction, and one view, predict, which returns the address a given salt will produce. It has no owner or storage, cannot be upgraded, and holds no funds between calls.

  • The clone address depends on the factory and the salt only. The owner, delay, description and table do not enter it, so a clone's address can be known, published and funded before anyone decides what it will contain.
  • The top 20 bytes of the salt must equal the caller. Only the address that owns a salt prefix can deploy at the addresses that prefix produces, which stops a third party from occupying them first.

These two properties move trust onto the salt owner. Whoever controls the sender key decides the configuration a predicted address will receive, on this chain and on any other chain where the factory sits at the same address. See A Predicted Address Does Not Commit to a Configuration.

At the time of analysis the factory had created one clone on Ethereum, the DNZN distribution, owned by the DNZN Ops vault with a 7-day delay and three beneficiaries. The same factory, implementation and clone exist at the same addresses on Base. The factory was deployed five days before this analysis and no audit was located.


Architecture

graph TB
    EL["elanik.wei<br/>0x5A158aF8...bBC50d"]
    DDP["Deterministic Deployment Proxy<br/>0x4e59b448...B4956C"]
    F["DistributionFactory<br/>0x00D19609...6d7f8E<br/>immutable implementation"]
    I["Distribution implementation<br/>0xc4eD7EA2...F8cB0A<br/>factory = 0x00D19609...6d7f8E"]
    S["Salt owner<br/>top 20 bytes of salt == msg.sender"]
    C["Clone (45 bytes)<br/>0xB611Ff19...4D5199<br/>own storage: owner, delay, table"]
    B["Beneficiaries<br/>treasury / ops / creator"]

    EL -->|"salt 0xf83d35ce...6e4193<br/>+ factory init code"| DDP
    DDP -->|"CREATE2"| F
    F -->|"constructor: CREATE2 salt 0"| I
    S -->|"create(owner, delay, description, table, salt)"| F
    F -->|"1. CREATE2 clone init code"| C
    F -->|"2. init(owner, delay, description, table)"| C
    C -.->|"delegatecall every call"| I
    C -->|"distribute(token)"| B

    style F fill:#e1f0ff
    style C fill:#fff4d6

System Overview

In one transaction, create:

  1. Checks that the salt's top 20 bytes equal msg.sender, and reverts SaltDoesNotStartWith() otherwise.
  2. Writes the PUSH0 minimal-proxy init code for the stored implementation into memory and runs CREATE2 with it, the caller's salt, and any ETH attached to the call.
  3. Calls init on the new clone with the owner, delay, description and table. init validates the table and reverts the whole deployment if it is malformed.
  4. Emits Created(distribution, owner) and returns the clone's address.

What the factory does not do:

  • It keeps no registry of clones. The Created event (topic 0x587ece4c...cb541c (events)) and the factory's account nonce are the only on-chain record.
  • It does not check owner_ or delay_; see No Validation of Owner or Delay.
  • It has no receive or fallback. Plain ETH sent to it reverts.
  • It cannot alter a clone after creation. Once init has run, all further changes go through the clone's own owner and timelock.

The Distribution Clone

The clone's behaviour comes from the verified Distribution source, analysed in full in the Distribution analysis. The rules that bear on create:

  • init can be called once, and only by the address that deployed the implementation, which is the factory. A direct call to the existing clone reverts Unauthorized() whether it comes from an EOA or from the factory address.
  • The table must pass the checks listed under create preconditions: 1 to 107 rows, non-zero shares, strictly ascending accounts, and a total of exactly 10,000 basis points.
  • distribute(token) is callable by anyone and splits the clone's ETH or ERC20 balance, minus anything already escrowed, across the table. A failed push is escrowed for that beneficiary to claim or for anyone to release later.
  • Configuration changes are onlySelf functions reached through propose, which queues them for the clone's delay (or runs them at once if the delay is zero), and applyQueued. A queued action expires 14 days after it matures. An ownership handover is completed by the nominee calling acceptOwnership.

Design Patterns Used

  • CREATE2 clone factory: the factory supplies a fixed sender and init code to the CREATE2 address formula, so the clone address is a function of the salt alone. The factory itself was placed by Deterministic Deployment through the keyless proxy.
  • PUSH0 minimal proxy: the clone's 45-byte runtime is 0x5f5f365f5f37365f73 + implementation + 0x5af43d5f5f3e6029573d5ffd5b3d5ff3, the ERC-1167 pattern rewritten to use the PUSH0 opcode. The same constants appear in Solady's LibClone.initCode_PUSH0, and the clone's code on chain matches that layout.
  • Salt prefix binding: the salt's top 20 bytes act as a namespace owned by one sender.
  • Deploy-and-initialise in one transaction: no window exists between a clone gaining code and gaining an owner.
  • Immutable implementation: the implementation address is fixed in the factory's bytecode at construction and cannot change.

Access Control

Roles & Permissions

ROLE ASSIGNED BY REVOKABLE CALL COUNT
Salt owner Implicit — any address owns the salts whose top 20 bytes equal it No Once per salt
Anyone — N/A Unlimited (predict, implementation)

The factory has no administrator. The only permission it enforces is the salt prefix check.

Permission Matrix

FUNCTION SALT OWNER ANYONE
create (with own salt prefix) ☑ ☒
predict ☑ ☑
implementation ☑ ☑

Time Locks & Delays

ACTION TIME LOCK CAN CANCEL PURPOSE
Create a clone None N/A ◇ Immediate. The factory has no admin actions to delay
Change a clone after creation The clone's own delay Yes — the clone's owner, or anyone once expired ◇ Enforced by the clone, not the factory. 604,800 seconds (7 days) on the DNZN clone

Economic Model

The factory charges no fee and keeps no funds. ETH attached to create is passed to CREATE2 as the clone's opening balance, and the clone's init logs any balance present at that point as Received(address(0), balance). The NatSpec on create says such a deposit lands "without a Received log"; the code in init emits one. If the clone's table fails validation the whole call reverts and the ETH returns with it. The factory's balance was zero at block 26,507,971 (etherscan), and so was the implementation's.

ETH or tokens can also be sent to a predicted clone address before the clone exists. They stay at that address, with no code able to move them, until the salt owner calls create; a later distribute then splits them across whatever table the salt owner chose. If create is never called, they stay there. Nobody but the salt owner can make code appear at that address.

The DNZN clone splits funds as follows:

BENEFICIARY ADDRESS SHARE NAME / NOTE (AS STORED)
Treasury vault 0x00b6E7D1...02cFb9 (etherscan) 20% (2,000 bps) treasury / long-term growth, future projects
Ops vault 0x00c0e887...1F3790 (etherscan) 40% (4,000 bps) ops / infrastructure, services, tokens
dxnzn.wei 0x357836fF...61902B (etherscan) 40% (4,000 bps) creator / founding engineer, product vision

The Ops vault is both the clone's owner and one of its beneficiaries. Changing the table therefore needs Ops vault signatures and the clone's 7-day delay. The clone held 0 ETH at block 26,507,971 (etherscan).


Summary of Observations

The DistributionFactory is a 1,319-byte clone factory for RAKE's Distribution contract. It deploys its own implementation in its constructor, places each clone with CREATE2 at an address fixed by its salt, and initialises the clone in the same call. The factory, its implementation, and the creation of the one clone were checked against chain state, and the factory's revert paths were exercised with cast call against mainnet.

Properties observed in the code:

  • Nothing about the factory can be changed after deployment.
  • init cannot be called again on an existing clone, by the factory or anyone else.
  • The salt prefix check and the single-transaction deploy-and-initialise leave no point at which a third party can occupy or configure a clone.

Caveats for payers and integrators:

  • A predicted address does not commit to a configuration, on one chain or across chains. See Potential Risks.
  • Reusing a salt reverts only after consuming the forwarded gas; check predict(salt) for existing code first.
  • The factory accepts a zero owner and any delay, so a given clone's administrability has to be read from that clone.
  • ERC-20 tokens sent to the implementation address appear to be unrecoverable.
  • On Base the factory, implementation and DNZN clone sit at the same addresses with identical code and, at the time of reading, identical configuration (basescan). That match was read from each chain and is not enforced between them.

This analysis was performed for educational purposes and should not be considered an official security audit or financial advice.


References

RESOURCE NOTES
Etherscan — DistributionFactory Verified source, ABI, compiler settings, creation data
Etherscan — Distribution implementation Verified source of the contract every clone delegates to
EIP-1014: Skinny CREATE2 The CREATE2 address formula predict reproduces
EIP-1167: Minimal Proxy Contract The clone pattern the PUSH0 variant is derived from
EIP-3855: PUSH0 instruction The opcode that shortens the clone runtime to 45 bytes
EIP-684: Revert creation in case of collision Why a reused salt fails and consumes its forwarded gas
Solady LibClone Reference for the PUSH0 clone init code the factory writes by hand
Deterministic Deployment Proxy analysis The route used to place this factory
DNZN LABS project space Identity and control mapping for every DNZN address named here
Mastering Ethereum, 2nd Edition Background on contract creation and delegatecall

Change Log

DATE AUTHOR NOTES
2026-11-27 Artificial. Generated by robots. Gas: 960 tok
2026-11-27 Denizen. Reviewed, edited, and curated by humans.