types

package
v0.29.20 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "assetprofile"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_assetprofile"
)
View Source
const (
	TypeMsgCreateEntry = "create_entry"
	TypeMsgUpdateEntry = "update_entry"
	TypeMsgDeleteEntry = "delete_entry"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// EntryKeyPrefix is the prefix to retrieve all Entry
	EntryKeyPrefix = "Entry/value/"
)

Variables

View Source
var (
	ErrInvalidLengthEntry        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEntry          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEntry = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrAssetProfileNotFound          = errors.Register(ModuleName, 1, "asset profile not found for denom")
	ErrChannelIdAndDenomHashMismatch = errors.Register(ModuleName, 2, "channel id and denom hash mismatch")
	ErrNotValidIbcDenom              = errors.Register(ModuleName, 3, "not valid ibc denom")
)

x/assetprofile module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func EntryKey

func EntryKey(
	baseDenom string,
) []byte

EntryKey returns the store key to retrieve a Entry from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

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"`
}

func (*Entry) Descriptor

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

func (*Entry) GetAddress

func (m *Entry) GetAddress() string

func (*Entry) GetAuthority

func (m *Entry) GetAuthority() string

func (*Entry) GetBaseDenom

func (m *Entry) GetBaseDenom() string

func (*Entry) GetCommitEnabled

func (m *Entry) GetCommitEnabled() bool

func (*Entry) GetDecimals

func (m *Entry) GetDecimals() uint64

func (*Entry) GetDenom

func (m *Entry) GetDenom() string

func (*Entry) GetDisplayName

func (m *Entry) GetDisplayName() string

func (*Entry) GetDisplaySymbol

func (m *Entry) GetDisplaySymbol() string

func (*Entry) GetExternalSymbol

func (m *Entry) GetExternalSymbol() string

func (*Entry) GetIbcChannelId

func (m *Entry) GetIbcChannelId() string

func (*Entry) GetIbcCounterpartyChainId

func (m *Entry) GetIbcCounterpartyChainId() string

func (*Entry) GetIbcCounterpartyChannelId

func (m *Entry) GetIbcCounterpartyChannelId() string

func (*Entry) GetIbcCounterpartyDenom

func (m *Entry) GetIbcCounterpartyDenom() string

func (*Entry) GetNetwork

func (m *Entry) GetNetwork() string

func (*Entry) GetPath

func (m *Entry) GetPath() string

func (*Entry) GetPermissions

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

func (*Entry) GetTransferLimit

func (m *Entry) GetTransferLimit() string

func (*Entry) GetUnitDenom

func (m *Entry) GetUnitDenom() string

func (*Entry) GetWithdrawEnabled

func (m *Entry) GetWithdrawEnabled() bool

func (*Entry) Marshal

func (m *Entry) Marshal() (dAtA []byte, err error)

func (*Entry) MarshalTo

func (m *Entry) MarshalTo(dAtA []byte) (int, error)

func (*Entry) MarshalToSizedBuffer

func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) Size

func (m *Entry) Size() (n int)

func (*Entry) String

func (m *Entry) String() string

func (*Entry) Unmarshal

func (m *Entry) Unmarshal(dAtA []byte) error

func (*Entry) XXX_DiscardUnknown

func (m *Entry) XXX_DiscardUnknown()

func (*Entry) XXX_Marshal

func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entry) XXX_Merge

func (m *Entry) XXX_Merge(src proto.Message)

func (*Entry) XXX_Size

func (m *Entry) XXX_Size() int

func (*Entry) XXX_Unmarshal

func (m *Entry) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	Params    Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	EntryList []Entry `protobuf:"bytes,2,rep,name=entry_list,json=entryList,proto3" json:"entry_list"`
}

GenesisState defines the assetprofile module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetEntryList

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	CreateEntry(ctx context.Context, in *MsgCreateEntry, opts ...grpc.CallOption) (*MsgCreateEntryResponse, error)
	UpdateEntry(ctx context.Context, in *MsgUpdateEntry, opts ...grpc.CallOption) (*MsgUpdateEntryResponse, error)
	DeleteEntry(ctx context.Context, in *MsgDeleteEntry, opts ...grpc.CallOption) (*MsgDeleteEntryResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateEntry

type MsgCreateEntry 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"`
}

func NewMsgCreateEntry

func NewMsgCreateEntry(
	authority string,
	baseDenom string,
	decimals uint64,
	denom string,
	path string,
	ibcChannelId string,
	ibcCounterpartyChannelId string,
	displayName string,
	displaySymbol string,
	network string,
	address string,
	externalSymbol string,
	transferLimit string,
	permissions []string,
	unitDenom string,
	ibcCounterpartyDenom string,
	ibcCounterpartyChainId string,
) *MsgCreateEntry

func (*MsgCreateEntry) Descriptor

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

func (*MsgCreateEntry) GetAddress

func (m *MsgCreateEntry) GetAddress() string

func (*MsgCreateEntry) GetAuthority

func (m *MsgCreateEntry) GetAuthority() string

func (*MsgCreateEntry) GetBaseDenom

func (m *MsgCreateEntry) GetBaseDenom() string

func (*MsgCreateEntry) GetCommitEnabled added in v0.22.0

func (m *MsgCreateEntry) GetCommitEnabled() bool

func (*MsgCreateEntry) GetDecimals

func (m *MsgCreateEntry) GetDecimals() uint64

func (*MsgCreateEntry) GetDenom

func (m *MsgCreateEntry) GetDenom() string

func (*MsgCreateEntry) GetDisplayName

func (m *MsgCreateEntry) GetDisplayName() string

func (*MsgCreateEntry) GetDisplaySymbol

func (m *MsgCreateEntry) GetDisplaySymbol() string

func (*MsgCreateEntry) GetExternalSymbol

func (m *MsgCreateEntry) GetExternalSymbol() string

func (*MsgCreateEntry) GetIbcChannelId

func (m *MsgCreateEntry) GetIbcChannelId() string

func (*MsgCreateEntry) GetIbcCounterpartyChainId

func (m *MsgCreateEntry) GetIbcCounterpartyChainId() string

func (*MsgCreateEntry) GetIbcCounterpartyChannelId

func (m *MsgCreateEntry) GetIbcCounterpartyChannelId() string

func (*MsgCreateEntry) GetIbcCounterpartyDenom

func (m *MsgCreateEntry) GetIbcCounterpartyDenom() string

func (*MsgCreateEntry) GetNetwork

func (m *MsgCreateEntry) GetNetwork() string

func (*MsgCreateEntry) GetPath

func (m *MsgCreateEntry) GetPath() string

func (*MsgCreateEntry) GetPermissions

func (m *MsgCreateEntry) GetPermissions() []string

func (*MsgCreateEntry) GetSignBytes

func (msg *MsgCreateEntry) GetSignBytes() []byte

func (*MsgCreateEntry) GetSigners

func (msg *MsgCreateEntry) GetSigners() []sdk.AccAddress

func (*MsgCreateEntry) GetTransferLimit

func (m *MsgCreateEntry) GetTransferLimit() string

func (*MsgCreateEntry) GetUnitDenom

func (m *MsgCreateEntry) GetUnitDenom() string

func (*MsgCreateEntry) GetWithdrawEnabled added in v0.22.0

func (m *MsgCreateEntry) GetWithdrawEnabled() bool

func (*MsgCreateEntry) Marshal

func (m *MsgCreateEntry) Marshal() (dAtA []byte, err error)

func (*MsgCreateEntry) MarshalTo

func (m *MsgCreateEntry) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateEntry) MarshalToSizedBuffer

func (m *MsgCreateEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateEntry) ProtoMessage

func (*MsgCreateEntry) ProtoMessage()

func (*MsgCreateEntry) Reset

func (m *MsgCreateEntry) Reset()

func (*MsgCreateEntry) Route

func (msg *MsgCreateEntry) Route() string

func (*MsgCreateEntry) Size

func (m *MsgCreateEntry) Size() (n int)

func (*MsgCreateEntry) String

func (m *MsgCreateEntry) String() string

func (*MsgCreateEntry) Type

func (msg *MsgCreateEntry) Type() string

func (*MsgCreateEntry) Unmarshal

func (m *MsgCreateEntry) Unmarshal(dAtA []byte) error

func (*MsgCreateEntry) ValidateBasic

func (msg *MsgCreateEntry) ValidateBasic() error

func (*MsgCreateEntry) XXX_DiscardUnknown

func (m *MsgCreateEntry) XXX_DiscardUnknown()

func (*MsgCreateEntry) XXX_Marshal

func (m *MsgCreateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateEntry) XXX_Merge

func (m *MsgCreateEntry) XXX_Merge(src proto.Message)

func (*MsgCreateEntry) XXX_Size

func (m *MsgCreateEntry) XXX_Size() int

func (*MsgCreateEntry) XXX_Unmarshal

func (m *MsgCreateEntry) XXX_Unmarshal(b []byte) error

type MsgCreateEntryResponse

type MsgCreateEntryResponse struct {
}

func (*MsgCreateEntryResponse) Descriptor

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

func (*MsgCreateEntryResponse) Marshal

func (m *MsgCreateEntryResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateEntryResponse) MarshalTo

func (m *MsgCreateEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateEntryResponse) MarshalToSizedBuffer

func (m *MsgCreateEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateEntryResponse) ProtoMessage

func (*MsgCreateEntryResponse) ProtoMessage()

func (*MsgCreateEntryResponse) Reset

func (m *MsgCreateEntryResponse) Reset()

func (*MsgCreateEntryResponse) Size

func (m *MsgCreateEntryResponse) Size() (n int)

func (*MsgCreateEntryResponse) String

func (m *MsgCreateEntryResponse) String() string

func (*MsgCreateEntryResponse) Unmarshal

func (m *MsgCreateEntryResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateEntryResponse) XXX_DiscardUnknown

func (m *MsgCreateEntryResponse) XXX_DiscardUnknown()

func (*MsgCreateEntryResponse) XXX_Marshal

func (m *MsgCreateEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateEntryResponse) XXX_Merge

func (m *MsgCreateEntryResponse) XXX_Merge(src proto.Message)

func (*MsgCreateEntryResponse) XXX_Size

func (m *MsgCreateEntryResponse) XXX_Size() int

func (*MsgCreateEntryResponse) XXX_Unmarshal

func (m *MsgCreateEntryResponse) XXX_Unmarshal(b []byte) error

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"`
}

func NewMsgDeleteEntry

func NewMsgDeleteEntry(
	authority string,
	baseDenom string,
) *MsgDeleteEntry

func (*MsgDeleteEntry) Descriptor

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

func (*MsgDeleteEntry) GetAuthority

func (m *MsgDeleteEntry) GetAuthority() string

func (*MsgDeleteEntry) GetBaseDenom

func (m *MsgDeleteEntry) GetBaseDenom() string

func (*MsgDeleteEntry) GetSignBytes

func (msg *MsgDeleteEntry) GetSignBytes() []byte

func (*MsgDeleteEntry) GetSigners

func (msg *MsgDeleteEntry) GetSigners() []sdk.AccAddress

func (*MsgDeleteEntry) Marshal

func (m *MsgDeleteEntry) Marshal() (dAtA []byte, err error)

func (*MsgDeleteEntry) MarshalTo

func (m *MsgDeleteEntry) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteEntry) MarshalToSizedBuffer

func (m *MsgDeleteEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteEntry) ProtoMessage

func (*MsgDeleteEntry) ProtoMessage()

func (*MsgDeleteEntry) Reset

func (m *MsgDeleteEntry) Reset()

func (*MsgDeleteEntry) Route

func (msg *MsgDeleteEntry) Route() string

func (*MsgDeleteEntry) Size

func (m *MsgDeleteEntry) Size() (n int)

func (*MsgDeleteEntry) String

func (m *MsgDeleteEntry) String() string

func (*MsgDeleteEntry) Type

func (msg *MsgDeleteEntry) Type() string

func (*MsgDeleteEntry) Unmarshal

func (m *MsgDeleteEntry) Unmarshal(dAtA []byte) error

func (*MsgDeleteEntry) ValidateBasic

func (msg *MsgDeleteEntry) ValidateBasic() error

func (*MsgDeleteEntry) XXX_DiscardUnknown

func (m *MsgDeleteEntry) XXX_DiscardUnknown()

func (*MsgDeleteEntry) XXX_Marshal

func (m *MsgDeleteEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteEntry) XXX_Merge

func (m *MsgDeleteEntry) XXX_Merge(src proto.Message)

func (*MsgDeleteEntry) XXX_Size

func (m *MsgDeleteEntry) XXX_Size() int

func (*MsgDeleteEntry) XXX_Unmarshal

func (m *MsgDeleteEntry) XXX_Unmarshal(b []byte) error

type MsgDeleteEntryResponse

type MsgDeleteEntryResponse struct {
}

func (*MsgDeleteEntryResponse) Descriptor

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

func (*MsgDeleteEntryResponse) Marshal

func (m *MsgDeleteEntryResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteEntryResponse) MarshalTo

func (m *MsgDeleteEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteEntryResponse) MarshalToSizedBuffer

func (m *MsgDeleteEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteEntryResponse) ProtoMessage

func (*MsgDeleteEntryResponse) ProtoMessage()

func (*MsgDeleteEntryResponse) Reset

func (m *MsgDeleteEntryResponse) Reset()

func (*MsgDeleteEntryResponse) Size

func (m *MsgDeleteEntryResponse) Size() (n int)

func (*MsgDeleteEntryResponse) String

func (m *MsgDeleteEntryResponse) String() string

func (*MsgDeleteEntryResponse) Unmarshal

func (m *MsgDeleteEntryResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteEntryResponse) XXX_DiscardUnknown

func (m *MsgDeleteEntryResponse) XXX_DiscardUnknown()

func (*MsgDeleteEntryResponse) XXX_Marshal

func (m *MsgDeleteEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteEntryResponse) XXX_Merge

func (m *MsgDeleteEntryResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteEntryResponse) XXX_Size

func (m *MsgDeleteEntryResponse) XXX_Size() int

func (*MsgDeleteEntryResponse) XXX_Unmarshal

func (m *MsgDeleteEntryResponse) XXX_Unmarshal(b []byte) error

type MsgServer

MsgServer is the server API for Msg service.

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"`
}

func NewMsgUpdateEntry

func NewMsgUpdateEntry(
	authority string,
	baseDenom string,
	decimals uint64,
	denom string,
	path string,
	ibcChannelId string,
	ibcCounterpartyChannelId string,
	displayName string,
	displaySymbol string,
	network string,
	address string,
	externalSymbol string,
	transferLimit string,
	permissions []string,
	unitDenom string,
	ibcCounterpartyDenom string,
	ibcCounterpartyChainId string,
) *MsgUpdateEntry

func (*MsgUpdateEntry) Descriptor

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

func (*MsgUpdateEntry) GetAddress

func (m *MsgUpdateEntry) GetAddress() string

func (*MsgUpdateEntry) GetAuthority

func (m *MsgUpdateEntry) GetAuthority() string

func (*MsgUpdateEntry) GetBaseDenom

func (m *MsgUpdateEntry) GetBaseDenom() string

func (*MsgUpdateEntry) GetCommitEnabled added in v0.22.0

func (m *MsgUpdateEntry) GetCommitEnabled() bool

func (*MsgUpdateEntry) GetDecimals

func (m *MsgUpdateEntry) GetDecimals() uint64

func (*MsgUpdateEntry) GetDenom

func (m *MsgUpdateEntry) GetDenom() string

func (*MsgUpdateEntry) GetDisplayName

func (m *MsgUpdateEntry) GetDisplayName() string

func (*MsgUpdateEntry) GetDisplaySymbol

func (m *MsgUpdateEntry) GetDisplaySymbol() string

func (*MsgUpdateEntry) GetExternalSymbol

func (m *MsgUpdateEntry) GetExternalSymbol() string

func (*MsgUpdateEntry) GetIbcChannelId

func (m *MsgUpdateEntry) GetIbcChannelId() string

func (*MsgUpdateEntry) GetIbcCounterpartyChainId

func (m *MsgUpdateEntry) GetIbcCounterpartyChainId() string

func (*MsgUpdateEntry) GetIbcCounterpartyChannelId

func (m *MsgUpdateEntry) GetIbcCounterpartyChannelId() string

func (*MsgUpdateEntry) GetIbcCounterpartyDenom

func (m *MsgUpdateEntry) GetIbcCounterpartyDenom() string

func (*MsgUpdateEntry) GetNetwork

func (m *MsgUpdateEntry) GetNetwork() string

func (*MsgUpdateEntry) GetPath

func (m *MsgUpdateEntry) GetPath() string

func (*MsgUpdateEntry) GetPermissions

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

func (*MsgUpdateEntry) GetSignBytes

func (msg *MsgUpdateEntry) GetSignBytes() []byte

func (*MsgUpdateEntry) GetSigners

func (msg *MsgUpdateEntry) GetSigners() []sdk.AccAddress

func (*MsgUpdateEntry) GetTransferLimit

func (m *MsgUpdateEntry) GetTransferLimit() string

func (*MsgUpdateEntry) GetUnitDenom

func (m *MsgUpdateEntry) GetUnitDenom() string

func (*MsgUpdateEntry) GetWithdrawEnabled added in v0.22.0

func (m *MsgUpdateEntry) GetWithdrawEnabled() bool

func (*MsgUpdateEntry) Marshal

func (m *MsgUpdateEntry) Marshal() (dAtA []byte, err error)

func (*MsgUpdateEntry) MarshalTo

func (m *MsgUpdateEntry) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateEntry) MarshalToSizedBuffer

func (m *MsgUpdateEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateEntry) ProtoMessage

func (*MsgUpdateEntry) ProtoMessage()

func (*MsgUpdateEntry) Reset

func (m *MsgUpdateEntry) Reset()

func (*MsgUpdateEntry) Route

func (msg *MsgUpdateEntry) Route() string

func (*MsgUpdateEntry) Size

func (m *MsgUpdateEntry) Size() (n int)

func (*MsgUpdateEntry) String

func (m *MsgUpdateEntry) String() string

func (*MsgUpdateEntry) Type

func (msg *MsgUpdateEntry) Type() string

func (*MsgUpdateEntry) Unmarshal

func (m *MsgUpdateEntry) Unmarshal(dAtA []byte) error

func (*MsgUpdateEntry) ValidateBasic

func (msg *MsgUpdateEntry) ValidateBasic() error

func (*MsgUpdateEntry) XXX_DiscardUnknown

func (m *MsgUpdateEntry) XXX_DiscardUnknown()

func (*MsgUpdateEntry) XXX_Marshal

func (m *MsgUpdateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateEntry) XXX_Merge

func (m *MsgUpdateEntry) XXX_Merge(src proto.Message)

func (*MsgUpdateEntry) XXX_Size

func (m *MsgUpdateEntry) XXX_Size() int

func (*MsgUpdateEntry) XXX_Unmarshal

func (m *MsgUpdateEntry) XXX_Unmarshal(b []byte) error

type MsgUpdateEntryResponse

type MsgUpdateEntryResponse struct {
}

func (*MsgUpdateEntryResponse) Descriptor

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

func (*MsgUpdateEntryResponse) Marshal

func (m *MsgUpdateEntryResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateEntryResponse) MarshalTo

func (m *MsgUpdateEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateEntryResponse) MarshalToSizedBuffer

func (m *MsgUpdateEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateEntryResponse) ProtoMessage

func (*MsgUpdateEntryResponse) ProtoMessage()

func (*MsgUpdateEntryResponse) Reset

func (m *MsgUpdateEntryResponse) Reset()

func (*MsgUpdateEntryResponse) Size

func (m *MsgUpdateEntryResponse) Size() (n int)

func (*MsgUpdateEntryResponse) String

func (m *MsgUpdateEntryResponse) String() string

func (*MsgUpdateEntryResponse) Unmarshal

func (m *MsgUpdateEntryResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateEntryResponse) XXX_DiscardUnknown

func (m *MsgUpdateEntryResponse) XXX_DiscardUnknown()

func (*MsgUpdateEntryResponse) XXX_Marshal

func (m *MsgUpdateEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateEntryResponse) XXX_Merge

func (m *MsgUpdateEntryResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateEntryResponse) XXX_Size

func (m *MsgUpdateEntryResponse) XXX_Size() int

func (*MsgUpdateEntryResponse) XXX_Unmarshal

func (m *MsgUpdateEntryResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllEntryRequest

type QueryAllEntryRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEntryRequest) Descriptor

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

func (*QueryAllEntryRequest) GetPagination

func (m *QueryAllEntryRequest) GetPagination() *query.PageRequest

func (*QueryAllEntryRequest) Marshal

func (m *QueryAllEntryRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllEntryRequest) MarshalTo

func (m *QueryAllEntryRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllEntryRequest) MarshalToSizedBuffer

func (m *QueryAllEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllEntryRequest) ProtoMessage

func (*QueryAllEntryRequest) ProtoMessage()

func (*QueryAllEntryRequest) Reset

func (m *QueryAllEntryRequest) Reset()

func (*QueryAllEntryRequest) Size

func (m *QueryAllEntryRequest) Size() (n int)

func (*QueryAllEntryRequest) String

func (m *QueryAllEntryRequest) String() string

func (*QueryAllEntryRequest) Unmarshal

func (m *QueryAllEntryRequest) Unmarshal(dAtA []byte) error

func (*QueryAllEntryRequest) XXX_DiscardUnknown

func (m *QueryAllEntryRequest) XXX_DiscardUnknown()

func (*QueryAllEntryRequest) XXX_Marshal

func (m *QueryAllEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllEntryRequest) XXX_Merge

func (m *QueryAllEntryRequest) XXX_Merge(src proto.Message)

func (*QueryAllEntryRequest) XXX_Size

func (m *QueryAllEntryRequest) XXX_Size() int

func (*QueryAllEntryRequest) XXX_Unmarshal

func (m *QueryAllEntryRequest) XXX_Unmarshal(b []byte) error

type QueryAllEntryResponse

type QueryAllEntryResponse struct {
	Entry      []Entry             `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEntryResponse) Descriptor

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

func (*QueryAllEntryResponse) GetEntry

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

func (*QueryAllEntryResponse) GetPagination

func (m *QueryAllEntryResponse) GetPagination() *query.PageResponse

func (*QueryAllEntryResponse) Marshal

func (m *QueryAllEntryResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllEntryResponse) MarshalTo

func (m *QueryAllEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllEntryResponse) MarshalToSizedBuffer

func (m *QueryAllEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllEntryResponse) ProtoMessage

func (*QueryAllEntryResponse) ProtoMessage()

func (*QueryAllEntryResponse) Reset

func (m *QueryAllEntryResponse) Reset()

func (*QueryAllEntryResponse) Size

func (m *QueryAllEntryResponse) Size() (n int)

func (*QueryAllEntryResponse) String

func (m *QueryAllEntryResponse) String() string

func (*QueryAllEntryResponse) Unmarshal

func (m *QueryAllEntryResponse) Unmarshal(dAtA []byte) error

func (*QueryAllEntryResponse) XXX_DiscardUnknown

func (m *QueryAllEntryResponse) XXX_DiscardUnknown()

func (*QueryAllEntryResponse) XXX_Marshal

func (m *QueryAllEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllEntryResponse) XXX_Merge

func (m *QueryAllEntryResponse) XXX_Merge(src proto.Message)

func (*QueryAllEntryResponse) XXX_Size

func (m *QueryAllEntryResponse) XXX_Size() int

func (*QueryAllEntryResponse) XXX_Unmarshal

func (m *QueryAllEntryResponse) XXX_Unmarshal(b []byte) error

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 *QueryGetEntryRequest, opts ...grpc.CallOption) (*QueryGetEntryResponse, error)
	EntryByDenom(ctx context.Context, in *QueryGetEntryByDenomRequest, opts ...grpc.CallOption) (*QueryGetEntryByDenomResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetEntryByDenomRequest added in v0.28.0

type QueryGetEntryByDenomRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryGetEntryByDenomRequest) Descriptor added in v0.28.0

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

func (*QueryGetEntryByDenomRequest) GetDenom added in v0.28.0

func (m *QueryGetEntryByDenomRequest) GetDenom() string

func (*QueryGetEntryByDenomRequest) Marshal added in v0.28.0

func (m *QueryGetEntryByDenomRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetEntryByDenomRequest) MarshalTo added in v0.28.0

func (m *QueryGetEntryByDenomRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEntryByDenomRequest) MarshalToSizedBuffer added in v0.28.0

func (m *QueryGetEntryByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEntryByDenomRequest) ProtoMessage added in v0.28.0

func (*QueryGetEntryByDenomRequest) ProtoMessage()

func (*QueryGetEntryByDenomRequest) Reset added in v0.28.0

func (m *QueryGetEntryByDenomRequest) Reset()

func (*QueryGetEntryByDenomRequest) Size added in v0.28.0

func (m *QueryGetEntryByDenomRequest) Size() (n int)

func (*QueryGetEntryByDenomRequest) String added in v0.28.0

func (m *QueryGetEntryByDenomRequest) String() string

func (*QueryGetEntryByDenomRequest) Unmarshal added in v0.28.0

func (m *QueryGetEntryByDenomRequest) Unmarshal(dAtA []byte) error

func (*QueryGetEntryByDenomRequest) XXX_DiscardUnknown added in v0.28.0

func (m *QueryGetEntryByDenomRequest) XXX_DiscardUnknown()

func (*QueryGetEntryByDenomRequest) XXX_Marshal added in v0.28.0

func (m *QueryGetEntryByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEntryByDenomRequest) XXX_Merge added in v0.28.0

func (m *QueryGetEntryByDenomRequest) XXX_Merge(src proto.Message)

func (*QueryGetEntryByDenomRequest) XXX_Size added in v0.28.0

func (m *QueryGetEntryByDenomRequest) XXX_Size() int

func (*QueryGetEntryByDenomRequest) XXX_Unmarshal added in v0.28.0

func (m *QueryGetEntryByDenomRequest) XXX_Unmarshal(b []byte) error

type QueryGetEntryByDenomResponse added in v0.28.0

type QueryGetEntryByDenomResponse struct {
	Entry Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry"`
}

func (*QueryGetEntryByDenomResponse) Descriptor added in v0.28.0

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

func (*QueryGetEntryByDenomResponse) GetEntry added in v0.28.0

func (m *QueryGetEntryByDenomResponse) GetEntry() Entry

func (*QueryGetEntryByDenomResponse) Marshal added in v0.28.0

func (m *QueryGetEntryByDenomResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetEntryByDenomResponse) MarshalTo added in v0.28.0

func (m *QueryGetEntryByDenomResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEntryByDenomResponse) MarshalToSizedBuffer added in v0.28.0

func (m *QueryGetEntryByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEntryByDenomResponse) ProtoMessage added in v0.28.0

func (*QueryGetEntryByDenomResponse) ProtoMessage()

func (*QueryGetEntryByDenomResponse) Reset added in v0.28.0

func (m *QueryGetEntryByDenomResponse) Reset()

func (*QueryGetEntryByDenomResponse) Size added in v0.28.0

func (m *QueryGetEntryByDenomResponse) Size() (n int)

func (*QueryGetEntryByDenomResponse) String added in v0.28.0

func (*QueryGetEntryByDenomResponse) Unmarshal added in v0.28.0

func (m *QueryGetEntryByDenomResponse) Unmarshal(dAtA []byte) error

func (*QueryGetEntryByDenomResponse) XXX_DiscardUnknown added in v0.28.0

func (m *QueryGetEntryByDenomResponse) XXX_DiscardUnknown()

func (*QueryGetEntryByDenomResponse) XXX_Marshal added in v0.28.0

func (m *QueryGetEntryByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEntryByDenomResponse) XXX_Merge added in v0.28.0

func (m *QueryGetEntryByDenomResponse) XXX_Merge(src proto.Message)

func (*QueryGetEntryByDenomResponse) XXX_Size added in v0.28.0

func (m *QueryGetEntryByDenomResponse) XXX_Size() int

func (*QueryGetEntryByDenomResponse) XXX_Unmarshal added in v0.28.0

func (m *QueryGetEntryByDenomResponse) XXX_Unmarshal(b []byte) error

type QueryGetEntryRequest

type QueryGetEntryRequest struct {
	BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
}

func (*QueryGetEntryRequest) Descriptor

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

func (*QueryGetEntryRequest) GetBaseDenom

func (m *QueryGetEntryRequest) GetBaseDenom() string

func (*QueryGetEntryRequest) Marshal

func (m *QueryGetEntryRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetEntryRequest) MarshalTo

func (m *QueryGetEntryRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEntryRequest) MarshalToSizedBuffer

func (m *QueryGetEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEntryRequest) ProtoMessage

func (*QueryGetEntryRequest) ProtoMessage()

func (*QueryGetEntryRequest) Reset

func (m *QueryGetEntryRequest) Reset()

func (*QueryGetEntryRequest) Size

func (m *QueryGetEntryRequest) Size() (n int)

func (*QueryGetEntryRequest) String

func (m *QueryGetEntryRequest) String() string

func (*QueryGetEntryRequest) Unmarshal

func (m *QueryGetEntryRequest) Unmarshal(dAtA []byte) error

func (*QueryGetEntryRequest) XXX_DiscardUnknown

func (m *QueryGetEntryRequest) XXX_DiscardUnknown()

func (*QueryGetEntryRequest) XXX_Marshal

func (m *QueryGetEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEntryRequest) XXX_Merge

func (m *QueryGetEntryRequest) XXX_Merge(src proto.Message)

func (*QueryGetEntryRequest) XXX_Size

func (m *QueryGetEntryRequest) XXX_Size() int

func (*QueryGetEntryRequest) XXX_Unmarshal

func (m *QueryGetEntryRequest) XXX_Unmarshal(b []byte) error

type QueryGetEntryResponse

type QueryGetEntryResponse struct {
	Entry Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry"`
}

func (*QueryGetEntryResponse) Descriptor

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

func (*QueryGetEntryResponse) GetEntry

func (m *QueryGetEntryResponse) GetEntry() Entry

func (*QueryGetEntryResponse) Marshal

func (m *QueryGetEntryResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetEntryResponse) MarshalTo

func (m *QueryGetEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEntryResponse) MarshalToSizedBuffer

func (m *QueryGetEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEntryResponse) ProtoMessage

func (*QueryGetEntryResponse) ProtoMessage()

func (*QueryGetEntryResponse) Reset

func (m *QueryGetEntryResponse) Reset()

func (*QueryGetEntryResponse) Size

func (m *QueryGetEntryResponse) Size() (n int)

func (*QueryGetEntryResponse) String

func (m *QueryGetEntryResponse) String() string

func (*QueryGetEntryResponse) Unmarshal

func (m *QueryGetEntryResponse) Unmarshal(dAtA []byte) error

func (*QueryGetEntryResponse) XXX_DiscardUnknown

func (m *QueryGetEntryResponse) XXX_DiscardUnknown()

func (*QueryGetEntryResponse) XXX_Marshal

func (m *QueryGetEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEntryResponse) XXX_Merge

func (m *QueryGetEntryResponse) XXX_Merge(src proto.Message)

func (*QueryGetEntryResponse) XXX_Size

func (m *QueryGetEntryResponse) XXX_Size() int

func (*QueryGetEntryResponse) XXX_Unmarshal

func (m *QueryGetEntryResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

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, *QueryGetEntryRequest) (*QueryGetEntryResponse, error)
	EntryByDenom(context.Context, *QueryGetEntryByDenomRequest) (*QueryGetEntryByDenomResponse, error)
	EntryAll(context.Context, *QueryAllEntryRequest) (*QueryAllEntryResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateEntry

func (*UnimplementedMsgServer) DeleteEntry

func (*UnimplementedMsgServer) UpdateEntry

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Entry

func (*UnimplementedQueryServer) EntryAll

func (*UnimplementedQueryServer) EntryByDenom added in v0.28.0

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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