Module storage

Source

Modules§

error

Structs§

BalanceInfo
CoinInfo
ConsensusObjectKey
DenyListResult
DynamicFieldIndexInfo
DynamicFieldKey
EpochInfo
ObjectKey
OwnedObjectInfo
PackageObject
PostExecutionPackageResolver
A BackingPackageStore that resolves packages from a backing store, but also includes any packages that were published in the current transaction execution. This can be used to resolve Move modules right after transaction execution, but newly published packages have not yet been committed to the backing store on a fullnode.
SharedInMemoryStore
SingleCheckpointSharedInMemoryStore
TrackingBackingStore
TransactionInfo

Enums§

DeleteKind
DeleteKindWithOldVersion
DeleteKind together with the old sequence number prior to the deletion, if available. For normal deletion and wrap, we always will consult the object store to obtain the old sequence number. For UnwrapThenDelete however, in the old protocol where simplified_unwrap_then_delete is false, we will consult the object store to obtain the old sequence number, which latter will be put in modified_at_versions; in the new protocol where simplified_unwrap_then_delete is true, we will not consult the object store, and hence won’t have the old sequence number.
FullObjectKey
FullObjectKey represents a unique object a specific version. For fastpath objects, this is the same as ObjectKey. For consensus objects, this includes the start version, which may change if an object is transferred out of and back into consensus.
InputKey
A potential input to a transaction.
MarkerValue
ObjectChange
ObjectOrTombstone
WriteKind

Traits§

BackingPackageStore
BackingStore
ChildObjectResolver
An abstraction of the (possibly distributed) store for objects. This API only allows for the retrieval of objects, not any state changes
ObjectStore
ParentSync
ReadStore
RpcIndexes
RpcStateReader
Trait used to provide functionality to the REST API service.
Storage
An abstraction of the (possibly distributed) store for objects, and (soon) events and transactions
StorageView
WriteStore

Functions§

get_module
get_module_by_id
get_package_objects
Returns Ok(<package object for each package id in package_ids>) if all package IDs in package_id were found. If any package in package_ids was not found it returns a list of any package ids that are unable to be found>).
get_transaction_input_objects
get_transaction_object_set
get_transaction_output_objects
load_package_object_from_object_store
transaction_non_shared_input_object_keys
Fetch the ObjectKeys (IDs and versions) for non-shared input objects. Includes owned, and immutable objects as well as the gas objects, but not move packages or shared objects.
transaction_receiving_object_keys

Type Aliases§

BalanceIterator
PackageFetchResults