👎Deprecated since 2.3.0: Use solana-loader-v4-interface instead
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_
set_ program_ length_ instruction - is_
transfer_ authority_ 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.
- write
- Returns the instructions required to write a chunk of program data to a buffer account.