assetprofile

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 18 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.

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

Index

Constants

This section is empty.

Variables

View Source
var File_elys_assetprofile_entry_proto protoreflect.FileDescriptor
View Source
var File_elys_assetprofile_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_assetprofile_params_proto protoreflect.FileDescriptor
View Source
var File_elys_assetprofile_query_proto protoreflect.FileDescriptor
View Source
var File_elys_assetprofile_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "elys.assetprofile.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateEntry",
			Handler:    _Msg_UpdateEntry_Handler,
		},
		{
			MethodName: "DeleteEntry",
			Handler:    _Msg_DeleteEntry_Handler,
		},
		{
			MethodName: "AddEntry",
			Handler:    _Msg_AddEntry_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/assetprofile/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: "elys.assetprofile.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "Entry",
			Handler:    _Query_Entry_Handler,
		},
		{
			MethodName: "EntryByDenom",
			Handler:    _Query_EntryByDenom_Handler,
		},
		{
			MethodName: "EntryAll",
			Handler:    _Query_EntryAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "elys/assetprofile/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 Entry

type Entry struct {
	BaseDenom                string   `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	Decimals                 uint64   `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Denom                    string   `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Path                     string   `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	IbcChannelId             string   `protobuf:"bytes,5,opt,name=ibc_channel_id,json=ibcChannelId,proto3" json:"ibc_channel_id,omitempty"`
	IbcCounterpartyChannelId string   `` /* 137-byte string literal not displayed */
	DisplayName              string   `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	DisplaySymbol            string   `protobuf:"bytes,8,opt,name=display_symbol,json=displaySymbol,proto3" json:"display_symbol,omitempty"`
	Network                  string   `protobuf:"bytes,9,opt,name=network,proto3" json:"network,omitempty"`
	Address                  string   `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"`
	ExternalSymbol           string   `protobuf:"bytes,11,opt,name=external_symbol,json=externalSymbol,proto3" json:"external_symbol,omitempty"`
	TransferLimit            string   `protobuf:"bytes,12,opt,name=transfer_limit,json=transferLimit,proto3" json:"transfer_limit,omitempty"`
	Permissions              []string `protobuf:"bytes,13,rep,name=permissions,proto3" json:"permissions,omitempty"`
	UnitDenom                string   `protobuf:"bytes,14,opt,name=unit_denom,json=unitDenom,proto3" json:"unit_denom,omitempty"`
	IbcCounterpartyDenom     string   `protobuf:"bytes,15,opt,name=ibc_counterparty_denom,json=ibcCounterpartyDenom,proto3" json:"ibc_counterparty_denom,omitempty"`
	IbcCounterpartyChainId   string   `` /* 132-byte string literal not displayed */
	Authority                string   `protobuf:"bytes,17,opt,name=authority,proto3" json:"authority,omitempty"`
	CommitEnabled            bool     `protobuf:"varint,18,opt,name=commit_enabled,json=commitEnabled,proto3" json:"commit_enabled,omitempty"`
	WithdrawEnabled          bool     `protobuf:"varint,19,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetAddress

func (x *Entry) GetAddress() string

func (*Entry) GetAuthority

func (x *Entry) GetAuthority() string

func (*Entry) GetBaseDenom

func (x *Entry) GetBaseDenom() string

func (*Entry) GetCommitEnabled

func (x *Entry) GetCommitEnabled() bool

func (*Entry) GetDecimals

func (x *Entry) GetDecimals() uint64

func (*Entry) GetDenom

func (x *Entry) GetDenom() string

func (*Entry) GetDisplayName

func (x *Entry) GetDisplayName() string

func (*Entry) GetDisplaySymbol

func (x *Entry) GetDisplaySymbol() string

func (*Entry) GetExternalSymbol

func (x *Entry) GetExternalSymbol() string

func (*Entry) GetIbcChannelId

func (x *Entry) GetIbcChannelId() string

func (*Entry) GetIbcCounterpartyChainId

func (x *Entry) GetIbcCounterpartyChainId() string

func (*Entry) GetIbcCounterpartyChannelId

func (x *Entry) GetIbcCounterpartyChannelId() string

func (*Entry) GetIbcCounterpartyDenom

func (x *Entry) GetIbcCounterpartyDenom() string

func (*Entry) GetNetwork

func (x *Entry) GetNetwork() string

func (*Entry) GetPath

func (x *Entry) GetPath() string

func (*Entry) GetPermissions

func (x *Entry) GetPermissions() []string

func (*Entry) GetTransferLimit

func (x *Entry) GetTransferLimit() string

func (*Entry) GetUnitDenom

func (x *Entry) GetUnitDenom() string

func (*Entry) GetWithdrawEnabled

func (x *Entry) GetWithdrawEnabled() bool

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type GenesisState

type GenesisState struct {
	Params    *Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	EntryList []*Entry `protobuf:"bytes,2,rep,name=entry_list,json=entryList,proto3" json:"entry_list,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the assetprofile module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetEntryList

func (x *GenesisState) GetEntryList() []*Entry

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

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 MsgAddEntry

type MsgAddEntry struct {
	Creator                  string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	BaseDenom                string   `protobuf:"bytes,2,opt,name=baseDenom,proto3" json:"baseDenom,omitempty"`
	Decimals                 uint64   `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Denom                    string   `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"`
	Path                     string   `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	IbcChannelId             string   `protobuf:"bytes,6,opt,name=ibcChannelId,proto3" json:"ibcChannelId,omitempty"`
	IbcCounterpartyChannelId string   `protobuf:"bytes,7,opt,name=ibcCounterpartyChannelId,proto3" json:"ibcCounterpartyChannelId,omitempty"`
	DisplayName              string   `protobuf:"bytes,8,opt,name=displayName,proto3" json:"displayName,omitempty"`
	DisplaySymbol            string   `protobuf:"bytes,9,opt,name=displaySymbol,proto3" json:"displaySymbol,omitempty"`
	Network                  string   `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	Address                  string   `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
	ExternalSymbol           string   `protobuf:"bytes,12,opt,name=externalSymbol,proto3" json:"externalSymbol,omitempty"`
	TransferLimit            string   `protobuf:"bytes,13,opt,name=transferLimit,proto3" json:"transferLimit,omitempty"`
	Permissions              []string `protobuf:"bytes,14,rep,name=permissions,proto3" json:"permissions,omitempty"`
	UnitDenom                string   `protobuf:"bytes,15,opt,name=unitDenom,proto3" json:"unitDenom,omitempty"`
	IbcCounterpartyDenom     string   `protobuf:"bytes,16,opt,name=ibcCounterpartyDenom,proto3" json:"ibcCounterpartyDenom,omitempty"`
	IbcCounterpartyChainId   string   `protobuf:"bytes,17,opt,name=ibcCounterpartyChainId,proto3" json:"ibcCounterpartyChainId,omitempty"`
	CommitEnabled            bool     `protobuf:"varint,18,opt,name=commitEnabled,proto3" json:"commitEnabled,omitempty"`
	WithdrawEnabled          bool     `protobuf:"varint,19,opt,name=withdrawEnabled,proto3" json:"withdrawEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgAddEntry) Descriptor deprecated

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

Deprecated: Use MsgAddEntry.ProtoReflect.Descriptor instead.

func (*MsgAddEntry) GetAddress

func (x *MsgAddEntry) GetAddress() string

func (*MsgAddEntry) GetBaseDenom

func (x *MsgAddEntry) GetBaseDenom() string

func (*MsgAddEntry) GetCommitEnabled

func (x *MsgAddEntry) GetCommitEnabled() bool

func (*MsgAddEntry) GetCreator

func (x *MsgAddEntry) GetCreator() string

func (*MsgAddEntry) GetDecimals

func (x *MsgAddEntry) GetDecimals() uint64

func (*MsgAddEntry) GetDenom

func (x *MsgAddEntry) GetDenom() string

func (*MsgAddEntry) GetDisplayName

func (x *MsgAddEntry) GetDisplayName() string

func (*MsgAddEntry) GetDisplaySymbol

func (x *MsgAddEntry) GetDisplaySymbol() string

func (*MsgAddEntry) GetExternalSymbol

func (x *MsgAddEntry) GetExternalSymbol() string

func (*MsgAddEntry) GetIbcChannelId

func (x *MsgAddEntry) GetIbcChannelId() string

func (*MsgAddEntry) GetIbcCounterpartyChainId

func (x *MsgAddEntry) GetIbcCounterpartyChainId() string

func (*MsgAddEntry) GetIbcCounterpartyChannelId

func (x *MsgAddEntry) GetIbcCounterpartyChannelId() string

func (*MsgAddEntry) GetIbcCounterpartyDenom

func (x *MsgAddEntry) GetIbcCounterpartyDenom() string

func (*MsgAddEntry) GetNetwork

func (x *MsgAddEntry) GetNetwork() string

func (*MsgAddEntry) GetPath

func (x *MsgAddEntry) GetPath() string

func (*MsgAddEntry) GetPermissions

func (x *MsgAddEntry) GetPermissions() []string

func (*MsgAddEntry) GetTransferLimit

func (x *MsgAddEntry) GetTransferLimit() string

func (*MsgAddEntry) GetUnitDenom

func (x *MsgAddEntry) GetUnitDenom() string

func (*MsgAddEntry) GetWithdrawEnabled

func (x *MsgAddEntry) GetWithdrawEnabled() bool

func (*MsgAddEntry) ProtoMessage

func (*MsgAddEntry) ProtoMessage()

func (*MsgAddEntry) ProtoReflect

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

func (*MsgAddEntry) Reset

func (x *MsgAddEntry) Reset()

func (*MsgAddEntry) String

func (x *MsgAddEntry) String() string

type MsgAddEntryResponse

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

func (*MsgAddEntryResponse) Descriptor deprecated

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

Deprecated: Use MsgAddEntryResponse.ProtoReflect.Descriptor instead.

func (*MsgAddEntryResponse) ProtoMessage

func (*MsgAddEntryResponse) ProtoMessage()

func (*MsgAddEntryResponse) ProtoReflect

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

func (*MsgAddEntryResponse) Reset

func (x *MsgAddEntryResponse) Reset()

func (*MsgAddEntryResponse) String

func (x *MsgAddEntryResponse) String() string

type MsgClient

type MsgClient interface {
	UpdateEntry(ctx context.Context, in *MsgUpdateEntry, opts ...grpc.CallOption) (*MsgUpdateEntryResponse, error)
	DeleteEntry(ctx context.Context, in *MsgDeleteEntry, opts ...grpc.CallOption) (*MsgDeleteEntryResponse, error)
	AddEntry(ctx context.Context, in *MsgAddEntry, opts ...grpc.CallOption) (*MsgAddEntryResponse, 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 MsgDeleteEntry

type MsgDeleteEntry struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgDeleteEntry) Descriptor deprecated

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

Deprecated: Use MsgDeleteEntry.ProtoReflect.Descriptor instead.

func (*MsgDeleteEntry) GetAuthority

func (x *MsgDeleteEntry) GetAuthority() string

func (*MsgDeleteEntry) GetBaseDenom

func (x *MsgDeleteEntry) GetBaseDenom() string

func (*MsgDeleteEntry) ProtoMessage

func (*MsgDeleteEntry) ProtoMessage()

func (*MsgDeleteEntry) ProtoReflect

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

func (*MsgDeleteEntry) Reset

func (x *MsgDeleteEntry) Reset()

func (*MsgDeleteEntry) String

func (x *MsgDeleteEntry) String() string

type MsgDeleteEntryResponse

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

func (*MsgDeleteEntryResponse) Descriptor deprecated

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

Deprecated: Use MsgDeleteEntryResponse.ProtoReflect.Descriptor instead.

func (*MsgDeleteEntryResponse) ProtoMessage

func (*MsgDeleteEntryResponse) ProtoMessage()

func (*MsgDeleteEntryResponse) ProtoReflect

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

func (*MsgDeleteEntryResponse) Reset

func (x *MsgDeleteEntryResponse) Reset()

func (*MsgDeleteEntryResponse) String

func (x *MsgDeleteEntryResponse) String() string

type MsgServer

type MsgServer interface {
	UpdateEntry(context.Context, *MsgUpdateEntry) (*MsgUpdateEntryResponse, error)
	DeleteEntry(context.Context, *MsgDeleteEntry) (*MsgDeleteEntryResponse, error)
	AddEntry(context.Context, *MsgAddEntry) (*MsgAddEntryResponse, error)
	// contains filtered or unexported methods
}

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

type MsgUpdateEntry

type MsgUpdateEntry struct {
	Authority                string   `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	BaseDenom                string   `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	Decimals                 uint64   `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Denom                    string   `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"`
	Path                     string   `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	IbcChannelId             string   `protobuf:"bytes,6,opt,name=ibc_channel_id,json=ibcChannelId,proto3" json:"ibc_channel_id,omitempty"`
	IbcCounterpartyChannelId string   `` /* 137-byte string literal not displayed */
	DisplayName              string   `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	DisplaySymbol            string   `protobuf:"bytes,9,opt,name=display_symbol,json=displaySymbol,proto3" json:"display_symbol,omitempty"`
	Network                  string   `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`
	Address                  string   `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
	ExternalSymbol           string   `protobuf:"bytes,12,opt,name=external_symbol,json=externalSymbol,proto3" json:"external_symbol,omitempty"`
	TransferLimit            string   `protobuf:"bytes,13,opt,name=transfer_limit,json=transferLimit,proto3" json:"transfer_limit,omitempty"`
	Permissions              []string `protobuf:"bytes,14,rep,name=permissions,proto3" json:"permissions,omitempty"`
	UnitDenom                string   `protobuf:"bytes,15,opt,name=unit_denom,json=unitDenom,proto3" json:"unit_denom,omitempty"`
	IbcCounterpartyDenom     string   `protobuf:"bytes,16,opt,name=ibc_counterparty_denom,json=ibcCounterpartyDenom,proto3" json:"ibc_counterparty_denom,omitempty"`
	IbcCounterpartyChainId   string   `` /* 132-byte string literal not displayed */
	CommitEnabled            bool     `protobuf:"varint,18,opt,name=commit_enabled,json=commitEnabled,proto3" json:"commit_enabled,omitempty"`
	WithdrawEnabled          bool     `protobuf:"varint,19,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateEntry) Descriptor deprecated

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

Deprecated: Use MsgUpdateEntry.ProtoReflect.Descriptor instead.

func (*MsgUpdateEntry) GetAddress

func (x *MsgUpdateEntry) GetAddress() string

func (*MsgUpdateEntry) GetAuthority

func (x *MsgUpdateEntry) GetAuthority() string

func (*MsgUpdateEntry) GetBaseDenom

func (x *MsgUpdateEntry) GetBaseDenom() string

func (*MsgUpdateEntry) GetCommitEnabled

func (x *MsgUpdateEntry) GetCommitEnabled() bool

func (*MsgUpdateEntry) GetDecimals

func (x *MsgUpdateEntry) GetDecimals() uint64

func (*MsgUpdateEntry) GetDenom

func (x *MsgUpdateEntry) GetDenom() string

func (*MsgUpdateEntry) GetDisplayName

func (x *MsgUpdateEntry) GetDisplayName() string

func (*MsgUpdateEntry) GetDisplaySymbol

func (x *MsgUpdateEntry) GetDisplaySymbol() string

func (*MsgUpdateEntry) GetExternalSymbol

func (x *MsgUpdateEntry) GetExternalSymbol() string

func (*MsgUpdateEntry) GetIbcChannelId

func (x *MsgUpdateEntry) GetIbcChannelId() string

func (*MsgUpdateEntry) GetIbcCounterpartyChainId

func (x *MsgUpdateEntry) GetIbcCounterpartyChainId() string

func (*MsgUpdateEntry) GetIbcCounterpartyChannelId

func (x *MsgUpdateEntry) GetIbcCounterpartyChannelId() string

func (*MsgUpdateEntry) GetIbcCounterpartyDenom

func (x *MsgUpdateEntry) GetIbcCounterpartyDenom() string

func (*MsgUpdateEntry) GetNetwork

func (x *MsgUpdateEntry) GetNetwork() string

func (*MsgUpdateEntry) GetPath

func (x *MsgUpdateEntry) GetPath() string

func (*MsgUpdateEntry) GetPermissions

func (x *MsgUpdateEntry) GetPermissions() []string

func (*MsgUpdateEntry) GetTransferLimit

func (x *MsgUpdateEntry) GetTransferLimit() string

func (*MsgUpdateEntry) GetUnitDenom

func (x *MsgUpdateEntry) GetUnitDenom() string

func (*MsgUpdateEntry) GetWithdrawEnabled

func (x *MsgUpdateEntry) GetWithdrawEnabled() bool

func (*MsgUpdateEntry) ProtoMessage

func (*MsgUpdateEntry) ProtoMessage()

func (*MsgUpdateEntry) ProtoReflect

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

func (*MsgUpdateEntry) Reset

func (x *MsgUpdateEntry) Reset()

func (*MsgUpdateEntry) String

func (x *MsgUpdateEntry) String() string

type MsgUpdateEntryResponse

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

func (*MsgUpdateEntryResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateEntryResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateEntryResponse) ProtoMessage

func (*MsgUpdateEntryResponse) ProtoMessage()

func (*MsgUpdateEntryResponse) ProtoReflect

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

func (*MsgUpdateEntryResponse) Reset

func (x *MsgUpdateEntryResponse) Reset()

func (*MsgUpdateEntryResponse) String

func (x *MsgUpdateEntryResponse) String() string

type Params

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

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllEntryRequest

type QueryAllEntryRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllEntryRequest) Descriptor deprecated

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

Deprecated: Use QueryAllEntryRequest.ProtoReflect.Descriptor instead.

func (*QueryAllEntryRequest) GetPagination

func (x *QueryAllEntryRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllEntryRequest) ProtoMessage

func (*QueryAllEntryRequest) ProtoMessage()

func (*QueryAllEntryRequest) ProtoReflect

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

func (*QueryAllEntryRequest) Reset

func (x *QueryAllEntryRequest) Reset()

func (*QueryAllEntryRequest) String

func (x *QueryAllEntryRequest) String() string

type QueryAllEntryResponse

type QueryAllEntryResponse struct {
	Entry      []*Entry              `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllEntryResponse) Descriptor deprecated

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

Deprecated: Use QueryAllEntryResponse.ProtoReflect.Descriptor instead.

func (*QueryAllEntryResponse) GetEntry

func (x *QueryAllEntryResponse) GetEntry() []*Entry

func (*QueryAllEntryResponse) GetPagination

func (x *QueryAllEntryResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllEntryResponse) ProtoMessage

func (*QueryAllEntryResponse) ProtoMessage()

func (*QueryAllEntryResponse) ProtoReflect

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

func (*QueryAllEntryResponse) Reset

func (x *QueryAllEntryResponse) Reset()

func (*QueryAllEntryResponse) String

func (x *QueryAllEntryResponse) String() string

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Entry items.
	Entry(ctx context.Context, in *QueryEntryRequest, opts ...grpc.CallOption) (*QueryEntryResponse, error)
	EntryByDenom(ctx context.Context, in *QueryEntryByDenomRequest, opts ...grpc.CallOption) (*QueryEntryByDenomResponse, error)
	EntryAll(ctx context.Context, in *QueryAllEntryRequest, opts ...grpc.CallOption) (*QueryAllEntryResponse, 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 QueryEntryByDenomRequest

type QueryEntryByDenomRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntryByDenomRequest) Descriptor deprecated

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

Deprecated: Use QueryEntryByDenomRequest.ProtoReflect.Descriptor instead.

func (*QueryEntryByDenomRequest) GetDenom

func (x *QueryEntryByDenomRequest) GetDenom() string

func (*QueryEntryByDenomRequest) ProtoMessage

func (*QueryEntryByDenomRequest) ProtoMessage()

func (*QueryEntryByDenomRequest) ProtoReflect

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

func (*QueryEntryByDenomRequest) Reset

func (x *QueryEntryByDenomRequest) Reset()

func (*QueryEntryByDenomRequest) String

func (x *QueryEntryByDenomRequest) String() string

type QueryEntryByDenomResponse

type QueryEntryByDenomResponse struct {
	Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntryByDenomResponse) Descriptor deprecated

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

Deprecated: Use QueryEntryByDenomResponse.ProtoReflect.Descriptor instead.

func (*QueryEntryByDenomResponse) GetEntry

func (x *QueryEntryByDenomResponse) GetEntry() *Entry

func (*QueryEntryByDenomResponse) ProtoMessage

func (*QueryEntryByDenomResponse) ProtoMessage()

func (*QueryEntryByDenomResponse) ProtoReflect

func (*QueryEntryByDenomResponse) Reset

func (x *QueryEntryByDenomResponse) Reset()

func (*QueryEntryByDenomResponse) String

func (x *QueryEntryByDenomResponse) String() string

type QueryEntryRequest

type QueryEntryRequest struct {
	BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntryRequest) Descriptor deprecated

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

Deprecated: Use QueryEntryRequest.ProtoReflect.Descriptor instead.

func (*QueryEntryRequest) GetBaseDenom

func (x *QueryEntryRequest) GetBaseDenom() string

func (*QueryEntryRequest) ProtoMessage

func (*QueryEntryRequest) ProtoMessage()

func (*QueryEntryRequest) ProtoReflect

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

func (*QueryEntryRequest) Reset

func (x *QueryEntryRequest) Reset()

func (*QueryEntryRequest) String

func (x *QueryEntryRequest) String() string

type QueryEntryResponse

type QueryEntryResponse struct {
	Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryEntryResponse) Descriptor deprecated

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

Deprecated: Use QueryEntryResponse.ProtoReflect.Descriptor instead.

func (*QueryEntryResponse) GetEntry

func (x *QueryEntryResponse) GetEntry() *Entry

func (*QueryEntryResponse) ProtoMessage

func (*QueryEntryResponse) ProtoMessage()

func (*QueryEntryResponse) ProtoReflect

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

func (*QueryEntryResponse) Reset

func (x *QueryEntryResponse) Reset()

func (*QueryEntryResponse) String

func (x *QueryEntryResponse) String() string

type QueryParamsRequest

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

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Entry items.
	Entry(context.Context, *QueryEntryRequest) (*QueryEntryResponse, error)
	EntryByDenom(context.Context, *QueryEntryByDenomRequest) (*QueryEntryByDenomResponse, error)
	EntryAll(context.Context, *QueryAllEntryRequest) (*QueryAllEntryResponse, 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.

func (UnimplementedMsgServer) AddEntry

func (UnimplementedMsgServer) DeleteEntry

func (UnimplementedMsgServer) UpdateEntry

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Entry

func (UnimplementedQueryServer) EntryAll

func (UnimplementedQueryServer) Params

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