Module ergo_lib::chain[][src]

Expand description

Ergo chain types

Modules

block_header

Block header

contract

Ergo contract

ergo_box

Ergo box

ergo_state_context

Blockchain state

token

Token related types

transaction

Ergo transaction

Structs

Base16DecodedBytes

Transitioning type for Base16 decoded bytes

Base16EncodedBytes

Transitioning type for Base16 encoded bytes

Digest

N-bytes array in a box. Digest32 is most type synonym.

Enums

Digest32Error

Invalid byte array size

Traits

Base16Str

Encodes serialized bytes as Base16

Functions

blake2b256_hash

Blake2b256 hash (256 bit)

Type Definitions

ADDigest

AVL tree digest: root hash along with tree height (33 bytes)

Digest32

32 byte array used as ID of some value: block, transaction, etc. Usually this is as blake2b hash of serialized form