Modules§
- account_
info - blake3
- The
blake3
module provides functions for creating hashes. - borsh
- Borsh utils
- bpf_
loader - @brief The latest Gemachain BPF loader.
- bpf_
loader_ deprecated - @brief The original and now deprecated Gemachain BPF loader.
- bpf_
loader_ upgradeable - @brief An Upgradeable Gemachain BPF loader.
- carats
- clock
- Provides information about the network’s clock which is made up of ticks, slots, etc…
- config
- decode_
error - ed25519_
program - entrypoint
- @brief Gemachain Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’
- entrypoint_
deprecated - @brief Gemachain Rust-based BPF program entry point supported by the original and now deprecated BPFLoader. For more information see ‘./bpf_loader_deprecated.rs’
- epoch_
schedule - configuration for epochs, slots
- feature
- Runtime features.
- fee_
calculator - hash
- The
hash
module provides functions for creating SHA-256 hashes. - incinerator
- Carats credited to this address will be removed from the total supply (burned) at the end of the current block.
- instruction
- Defines a composable Instruction type and a memory-efficient CompiledInstruction.
- keccak
- loader_
instruction - loader_
upgradeable_ instruction - Upgradeable loader instruction definitions
- log
- @brief Gemachain Rust-based BPF program logging
- message
- A library for generating a message from a sequence of instructions
- native_
token - nonce
- program
- program_
error - program_
memory - @brief Gemachain Rust-based BPF memory operations
- program_
option - A C representation of Rust’s
std::option::Option
used accross the FFI boundary for Gemachain program interfaces - program_
pack - State transition types
- program_
stubs - @brief Syscall stubs when building for programs for non-BPF targets
- pubkey
- rent
- configuration for network rent
- sanitize
- secp256k1_
program - secp256k1_
recover - serialize_
utils - short_
vec - slot_
hashes - named accounts for synthesized data accounts for bank state, etc.
- slot_
history - slot history
- stake
- stake_
history - named accounts for synthesized data accounts for bank state, etc.
- system_
instruction - system_
program - sysvar
- named accounts for synthesized data accounts for bank state, etc.
- vote
Macros§
- custom_
heap_ default - Fallback to default for unused custom heap feature.
- custom_
panic_ default - Fallback to default for unused custom panic feature. This must be used if the entrypoint! macro is not used.
- declare_
deprecated_ id - Same as
declare_id
except report that this id has been deprecated - declare_
deprecated_ sysvar_ id - declare_
id - Convenience macro to declare a static public key and functions to interact with it
- declare_
sysvar_ id - entrypoint
- Declare the entry point of the program and use the default local heap implementation
- entrypoint_
deprecated - Declare the entry point of the program.
- impl_
sysvar_ get - info
Deprecated - msg
- Print a message to the log
- unchecked_
div_ by_ const - Convenience macro for doing integer division where the opersation’s safety can be checked at compile-time