Module proto

Source

Modules§

abci
Application BlockChain Interface (ABCI).
auth
Authentication of accounts and transactions.
authz
Granting of arbitrary privileges from one account to another.
bank
Balances.
block
crisis
Crisis handling
crypto
Cryptographic primitives.
distribution
Messages and services handling token distribution
evidence
Messages and services handling evidence
feegrant
Allows accounts to grant fee allowances and to use fees from their accounts.
genutil
Messages and services handling gentx’s
gov
Messages and services handling governance
ibc
mint
Messages and services handling minting
node
Node requests.
params
Messages and services handling chain parameters
query
Query support.
reflection
Reflection support.
slashing
Handling slashing parameters and unjailing
staking
Proof-of-Stake layer for public blockchains.
tendermint
tx
Transactions.
upgrade
Services for the upgrade module.
vesting
Services and tx’s for the vesting module.
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