Crate gemachain_sdk

Source

Re-exports§

pub extern crate bs58;
pub use signer::signers;

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
entrypointDeprecated
entrypoint_deprecatedDeprecated
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
infoDeprecated
msg
Print a message to the log
program_stubsDeprecated
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