counterv1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 10 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_cosmos_accounts_testing_counter_v1_counter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MsgIncreaseCounter

type MsgIncreaseCounter struct {

	// amount is the amount to increase the counter by.
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

MsgIncreaseCounter defines a message which increases the counter by a given amount.

func (*MsgIncreaseCounter) Descriptor deprecated

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

Deprecated: Use MsgIncreaseCounter.ProtoReflect.Descriptor instead.

func (*MsgIncreaseCounter) GetAmount

func (x *MsgIncreaseCounter) GetAmount() uint64

func (*MsgIncreaseCounter) ProtoMessage

func (*MsgIncreaseCounter) ProtoMessage()

func (*MsgIncreaseCounter) ProtoReflect

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

func (*MsgIncreaseCounter) Reset

func (x *MsgIncreaseCounter) Reset()

func (*MsgIncreaseCounter) String

func (x *MsgIncreaseCounter) String() string

type MsgIncreaseCounterResponse

type MsgIncreaseCounterResponse struct {

	// new_amount defines the new counter value after the increase.
	NewAmount uint64 `protobuf:"varint,1,opt,name=new_amount,json=newAmount,proto3" json:"new_amount,omitempty"`
	// contains filtered or unexported fields
}

MsgIncreaseCounterResponse defines the MsgIncreaseCounter response type. Returns the new counter value.

func (*MsgIncreaseCounterResponse) Descriptor deprecated

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

Deprecated: Use MsgIncreaseCounterResponse.ProtoReflect.Descriptor instead.

func (*MsgIncreaseCounterResponse) GetNewAmount

func (x *MsgIncreaseCounterResponse) GetNewAmount() uint64

func (*MsgIncreaseCounterResponse) ProtoMessage

func (*MsgIncreaseCounterResponse) ProtoMessage()

func (*MsgIncreaseCounterResponse) ProtoReflect

func (*MsgIncreaseCounterResponse) Reset

func (x *MsgIncreaseCounterResponse) Reset()

func (*MsgIncreaseCounterResponse) String

func (x *MsgIncreaseCounterResponse) String() string

type MsgInit

type MsgInit struct {

	// initial_value is the initial amount to set the counter to.
	InitialValue uint64 `protobuf:"varint,1,opt,name=initial_value,json=initialValue,proto3" json:"initial_value,omitempty"`
	// contains filtered or unexported fields
}

MsgInit defines a message which initializes the counter with a given amount.

func (*MsgInit) Descriptor deprecated

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

Deprecated: Use MsgInit.ProtoReflect.Descriptor instead.

func (*MsgInit) GetInitialValue

func (x *MsgInit) GetInitialValue() uint64

func (*MsgInit) ProtoMessage

func (*MsgInit) ProtoMessage()

func (*MsgInit) ProtoReflect

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

func (*MsgInit) Reset

func (x *MsgInit) Reset()

func (*MsgInit) String

func (x *MsgInit) String() string

type MsgInitResponse

type MsgInitResponse struct {
	// contains filtered or unexported fields
}

MsgInitResponse defines the MsgInit response type.

func (*MsgInitResponse) Descriptor deprecated

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

Deprecated: Use MsgInitResponse.ProtoReflect.Descriptor instead.

func (*MsgInitResponse) ProtoMessage

func (*MsgInitResponse) ProtoMessage()

func (*MsgInitResponse) ProtoReflect

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

func (*MsgInitResponse) Reset

func (x *MsgInitResponse) Reset()

func (*MsgInitResponse) String

func (x *MsgInitResponse) String() string

type MsgTestDependencies

type MsgTestDependencies struct {
	// contains filtered or unexported fields
}

MsgTestDependencies is used to test the dependencies.

func (*MsgTestDependencies) Descriptor deprecated

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

Deprecated: Use MsgTestDependencies.ProtoReflect.Descriptor instead.

func (*MsgTestDependencies) ProtoMessage

func (*MsgTestDependencies) ProtoMessage()

func (*MsgTestDependencies) ProtoReflect

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

func (*MsgTestDependencies) Reset

func (x *MsgTestDependencies) Reset()

func (*MsgTestDependencies) String

func (x *MsgTestDependencies) String() string

type MsgTestDependenciesResponse

type MsgTestDependenciesResponse struct {

	// chain_id is used to test that the header service correctly works.
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// address is used to test address codec.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// before_gas is used to test the gas meter reporting.
	BeforeGas uint64 `protobuf:"varint,3,opt,name=before_gas,json=beforeGas,proto3" json:"before_gas,omitempty"`
	// after_gas is used to test gas meter increasing.
	AfterGas uint64 `protobuf:"varint,4,opt,name=after_gas,json=afterGas,proto3" json:"after_gas,omitempty"`
	// funds reports the funds from the implementation.Funds method.
	Funds []*v1beta1.Coin `protobuf:"bytes,5,rep,name=funds,proto3" json:"funds,omitempty"`
	// contains filtered or unexported fields
}

MsgTestDependenciesResponse is used to test the dependencies.

func (*MsgTestDependenciesResponse) Descriptor deprecated

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

Deprecated: Use MsgTestDependenciesResponse.ProtoReflect.Descriptor instead.

func (*MsgTestDependenciesResponse) GetAddress

func (x *MsgTestDependenciesResponse) GetAddress() string

func (*MsgTestDependenciesResponse) GetAfterGas

func (x *MsgTestDependenciesResponse) GetAfterGas() uint64

func (*MsgTestDependenciesResponse) GetBeforeGas

func (x *MsgTestDependenciesResponse) GetBeforeGas() uint64

func (*MsgTestDependenciesResponse) GetChainId

func (x *MsgTestDependenciesResponse) GetChainId() string

func (*MsgTestDependenciesResponse) GetFunds

func (x *MsgTestDependenciesResponse) GetFunds() []*v1beta1.Coin

func (*MsgTestDependenciesResponse) ProtoMessage

func (*MsgTestDependenciesResponse) ProtoMessage()

func (*MsgTestDependenciesResponse) ProtoReflect

func (*MsgTestDependenciesResponse) Reset

func (x *MsgTestDependenciesResponse) Reset()

func (*MsgTestDependenciesResponse) String

func (x *MsgTestDependenciesResponse) String() string

type QueryCounterRequest

type QueryCounterRequest struct {
	// contains filtered or unexported fields
}

QueryCounterRequest is used to query the counter value.

func (*QueryCounterRequest) Descriptor deprecated

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

Deprecated: Use QueryCounterRequest.ProtoReflect.Descriptor instead.

func (*QueryCounterRequest) ProtoMessage

func (*QueryCounterRequest) ProtoMessage()

func (*QueryCounterRequest) ProtoReflect

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

func (*QueryCounterRequest) Reset

func (x *QueryCounterRequest) Reset()

func (*QueryCounterRequest) String

func (x *QueryCounterRequest) String() string

type QueryCounterResponse

type QueryCounterResponse struct {

	// value defines the value of the counter.
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

QueryCounterResponse returns the counter value.

func (*QueryCounterResponse) Descriptor deprecated

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

Deprecated: Use QueryCounterResponse.ProtoReflect.Descriptor instead.

func (*QueryCounterResponse) GetValue

func (x *QueryCounterResponse) GetValue() uint64

func (*QueryCounterResponse) ProtoMessage

func (*QueryCounterResponse) ProtoMessage()

func (*QueryCounterResponse) ProtoReflect

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

func (*QueryCounterResponse) Reset

func (x *QueryCounterResponse) Reset()

func (*QueryCounterResponse) String

func (x *QueryCounterResponse) String() string

Jump to

Keyboard shortcuts

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