Crate cosmos_sdk_proto

Source
Expand description

§cosmos-sdk-proto

Crate Docs Build Status Apache 2.0 Licensed MSRV

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.

Documentation

§Minimum Supported Rust Version

This crate is supported on Rust 1.75 or newer.

Re-exports§

pub use prost;
pub use tendermint_proto as tendermint;

Modules§

cosmos
Cosmos protobuf definitions.
cosmwasmcosmwasm
CosmWasm protobuf definitions.
traits
Support traits for Cosmos SDK protobufs.

Structs§

Any
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
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.

Constants§

COSMOS_SDK_VERSION
The version (commit hash) of the Cosmos SDK used when generating this library.