penumbra_sdk_proto/gen/
cosmos.base.v1beta1.rs

1// This file is @generated by prost-build.
2/// Coin defines a token with a denomination and an amount.
3///
4/// NOTE: The amount field is an Int which implements the custom method
5/// signatures required by gogoproto.
6#[derive(Clone, PartialEq, ::prost::Message)]
7pub struct Coin {
8    #[prost(string, tag = "1")]
9    pub denom: ::prost::alloc::string::String,
10    #[prost(string, tag = "2")]
11    pub amount: ::prost::alloc::string::String,
12}
13impl ::prost::Name for Coin {
14    const NAME: &'static str = "Coin";
15    const PACKAGE: &'static str = "cosmos.base.v1beta1";
16    fn full_name() -> ::prost::alloc::string::String {
17        "cosmos.base.v1beta1.Coin".into()
18    }
19    fn type_url() -> ::prost::alloc::string::String {
20        "/cosmos.base.v1beta1.Coin".into()
21    }
22}
23/// DecCoin defines a token with a denomination and a decimal amount.
24///
25/// NOTE: The amount field is an Dec which implements the custom method
26/// signatures required by gogoproto.
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct DecCoin {
29    #[prost(string, tag = "1")]
30    pub denom: ::prost::alloc::string::String,
31    #[prost(string, tag = "2")]
32    pub amount: ::prost::alloc::string::String,
33}
34impl ::prost::Name for DecCoin {
35    const NAME: &'static str = "DecCoin";
36    const PACKAGE: &'static str = "cosmos.base.v1beta1";
37    fn full_name() -> ::prost::alloc::string::String {
38        "cosmos.base.v1beta1.DecCoin".into()
39    }
40    fn type_url() -> ::prost::alloc::string::String {
41        "/cosmos.base.v1beta1.DecCoin".into()
42    }
43}