Skip to main content

Module initialize

Module initialize 

Source
Expand description

Initialize instruction builder.

Allocates the singleton settlement state PDA (see crate::pda::state) and the native SOL buffer (see crate::pda::buffer::find_native_sol_buffer_pda).

Structs§

Initialize
Builder for an Initialize instruction.
InitializeInput
Parsed inputs of an Initialize instruction.

Constants§

INITIALIZER
The only account allowed to fill Initialize’s payer slot, so the state’s initial authorities can only be set by a previously authorized address.
SYSTEM_PROGRAM_ID
The const program ID.