Module loader_v4

Source

Structs§

LoaderV4State
LoaderV4 account states

Enums§

LoaderV4Status

Constants§

DEPLOYMENT_COOLDOWN_IN_SLOTS
Cooldown before a program can be un-/redeployed again
ID
The const program ID.

Functions§

check_id
Returns true if given pubkey is the program ID.
create_bufferbincode
Returns the instructions required to initialize a program/buffer account.
deploybincode
Returns the instructions required to deploy a program.
deploy_from_sourcebincode
Returns the instructions required to deploy a program using a buffer.
finalizebincode
Returns the instructions required to finalize program.
id
Returns the program ID.
is_deploy_instruction
is_finalize_instruction
is_retract_instruction
is_set_program_length_instruction
is_transfer_authority_instruction
is_truncate_instruction
is_write_instruction
retractbincode
Returns the instructions required to retract a program.
set_program_lengthbincode
Returns the instructions required to set the length of the program account.
transfer_authoritybincode
Returns the instructions required to transfer authority over a program.
truncatebincode
Returns the instructions required to set the length of the program account.
truncate_uninitializedbincode
Returns the instructions required to set the length of the program account.
writebincode
Returns the instructions required to write a chunk of program data to a buffer account.