globalfeev1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

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

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

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

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

Index

Constants

View Source
const (
	Query_GasPrices_FullMethodName      = "/noble.globalfee.v1.Query/GasPrices"
	Query_BypassMessages_FullMethodName = "/noble.globalfee.v1.Query/BypassMessages"
)
View Source
const (
	Msg_UpdateGasPrices_FullMethodName      = "/noble.globalfee.v1.Msg/UpdateGasPrices"
	Msg_UpdateBypassMessages_FullMethodName = "/noble.globalfee.v1.Msg/UpdateBypassMessages"
)

Variables

View Source
var File_noble_globalfee_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_noble_globalfee_v1_globalfee_proto protoreflect.FileDescriptor
View Source
var File_noble_globalfee_v1_query_proto protoreflect.FileDescriptor
View Source
var File_noble_globalfee_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "noble.globalfee.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateGasPrices",
			Handler:    _Msg_UpdateGasPrices_Handler,
		},
		{
			MethodName: "UpdateBypassMessages",
			Handler:    _Msg_UpdateBypassMessages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "noble/globalfee/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "noble.globalfee.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GasPrices",
			Handler:    _Query_GasPrices_Handler,
		},
		{
			MethodName: "BypassMessages",
			Handler:    _Query_BypassMessages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "noble/globalfee/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type GasPrices

type GasPrices struct {
	Value []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GasPrices is a wrapper type around sdk.DecCoins to be used with collections.

func (*GasPrices) Descriptor deprecated

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

Deprecated: Use GasPrices.ProtoReflect.Descriptor instead.

func (*GasPrices) GetValue

func (x *GasPrices) GetValue() []*v1beta1.DecCoin

func (*GasPrices) ProtoMessage

func (*GasPrices) ProtoMessage()

func (*GasPrices) ProtoReflect

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

func (*GasPrices) Reset

func (x *GasPrices) Reset()

func (*GasPrices) String

func (x *GasPrices) String() string

type GenesisState

type GenesisState struct {

	// gas_prices defines a list of gas prices to be used when checking a transaction's fee.
	GasPrices []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
	// bypass_messages defines a list of message types that can bypass the required fees.
	BypassMessages []string `protobuf:"bytes,2,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the genesis state of the GlobalFee module.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetBypassMessages

func (x *GenesisState) GetBypassMessages() []string

func (*GenesisState) GetGasPrices

func (x *GenesisState) GetGasPrices() []*v1beta1.DecCoin

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	UpdateGasPrices(ctx context.Context, in *MsgUpdateGasPrices, opts ...grpc.CallOption) (*MsgUpdateGasPricesResponse, error)
	UpdateBypassMessages(ctx context.Context, in *MsgUpdateBypassMessages, opts ...grpc.CallOption) (*MsgUpdateBypassMessagesResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	UpdateGasPrices(context.Context, *MsgUpdateGasPrices) (*MsgUpdateGasPricesResponse, error)
	UpdateBypassMessages(context.Context, *MsgUpdateBypassMessages) (*MsgUpdateBypassMessagesResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.

type MsgUpdateBypassMessages

type MsgUpdateBypassMessages struct {
	Signer         string   `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	BypassMessages []string `protobuf:"bytes,2,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateBypassMessages is the request of the UpdateBypassMessages action.

func (*MsgUpdateBypassMessages) Descriptor deprecated

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

Deprecated: Use MsgUpdateBypassMessages.ProtoReflect.Descriptor instead.

func (*MsgUpdateBypassMessages) GetBypassMessages

func (x *MsgUpdateBypassMessages) GetBypassMessages() []string

func (*MsgUpdateBypassMessages) GetSigner

func (x *MsgUpdateBypassMessages) GetSigner() string

func (*MsgUpdateBypassMessages) ProtoMessage

func (*MsgUpdateBypassMessages) ProtoMessage()

func (*MsgUpdateBypassMessages) ProtoReflect

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

func (*MsgUpdateBypassMessages) Reset

func (x *MsgUpdateBypassMessages) Reset()

func (*MsgUpdateBypassMessages) String

func (x *MsgUpdateBypassMessages) String() string

type MsgUpdateBypassMessagesResponse

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

MsgUpdateBypassMessagesResponse is the response of the UpdateBypassMessages action.

func (*MsgUpdateBypassMessagesResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateBypassMessagesResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateBypassMessagesResponse) ProtoMessage

func (*MsgUpdateBypassMessagesResponse) ProtoMessage()

func (*MsgUpdateBypassMessagesResponse) ProtoReflect

func (*MsgUpdateBypassMessagesResponse) Reset

func (*MsgUpdateBypassMessagesResponse) String

type MsgUpdateGasPrices

type MsgUpdateGasPrices struct {
	Signer    string             `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	GasPrices []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateGasPrices is the request of the UpdateGasPrices action.

func (*MsgUpdateGasPrices) Descriptor deprecated

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

Deprecated: Use MsgUpdateGasPrices.ProtoReflect.Descriptor instead.

func (*MsgUpdateGasPrices) GetGasPrices

func (x *MsgUpdateGasPrices) GetGasPrices() []*v1beta1.DecCoin

func (*MsgUpdateGasPrices) GetSigner

func (x *MsgUpdateGasPrices) GetSigner() string

func (*MsgUpdateGasPrices) ProtoMessage

func (*MsgUpdateGasPrices) ProtoMessage()

func (*MsgUpdateGasPrices) ProtoReflect

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

func (*MsgUpdateGasPrices) Reset

func (x *MsgUpdateGasPrices) Reset()

func (*MsgUpdateGasPrices) String

func (x *MsgUpdateGasPrices) String() string

type MsgUpdateGasPricesResponse

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

MsgUpdateGasPricesResponse is the response of the UpdateGasPrices action.

func (*MsgUpdateGasPricesResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateGasPricesResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateGasPricesResponse) ProtoMessage

func (*MsgUpdateGasPricesResponse) ProtoMessage()

func (*MsgUpdateGasPricesResponse) ProtoReflect

func (*MsgUpdateGasPricesResponse) Reset

func (x *MsgUpdateGasPricesResponse) Reset()

func (*MsgUpdateGasPricesResponse) String

func (x *MsgUpdateGasPricesResponse) String() string

type QueryBypassMessages

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

func (*QueryBypassMessages) Descriptor deprecated

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

Deprecated: Use QueryBypassMessages.ProtoReflect.Descriptor instead.

func (*QueryBypassMessages) ProtoMessage

func (*QueryBypassMessages) ProtoMessage()

func (*QueryBypassMessages) ProtoReflect

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

func (*QueryBypassMessages) Reset

func (x *QueryBypassMessages) Reset()

func (*QueryBypassMessages) String

func (x *QueryBypassMessages) String() string

type QueryBypassMessagesResponse

type QueryBypassMessagesResponse struct {
	BypassMessages []string `protobuf:"bytes,1,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBypassMessagesResponse) Descriptor deprecated

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

Deprecated: Use QueryBypassMessagesResponse.ProtoReflect.Descriptor instead.

func (*QueryBypassMessagesResponse) GetBypassMessages

func (x *QueryBypassMessagesResponse) GetBypassMessages() []string

func (*QueryBypassMessagesResponse) ProtoMessage

func (*QueryBypassMessagesResponse) ProtoMessage()

func (*QueryBypassMessagesResponse) ProtoReflect

func (*QueryBypassMessagesResponse) Reset

func (x *QueryBypassMessagesResponse) Reset()

func (*QueryBypassMessagesResponse) String

func (x *QueryBypassMessagesResponse) String() string

type QueryClient

type QueryClient interface {
	GasPrices(ctx context.Context, in *QueryGasPrices, opts ...grpc.CallOption) (*QueryGasPricesResponse, error)
	BypassMessages(ctx context.Context, in *QueryBypassMessages, opts ...grpc.CallOption) (*QueryBypassMessagesResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryGasPrices

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

func (*QueryGasPrices) Descriptor deprecated

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

Deprecated: Use QueryGasPrices.ProtoReflect.Descriptor instead.

func (*QueryGasPrices) ProtoMessage

func (*QueryGasPrices) ProtoMessage()

func (*QueryGasPrices) ProtoReflect

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

func (*QueryGasPrices) Reset

func (x *QueryGasPrices) Reset()

func (*QueryGasPrices) String

func (x *QueryGasPrices) String() string

type QueryGasPricesResponse

type QueryGasPricesResponse struct {
	GasPrices []*v1beta1.DecCoin `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGasPricesResponse) Descriptor deprecated

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

Deprecated: Use QueryGasPricesResponse.ProtoReflect.Descriptor instead.

func (*QueryGasPricesResponse) GetGasPrices

func (x *QueryGasPricesResponse) GetGasPrices() []*v1beta1.DecCoin

func (*QueryGasPricesResponse) ProtoMessage

func (*QueryGasPricesResponse) ProtoMessage()

func (*QueryGasPricesResponse) ProtoReflect

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

func (*QueryGasPricesResponse) Reset

func (x *QueryGasPricesResponse) Reset()

func (*QueryGasPricesResponse) String

func (x *QueryGasPricesResponse) String() string

type QueryServer

type QueryServer interface {
	GasPrices(context.Context, *QueryGasPrices) (*QueryGasPricesResponse, error)
	BypassMessages(context.Context, *QueryBypassMessages) (*QueryBypassMessagesResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.

type UnimplementedMsgServer

type UnimplementedMsgServer struct{}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMsgServer) UpdateGasPrices

type UnimplementedQueryServer

type UnimplementedQueryServer struct{}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQueryServer) BypassMessages

func (UnimplementedQueryServer) GasPrices

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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