Skip to content

sgns::runtime::binaryen

Classes

Name
class sgns::runtime::binaryen::WasmModule
class sgns::runtime::binaryen::WasmModuleFactory
class sgns::runtime::binaryen::WasmModuleFactoryImpl
class sgns::runtime::binaryen::WasmModuleImpl
class sgns::runtime::binaryen::WasmModuleInstance
class sgns::runtime::binaryen::WasmModuleInstanceImpl
class sgns::runtime::binaryen::BlockBuilderImpl
class sgns::runtime::binaryen::CoreFactoryImpl
class sgns::runtime::binaryen::CoreImpl
class sgns::runtime::binaryen::FinalityApiImpl
class sgns::runtime::binaryen::MetadataImpl
class sgns::runtime::binaryen::OffchainWorkerImpl
class sgns::runtime::binaryen::ParachainHostImpl
class sgns::runtime::binaryen::ProductionApiImpl
class sgns::runtime::binaryen::RuntimeApi
base class for all runtime apis
class sgns::runtime::binaryen::TaggedTransactionQueueImpl
class sgns::runtime::binaryen::RuntimeEnvironment
class sgns::runtime::binaryen::RuntimeExternalInterface
class sgns::runtime::binaryen::RuntimeManager
RuntimeManager is a mechanism to prepare environment for launching execute() function of runtime APIs. It supports in-memory cache to reuse existing environments, avoid hi-load operations.
class sgns::runtime::binaryen::WasmExecutor
WasmExecutor is the helper to execute export functions from wasm runtime.
class sgns::runtime::binaryen::WasmMemoryImpl
class sgns::runtime::binaryen::Buffer
Class represents arbitrary (including empty) byte buffer.
struct sgns::runtime::binaryen::Block
Block primitive consisting of a header and extrinsics.
struct sgns::runtime::binaryen::BlockHeader
Header of a block in the chain.
struct sgns::runtime::binaryen::CheckInherentsResult
result of check_inherents method of BlockBuilder runtime api
struct sgns::runtime::binaryen::Extrinsic
Extrinsic class represents extrinsic.
struct sgns::runtime::binaryen::InherentData
struct sgns::runtime::binaryen::AuthorityId
struct sgns::runtime::binaryen::Version
struct sgns::runtime::binaryen::Authority
struct sgns::runtime::binaryen::ForcedChange
struct sgns::runtime::binaryen::ScheduledChange

Types

Name
using std::vector< DigestItem > Digest
using base::Blob< 32 > SessionKey
using std::vector< uint8_t > OpaqueMetadata
using std::vector< Chain > DutyRoster
DutyRoster primitive.
using uint32_t ParaId
ParachainId primitive is an uint32_t.
using base::Blob< 32 > ValidatorId
ValidatorId primitive is an ed25519 or sr25519 public key.
using boost::variant< ValidTransaction, TransactionValidityError > TransactionValidity

Attributes

Name
const wasm::Name env
const wasm::Name ext_malloc
const wasm::Name ext_free
const wasm::Name ext_clear_prefix
const wasm::Name ext_clear_storage
const wasm::Name ext_exists_storage
const wasm::Name ext_get_allocated_storage
const wasm::Name ext_get_storage_into
const wasm::Name ext_set_storage
const wasm::Name ext_storage_read_version_1
const wasm::Name ext_blake2_256_enumerated_trie_root
const wasm::Name ext_storage_changes_root
const wasm::Name ext_storage_root
const wasm::Name ext_child_storage_root
const wasm::Name ext_clear_child_storage
const wasm::Name ext_exists_child_storage
const wasm::Name ext_get_allocated_child_storage
const wasm::Name ext_get_child_storage_into
const wasm::Name ext_kill_child_storage
const wasm::Name ext_set_child_storage
const wasm::Name ext_print_hex
const wasm::Name ext_logging_log_version_1
const wasm::Name ext_print_num
const wasm::Name ext_print_utf8
const wasm::Name ext_blake2_128
const wasm::Name ext_blake2_256
const wasm::Name ext_keccak_256
const wasm::Name ext_ed25519_verify
const wasm::Name ext_sr25519_verify
const wasm::Name ext_twox_64
const wasm::Name ext_twox_128
const wasm::Name ext_twox_256
const wasm::Name ext_ed25519_public_keys_v1
const wasm::Name ext_ed25519_generate_v1
const wasm::Name ext_ed25519_sign_v1
const wasm::Name ext_ed25519_verify_v1
const wasm::Name ext_sr25519_public_keys_v1
const wasm::Name ext_sr25519_generate_v1
const wasm::Name ext_sr25519_sign_v1
const wasm::Name ext_sr25519_verify_v2
const wasm::Name ext_secp256k1_ecdsa_recover_v1
const wasm::Name ext_secp256k1_ecdsa_recover_compressed_v1
const wasm::Name ext_chain_id

Types Documentation

using Digest

using sgns::primitives::Digest = std::vector<DigestItem>;

Digest is an implementation- and usage-defined entity, for example, information, needed to verify the block

using SessionKey

using sgns::primitives::SessionKey = base::Blob<32>;

using OpaqueMetadata

using sgns::primitives::OpaqueMetadata = std::vector<uint8_t>;

SuperGenius primitive, which is opaque representation of RuntimeMetadata

using DutyRoster

using sgns::primitives::parachain::DutyRoster = std::vector<Chain>;

DutyRoster primitive.

using ParaId

using sgns::primitives::parachain::ParaId = uint32_t;

ParachainId primitive is an uint32_t.

using ValidatorId

using sgns::primitives::parachain::ValidatorId = base::Blob<32>;

ValidatorId primitive is an ed25519 or sr25519 public key.

using TransactionValidity

using sgns::primitives::TransactionValidity = 
boost::variant<ValidTransaction, TransactionValidityError>;

Information on a transaction's validity and, if valid, on how it relate to other transactions.

Attributes Documentation

variable env

static const wasm::Name env = "env";

variable ext_malloc

static const wasm::Name ext_malloc = "ext_malloc";

variable ext_free

static const wasm::Name ext_free = "ext_free";

variable ext_clear_prefix

static const wasm::Name ext_clear_prefix = "ext_clear_prefix";

variable ext_clear_storage

static const wasm::Name ext_clear_storage = "ext_clear_storage";

variable ext_exists_storage

static const wasm::Name ext_exists_storage = "ext_exists_storage";

variable ext_get_allocated_storage

static const wasm::Name ext_get_allocated_storage                                               =
"ext_get_allocated_storage";

variable ext_get_storage_into

static const wasm::Name ext_get_storage_into = "ext_get_storage_into";

variable ext_set_storage

static const wasm::Name ext_set_storage = "ext_set_storage";

variable ext_storage_read_version_1

static const wasm::Name ext_storage_read_version_1                                                =
"ext_storage_read_version_1";

variable ext_blake2_256_enumerated_trie_root

static const wasm::Name ext_blake2_256_enumerated_trie_root                                                         =
"ext_blake2_256_enumerated_trie_root";

variable ext_storage_changes_root

static const wasm::Name ext_storage_changes_root = "ext_storage_changes_root";

variable ext_storage_root

static const wasm::Name ext_storage_root = "ext_storage_root";

variable ext_child_storage_root

static const wasm::Name ext_child_storage_root = "ext_child_storage_root";

variable ext_clear_child_storage

static const wasm::Name ext_clear_child_storage = "ext_clear_child_storage";

variable ext_exists_child_storage

static const wasm::Name ext_exists_child_storage = "ext_exists_child_storage";

variable ext_get_allocated_child_storage

static const wasm::Name ext_get_allocated_child_storage                                                     =
"ext_get_allocated_child_storage";

variable ext_get_child_storage_into

static const wasm::Name ext_get_child_storage_into                                                =
"ext_get_child_storage_into";

variable ext_kill_child_storage

static const wasm::Name ext_kill_child_storage = "ext_kill_child_storage";

variable ext_set_child_storage

static const wasm::Name ext_set_child_storage = "ext_set_child_storage";

variable ext_print_hex

static const wasm::Name ext_print_hex = "ext_print_hex";

variable ext_logging_log_version_1

static const wasm::Name ext_logging_log_version_1                                               =
"ext_logging_log_version_1";

variable ext_print_num

static const wasm::Name ext_print_num = "ext_print_num";

variable ext_print_utf8

static const wasm::Name ext_print_utf8 = "ext_print_utf8";

variable ext_blake2_128

static const wasm::Name ext_blake2_128 = "ext_blake2_128";

variable ext_blake2_256

static const wasm::Name ext_blake2_256 = "ext_blake2_256";

variable ext_keccak_256

static const wasm::Name ext_keccak_256 = "ext_keccak_256";

variable ext_ed25519_verify

static const wasm::Name ext_ed25519_verify = "ext_ed25519_verify";

variable ext_sr25519_verify

static const wasm::Name ext_sr25519_verify = "ext_sr25519_verify";

variable ext_twox_64

static const wasm::Name ext_twox_64 = "ext_twox_64";

variable ext_twox_128

static const wasm::Name ext_twox_128 = "ext_twox_128";

variable ext_twox_256

static const wasm::Name ext_twox_256 = "ext_twox_256";

variable ext_ed25519_public_keys_v1

static const wasm::Name ext_ed25519_public_keys_v1                                                =
"ext_crypto_ed25519_public_keys_version_1";

variable ext_ed25519_generate_v1

static const wasm::Name ext_ed25519_generate_v1                                             =
"ext_crypto_ed25519_generate_version_1";

variable ext_ed25519_sign_v1

static const wasm::Name ext_ed25519_sign_v1                                         =
"ext_crypto_ed25519_sign_version_1";

variable ext_ed25519_verify_v1

static const wasm::Name ext_ed25519_verify_v1                                           =
"ext_crypto_ed25519_verify_version_1";

variable ext_sr25519_public_keys_v1

static const wasm::Name ext_sr25519_public_keys_v1                                                =
"ext_crypto_sr25519_public_keys_version_1";

variable ext_sr25519_generate_v1

static const wasm::Name ext_sr25519_generate_v1                                             =
"ext_crypto_sr25519_generate_version_1";

variable ext_sr25519_sign_v1

static const wasm::Name ext_sr25519_sign_v1                                         =
"ext_crypto_sr25519_sign_version_1";

variable ext_sr25519_verify_v2

static const wasm::Name ext_sr25519_verify_v2                                           =
"ext_crypto_sr25519_verify_version_2";

variable ext_secp256k1_ecdsa_recover_v1

static const wasm::Name ext_secp256k1_ecdsa_recover_v1                                                    =
"ext_crypto_secp256k1_ecdsa_recover_version_1";

variable ext_secp256k1_ecdsa_recover_compressed_v1

static const wasm::Name ext_secp256k1_ecdsa_recover_compressed_v1                                                               =
"ext_crypto_secp256k1_ecdsa_recover_compressed_version_1";

variable ext_chain_id

static const wasm::Name ext_chain_id = "ext_chain_id";

Updated on 2026-03-04 at 13:10:43 -0800