Crate gemachain_program[−][src]
Modules
The blake3
module provides functions for creating hashes.
Borsh utils
@brief The latest Gemachain BPF loader.
@brief The original and now deprecated Gemachain BPF loader.
@brief An Upgradeable Gemachain BPF loader.
Provides information about the network’s clock which is made up of ticks, slots, etc…
@brief Gemachain Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’
@brief Gemachain Rust-based BPF program entry point supported by the original and now deprecated BPFLoader. For more information see ‘./bpf_loader_deprecated.rs’
configuration for epochs, slots
Runtime features.
The hash
module provides functions for creating SHA-256 hashes.
Carats credited to this address will be removed from the total supply (burned) at the end of the current block.
Defines a composable Instruction type and a memory-efficient CompiledInstruction.
Upgradeable loader instruction definitions
@brief Gemachain Rust-based BPF program logging
A library for generating a message from a sequence of instructions
@brief Gemachain Rust-based BPF memory operations
A C representation of Rust’s std::option::Option
used accross the FFI
boundary for Gemachain program interfaces
State transition types
@brief Syscall stubs when building for programs for non-BPF targets
configuration for network rent
named accounts for synthesized data accounts for bank state, etc.
slot history
named accounts for synthesized data accounts for bank state, etc.
named accounts for synthesized data accounts for bank state, etc.
Macros
Fallback to default for unused custom heap feature.
Fallback to default for unused custom panic feature. This must be used if the entrypoint! macro is not used.
Same as declare_id
except report that this id has been deprecated
Convenience macro to declare a static public key and functions to interact with it
Declare the entry point of the program and use the default local heap implementation
Declare the entry point of the program.
Print a message to the log
Convenience macro for doing integer division where the opersation’s safety can be checked at compile-time