basev1beta1

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 47

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) Descriptor() ([]byte, []int)

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount

func (x *Coin) GetAmount() string

func (*Coin) GetDenom

func (x *Coin) GetDenom() string

func (*Coin) ProtoMessage

func (*Coin) ProtoMessage()

func (*Coin) ProtoReflect

func (x *Coin) ProtoReflect() protoreflect.Message

func (*Coin) Reset

func (x *Coin) Reset()

func (*Coin) String

func (x *Coin) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DecCoin.ProtoReflect.Descriptor instead.

func (*DecCoin) GetAmount

func (x *DecCoin) GetAmount() string

func (*DecCoin) GetDenom

func (x *DecCoin) GetDenom() string

func (*DecCoin) ProtoMessage

func (*DecCoin) ProtoMessage()

func (*DecCoin) ProtoReflect

func (x *DecCoin) ProtoReflect() protoreflect.Message

func (*DecCoin) Reset

func (x *DecCoin) Reset()

func (*DecCoin) String

func (x *DecCoin) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL