Crate gemachain_program[−][src]
Modules
Borsh utils
The latest Gemachain BPF loader.
The original and now deprecated Gemachain BPF loader.
An Upgradeable Gemachain BPF loader.
Provides information about the network’s clock which is made up of ticks, slots, etc…
Gemachain Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’
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
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
Gemachain Rust-based BPF program logging
A library for generating a message from a sequence of instructions
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
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.
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