Events

All events emitted by the Nullmask contract.

Note Events

NoteAdded

Emitted when a new note commitment is added to the Merkle tree.

event NoteAdded(
    uint256 indexed index,        // Position in Merkle tree
    bytes32 noteCommitment,       // Poseidon2 commitment
    bytes32[9] noteCiphertext     // Encrypted note data
);

This event is the primary mechanism for note discovery. The proxy's NotesScanner monitors these events and trial-decrypts each ciphertext.

NoteSpent

Emitted when a note nullifier is recorded (note is spent).

event NoteSpent(bytes32 indexed noteNullifier);

Shielded Action Events

ShieldedTransfer

ShieldedWithdrawal

ShieldedSwap

Deposit Events

DepositPending

Emitted when a deposit is submitted and awaiting guard approval.

Deposit

Emitted when a deposit is approved by the guard.

DepositStatusChanged

Emitted when a deposit's status changes (approved, rejected, or reverted).

Key Registry Events

ReceivingKeyRegistered

Emitted when a receiving key is registered on-chain.

Admin Events

TokenWhitelistUpdated

WhitelistManagerUpdated

Last updated