Expand description
The v4 built-in loader program.
This is the loader of the program runtime v2.
Structs§
- Loader
V4State - LoaderV4 account states
Enums§
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_
buffer - Returns the instructions required to initialize a program/buffer account.
- deploy
- Returns the instructions required to deploy a program.
- deploy_
from_ source - Returns the instructions required to deploy a program using a buffer.
- finalize
- Returns the instructions required to finalize program.
- id
- Returns the program ID.
- is_
deploy_ instruction - is_
finalize_ instruction - is_
retract_ instruction - is_
transfer_ authority_ instruction - is_
truncate_ instruction - is_
write_ instruction - retract
- Returns the instructions required to retract a program.
- transfer_
authority - Returns the instructions required to transfer authority over a program.
- truncate
- Returns the instructions required to set the length of the program account.
- truncate_
uninitialized - Returns the instructions required to set the length of an uninitialized program account. This instruction will require the program account to also sign the transaction.
- write
- Returns the instructions required to write a chunk of program data to a buffer account.