Source code for evmos.proto.autogen.py.cosmos.base.v1beta1

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: cosmos/base/v1beta1/coin.proto
# plugin: python-betterproto
# This file has been @generated

from dataclasses import dataclass

import betterproto


[docs] @dataclass(eq=False, repr=False) class Coin(betterproto.Message): """ Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. """ denom: str = betterproto.string_field(1) amount: str = betterproto.string_field(2)
[docs] @dataclass(eq=False, repr=False) class DecCoin(betterproto.Message): """ DecCoin defines a token with a denomination and a decimal amount. NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto. """ denom: str = betterproto.string_field(1) amount: str = betterproto.string_field(2)
[docs] @dataclass(eq=False, repr=False) class IntProto(betterproto.Message): """ IntProto defines a Protobuf wrapper around an Int object. Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. """ int: str = betterproto.string_field(1)
[docs] @dataclass(eq=False, repr=False) class DecProto(betterproto.Message): """ DecProto defines a Protobuf wrapper around a Dec object. Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. """ dec: str = betterproto.string_field(1)