Module linera_sdk::linera_base_types

source ·
Expand description

Types reexported from linera_base.

Structs§

  • A system account.
  • The public key of a chain owner. The corresponding private key is allowed to propose blocks on the chain and transfer account’s tokens.
  • The private key of a chain owner.
  • The signature of a chain owner.
  • A non-negative amount of tokens.
  • A unique identifier for a user application.
  • Permissions for applications on a chain.
  • A blob of binary data, with its hash.
  • A blob of binary data.
  • A content-addressed blob ID i.e. the hash of the BlobContent.
  • A block height to identify blocks in a chain.
  • A WebAssembly module’s bytecode.
  • A unique identifier for an application bytecode.
  • The unique identifier (UID) of a chain. This is currently computed as the hash value of a ChainDescription.
  • Represents the owner(s) of a chain.
  • A channel name together with its application ID.
  • The name of a subscription channel.
  • A compressed WebAssembly module’s bytecode.
  • A Keccak256 value.
  • A vector of cryptographic hashes. This is used to represent a hash of a list of hashes.
  • An event recorded in an executed block.
  • An event identifier.
  • The index of a message in a chain.
  • The owner of a chain. This is currently the hash of the owner’s public key used to verify signatures.
  • Resources that an application may spend during the execution of transaction or an application call.
  • A request to send a message.
  • An event stream ID.
  • The name of an event stream.
  • A BCS-signable struct for testing.
  • A duration in microseconds.
  • The timeout configuration: how long fast, multi-leader and single-leader rounds last.
  • A timestamp, in microseconds since the Unix epoch.
  • Description of the necessary information to run a user application.

Enums§

Traits§

  • A trait that includes all the types exported by a Linera application (both contract and service).
  • Activate the blanket implementation of Hashable based on serde and BCS.
  • Activate the blanket implementation of Signable based on serde and BCS.
  • A trait that includes all the types exported by a Linera application contract.
  • Wrapper around rand::CryptoRng and rand::RngCore.
  • Something that we know how to hash and sign.
  • Something that we know how to hash.
  • A trait that includes all the types exported by a Linera application service.
  • Marker trait to help importing contract types.
  • Marker trait to help importing service types.

Type Aliases§