Skip to main content

Module state

Module state 

Source

Modules§

account
whitelist_entry

Enums§

AccountState
Init state of the singleton whitelist account (the config PDA). Unlike an entry, the config has no approval lifecycle — it is simply live or not.
EntryState
Lifecycle state of a whitelist entry: a request is created Pending and promoted to Approved by the authority (the deploy gate checks Approved).

Traits§

Initializable
Trait to represent a type that can be initialized.
SizeOf
Trait for types that have a fixed, known size

Functions§

load
Load a reference for an initialized T from the given bytes
load_mut
Load a mutable reference for an initialized T from the given bytes
load_mut_unchecked
Load a mutable reference without checking if the data is initialized
load_unchecked
Load a reference without checking if the data is initialized