Skip to content

Functions

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

Every function below runs in a clone's storage context, by Delegatecall from the clone. Revert results quoted in this page were produced with cast call against the DNZN clone 0xB611Ff19...4D5199 (etherscan) at block 26,508,644 (etherscan); the commands are in the methodology.


Function Selectors

SELECTOR FUNCTION SIGNATURE CATEGORY
0x63453ae1 distribute(address) User
0x48b75044 release(address,address) User
0x21c0b342 claim(address,address) User
0xcb313c17 applyQueued(bytes,uint32) User
0x79ba5097 acceptOwnership() User
0x0906e647 init(address,uint32,string,(address,uint96,string,string)[]) Admin (factory)
0x37558af5 propose(bytes) Admin (owner)
0xc4d252f5 cancel(bytes32) Admin (owner; anyone once expired)
0x8868f490 setBeneficiaries((address,uint96,string,string)[]) Admin (self-call)
0x90c3f38f setDescription(string) Admin (self-call)
0x10348665 setDelay(uint32) Admin (self-call)
0xf2fde38b transferOwnership(address) Admin (self-call)
0x9711715a snapshot() View
0x1d29bd5a beneficiaries() View
0xea70b4af pendingCount() View
0x8da5cb5b owner() View
0x6a42b8f8 delay() View
0xaffed0e0 nonce() View
0xe30c3978 pendingOwner() View
0x7284e416 description() View
0x228250c9 queued(bytes32) View
0xda9425e2 reserved(address) View
0x13126902 escrowed(address,address) View
0x137d29d9 GRACE() View
0x2348dd18 MAX_BENEFICIARIES() View

All 25 selectors appear in the runtime dispatcher. A call with empty Calldata goes to receive; any other call that matches no selector reverts with empty data. There is no fallback.

Custom errors:

SELECTOR ERROR
0x30cd7471 NotOwner()
0x40da0647 BadTable()
0x5a997526 NotReady(uint256 eta)
0x5c52a868 NothingToDo()
0x0f2e5b6c Locked()
0x82b42900 Unauthorized()
0xca0b64e5 ReleaseFailed(address token)
0xf80dbaea Expired(uint256 eta)

Summary

CATEGORY COUNT
Total Functions 25
User Functions 5
Admin Functions 7
View Functions 13

The receive function is documented with the user functions but not counted. Private helpers, which are not callable from outside:

HELPER ROLE
_set(table_) Validates and stores a table: 1 to 107 rows, every share in Basis Points (bps) above zero, accounts strictly ascending, total 10,000
_push(token, to, amount, keepData) One payment. ETH by a call capped at 100,000 gas; ERC-20 by transfer with return-value check
_balance(token) ETH balance, or balanceOf(this) by staticcall; a token address with no code fails to decode and reverts
_selfCall(action) address(this).call(action), bubbling any revert
_remove(hash) Swap-and-pop removal from the pending list
_clearQueue() Drops every pending action, newest first, emitting Cancelled for each
_bubble(data) Re-raises revert data unchanged

User Functions

Function: distribute(address token)

Splits the clone's balance of token (or ETH when token is address(0)), less what is already escrowed, across the beneficiary table. A share that cannot be pushed is escrowed for its account.

ATTRIBUTE VALUE
Selector 0x63453ae1
Parameters token — ERC-20 address, or address(0) for ETH
Access External, anyone. Takes the reentrancy lock
Events Escrowed(token, account, amount) per failed push; Distributed(token, amount)
FLAG OBSERVATION
☑ A failed push is escrowed rather than reverting the call, so one beneficiary cannot block the rest. Simulated with the treasury's code replaced by PUSH0 PUSH0 REVERT: its 0.2 ETH was escrowed and the other two rows were paid
☑ Escrowed value is excluded from amount, so a later distribution cannot pay it out again
☑ The ETH push copies no return data, so a recipient returning a large revert payload costs the loop only the gas cap
☑ A beneficiary that re-enters distribute or applyQueued from its push gets Locked(), which was simulated for both
◇ The last row takes the rounding remainder. Rows are stored in ascending address order, so the remainder always goes to the highest address
◇ Anyone can call it, at any time, for any token address. The caller chooses when beneficiaries are paid and which token is split
◇ USDT (etherscan), which returns no value from transfer, and USDC (etherscan) were both distributed successfully in simulation
△ A token whose balance can fall below reserved[token] makes the subtraction underflow and the call revert (Low risk)
CONDITION REQUIREMENT
Lock free locked == false
Something to split _balance(token) - reserved[token] > 0
Token readable balanceOf(this) succeeds and returns at least one word
STEP ACTION
1 Set the transient lock
2 amount = _balance(token) - reserved[token]
3 For each row i: share = bps × amount / 10,000, or amount - paid for the last row
4 _push(token, account, share, false); on failure add share to escrowed[token][account] and reserved[token]
5 Emit Distributed(token, amount) and clear the lock
VARIABLE CHANGE
escrowed[token][account] += share for each failed push
reserved[token] += share for each failed push
locked (transient) Set for the duration of the call
CONDITION REVERT MESSAGE
Re-entered during another money path Locked()
Nothing beyond reserved NothingToDo() (confirmed for ETH and USDC on the empty DNZN clone)
token has no code Empty revert data from the failed decode (confirmed with an Externally Owned Account (EOA) address as token)
balanceOf reverts The token's revert data
Balance below reserved[token] Arithmetic underflow panic
function distribute(address token) external nonReentrant {
    uint256 amount = _balance(token) - reserved[token];
    if (amount == 0) revert NothingToDo();

    uint256 n = _table.length;
    uint256 paid;
    for (uint256 i; i < n; ++i) {
        Beneficiary storage b = _table[i];
        // The last row takes the remainder, so the shares always sum to `amount`.
        uint256 share = i + 1 == n ? amount - paid : (uint256(b.bps) * amount) / BPS_TOTAL;
        paid += share;
        address account = b.account;
        (bool ok,) = _push(token, account, share, false);
        if (!ok) {
            escrowed[token][account] += share;
            reserved[token] += share;
            emit Escrowed(token, account, share);
        }
    }
    emit Distributed(token, amount);
}

function _push(address token, address to, uint256 amount, bool keepData)
    private
    returns (bool ok, bytes memory data)
{
    if (token == address(0)) {
        if (keepData) {
            (ok, data) = to.call{value: amount, gas: PUSH_GAS}("");
        } else {
            uint256 gasCap = PUSH_GAS;
            assembly ("memory-safe") {
                ok := call(gasCap, to, amount, 0, 0, 0, 0)
            }
        }
        return (ok, data);
    }
    (ok, data) = token.call(abi.encodeWithSelector(TRANSFER, to, amount));
    ok = ok && (data.length == 0 || (data.length >= 32 && abi.decode(data, (uint256)) == 1));
}

Function: release(address token, address account)

Retries the escrowed amount for one account, sending it to that account. Anyone can call it. If the retry fails the whole call reverts and the escrow stays.

ATTRIBUTE VALUE
Selector 0x48b75044
Parameters token — ERC-20 or address(0); account — the escrowed beneficiary
Access External, anyone. Takes the reentrancy lock
Events Released(token, account, amount)
FLAG OBSERVATION
☑ Funds can only go to account. A third party calling it can trigger delivery but not divert it
◇ Uses the same 100,000-gas cap for ETH as distribute, so an account that failed for lack of gas will fail again here; claim is the way out for such an account
◇ A failure with a reason longer than one word bubbles that reason; anything shorter becomes ReleaseFailed(token)
CONDITION REQUIREMENT
Lock free locked == false
Escrow exists escrowed[token][account] > 0
VARIABLE CHANGE
escrowed[token][account] Set to 0
reserved[token] -= amount
CONDITION REVERT MESSAGE
Nothing escrowed NothingToDo() (confirmed)
Push fails with ≤ 32 bytes of data ReleaseFailed(token) (confirmed with a reverting treasury)
Push fails with a longer reason The recipient's or token's revert data
Re-entered Locked()
function release(address token, address account) external nonReentrant {
    uint256 amount = escrowed[token][account];
    if (amount == 0) revert NothingToDo();

    escrowed[token][account] = 0;
    reserved[token] -= amount;
    (bool ok, bytes memory data) = _push(token, account, amount, true);
    if (!ok) {
        if (data.length <= 32) revert ReleaseFailed(token);
        _bubble(data);
    }
    emit Released(token, account, amount);
}

Function: claim(address token, address to)

The escrowed account takes its own escrow and sends it to to. ETH is sent with all remaining gas rather than the push cap.

ATTRIBUTE VALUE
Selector 0x21c0b342
Parameters token — ERC-20 or address(0); to — destination, not validated
Access External. Moves only msg.sender's own escrow. Takes the reentrancy lock
Events Claimed(token, account, to, amount)
FLAG OBSERVATION
☑ Only the escrowed account can move its escrow, and the owner has no equivalent
◇ to can be any address, so an account whose own address cannot receive can still be paid elsewhere. Simulated: the treasury claimed 0.2 ETH to dxnzn.wei
△ Requires the account to make a call. A contract beneficiary that can neither receive under 100,000 gas nor call claim has no way to collect (Low risk)
CONDITION REVERT MESSAGE
Caller has no escrow for token NothingToDo() (confirmed)
Send fails with ≤ 32 bytes of data ReleaseFailed(token)
Send fails with a longer reason The recipient's or token's revert data
Re-entered Locked()
function claim(address token, address to) external nonReentrant {
    uint256 amount = escrowed[token][msg.sender];
    if (amount == 0) revert NothingToDo();

    escrowed[token][msg.sender] = 0;
    reserved[token] -= amount;
    bool ok;
    bytes memory data;
    if (token == address(0)) (ok, data) = to.call{value: amount}("");
    else (ok, data) = _push(token, to, amount, true);
    if (!ok) {
        if (data.length <= 32) revert ReleaseFailed(token);
        _bubble(data);
    }
    emit Claimed(token, msg.sender, to, amount);
}

Function: applyQueued(bytes action, uint32 nonce_)

Runs a queued configuration change from its eta until GRACE (14 days) after it, both ends inclusive. Anyone can call it.

ATTRIBUTE VALUE
Selector 0xcb313c17
Parameters action — the exact calldata that was proposed; nonce_ — the nonce it was proposed under
Access External, anyone. Refused while the lock is held
Events Applied(hash), plus whatever the self-call emits
FLAG OBSERVATION
◇ Applying is permissionless. Once an action matures, the owner's only way to stop it is cancel before someone applies it
☑ An action expires 14 days after its eta. Simulated: matured one day earlier it applied; matured 15 days earlier it reverted Expired
☑ If the self-call reverts, the whole call reverts and the action stays queued for a retry
☑ Refused during a payout, so a beneficiary cannot apply a table change between two rows
CONDITION REQUIREMENT
Lock free locked == false
Queued and matured queued[hash] != 0 && block.timestamp >= queued[hash]
Not expired block.timestamp <= queued[hash] + 14 days
STEP ACTION
1 hash = keccak256(abi.encode(action, nonce_))
2 Check the window
3 Delete queued[hash] and remove the entry from _pending
4 address(this).call(action); bubble any revert
5 Emit Applied(hash)
CONDITION REVERT MESSAGE
Not queued NotReady(0) (confirmed)
Before eta NotReady(eta) (confirmed with a state override)
After eta + 14 days Expired(eta) (confirmed with a state override)
Lock held Locked() (confirmed from inside a push)
The action itself reverts The action's revert data
function applyQueued(bytes calldata action, uint32 nonce_) external notLocked {
    bytes32 hash = keccak256(abi.encode(action, nonce_));
    uint256 eta = queued[hash];
    if (eta == 0 || block.timestamp < eta) revert NotReady(eta);
    if (block.timestamp > eta + GRACE) revert Expired(eta);

    delete queued[hash];
    _remove(hash);
    _selfCall(action);
    emit Applied(hash);
}

Function: acceptOwnership()

Completes an ownership handover. The nominee becomes owner, the nomination is cleared, and every action the previous owner queued is dropped.

ATTRIBUTE VALUE
Selector 0x79ba5097
Parameters None
Access External, pendingOwner only
Events OwnershipTransferred(previousOwner, newOwner); Cancelled(hash) per dropped action
FLAG OBSERVATION
☑ A wrong nomination transfers nothing unless the nominated address calls acceptOwnership
☑ Clearing the queue stops the previous owner's pending changes from landing under the new owner
△ A nomination has no expiry, and withdrawing it is itself a timelocked action, during which the nominee can still accept (Low risk)
CONDITION REVERT MESSAGE
Caller is not pendingOwner Unauthorized() (confirmed; with pendingOwner overridden to the caller the call succeeded)
function acceptOwnership() external {
    if (msg.sender != pendingOwner) revert Unauthorized();

    emit OwnershipTransferred(owner, msg.sender);
    owner = msg.sender;
    pendingOwner = address(0);
    _clearQueue();
}

Function: receive()

Accepts plain ETH at a clone and logs it. At the implementation itself it reverts.

ATTRIBUTE VALUE
Selector None — runs on a call with empty calldata
Access External, payable, anyone
Events Received(from, amount)
FLAG OBSERVATION
☑ address(this) == self holds only at the implementation, so the implementation refuses ETH while clones accept it (both confirmed)
△ The NatSpec says it "must run under a 2,300-gas transfer stipend". A stipend send to the clone failed in simulation while the implementation was cold, and succeeded once it was warmed (Low risk)
receive() external payable {
    if (address(this) == self) revert Unauthorized();
    emit Received(msg.sender, msg.value);
}

Admin Functions

Function: init(address owner_, uint32 delay_, string description_, Beneficiary[] table_)

Sets a clone's owner, delay, description and table. Called once, by the factory, in the same transaction that creates the clone. Covered in detail in the factory analysis.

ATTRIBUTE VALUE
Selector 0x0906e647
Access External, payable. msg.sender == factory and the table must be empty
Events Received(address(0), balance) if the clone already holds ETH
FLAG OBSERVATION
☑ The empty-table check makes it one-shot: _set cannot store an empty table, so after the first init the check always fails
☑ The implementation itself can never be initialised, because the factory only calls init on the clone it just created
◇ owner_ and delay_ are not validated
CONDITION REVERT MESSAGE
Caller is not the factory, or already initialised Unauthorized() (confirmed from the factory address on the existing clone)
Table invalid BadTable()
function init(address owner_, uint32 delay_, string calldata description_, Beneficiary[] calldata table_)
    external
    payable
{
    if (msg.sender != factory || _table.length != 0) revert Unauthorized();
    owner = owner_;
    delay = delay_;
    description = description_;
    _set(table_);
    if (address(this).balance != 0) emit Received(address(0), address(this).balance);
}

Function: propose(bytes action)

Queues a configuration change, or runs it immediately when the delay is zero. Returns the action's hash.

ATTRIBUTE VALUE
Selector 0x37558af5
Parameters action — calldata for one of the onlySelf functions
Access External, owner only. Refused while the lock is held
Returns bytes32 hash = keccak256(abi.encode(action, nonce))
Events Queued(hash, nonce, eta, action); with zero delay also Applied(hash)
FLAG OBSERVATION
☑ The full calldata is emitted and stored, so anyone can decode exactly what is queued from the event or from snapshot()
☑ The nonce in the hash lets the same action be queued more than once without collision
△ With delay == 0 the change happens in the same transaction, with no window for anyone to react. The factory permits a zero delay; the DNZN clone uses 604,800 seconds
◇ action is not restricted to the four setters. Any call the clone can make to itself is accepted; a call to propose or init this way reverts on its own access check
CONDITION REQUIREMENT
Owner msg.sender == owner
Lock free locked == false
VARIABLE CHANGE
nonce +1
queued[hash] block.timestamp + delay (non-zero delay)
_pending, _pendingIndex[hash] Entry appended (non-zero delay)
CONDITION REVERT MESSAGE
Not the owner NotOwner() (confirmed)
Lock held Locked()
Zero delay and the action reverts The action's revert data
function propose(bytes calldata action) external notLocked returns (bytes32 hash) {
    if (msg.sender != owner) revert NotOwner();

    uint32 n = ++nonce;
    hash = keccak256(abi.encode(action, n));
    uint32 d = delay;
    if (d == 0) {
        emit Queued(hash, n, block.timestamp, action);
        _selfCall(action);
        emit Applied(hash);
    } else {
        uint256 eta = block.timestamp + d;
        queued[hash] = eta;
        _pendingIndex[hash] = _pending.length + 1;
        _pending.push(Pending({hash: hash, eta: eta, action: action}));
        emit Queued(hash, n, eta, action);
    }
}
sequenceDiagram
    participant O as Owner
    participant C as Clone
    participant A as Anyone
    O->>C: propose(setBeneficiaries(...))
    C-->>C: queued[hash] = now + delay
    Note over C: Queued(hash, nonce, eta, action)
    alt owner changes its mind
        O->>C: cancel(hash)
        Note over C: Cancelled(hash)
    else eta ≤ now ≤ eta + 14 days
        A->>C: applyQueued(action, nonce)
        C->>C: setBeneficiaries(...) as self
        Note over C: Applied(hash)
    else now > eta + 14 days
        A->>C: cancel(hash)
        Note over C: expired entry dropped
    end

Function: cancel(bytes32 hash)

Drops a queued action immediately. The owner can cancel any queued action; anyone can cancel one that has expired.

ATTRIBUTE VALUE
Selector 0xc4d252f5
Parameters hash — the queued action's hash
Access External. Owner, or anyone when block.timestamp > eta + 14 days
Events Cancelled(hash)
FLAG OBSERVATION
☑ Cancelling is never delayed. The owner can cancel until the action is applied; after its eta, cancelling races anyone who applies it
☑ Expired entries can be cleaned up even after a renounce. Simulated: a non-owner was refused on an entry matured one day earlier and succeeded on one past its grace window
CONDITION REVERT MESSAGE
Non-owner, entry missing or not expired NotOwner() (confirmed)
Owner, entry missing NothingToDo() (confirmed)
function cancel(bytes32 hash) external {
    uint256 eta = queued[hash];
    if (msg.sender != owner && (eta == 0 || block.timestamp <= eta + GRACE)) revert NotOwner();
    if (eta == 0) revert NothingToDo();

    delete queued[hash];
    _remove(hash);
    emit Cancelled(hash);
}

Function: setBeneficiaries(Beneficiary[] table_)

Replaces the whole beneficiary table. Reachable only as a self-call through the timelock.

ATTRIBUTE VALUE
Selector 0x8868f490
Parameters table_ — array of {account, bps, name, note}
Access onlySelf
FLAG OBSERVATION
△ Applies to all future distributions and to anything held but not yet distributed when it lands (Medium risk)
☑ Leaves escrowed and reserved untouched, so escrow already owed to a removed beneficiary stays theirs
◇ name and note are free text chosen by the owner, with no length limit
CONDITION REQUIREMENT
Caller msg.sender == address(this)
Row count 1 to 107
Each row bps > 0 and account greater than the previous row's
Total Sum of bps equals 10,000
CONDITION REVERT MESSAGE
Called directly Unauthorized() (confirmed with the owner as sender)
Table invalid BadTable()
function setBeneficiaries(Beneficiary[] calldata table_) external onlySelf {
    _set(table_);
}

function _set(Beneficiary[] calldata table_) private {
    uint256 n = table_.length;
    if (n == 0 || n > MAX_BENEFICIARIES) revert BadTable();

    delete _table;
    uint256 sum;
    address prev;
    for (uint256 i; i < n; ++i) {
        Beneficiary calldata b = table_[i];
        if (b.bps == 0 || b.account <= prev) revert BadTable();
        prev = b.account;
        sum += b.bps;
        _table.push(b);
    }
    if (sum != BPS_TOTAL) revert BadTable();
}

Function: setDelay(uint32 delay_)

Changes the timelock delay for every proposal made afterwards. Actions already queued keep their eta.

ATTRIBUTE VALUE
Selector 0x10348665
Parameters delay_ — seconds, any uint32 value
Access onlySelf
FLAG OBSERVATION
△ No lower bound. Lowering the delay to zero takes one full current delay, after which changes are immediate
◇ No upper bound below about 136 years (2^32 - 1 seconds). A very large delay would freeze configuration, including the delay itself
CONDITION REVERT MESSAGE
Called directly Unauthorized() (confirmed with the owner as sender)
function setDelay(uint32 delay_) external onlySelf {
    delay = delay_;
}

Function: setDescription(string description_)

Replaces the clone's description text. Reachable only through the timelock.

ATTRIBUTE VALUE
Selector 0x90c3f38f
Access onlySelf
function setDescription(string calldata description_) external onlySelf {
    description = description_;
}

Function: transferOwnership(address owner_)

Nominates a new owner, withdraws a nomination, or renounces. Reachable only through the timelock.

ATTRIBUTE VALUE
Selector 0xf2fde38b
Parameters owner_ — nominee; the current owner to withdraw; address(0) to renounce
Access onlySelf
Events On renounce: OwnershipTransferred(owner, address(0)) and Cancelled(hash) per dropped action
FLAG OBSERVATION
☑ A renounce clears the nomination and the queue, leaving the configuration fixed for good. distribute, release and claim keep working without an owner
◇ A nomination emits no event of its own; it is visible in the Queued calldata and in pendingOwner()
△ Withdrawing a nomination goes through the same delay as making one (Low risk)
CONDITION REVERT MESSAGE
Called directly Unauthorized() (confirmed with the owner as sender)
function transferOwnership(address owner_) external onlySelf {
    if (owner_ == address(0)) {
        emit OwnershipTransferred(owner, address(0));
        owner = address(0);
        pendingOwner = address(0);
        _clearQueue();
        return;
    }
    pendingOwner = owner_ == owner ? address(0) : owner_;
}

View Functions

Function: snapshot()

Returns the owner, delay, nonce, description, full table and full pending list in one call. The DNZN clone's values are in the getter table below and in the artifacts.

ATTRIBUTE VALUE
Selector 0x9711715a
Returns Snapshot{owner, delay, nonce, description, table, pending}
FLAG OBSERVATION
☑ The pending list includes each action's calldata and eta, so a reader can see every queued change without scanning logs
◇ Does not include pendingOwner, reserved or escrowed, which must be read separately
function snapshot() external view returns (Snapshot memory) {
    return Snapshot({
        owner: owner, delay: delay, nonce: nonce, description: description, table: _table, pending: _pending
    });
}

Function: beneficiaries() and pendingCount()

beneficiaries() returns the table alone; pendingCount() returns the length of the pending list. The DNZN clone returns three rows and 0.

ATTRIBUTE VALUE
Selectors 0x1d29bd5a, 0xea70b4af
function beneficiaries() external view returns (Beneficiary[] memory) {
    return _table;
}

function pendingCount() external view returns (uint256) {
    return _pending.length;
}

Public State Getters

Compiler-generated getters for public state and constants.

GETTER RETURNS DNZN CLONE
owner() Current owner 0x00c0e887...1F3790 (etherscan)
delay() Timelock delay in seconds 604,800
nonce() Number of proposals ever made 0
pendingOwner() Current nominee, or zero address(0)
description() Description text DNZN // FUND DISTRIBUTION
queued(bytes32) Eta of a queued hash, or 0 —
reserved(address) Total escrowed for a token 0 for ETH
escrowed(address,address) Escrow for one token and account —
GRACE() 1,209,600 (14 days) Constant
MAX_BENEFICIARIES() 107 Constant
uint256 public constant GRACE = 14 days;
uint256 public constant MAX_BENEFICIARIES = 107;

address public owner;
uint32 public delay;
uint32 public nonce;
address public pendingOwner;
string public description;

mapping(bytes32 => uint256) public queued;
mapping(address => uint256) public reserved;
mapping(address => mapping(address => uint256)) public escrowed;