Crate cosmos_sdk_proto
source ·Expand description
§cosmos-sdk-proto
Rust crate for interacting with Protobufs defined by the Cosmos SDK.
The goal of this crate is to provide complete proto struct definitions for interacting with a Cosmos SDK blockchain.
Currently, this crate only provides a subset of the many total structs exported by Cosmos SDK proto files.
Pull requests to expand coverage are welcome.
§Minimum Supported Rust Version
This crate is supported on Rust 1.72 or newer.
Re-exports§
pub use prost;
pub use tendermint_proto as tendermint;
Modules§
- Cosmos protobuf definitions.
- cosmwasm
cosmwasm
CosmWasm protobuf definitions. - Support traits for Cosmos SDK protobufs.
Structs§
Any
contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.- 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.
Constants§
- The version (commit hash) of the Cosmos SDK used when generating this library.