Expand description
@brief Gemachain Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’
Structs§
- Bump
Allocator - The bump allocator used as the default rust heap when running programs.
Constants§
- HEAP_
LENGTH - Length of the heap memory region used for program heap.
- HEAP_
START_ ADDRESS - Start address of the memory region used for program heap.
- MAX_
PERMITTED_ DATA_ INCREASE - Maximum number of bytes a program may add to an account during a single realloc
- SUCCESS
- Programs indicate success with a return value of 0
Functions§
- deserialize⚠
- Deserialize the input arguments
Type Aliases§
- Process
Instruction - User implemented function to process an instruction
- Program
Result