Skip to content
Open app

Events

Every event the Plaza program emits, with its fields, generated from the IDL.

The program emits events through Anchor's self-CPI (emit_cpi!), so they appear as inner instructions of the Plaza program signed by the event authority, not in the logs. Decode the inner instruction data after its 8-byte tag e445a52e51cb9a1d with the event's discriminator and fields below. Plaza's indexer turns these into the rows the API serves.

AcceptanceChanged

Emitted by set_accepted.

destinationPubkey
The venue's deposit address.
acceptedVec<Pubkey>
The new list.

Discriminator [8, 171, 19, 10, 63, 244, 83, 246].

AspRegistered

Emitted by register_asp.

aspPubkey
The new Asp account.
authorityPubkey
Its authority.
namestring
Its name.
manifest_uristring
Its manifest URI.

Discriminator [122, 38, 90, 81, 56, 156, 8, 69].

Deposited

Emitted by deposit. Carries every input of the label, so anyone can recompute it.

depositorPubkey
The depositor.
mintPubkey
The mint.
amountu64
Base units.
label[u8; 32]
The label.
slotu64
The slot it executed in.
nonceu64
The deposit counter it used.
root[u8; 32]
The deposit tree's root after the append.

Discriminator [111, 141, 26, 45, 161, 35, 100, 57].

FeeChanged

Emitted by set_fee.

recipientPubkey
The new fee recipient.
fee_bpsu16
The new rate.

Discriminator [103, 252, 132, 250, 1, 49, 116, 145].

Initialized

Emitted by init.

adminPubkey
The admin key.
recipientPubkey
The fee recipient.
fee_bpsu16
The fee rate.
windowu8
The root window.

Discriminator [208, 213, 115, 98, 115, 82, 201, 209].

RagequitExecuted

Emitted by ragequit.

label[u8; 32]
The exited note's label, now public.
root[u8; 32]
The deposit-tree root proven.
nullifier[u8; 32]
The note's nullifier.
destinationPubkey
The original depositor, who was paid.
mintPubkey
The mint.
amountu64
The full amount paid.

Discriminator [111, 161, 129, 107, 22, 224, 23, 250].

RootPublished

Emitted by publish_root.

aspPubkey
The Asp account.
root[u8; 32]
The new root.
membersu32
Labels under it.
manifest_hash[u8; 32]
The manifest hash given.

Discriminator [231, 234, 14, 142, 140, 65, 122, 203].

RootsCleared

Emitted by clear_roots. Every root the ASP published before it is out of the window; the API marks them all inactive.

aspPubkey
The Asp account whose window was emptied.

Discriminator [227, 68, 190, 15, 219, 138, 38, 182].

Spent

Emitted by transact.

aspPubkey
The set proven.
root[u8; 32]
The root proven.
nullifier[u8; 32]
The spent note's nullifier.
destinationOption<Pubkey>
The withdrawal's destination; none for a private transfer.
mintOption<Pubkey>
The withdrawal's mint; none for a private transfer.
amountu64
Gross base units; 0 for a private transfer.
feeu64
The protocol fee taken.

Discriminator [43, 51, 164, 100, 191, 244, 174, 98].

VenueRegistered

Emitted by register_venue.

authorityPubkey
The venue's authority.
destinationPubkey
Its deposit address.
acceptedVec<Pubkey>
Its accepted ASPs.

Discriminator [86, 82, 191, 91, 171, 241, 178, 9].