Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func EntryKey(baseDenom string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetAddress() string
- func (m *Entry) GetAuthority() string
- func (m *Entry) GetBaseDenom() string
- func (m *Entry) GetCommitEnabled() bool
- func (m *Entry) GetDecimals() uint64
- func (m *Entry) GetDenom() string
- func (m *Entry) GetDisplayName() string
- func (m *Entry) GetDisplaySymbol() string
- func (m *Entry) GetExternalSymbol() string
- func (m *Entry) GetIbcChannelId() string
- func (m *Entry) GetIbcCounterpartyChainId() string
- func (m *Entry) GetIbcCounterpartyChannelId() string
- func (m *Entry) GetIbcCounterpartyDenom() string
- func (m *Entry) GetNetwork() string
- func (m *Entry) GetPath() string
- func (m *Entry) GetPermissions() []string
- func (m *Entry) GetTransferLimit() string
- func (m *Entry) GetUnitDenom() string
- func (m *Entry) GetWithdrawEnabled() bool
- func (m *Entry) Marshal() (dAtA []byte, err error)
- func (m *Entry) MarshalTo(dAtA []byte) (int, error)
- func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) Size() (n int)
- func (m *Entry) String() string
- func (m *Entry) Unmarshal(dAtA []byte) error
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetEntryList() []Entry
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAddEntry
- func (*MsgAddEntry) Descriptor() ([]byte, []int)
- func (m *MsgAddEntry) GetAddress() string
- func (m *MsgAddEntry) GetBaseDenom() string
- func (m *MsgAddEntry) GetCommitEnabled() bool
- func (m *MsgAddEntry) GetCreator() string
- func (m *MsgAddEntry) GetDecimals() uint64
- func (m *MsgAddEntry) GetDenom() string
- func (m *MsgAddEntry) GetDisplayName() string
- func (m *MsgAddEntry) GetDisplaySymbol() string
- func (m *MsgAddEntry) GetExternalSymbol() string
- func (m *MsgAddEntry) GetIbcChannelId() string
- func (m *MsgAddEntry) GetIbcCounterpartyChainId() string
- func (m *MsgAddEntry) GetIbcCounterpartyChannelId() string
- func (m *MsgAddEntry) GetIbcCounterpartyDenom() string
- func (m *MsgAddEntry) GetNetwork() string
- func (m *MsgAddEntry) GetPath() string
- func (m *MsgAddEntry) GetPermissions() []string
- func (msg *MsgAddEntry) GetSignBytes() []byte
- func (msg *MsgAddEntry) GetSigners() []sdk.AccAddress
- func (m *MsgAddEntry) GetTransferLimit() string
- func (m *MsgAddEntry) GetUnitDenom() string
- func (m *MsgAddEntry) GetWithdrawEnabled() bool
- func (m *MsgAddEntry) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEntry) ProtoMessage()
- func (m *MsgAddEntry) Reset()
- func (msg *MsgAddEntry) Route() string
- func (m *MsgAddEntry) Size() (n int)
- func (m *MsgAddEntry) String() string
- func (msg *MsgAddEntry) Type() string
- func (m *MsgAddEntry) Unmarshal(dAtA []byte) error
- func (msg *MsgAddEntry) ValidateBasic() error
- func (m *MsgAddEntry) XXX_DiscardUnknown()
- func (m *MsgAddEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEntry) XXX_Merge(src proto.Message)
- func (m *MsgAddEntry) XXX_Size() int
- func (m *MsgAddEntry) XXX_Unmarshal(b []byte) error
- type MsgAddEntryResponse
- func (*MsgAddEntryResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddEntryResponse) ProtoMessage()
- func (m *MsgAddEntryResponse) Reset()
- func (m *MsgAddEntryResponse) Size() (n int)
- func (m *MsgAddEntryResponse) String() string
- func (m *MsgAddEntryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddEntryResponse) XXX_DiscardUnknown()
- func (m *MsgAddEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddEntryResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddEntryResponse) XXX_Size() int
- func (m *MsgAddEntryResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeleteEntry
- func (*MsgDeleteEntry) Descriptor() ([]byte, []int)
- func (m *MsgDeleteEntry) GetAuthority() string
- func (m *MsgDeleteEntry) GetBaseDenom() string
- func (msg *MsgDeleteEntry) GetSignBytes() []byte
- func (msg *MsgDeleteEntry) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteEntry) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteEntry) ProtoMessage()
- func (m *MsgDeleteEntry) Reset()
- func (msg *MsgDeleteEntry) Route() string
- func (m *MsgDeleteEntry) Size() (n int)
- func (m *MsgDeleteEntry) String() string
- func (msg *MsgDeleteEntry) Type() string
- func (m *MsgDeleteEntry) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteEntry) ValidateBasic() error
- func (m *MsgDeleteEntry) XXX_DiscardUnknown()
- func (m *MsgDeleteEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteEntry) XXX_Merge(src proto.Message)
- func (m *MsgDeleteEntry) XXX_Size() int
- func (m *MsgDeleteEntry) XXX_Unmarshal(b []byte) error
- type MsgDeleteEntryResponse
- func (*MsgDeleteEntryResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteEntryResponse) ProtoMessage()
- func (m *MsgDeleteEntryResponse) Reset()
- func (m *MsgDeleteEntryResponse) Size() (n int)
- func (m *MsgDeleteEntryResponse) String() string
- func (m *MsgDeleteEntryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteEntryResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteEntryResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteEntryResponse) XXX_Size() int
- func (m *MsgDeleteEntryResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateEntry
- func (*MsgUpdateEntry) Descriptor() ([]byte, []int)
- func (m *MsgUpdateEntry) GetAddress() string
- func (m *MsgUpdateEntry) GetAuthority() string
- func (m *MsgUpdateEntry) GetBaseDenom() string
- func (m *MsgUpdateEntry) GetCommitEnabled() bool
- func (m *MsgUpdateEntry) GetDecimals() uint64
- func (m *MsgUpdateEntry) GetDenom() string
- func (m *MsgUpdateEntry) GetDisplayName() string
- func (m *MsgUpdateEntry) GetDisplaySymbol() string
- func (m *MsgUpdateEntry) GetExternalSymbol() string
- func (m *MsgUpdateEntry) GetIbcChannelId() string
- func (m *MsgUpdateEntry) GetIbcCounterpartyChainId() string
- func (m *MsgUpdateEntry) GetIbcCounterpartyChannelId() string
- func (m *MsgUpdateEntry) GetIbcCounterpartyDenom() string
- func (m *MsgUpdateEntry) GetNetwork() string
- func (m *MsgUpdateEntry) GetPath() string
- func (m *MsgUpdateEntry) GetPermissions() []string
- func (msg *MsgUpdateEntry) GetSignBytes() []byte
- func (msg *MsgUpdateEntry) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateEntry) GetTransferLimit() string
- func (m *MsgUpdateEntry) GetUnitDenom() string
- func (m *MsgUpdateEntry) GetWithdrawEnabled() bool
- func (m *MsgUpdateEntry) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEntry) ProtoMessage()
- func (m *MsgUpdateEntry) Reset()
- func (msg *MsgUpdateEntry) Route() string
- func (m *MsgUpdateEntry) Size() (n int)
- func (m *MsgUpdateEntry) String() string
- func (msg *MsgUpdateEntry) Type() string
- func (m *MsgUpdateEntry) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateEntry) ValidateBasic() error
- func (m *MsgUpdateEntry) XXX_DiscardUnknown()
- func (m *MsgUpdateEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEntry) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEntry) XXX_Size() int
- func (m *MsgUpdateEntry) XXX_Unmarshal(b []byte) error
- type MsgUpdateEntryResponse
- func (*MsgUpdateEntryResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateEntryResponse) ProtoMessage()
- func (m *MsgUpdateEntryResponse) Reset()
- func (m *MsgUpdateEntryResponse) Size() (n int)
- func (m *MsgUpdateEntryResponse) String() string
- func (m *MsgUpdateEntryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateEntryResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateEntryResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateEntryResponse) XXX_Size() int
- func (m *MsgUpdateEntryResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllEntryRequest
- func (*QueryAllEntryRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllEntryRequest) GetPagination() *query.PageRequest
- func (m *QueryAllEntryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllEntryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllEntryRequest) ProtoMessage()
- func (m *QueryAllEntryRequest) Reset()
- func (m *QueryAllEntryRequest) Size() (n int)
- func (m *QueryAllEntryRequest) String() string
- func (m *QueryAllEntryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllEntryRequest) XXX_DiscardUnknown()
- func (m *QueryAllEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllEntryRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllEntryRequest) XXX_Size() int
- func (m *QueryAllEntryRequest) XXX_Unmarshal(b []byte) error
- type QueryAllEntryResponse
- func (*QueryAllEntryResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllEntryResponse) GetEntry() []Entry
- func (m *QueryAllEntryResponse) GetPagination() *query.PageResponse
- func (m *QueryAllEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllEntryResponse) ProtoMessage()
- func (m *QueryAllEntryResponse) Reset()
- func (m *QueryAllEntryResponse) Size() (n int)
- func (m *QueryAllEntryResponse) String() string
- func (m *QueryAllEntryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllEntryResponse) XXX_DiscardUnknown()
- func (m *QueryAllEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllEntryResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllEntryResponse) XXX_Size() int
- func (m *QueryAllEntryResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetEntryByDenomRequest
- func (*QueryGetEntryByDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetEntryByDenomRequest) GetDenom() string
- func (m *QueryGetEntryByDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEntryByDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEntryByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEntryByDenomRequest) ProtoMessage()
- func (m *QueryGetEntryByDenomRequest) Reset()
- func (m *QueryGetEntryByDenomRequest) Size() (n int)
- func (m *QueryGetEntryByDenomRequest) String() string
- func (m *QueryGetEntryByDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetEntryByDenomRequest) XXX_DiscardUnknown()
- func (m *QueryGetEntryByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEntryByDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetEntryByDenomRequest) XXX_Size() int
- func (m *QueryGetEntryByDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryGetEntryByDenomResponse
- func (*QueryGetEntryByDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetEntryByDenomResponse) GetEntry() Entry
- func (m *QueryGetEntryByDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEntryByDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEntryByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEntryByDenomResponse) ProtoMessage()
- func (m *QueryGetEntryByDenomResponse) Reset()
- func (m *QueryGetEntryByDenomResponse) Size() (n int)
- func (m *QueryGetEntryByDenomResponse) String() string
- func (m *QueryGetEntryByDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetEntryByDenomResponse) XXX_DiscardUnknown()
- func (m *QueryGetEntryByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEntryByDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetEntryByDenomResponse) XXX_Size() int
- func (m *QueryGetEntryByDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryGetEntryRequest
- func (*QueryGetEntryRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetEntryRequest) GetBaseDenom() string
- func (m *QueryGetEntryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEntryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEntryRequest) ProtoMessage()
- func (m *QueryGetEntryRequest) Reset()
- func (m *QueryGetEntryRequest) Size() (n int)
- func (m *QueryGetEntryRequest) String() string
- func (m *QueryGetEntryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetEntryRequest) XXX_DiscardUnknown()
- func (m *QueryGetEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEntryRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetEntryRequest) XXX_Size() int
- func (m *QueryGetEntryRequest) XXX_Unmarshal(b []byte) error
- type QueryGetEntryResponse
- func (*QueryGetEntryResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetEntryResponse) GetEntry() Entry
- func (m *QueryGetEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEntryResponse) ProtoMessage()
- func (m *QueryGetEntryResponse) Reset()
- func (m *QueryGetEntryResponse) Size() (n int)
- func (m *QueryGetEntryResponse) String() string
- func (m *QueryGetEntryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetEntryResponse) XXX_DiscardUnknown()
- func (m *QueryGetEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEntryResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetEntryResponse) XXX_Size() int
- func (m *QueryGetEntryResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddEntry(ctx context.Context, req *MsgAddEntry) (*MsgAddEntryResponse, error)
- func (*UnimplementedMsgServer) DeleteEntry(ctx context.Context, req *MsgDeleteEntry) (*MsgDeleteEntryResponse, error)
- func (*UnimplementedMsgServer) UpdateEntry(ctx context.Context, req *MsgUpdateEntry) (*MsgUpdateEntryResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Entry(ctx context.Context, req *QueryGetEntryRequest) (*QueryGetEntryResponse, error)
- func (*UnimplementedQueryServer) EntryAll(ctx context.Context, req *QueryAllEntryRequest) (*QueryAllEntryResponse, error)
- func (*UnimplementedQueryServer) EntryByDenom(ctx context.Context, req *QueryGetEntryByDenomRequest) (*QueryGetEntryByDenomResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
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" )
const ( TypeMsgCreateEntry = "create_entry" TypeMsgUpdateEntry = "update_entry" TypeMsgDeleteEntry = "delete_entry" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// EntryKeyPrefix is the prefix to retrieve all Entry
EntryKeyPrefix = "Entry/value/"
)
const TypeMsgAddEntry = "add_entry"
Variables ¶
var ( ErrInvalidLengthAddEntry = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAddEntry = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAddEntry = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEntry = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEntry = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEntry = fmt.Errorf("proto: unexpected end of group") )
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") ErrDecimalsInvalid = errors.Register(ModuleName, 4, "decimals have to be a value between 6 and 18") ErrInvalidBaseDenom = errors.Register(ModuleName, 5, "invalid base denom") )
x/assetprofile module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var (
ParamKeyPrefix = []byte{0x01}
)
Functions ¶
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 RegisterQueryHandler ¶
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 ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
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) GetAddress ¶
func (*Entry) GetAuthority ¶
func (*Entry) GetBaseDenom ¶
func (*Entry) GetCommitEnabled ¶
func (*Entry) GetDecimals ¶
func (*Entry) GetDisplayName ¶
func (*Entry) GetDisplaySymbol ¶
func (*Entry) GetExternalSymbol ¶
func (*Entry) GetIbcChannelId ¶
func (*Entry) GetIbcCounterpartyChainId ¶
func (*Entry) GetIbcCounterpartyChannelId ¶
func (*Entry) GetIbcCounterpartyDenom ¶
func (*Entry) GetNetwork ¶
func (*Entry) GetPermissions ¶
func (*Entry) GetTransferLimit ¶
func (*Entry) GetUnitDenom ¶
func (*Entry) GetWithdrawEnabled ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
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) 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 MsgAddEntry ¶ added in v0.41.0
type MsgAddEntry struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,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 NewMsgAddEntry ¶ added in v0.41.0
func NewMsgAddEntry(creator 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, commitEnabled bool, withdrawEnabled bool) *MsgAddEntry
func (*MsgAddEntry) Descriptor ¶ added in v0.41.0
func (*MsgAddEntry) Descriptor() ([]byte, []int)
func (*MsgAddEntry) GetAddress ¶ added in v0.41.0
func (m *MsgAddEntry) GetAddress() string
func (*MsgAddEntry) GetBaseDenom ¶ added in v0.41.0
func (m *MsgAddEntry) GetBaseDenom() string
func (*MsgAddEntry) GetCommitEnabled ¶ added in v0.41.0
func (m *MsgAddEntry) GetCommitEnabled() bool
func (*MsgAddEntry) GetCreator ¶ added in v0.41.0
func (m *MsgAddEntry) GetCreator() string
func (*MsgAddEntry) GetDecimals ¶ added in v0.41.0
func (m *MsgAddEntry) GetDecimals() uint64
func (*MsgAddEntry) GetDenom ¶ added in v0.41.0
func (m *MsgAddEntry) GetDenom() string
func (*MsgAddEntry) GetDisplayName ¶ added in v0.41.0
func (m *MsgAddEntry) GetDisplayName() string
func (*MsgAddEntry) GetDisplaySymbol ¶ added in v0.41.0
func (m *MsgAddEntry) GetDisplaySymbol() string
func (*MsgAddEntry) GetExternalSymbol ¶ added in v0.41.0
func (m *MsgAddEntry) GetExternalSymbol() string
func (*MsgAddEntry) GetIbcChannelId ¶ added in v0.41.0
func (m *MsgAddEntry) GetIbcChannelId() string
func (*MsgAddEntry) GetIbcCounterpartyChainId ¶ added in v0.41.0
func (m *MsgAddEntry) GetIbcCounterpartyChainId() string
func (*MsgAddEntry) GetIbcCounterpartyChannelId ¶ added in v0.41.0
func (m *MsgAddEntry) GetIbcCounterpartyChannelId() string
func (*MsgAddEntry) GetIbcCounterpartyDenom ¶ added in v0.41.0
func (m *MsgAddEntry) GetIbcCounterpartyDenom() string
func (*MsgAddEntry) GetNetwork ¶ added in v0.41.0
func (m *MsgAddEntry) GetNetwork() string
func (*MsgAddEntry) GetPath ¶ added in v0.41.0
func (m *MsgAddEntry) GetPath() string
func (*MsgAddEntry) GetPermissions ¶ added in v0.41.0
func (m *MsgAddEntry) GetPermissions() []string
func (*MsgAddEntry) GetSignBytes ¶ added in v0.41.0
func (msg *MsgAddEntry) GetSignBytes() []byte
func (*MsgAddEntry) GetSigners ¶ added in v0.41.0
func (msg *MsgAddEntry) GetSigners() []sdk.AccAddress
func (*MsgAddEntry) GetTransferLimit ¶ added in v0.41.0
func (m *MsgAddEntry) GetTransferLimit() string
func (*MsgAddEntry) GetUnitDenom ¶ added in v0.41.0
func (m *MsgAddEntry) GetUnitDenom() string
func (*MsgAddEntry) GetWithdrawEnabled ¶ added in v0.41.0
func (m *MsgAddEntry) GetWithdrawEnabled() bool
func (*MsgAddEntry) Marshal ¶ added in v0.41.0
func (m *MsgAddEntry) Marshal() (dAtA []byte, err error)
func (*MsgAddEntry) MarshalTo ¶ added in v0.41.0
func (m *MsgAddEntry) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddEntry) MarshalToSizedBuffer ¶ added in v0.41.0
func (m *MsgAddEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEntry) ProtoMessage ¶ added in v0.41.0
func (*MsgAddEntry) ProtoMessage()
func (*MsgAddEntry) Reset ¶ added in v0.41.0
func (m *MsgAddEntry) Reset()
func (*MsgAddEntry) Route ¶ added in v0.41.0
func (msg *MsgAddEntry) Route() string
func (*MsgAddEntry) Size ¶ added in v0.41.0
func (m *MsgAddEntry) Size() (n int)
func (*MsgAddEntry) String ¶ added in v0.41.0
func (m *MsgAddEntry) String() string
func (*MsgAddEntry) Type ¶ added in v0.41.0
func (msg *MsgAddEntry) Type() string
func (*MsgAddEntry) Unmarshal ¶ added in v0.41.0
func (m *MsgAddEntry) Unmarshal(dAtA []byte) error
func (*MsgAddEntry) ValidateBasic ¶ added in v0.41.0
func (msg *MsgAddEntry) ValidateBasic() error
func (*MsgAddEntry) XXX_DiscardUnknown ¶ added in v0.41.0
func (m *MsgAddEntry) XXX_DiscardUnknown()
func (*MsgAddEntry) XXX_Marshal ¶ added in v0.41.0
func (m *MsgAddEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEntry) XXX_Merge ¶ added in v0.41.0
func (m *MsgAddEntry) XXX_Merge(src proto.Message)
func (*MsgAddEntry) XXX_Size ¶ added in v0.41.0
func (m *MsgAddEntry) XXX_Size() int
func (*MsgAddEntry) XXX_Unmarshal ¶ added in v0.41.0
func (m *MsgAddEntry) XXX_Unmarshal(b []byte) error
type MsgAddEntryResponse ¶ added in v0.41.0
type MsgAddEntryResponse struct { }
func (*MsgAddEntryResponse) Descriptor ¶ added in v0.41.0
func (*MsgAddEntryResponse) Descriptor() ([]byte, []int)
func (*MsgAddEntryResponse) Marshal ¶ added in v0.41.0
func (m *MsgAddEntryResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddEntryResponse) MarshalTo ¶ added in v0.41.0
func (m *MsgAddEntryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddEntryResponse) MarshalToSizedBuffer ¶ added in v0.41.0
func (m *MsgAddEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddEntryResponse) ProtoMessage ¶ added in v0.41.0
func (*MsgAddEntryResponse) ProtoMessage()
func (*MsgAddEntryResponse) Reset ¶ added in v0.41.0
func (m *MsgAddEntryResponse) Reset()
func (*MsgAddEntryResponse) Size ¶ added in v0.41.0
func (m *MsgAddEntryResponse) Size() (n int)
func (*MsgAddEntryResponse) String ¶ added in v0.41.0
func (m *MsgAddEntryResponse) String() string
func (*MsgAddEntryResponse) Unmarshal ¶ added in v0.41.0
func (m *MsgAddEntryResponse) Unmarshal(dAtA []byte) error
func (*MsgAddEntryResponse) XXX_DiscardUnknown ¶ added in v0.41.0
func (m *MsgAddEntryResponse) XXX_DiscardUnknown()
func (*MsgAddEntryResponse) XXX_Marshal ¶ added in v0.41.0
func (m *MsgAddEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddEntryResponse) XXX_Merge ¶ added in v0.41.0
func (m *MsgAddEntryResponse) XXX_Merge(src proto.Message)
func (*MsgAddEntryResponse) XXX_Size ¶ added in v0.41.0
func (m *MsgAddEntryResponse) XXX_Size() int
func (*MsgAddEntryResponse) XXX_Unmarshal ¶ added in v0.41.0
func (m *MsgAddEntryResponse) XXX_Unmarshal(b []byte) error
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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"` }
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) 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 ¶
type MsgServer interface { UpdateEntry(context.Context, *MsgUpdateEntry) (*MsgUpdateEntryResponse, error) DeleteEntry(context.Context, *MsgDeleteEntry) (*MsgDeleteEntryResponse, error) AddEntry(context.Context, *MsgAddEntry) (*MsgAddEntryResponse, error) }
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) 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 (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 (m *QueryGetEntryByDenomResponse) String() string
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) AddEntry ¶ added in v0.41.0
func (*UnimplementedMsgServer) AddEntry(ctx context.Context, req *MsgAddEntry) (*MsgAddEntryResponse, error)
func (*UnimplementedMsgServer) DeleteEntry ¶
func (*UnimplementedMsgServer) DeleteEntry(ctx context.Context, req *MsgDeleteEntry) (*MsgDeleteEntryResponse, error)
func (*UnimplementedMsgServer) UpdateEntry ¶
func (*UnimplementedMsgServer) UpdateEntry(ctx context.Context, req *MsgUpdateEntry) (*MsgUpdateEntryResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Entry ¶
func (*UnimplementedQueryServer) Entry(ctx context.Context, req *QueryGetEntryRequest) (*QueryGetEntryResponse, error)
func (*UnimplementedQueryServer) EntryAll ¶
func (*UnimplementedQueryServer) EntryAll(ctx context.Context, req *QueryAllEntryRequest) (*QueryAllEntryResponse, error)
func (*UnimplementedQueryServer) EntryByDenom ¶ added in v0.28.0
func (*UnimplementedQueryServer) EntryByDenom(ctx context.Context, req *QueryGetEntryByDenomRequest) (*QueryGetEntryByDenomResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)