aminojsonpb

package
v0.13.3 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_aminojsonpb_aminojson_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AminoSignDoc

type AminoSignDoc struct {
	AccountNumber uint64        `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	Sequence      uint64        `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	TimeoutHeight uint64        `protobuf:"varint,3,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	ChainId       string        `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Memo          string        `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	Fee           *AminoSignFee `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Msgs          []*anypb.Any  `protobuf:"bytes,7,rep,name=msgs,proto3" json:"msgs,omitempty"`
	// contains filtered or unexported fields
}

AminoSignDoc is a message container used to generate the SIGN_MODE_LEGACY_AMINO_JSON sign bytes with proto3 API. Note: This is only used for generated JSON in signing, see x/tx/signing/aminojson.go for more details. We allow omitempty based on what is already defined in the legacy StdSignDoc.

func (*AminoSignDoc) Descriptor deprecated

func (*AminoSignDoc) Descriptor() ([]byte, []int)

Deprecated: Use AminoSignDoc.ProtoReflect.Descriptor instead.

func (*AminoSignDoc) GetAccountNumber

func (x *AminoSignDoc) GetAccountNumber() uint64

func (*AminoSignDoc) GetChainId

func (x *AminoSignDoc) GetChainId() string

func (*AminoSignDoc) GetFee

func (x *AminoSignDoc) GetFee() *AminoSignFee

func (*AminoSignDoc) GetMemo

func (x *AminoSignDoc) GetMemo() string

func (*AminoSignDoc) GetMsgs

func (x *AminoSignDoc) GetMsgs() []*anypb.Any

func (*AminoSignDoc) GetSequence

func (x *AminoSignDoc) GetSequence() uint64

func (*AminoSignDoc) GetTimeoutHeight

func (x *AminoSignDoc) GetTimeoutHeight() uint64

func (*AminoSignDoc) ProtoMessage

func (*AminoSignDoc) ProtoMessage()

func (*AminoSignDoc) ProtoReflect

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

func (*AminoSignDoc) Reset

func (x *AminoSignDoc) Reset()

func (*AminoSignDoc) String

func (x *AminoSignDoc) String() string

type AminoSignFee

type AminoSignFee struct {
	Amount  []*v1beta1.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	Gas     uint64          `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"`
	Payer   string          `protobuf:"bytes,3,opt,name=payer,proto3" json:"payer,omitempty"`
	Granter string          `protobuf:"bytes,4,opt,name=granter,proto3" json:"granter,omitempty"`
	// contains filtered or unexported fields
}

AminoSignFee is the legacy amino json sign mode compatible version of txv1beta1.Fee, and differs from that message by the name of the Gas field (GasLimit in txv1beta.Fee). Note: this is only used for signing, see x/tx/signing/aminojson.go for more details.

func (*AminoSignFee) Descriptor deprecated

func (*AminoSignFee) Descriptor() ([]byte, []int)

Deprecated: Use AminoSignFee.ProtoReflect.Descriptor instead.

func (*AminoSignFee) GetAmount

func (x *AminoSignFee) GetAmount() []*v1beta1.Coin

func (*AminoSignFee) GetGas

func (x *AminoSignFee) GetGas() uint64

func (*AminoSignFee) GetGranter

func (x *AminoSignFee) GetGranter() string

func (*AminoSignFee) GetPayer

func (x *AminoSignFee) GetPayer() string

func (*AminoSignFee) ProtoMessage

func (*AminoSignFee) ProtoMessage()

func (*AminoSignFee) ProtoReflect

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

func (*AminoSignFee) Reset

func (x *AminoSignFee) Reset()

func (*AminoSignFee) String

func (x *AminoSignFee) String() string

Jump to

Keyboard shortcuts

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