Module thread_program

Source
Expand description

Program for creating transaction threads on Solana.

Functions§

get_crate_info
Return the crate information via sol_set_return_data/sol_get_return_data
thread_create
Creates a new transaction thread.
thread_delete
Closes an existing thread account and returns the lamports to the owner.
thread_exec
Executes the next instruction on thread.
thread_instruction_add
Appends a new instruction to the thread’s instruction set.
thread_instruction_remove
Removes an instruction to the thread’s instruction set at the provied index.
thread_kickoff
Kicks off a thread if its trigger condition is active.
thread_pause
Pauses an active thread.
thread_reset
Resets a thread’s next instruction.
thread_resume
Resumes a paused thread.
thread_update
Allows an owner to update the mutable properties of a thread.
thread_withdraw
Allows an owner to withdraw from a thread’s lamport balance.