Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_base_v1beta1_coin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Coin ¶
type Coin struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
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.
func (*Coin) Descriptor
deprecated
func (*Coin) ProtoMessage ¶
func (*Coin) ProtoMessage()
func (*Coin) ProtoReflect ¶
func (x *Coin) ProtoReflect() protoreflect.Message
type DecCoin ¶
type DecCoin struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
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.
func (*DecCoin) Descriptor
deprecated
func (*DecCoin) ProtoMessage ¶
func (*DecCoin) ProtoMessage()
func (*DecCoin) ProtoReflect ¶
func (x *DecCoin) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.