Module near_primitives::types

source ·

Modules§

Structs§

Enums§

Traits§

Type Aliases§

  • Reexport primitive types Balance is type for storing amounts of tokens.
  • Reexport primitive types Height of the block.
  • Reexport primitive types Block height delta that measures the difference between BlockHeights.
  • Reexport primitive types Compute is a type for storing compute time. Measured in femtoseconds (10^-15 seconds).
  • Reexport primitive types Height of the epoch.
  • Reexport primitive types Gas is a type for storing amount of gas.
  • Reexport primitive types Hash used by a struct implementing the Merkle tree.
  • Reexport primitive types Nonce for transactions.
  • Reexport primitive types Number of blocks in current group.
  • Reexport primitive types Number of seats of validators (block producer or hidden ones) in current group (settlement).
  • Reexport primitive types Number of shards in current group.
  • Reexport primitive types
  • Reexport primitive types
  • key that was updated -> list of updates with the corresponding indexing event.
  • Reexport primitive types
  • Reexport primitive types Shard index, from 0 to NUM_SHARDS - 1.
  • Hash used by to store state root.
  • Reexport primitive types StorageUsage is used to count the amount of storage used by a contract.
  • Reexport primitive types StorageUsageChange is used to count the storage usage within a single contract call.
  • Reexport primitive types Validator identifier in current group.
  • Reexport primitive types Mask which validators participated in multi sign.