Re-exports§
Modules§
- account
- account_
info - account_
utils - useful extras for Account state
- 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.
- builtins
- @brief Gemachain builtin helper macros
- carats
- client
- Defines traits for blocking (synchronous) and non-blocking (asynchronous) communication with a Gemachain server as well a a trait that encompasses both.
- clock
- Provides information about the network’s clock which is made up of ticks, slots, etc…
- commitment_
config - compute_
budget - config
- decode_
error - derivation_
path - deserialize_
utils - ed25519_
instruction - ed25519_
program - entrypoint
- entrypoint_
deprecated - entrypoint_
native - @brief Gemachain Native program entry point
- epoch_
info - epoch_
schedule - configuration for epochs, slots
- exit
- feature
- Methods for working with
Feature
accounts. - feature_
set - Collection of all runtime features.
- fee_
calculator - genesis_
config - The
genesis_config
module is a library for generating the chain’s genesis config. - hard_
forks - The
hard_forks
module is used to maintain the list of slot boundaries for when a hard fork should occur. - hash
- incinerator
- Carats credited to this address will be removed from the total supply (burned) at the end of the current block.
- inflation
- configuration for network inflation
- instruction
- Defines a composable Instruction type and a memory-efficient CompiledInstruction.
- keccak
- keyed_
account - 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_
loader - native_
token - nonce
- nonce_
account - nonce_
keyed_ account - packet
- poh_
config - precompiles
- @brief Gemachain precompiled programs
- process_
instruction - 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
- program_
utils - pubkey
- recent_
blockhashes_ account - rent
- configuration for network rent
- rpc_
port - sanitize
- secp256k1_
instruction - secp256k1_
program - secp256k1_
recover - serialize_
utils - short_
vec - shred_
version - signature
- The
signature
module provides functionality for public, and private keys. - signer
- 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 - system_
transaction - The
system_transaction
module provides functionality for creating system transactions. - sysvar
- named accounts for synthesized data accounts for bank state, etc.
- timing
- The
timing
module provides std::time utility functions. - transaction
- Defines a Transaction type to package an atomic sequence of instructions.
- transport
- 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_
builtin - Convenience macro to declare a builtin
- declare_
builtin_ name - 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_
name - declare_
program - Convenience macro to declare a native program
- declare_
sysvar_ id - entrypoint
Deprecated - entrypoint_
deprecated Deprecated - ic_
logger_ msg - Convenience macro to log a message with an
Rc<RefCell<dyn Logger>>
- ic_msg
- Convenience macro to log a message with an
InvokeContext
- impl_
sysvar_ get - info
Deprecated - msg
- Print a message to the log
- program_
stubs Deprecated - pubkeys
- respan
- A proc-macro which respans the tokens in its first argument (a
Path
) to be resolved at the tokens of its second argument. For internal use only. - unchecked_
div_ by_ const - Convenience macro for doing integer division where the opersation’s safety can be checked at compile-time