Module proto

Source

Modules§

abci
auth
bank
block
crypto
ibc
query
staking
tendermint
tx
wasm

Structs§

Any
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Coin
Coin defines a token with a denomination and an amount.
Duration
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like “day” or “month”. It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
MerklePrefix
MerklePrefix is merkle path prefixed to the key. The constructed key from the Path and the key will be append(Path.KeyPath, append(Path.KeyPrefix, key…))
MerkleProof
MerkleProof is a wrapper type over a chain of CommitmentProofs. It demonstrates membership or non-membership for an element or set of elements, verifiable in conjunction with a known commitment root. Proofs should be succinct. MerkleProofs are ordered from leaf-to-root
MerkleRoot
MerkleRoot defines a merkle root hash. In the Cosmos SDK, the AppHash of a block header becomes the root.
RevisionHeight
Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients
Timestamp
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.

Traits§

Message
A Protocol Buffers message.
MessageExt
Extension trait for Message.
Name
Associate a type name with a Message type.

Functions§

proto_into_any
the typical type used for turning protobuf messages into Any messages especially used in transactions, and needed for multi-message transactions so exported in the prelude
proto_into_bytes

Derive Macros§

Message