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 RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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 (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 (m *MsgAddEntry) Size() (n int)
- func (m *MsgAddEntry) String() 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 (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 (m *MsgDeleteEntry) Size() (n int)
- func (m *MsgDeleteEntry) String() 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 (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 (m *MsgUpdateEntry) Size() (n int)
- func (m *MsgUpdateEntry) String() 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *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 QueryEntryByDenomRequest
- func (*QueryEntryByDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntryByDenomRequest) GetDenom() string
- func (m *QueryEntryByDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntryByDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntryByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntryByDenomRequest) ProtoMessage()
- func (m *QueryEntryByDenomRequest) Reset()
- func (m *QueryEntryByDenomRequest) Size() (n int)
- func (m *QueryEntryByDenomRequest) String() string
- func (m *QueryEntryByDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntryByDenomRequest) XXX_DiscardUnknown()
- func (m *QueryEntryByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntryByDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntryByDenomRequest) XXX_Size() int
- func (m *QueryEntryByDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryEntryByDenomResponse
- func (*QueryEntryByDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntryByDenomResponse) GetEntry() Entry
- func (m *QueryEntryByDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntryByDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntryByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntryByDenomResponse) ProtoMessage()
- func (m *QueryEntryByDenomResponse) Reset()
- func (m *QueryEntryByDenomResponse) Size() (n int)
- func (m *QueryEntryByDenomResponse) String() string
- func (m *QueryEntryByDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntryByDenomResponse) XXX_DiscardUnknown()
- func (m *QueryEntryByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntryByDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntryByDenomResponse) XXX_Size() int
- func (m *QueryEntryByDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryEntryRequest
- func (*QueryEntryRequest) Descriptor() ([]byte, []int)
- func (m *QueryEntryRequest) GetBaseDenom() string
- func (m *QueryEntryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEntryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntryRequest) ProtoMessage()
- func (m *QueryEntryRequest) Reset()
- func (m *QueryEntryRequest) Size() (n int)
- func (m *QueryEntryRequest) String() string
- func (m *QueryEntryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEntryRequest) XXX_DiscardUnknown()
- func (m *QueryEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntryRequest) XXX_Merge(src proto.Message)
- func (m *QueryEntryRequest) XXX_Size() int
- func (m *QueryEntryRequest) XXX_Unmarshal(b []byte) error
- type QueryEntryResponse
- func (*QueryEntryResponse) Descriptor() ([]byte, []int)
- func (m *QueryEntryResponse) GetEntry() Entry
- func (m *QueryEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEntryResponse) ProtoMessage()
- func (m *QueryEntryResponse) Reset()
- func (m *QueryEntryResponse) Size() (n int)
- func (m *QueryEntryResponse) String() string
- func (m *QueryEntryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEntryResponse) XXX_DiscardUnknown()
- func (m *QueryEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEntryResponse) XXX_Merge(src proto.Message)
- func (m *QueryEntryResponse) XXX_Size() int
- func (m *QueryEntryResponse) 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 *QueryEntryRequest) (*QueryEntryResponse, error)
- func (*UnimplementedQueryServer) EntryAll(ctx context.Context, req *QueryAllEntryRequest) (*QueryAllEntryResponse, error)
- func (*UnimplementedQueryServer) EntryByDenom(ctx context.Context, req *QueryEntryByDenomRequest) (*QueryEntryByDenomResponse, 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 )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const (
// EntryKeyPrefix is the prefix to retrieve all Entry
EntryKeyPrefix = "Entry/value/"
)
Variables ¶
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 (
ParamKeyPrefix = []byte{0x01}
)
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.50.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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=baseDenom,proto3" json:"baseDenom,omitempty"` Decimals uint64 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` Denom string `protobuf:"bytes,4,opt,name=denom,proto3" json:"denom,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` IbcChannelId string `protobuf:"bytes,6,opt,name=ibcChannelId,proto3" json:"ibcChannelId,omitempty"` IbcCounterpartyChannelId string `protobuf:"bytes,7,opt,name=ibcCounterpartyChannelId,proto3" json:"ibcCounterpartyChannelId,omitempty"` DisplayName string `protobuf:"bytes,8,opt,name=displayName,proto3" json:"displayName,omitempty"` DisplaySymbol string `protobuf:"bytes,9,opt,name=displaySymbol,proto3" json:"displaySymbol,omitempty"` Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"` Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"` ExternalSymbol string `protobuf:"bytes,12,opt,name=externalSymbol,proto3" json:"externalSymbol,omitempty"` TransferLimit string `protobuf:"bytes,13,opt,name=transferLimit,proto3" json:"transferLimit,omitempty"` Permissions []string `protobuf:"bytes,14,rep,name=permissions,proto3" json:"permissions,omitempty"` UnitDenom string `protobuf:"bytes,15,opt,name=unitDenom,proto3" json:"unitDenom,omitempty"` IbcCounterpartyDenom string `protobuf:"bytes,16,opt,name=ibcCounterpartyDenom,proto3" json:"ibcCounterpartyDenom,omitempty"` IbcCounterpartyChainId string `protobuf:"bytes,17,opt,name=ibcCounterpartyChainId,proto3" json:"ibcCounterpartyChainId,omitempty"` CommitEnabled bool `protobuf:"varint,18,opt,name=commitEnabled,proto3" json:"commitEnabled,omitempty"` WithdrawEnabled bool `protobuf:"varint,19,opt,name=withdrawEnabled,proto3" json:"withdrawEnabled,omitempty"` }
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) 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) 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) 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) 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) Size ¶
func (m *MsgDeleteEntry) Size() (n int)
func (*MsgDeleteEntry) String ¶
func (m *MsgDeleteEntry) String() 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) 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) Size ¶
func (m *MsgUpdateEntry) Size() (n int)
func (*MsgUpdateEntry) String ¶
func (m *MsgUpdateEntry) String() 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) 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 *QueryEntryRequest, opts ...grpc.CallOption) (*QueryEntryResponse, error) EntryByDenom(ctx context.Context, in *QueryEntryByDenomRequest, opts ...grpc.CallOption) (*QueryEntryByDenomResponse, error) EntryAll(ctx context.Context, in *QueryAllEntryRequest, opts ...grpc.CallOption) (*QueryAllEntryResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryEntryByDenomRequest ¶ added in v0.52.0
type QueryEntryByDenomRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryEntryByDenomRequest) Descriptor ¶ added in v0.52.0
func (*QueryEntryByDenomRequest) Descriptor() ([]byte, []int)
func (*QueryEntryByDenomRequest) GetDenom ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) GetDenom() string
func (*QueryEntryByDenomRequest) Marshal ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntryByDenomRequest) MarshalTo ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntryByDenomRequest) MarshalToSizedBuffer ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntryByDenomRequest) ProtoMessage ¶ added in v0.52.0
func (*QueryEntryByDenomRequest) ProtoMessage()
func (*QueryEntryByDenomRequest) Reset ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) Reset()
func (*QueryEntryByDenomRequest) Size ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) Size() (n int)
func (*QueryEntryByDenomRequest) String ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) String() string
func (*QueryEntryByDenomRequest) Unmarshal ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) Unmarshal(dAtA []byte) error
func (*QueryEntryByDenomRequest) XXX_DiscardUnknown ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) XXX_DiscardUnknown()
func (*QueryEntryByDenomRequest) XXX_Marshal ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntryByDenomRequest) XXX_Merge ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) XXX_Merge(src proto.Message)
func (*QueryEntryByDenomRequest) XXX_Size ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) XXX_Size() int
func (*QueryEntryByDenomRequest) XXX_Unmarshal ¶ added in v0.52.0
func (m *QueryEntryByDenomRequest) XXX_Unmarshal(b []byte) error
type QueryEntryByDenomResponse ¶ added in v0.52.0
type QueryEntryByDenomResponse struct {
Entry Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry"`
}
func (*QueryEntryByDenomResponse) Descriptor ¶ added in v0.52.0
func (*QueryEntryByDenomResponse) Descriptor() ([]byte, []int)
func (*QueryEntryByDenomResponse) GetEntry ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) GetEntry() Entry
func (*QueryEntryByDenomResponse) Marshal ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntryByDenomResponse) MarshalTo ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntryByDenomResponse) MarshalToSizedBuffer ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntryByDenomResponse) ProtoMessage ¶ added in v0.52.0
func (*QueryEntryByDenomResponse) ProtoMessage()
func (*QueryEntryByDenomResponse) Reset ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) Reset()
func (*QueryEntryByDenomResponse) Size ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) Size() (n int)
func (*QueryEntryByDenomResponse) String ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) String() string
func (*QueryEntryByDenomResponse) Unmarshal ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) Unmarshal(dAtA []byte) error
func (*QueryEntryByDenomResponse) XXX_DiscardUnknown ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) XXX_DiscardUnknown()
func (*QueryEntryByDenomResponse) XXX_Marshal ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntryByDenomResponse) XXX_Merge ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) XXX_Merge(src proto.Message)
func (*QueryEntryByDenomResponse) XXX_Size ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) XXX_Size() int
func (*QueryEntryByDenomResponse) XXX_Unmarshal ¶ added in v0.52.0
func (m *QueryEntryByDenomResponse) XXX_Unmarshal(b []byte) error
type QueryEntryRequest ¶ added in v0.52.0
type QueryEntryRequest struct {
BaseDenom string `protobuf:"bytes,1,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
}
func (*QueryEntryRequest) Descriptor ¶ added in v0.52.0
func (*QueryEntryRequest) Descriptor() ([]byte, []int)
func (*QueryEntryRequest) GetBaseDenom ¶ added in v0.52.0
func (m *QueryEntryRequest) GetBaseDenom() string
func (*QueryEntryRequest) Marshal ¶ added in v0.52.0
func (m *QueryEntryRequest) Marshal() (dAtA []byte, err error)
func (*QueryEntryRequest) MarshalTo ¶ added in v0.52.0
func (m *QueryEntryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntryRequest) MarshalToSizedBuffer ¶ added in v0.52.0
func (m *QueryEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntryRequest) ProtoMessage ¶ added in v0.52.0
func (*QueryEntryRequest) ProtoMessage()
func (*QueryEntryRequest) Reset ¶ added in v0.52.0
func (m *QueryEntryRequest) Reset()
func (*QueryEntryRequest) Size ¶ added in v0.52.0
func (m *QueryEntryRequest) Size() (n int)
func (*QueryEntryRequest) String ¶ added in v0.52.0
func (m *QueryEntryRequest) String() string
func (*QueryEntryRequest) Unmarshal ¶ added in v0.52.0
func (m *QueryEntryRequest) Unmarshal(dAtA []byte) error
func (*QueryEntryRequest) XXX_DiscardUnknown ¶ added in v0.52.0
func (m *QueryEntryRequest) XXX_DiscardUnknown()
func (*QueryEntryRequest) XXX_Marshal ¶ added in v0.52.0
func (m *QueryEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntryRequest) XXX_Merge ¶ added in v0.52.0
func (m *QueryEntryRequest) XXX_Merge(src proto.Message)
func (*QueryEntryRequest) XXX_Size ¶ added in v0.52.0
func (m *QueryEntryRequest) XXX_Size() int
func (*QueryEntryRequest) XXX_Unmarshal ¶ added in v0.52.0
func (m *QueryEntryRequest) XXX_Unmarshal(b []byte) error
type QueryEntryResponse ¶ added in v0.52.0
type QueryEntryResponse struct {
Entry Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry"`
}
func (*QueryEntryResponse) Descriptor ¶ added in v0.52.0
func (*QueryEntryResponse) Descriptor() ([]byte, []int)
func (*QueryEntryResponse) GetEntry ¶ added in v0.52.0
func (m *QueryEntryResponse) GetEntry() Entry
func (*QueryEntryResponse) Marshal ¶ added in v0.52.0
func (m *QueryEntryResponse) Marshal() (dAtA []byte, err error)
func (*QueryEntryResponse) MarshalTo ¶ added in v0.52.0
func (m *QueryEntryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEntryResponse) MarshalToSizedBuffer ¶ added in v0.52.0
func (m *QueryEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEntryResponse) ProtoMessage ¶ added in v0.52.0
func (*QueryEntryResponse) ProtoMessage()
func (*QueryEntryResponse) Reset ¶ added in v0.52.0
func (m *QueryEntryResponse) Reset()
func (*QueryEntryResponse) Size ¶ added in v0.52.0
func (m *QueryEntryResponse) Size() (n int)
func (*QueryEntryResponse) String ¶ added in v0.52.0
func (m *QueryEntryResponse) String() string
func (*QueryEntryResponse) Unmarshal ¶ added in v0.52.0
func (m *QueryEntryResponse) Unmarshal(dAtA []byte) error
func (*QueryEntryResponse) XXX_DiscardUnknown ¶ added in v0.52.0
func (m *QueryEntryResponse) XXX_DiscardUnknown()
func (*QueryEntryResponse) XXX_Marshal ¶ added in v0.52.0
func (m *QueryEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEntryResponse) XXX_Merge ¶ added in v0.52.0
func (m *QueryEntryResponse) XXX_Merge(src proto.Message)
func (*QueryEntryResponse) XXX_Size ¶ added in v0.52.0
func (m *QueryEntryResponse) XXX_Size() int
func (*QueryEntryResponse) XXX_Unmarshal ¶ added in v0.52.0
func (m *QueryEntryResponse) 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, *QueryEntryRequest) (*QueryEntryResponse, error) EntryByDenom(context.Context, *QueryEntryByDenomRequest) (*QueryEntryByDenomResponse, 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 *QueryEntryRequest) (*QueryEntryResponse, 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 *QueryEntryByDenomRequest) (*QueryEntryByDenomResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)