Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.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 BankKeeper
- type DenomMetadata
- func (*DenomMetadata) Descriptor() ([]byte, []int)
- func (m *DenomMetadata) GetDenomTrace() string
- func (m *DenomMetadata) GetTokenMetadata() types.Metadata
- func (m *DenomMetadata) Marshal() (dAtA []byte, err error)
- func (m *DenomMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomMetadata) ProtoMessage()
- func (m *DenomMetadata) Reset()
- func (m *DenomMetadata) Size() (n int)
- func (m *DenomMetadata) String() string
- func (m *DenomMetadata) Unmarshal(dAtA []byte) error
- func (m *DenomMetadata) XXX_DiscardUnknown()
- func (m *DenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomMetadata) XXX_Merge(src proto.Message)
- func (m *DenomMetadata) XXX_Size() int
- func (m *DenomMetadata) XXX_Unmarshal(b []byte) error
- type DenomMetadataHooks
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 (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 MsgClient
- type MsgCreateDenomMetadata
- func (*MsgCreateDenomMetadata) Descriptor() ([]byte, []int)
- func (m *MsgCreateDenomMetadata) GetMetadatas() []DenomMetadata
- func (m *MsgCreateDenomMetadata) GetSenderAddress() string
- func (msg *MsgCreateDenomMetadata) GetSignBytes() []byte
- func (msg MsgCreateDenomMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDenomMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDenomMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDenomMetadata) ProtoMessage()
- func (m *MsgCreateDenomMetadata) Reset()
- func (msg MsgCreateDenomMetadata) Route() string
- func (m *MsgCreateDenomMetadata) Size() (n int)
- func (m *MsgCreateDenomMetadata) String() string
- func (msg MsgCreateDenomMetadata) Type() string
- func (m *MsgCreateDenomMetadata) Unmarshal(dAtA []byte) error
- func (msg MsgCreateDenomMetadata) ValidateBasic() error
- func (m *MsgCreateDenomMetadata) XXX_DiscardUnknown()
- func (m *MsgCreateDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDenomMetadata) XXX_Merge(src proto.Message)
- func (m *MsgCreateDenomMetadata) XXX_Size() int
- func (m *MsgCreateDenomMetadata) XXX_Unmarshal(b []byte) error
- type MsgCreateDenomMetadataResponse
- func (*MsgCreateDenomMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDenomMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDenomMetadataResponse) ProtoMessage()
- func (m *MsgCreateDenomMetadataResponse) Reset()
- func (m *MsgCreateDenomMetadataResponse) Size() (n int)
- func (m *MsgCreateDenomMetadataResponse) String() string
- func (m *MsgCreateDenomMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDenomMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDenomMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDenomMetadataResponse) XXX_Size() int
- func (m *MsgCreateDenomMetadataResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateDenomMetadata
- func (*MsgUpdateDenomMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDenomMetadata) GetMetadatas() []DenomMetadata
- func (m *MsgUpdateDenomMetadata) GetSenderAddress() string
- func (msg *MsgUpdateDenomMetadata) GetSignBytes() []byte
- func (msg MsgUpdateDenomMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDenomMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDenomMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDenomMetadata) ProtoMessage()
- func (m *MsgUpdateDenomMetadata) Reset()
- func (msg MsgUpdateDenomMetadata) Route() string
- func (m *MsgUpdateDenomMetadata) Size() (n int)
- func (m *MsgUpdateDenomMetadata) String() string
- func (msg MsgUpdateDenomMetadata) Type() string
- func (m *MsgUpdateDenomMetadata) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateDenomMetadata) ValidateBasic() error
- func (m *MsgUpdateDenomMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDenomMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDenomMetadata) XXX_Size() int
- func (m *MsgUpdateDenomMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateDenomMetadataResponse
- func (*MsgUpdateDenomMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDenomMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDenomMetadataResponse) ProtoMessage()
- func (m *MsgUpdateDenomMetadataResponse) Reset()
- func (m *MsgUpdateDenomMetadataResponse) Size() (n int)
- func (m *MsgUpdateDenomMetadataResponse) String() string
- func (m *MsgUpdateDenomMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDenomMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDenomMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDenomMetadataResponse) XXX_Size() int
- func (m *MsgUpdateDenomMetadataResponse) XXX_Unmarshal(b []byte) error
- type MultiDenomMetadataHooks
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAllowedAddresses() []string
- 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 (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 QueryClient
- type QueryGetIBCDenomByDenomTraceRequest
- func (*QueryGetIBCDenomByDenomTraceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetIBCDenomByDenomTraceRequest) GetDenomTrace() string
- func (m *QueryGetIBCDenomByDenomTraceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetIBCDenomByDenomTraceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetIBCDenomByDenomTraceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetIBCDenomByDenomTraceRequest) ProtoMessage()
- func (m *QueryGetIBCDenomByDenomTraceRequest) Reset()
- func (m *QueryGetIBCDenomByDenomTraceRequest) Size() (n int)
- func (m *QueryGetIBCDenomByDenomTraceRequest) String() string
- func (m *QueryGetIBCDenomByDenomTraceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_DiscardUnknown()
- func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Size() int
- func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Unmarshal(b []byte) error
- type QueryIBCDenomByDenomTraceResponse
- func (*QueryIBCDenomByDenomTraceResponse) Descriptor() ([]byte, []int)
- func (m *QueryIBCDenomByDenomTraceResponse) GetIbcDenom() string
- func (m *QueryIBCDenomByDenomTraceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIBCDenomByDenomTraceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIBCDenomByDenomTraceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIBCDenomByDenomTraceResponse) ProtoMessage()
- func (m *QueryIBCDenomByDenomTraceResponse) Reset()
- func (m *QueryIBCDenomByDenomTraceResponse) Size() (n int)
- func (m *QueryIBCDenomByDenomTraceResponse) String() string
- func (m *QueryIBCDenomByDenomTraceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIBCDenomByDenomTraceResponse) XXX_DiscardUnknown()
- func (m *QueryIBCDenomByDenomTraceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIBCDenomByDenomTraceResponse) XXX_Merge(src proto.Message)
- func (m *QueryIBCDenomByDenomTraceResponse) XXX_Size() int
- func (m *QueryIBCDenomByDenomTraceResponse) 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 TransferKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ( // module name ModuleName = "denommetadata" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
const ( TypeMsgCreateDenomMetadata = "create_denom_metadata" TypeMsgUpdateDenomMetadata = "update_denom_metadata" )
Variables ¶
var ( Amino = codec.NewLegacyAmino() // ModuleCdc references the global erc20 module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to modules/erc20 and // defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino JSON compatible msgs. AminoCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthDenommetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDenommetadata = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDenommetadata = fmt.Errorf("proto: unexpected end of group") )
var ( ErrDuplicate = errorsmod.Register(ModuleName, 200, "duplicate") ErrBlank = errorsmod.Register(ModuleName, 201, "address cannot be blank") ErrNoPermission = errorsmod.Register(ModuleName, 202, "signer not in the permissions list to create or update denom metadata") ErrDenomAlreadyExists = errorsmod.Register(ModuleName, 203, "denom metadata is already registered") ErrDenomDoesNotExist = errorsmod.Register(ModuleName, 204, "unable to find denom metadata registered") )
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 ( KeyAllowedAddresses = []byte("AllowedAddresses") DefaultAllowedAddresses = []string(nil) // no one allowed )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register implementations
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/FeeShare interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization and EIP-712 compatibility.
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 BankKeeper ¶
type BankKeeper interface { GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool) HasDenomMetaData(ctx sdk.Context, denom string) bool SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) }
BankKeeper defines the expected interface needed to retrieve account balances.
type DenomMetadata ¶
type DenomMetadata struct { TokenMetadata types.Metadata `protobuf:"bytes,1,opt,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata"` DenomTrace string `protobuf:"bytes,2,opt,name=denom_trace,json=denomTrace,proto3" json:"denom_trace,omitempty"` }
DenomMetdata defines the metadata and the denom trace for the denom.
func (*DenomMetadata) Descriptor ¶
func (*DenomMetadata) Descriptor() ([]byte, []int)
func (*DenomMetadata) GetDenomTrace ¶
func (m *DenomMetadata) GetDenomTrace() string
func (*DenomMetadata) GetTokenMetadata ¶
func (m *DenomMetadata) GetTokenMetadata() types.Metadata
func (*DenomMetadata) Marshal ¶
func (m *DenomMetadata) Marshal() (dAtA []byte, err error)
func (*DenomMetadata) MarshalToSizedBuffer ¶
func (m *DenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DenomMetadata) ProtoMessage ¶
func (*DenomMetadata) ProtoMessage()
func (*DenomMetadata) Reset ¶
func (m *DenomMetadata) Reset()
func (*DenomMetadata) Size ¶
func (m *DenomMetadata) Size() (n int)
func (*DenomMetadata) String ¶
func (m *DenomMetadata) String() string
func (*DenomMetadata) Unmarshal ¶
func (m *DenomMetadata) Unmarshal(dAtA []byte) error
func (*DenomMetadata) XXX_DiscardUnknown ¶
func (m *DenomMetadata) XXX_DiscardUnknown()
func (*DenomMetadata) XXX_Marshal ¶
func (m *DenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DenomMetadata) XXX_Merge ¶
func (m *DenomMetadata) XXX_Merge(src proto.Message)
func (*DenomMetadata) XXX_Size ¶
func (m *DenomMetadata) XXX_Size() int
func (*DenomMetadata) XXX_Unmarshal ¶
func (m *DenomMetadata) XXX_Unmarshal(b []byte) error
type DenomMetadataHooks ¶
type DenomMetadataHooks interface { AfterDenomMetadataCreation(ctx sdk.Context, metadata banktypes.Metadata) error AfterDenomMetadataUpdate(ctx sdk.Context, metadata banktypes.Metadata) error }
DenomMetadataHooks event hooks for denom metadata creation/update
type GenesisState ¶
type GenesisState struct { // params are all parameters for the module Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
GenesisState defines the test module's genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateDenomMetadata(ctx context.Context, in *MsgCreateDenomMetadata, opts ...grpc.CallOption) (*MsgCreateDenomMetadataResponse, error) UpdateDenomMetadata(ctx context.Context, in *MsgUpdateDenomMetadata, opts ...grpc.CallOption) (*MsgUpdateDenomMetadataResponse, 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 MsgCreateDenomMetadata ¶
type MsgCreateDenomMetadata struct { // sender_address is the bech32 address of message sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` Metadatas []DenomMetadata `protobuf:"bytes,2,rep,name=metadatas,proto3" json:"metadatas"` }
MsgCreateDenomMetadata defines a message that create the denom metadata.
func NewMsgCreateDenomMetadata ¶
func NewMsgCreateDenomMetadata( sender sdk.Address, metadatas []DenomMetadata, ) *MsgCreateDenomMetadata
NewMsgCreateDenomMetadata creates new instance of MsgCreateDenomMetadata
func (*MsgCreateDenomMetadata) Descriptor ¶
func (*MsgCreateDenomMetadata) Descriptor() ([]byte, []int)
func (*MsgCreateDenomMetadata) GetMetadatas ¶
func (m *MsgCreateDenomMetadata) GetMetadatas() []DenomMetadata
func (*MsgCreateDenomMetadata) GetSenderAddress ¶
func (m *MsgCreateDenomMetadata) GetSenderAddress() string
func (*MsgCreateDenomMetadata) GetSignBytes ¶
func (msg *MsgCreateDenomMetadata) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCreateDenomMetadata) GetSigners ¶
func (msg MsgCreateDenomMetadata) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCreateDenomMetadata) Marshal ¶
func (m *MsgCreateDenomMetadata) Marshal() (dAtA []byte, err error)
func (*MsgCreateDenomMetadata) MarshalTo ¶
func (m *MsgCreateDenomMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDenomMetadata) MarshalToSizedBuffer ¶
func (m *MsgCreateDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDenomMetadata) ProtoMessage ¶
func (*MsgCreateDenomMetadata) ProtoMessage()
func (*MsgCreateDenomMetadata) Reset ¶
func (m *MsgCreateDenomMetadata) Reset()
func (MsgCreateDenomMetadata) Route ¶
func (msg MsgCreateDenomMetadata) Route() string
Route returns the name of the module
func (*MsgCreateDenomMetadata) Size ¶
func (m *MsgCreateDenomMetadata) Size() (n int)
func (*MsgCreateDenomMetadata) String ¶
func (m *MsgCreateDenomMetadata) String() string
func (MsgCreateDenomMetadata) Type ¶
func (msg MsgCreateDenomMetadata) Type() string
Type returns the the action
func (*MsgCreateDenomMetadata) Unmarshal ¶
func (m *MsgCreateDenomMetadata) Unmarshal(dAtA []byte) error
func (MsgCreateDenomMetadata) ValidateBasic ¶
func (msg MsgCreateDenomMetadata) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCreateDenomMetadata) XXX_DiscardUnknown ¶
func (m *MsgCreateDenomMetadata) XXX_DiscardUnknown()
func (*MsgCreateDenomMetadata) XXX_Marshal ¶
func (m *MsgCreateDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDenomMetadata) XXX_Merge ¶
func (m *MsgCreateDenomMetadata) XXX_Merge(src proto.Message)
func (*MsgCreateDenomMetadata) XXX_Size ¶
func (m *MsgCreateDenomMetadata) XXX_Size() int
func (*MsgCreateDenomMetadata) XXX_Unmarshal ¶
func (m *MsgCreateDenomMetadata) XXX_Unmarshal(b []byte) error
type MsgCreateDenomMetadataResponse ¶
type MsgCreateDenomMetadataResponse struct { }
MsgCreateDenomMetadataResponse defines the MsgCreateDenomMetadata response type
func (*MsgCreateDenomMetadataResponse) Descriptor ¶
func (*MsgCreateDenomMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgCreateDenomMetadataResponse) Marshal ¶
func (m *MsgCreateDenomMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateDenomMetadataResponse) MarshalTo ¶
func (m *MsgCreateDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDenomMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDenomMetadataResponse) ProtoMessage ¶
func (*MsgCreateDenomMetadataResponse) ProtoMessage()
func (*MsgCreateDenomMetadataResponse) Reset ¶
func (m *MsgCreateDenomMetadataResponse) Reset()
func (*MsgCreateDenomMetadataResponse) Size ¶
func (m *MsgCreateDenomMetadataResponse) Size() (n int)
func (*MsgCreateDenomMetadataResponse) String ¶
func (m *MsgCreateDenomMetadataResponse) String() string
func (*MsgCreateDenomMetadataResponse) Unmarshal ¶
func (m *MsgCreateDenomMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateDenomMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateDenomMetadataResponse) XXX_DiscardUnknown()
func (*MsgCreateDenomMetadataResponse) XXX_Marshal ¶
func (m *MsgCreateDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDenomMetadataResponse) XXX_Merge ¶
func (m *MsgCreateDenomMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDenomMetadataResponse) XXX_Size ¶
func (m *MsgCreateDenomMetadataResponse) XXX_Size() int
func (*MsgCreateDenomMetadataResponse) XXX_Unmarshal ¶
func (m *MsgCreateDenomMetadataResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateDenomMetadata(context.Context, *MsgCreateDenomMetadata) (*MsgCreateDenomMetadataResponse, error) UpdateDenomMetadata(context.Context, *MsgUpdateDenomMetadata) (*MsgUpdateDenomMetadataResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateDenomMetadata ¶
type MsgUpdateDenomMetadata struct { // sender_address is the bech32 address of message sender. SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` Metadatas []DenomMetadata `protobuf:"bytes,2,rep,name=metadatas,proto3" json:"metadatas"` }
MsgDistributeTokens defines a message that update the denom metadata.
func NewMsgUpdateDenomMetadata ¶
func NewMsgUpdateDenomMetadata( sender sdk.Address, metadatas []DenomMetadata, ) *MsgUpdateDenomMetadata
NewMsgCreateDenomMetadata creates new instance of MsgCreateDenomMetadata
func (*MsgUpdateDenomMetadata) Descriptor ¶
func (*MsgUpdateDenomMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateDenomMetadata) GetMetadatas ¶
func (m *MsgUpdateDenomMetadata) GetMetadatas() []DenomMetadata
func (*MsgUpdateDenomMetadata) GetSenderAddress ¶
func (m *MsgUpdateDenomMetadata) GetSenderAddress() string
func (*MsgUpdateDenomMetadata) GetSignBytes ¶
func (msg *MsgUpdateDenomMetadata) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUpdateDenomMetadata) GetSigners ¶
func (msg MsgUpdateDenomMetadata) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateDenomMetadata) Marshal ¶
func (m *MsgUpdateDenomMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDenomMetadata) MarshalTo ¶
func (m *MsgUpdateDenomMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDenomMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDenomMetadata) ProtoMessage ¶
func (*MsgUpdateDenomMetadata) ProtoMessage()
func (*MsgUpdateDenomMetadata) Reset ¶
func (m *MsgUpdateDenomMetadata) Reset()
func (MsgUpdateDenomMetadata) Route ¶
func (msg MsgUpdateDenomMetadata) Route() string
Route returns the name of the module
func (*MsgUpdateDenomMetadata) Size ¶
func (m *MsgUpdateDenomMetadata) Size() (n int)
func (*MsgUpdateDenomMetadata) String ¶
func (m *MsgUpdateDenomMetadata) String() string
func (MsgUpdateDenomMetadata) Type ¶
func (msg MsgUpdateDenomMetadata) Type() string
Type returns the the action
func (*MsgUpdateDenomMetadata) Unmarshal ¶
func (m *MsgUpdateDenomMetadata) Unmarshal(dAtA []byte) error
func (MsgUpdateDenomMetadata) ValidateBasic ¶
func (msg MsgUpdateDenomMetadata) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUpdateDenomMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateDenomMetadata) XXX_DiscardUnknown()
func (*MsgUpdateDenomMetadata) XXX_Marshal ¶
func (m *MsgUpdateDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDenomMetadata) XXX_Merge ¶
func (m *MsgUpdateDenomMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateDenomMetadata) XXX_Size ¶
func (m *MsgUpdateDenomMetadata) XXX_Size() int
func (*MsgUpdateDenomMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateDenomMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateDenomMetadataResponse ¶
type MsgUpdateDenomMetadataResponse struct { }
MsgUpdateDenomMetadataResponse defines the MsgUpdateDenomMetadata response type
func (*MsgUpdateDenomMetadataResponse) Descriptor ¶
func (*MsgUpdateDenomMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDenomMetadataResponse) Marshal ¶
func (m *MsgUpdateDenomMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDenomMetadataResponse) MarshalTo ¶
func (m *MsgUpdateDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDenomMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDenomMetadataResponse) ProtoMessage ¶
func (*MsgUpdateDenomMetadataResponse) ProtoMessage()
func (*MsgUpdateDenomMetadataResponse) Reset ¶
func (m *MsgUpdateDenomMetadataResponse) Reset()
func (*MsgUpdateDenomMetadataResponse) Size ¶
func (m *MsgUpdateDenomMetadataResponse) Size() (n int)
func (*MsgUpdateDenomMetadataResponse) String ¶
func (m *MsgUpdateDenomMetadataResponse) String() string
func (*MsgUpdateDenomMetadataResponse) Unmarshal ¶
func (m *MsgUpdateDenomMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDenomMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDenomMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateDenomMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDenomMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateDenomMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDenomMetadataResponse) XXX_Size ¶
func (m *MsgUpdateDenomMetadataResponse) XXX_Size() int
func (*MsgUpdateDenomMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDenomMetadataResponse) XXX_Unmarshal(b []byte) error
type MultiDenomMetadataHooks ¶
type MultiDenomMetadataHooks []DenomMetadataHooks
MultiDenomMetadataHooks combine multiple DenomMetadata hooks, all hook functions are run in array sequence
func NewMultiDenommetadataHooks ¶
func NewMultiDenommetadataHooks(hooks ...DenomMetadataHooks) MultiDenomMetadataHooks
func (MultiDenomMetadataHooks) AfterDenomMetadataCreation ¶
func (MultiDenomMetadataHooks) AfterDenomMetadataUpdate ¶
type Params ¶
type Params struct { // allowed_addresses defines the list of addresses authorized to use the // module AllowedAddresses []string `` /* 134-byte string literal not displayed */ }
Params defines the parameters for the module.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns default x/denommetadata module parameters.
func (*Params) Descriptor ¶
func (*Params) GetAllowedAddresses ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Implements 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 QueryClient ¶
type QueryClient interface { // Parameters retrieves the denom metadata module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries an IBC denom base on denom trace IBCDenomByDenomTrace(ctx context.Context, in *QueryGetIBCDenomByDenomTraceRequest, opts ...grpc.CallOption) (*QueryIBCDenomByDenomTraceResponse, 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 QueryGetIBCDenomByDenomTraceRequest ¶
type QueryGetIBCDenomByDenomTraceRequest struct { // denom trace of a denom DenomTrace string `protobuf:"bytes,1,opt,name=denom_trace,json=denomTrace,proto3" json:"denom_trace,omitempty"` }
QueryGetIBCDenomByDenomTraceRequest is the request type for the Query/IBCDenomByDenomTrace RPC method.
func (*QueryGetIBCDenomByDenomTraceRequest) Descriptor ¶
func (*QueryGetIBCDenomByDenomTraceRequest) Descriptor() ([]byte, []int)
func (*QueryGetIBCDenomByDenomTraceRequest) GetDenomTrace ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) GetDenomTrace() string
func (*QueryGetIBCDenomByDenomTraceRequest) Marshal ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetIBCDenomByDenomTraceRequest) MarshalTo ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetIBCDenomByDenomTraceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetIBCDenomByDenomTraceRequest) ProtoMessage ¶
func (*QueryGetIBCDenomByDenomTraceRequest) ProtoMessage()
func (*QueryGetIBCDenomByDenomTraceRequest) Reset ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) Reset()
func (*QueryGetIBCDenomByDenomTraceRequest) Size ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) Size() (n int)
func (*QueryGetIBCDenomByDenomTraceRequest) String ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) String() string
func (*QueryGetIBCDenomByDenomTraceRequest) Unmarshal ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetIBCDenomByDenomTraceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_DiscardUnknown()
func (*QueryGetIBCDenomByDenomTraceRequest) XXX_Marshal ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetIBCDenomByDenomTraceRequest) XXX_Merge ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Merge(src proto.Message)
func (*QueryGetIBCDenomByDenomTraceRequest) XXX_Size ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Size() int
func (*QueryGetIBCDenomByDenomTraceRequest) XXX_Unmarshal ¶
func (m *QueryGetIBCDenomByDenomTraceRequest) XXX_Unmarshal(b []byte) error
type QueryIBCDenomByDenomTraceResponse ¶
type QueryIBCDenomByDenomTraceResponse struct { // ibc denom base on denom trace IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty"` }
QueryIBCDenomByDenomTraceResponse is the response type for the Query/IBCDenomByDenomTrace RPC method.
func (*QueryIBCDenomByDenomTraceResponse) Descriptor ¶
func (*QueryIBCDenomByDenomTraceResponse) Descriptor() ([]byte, []int)
func (*QueryIBCDenomByDenomTraceResponse) GetIbcDenom ¶
func (m *QueryIBCDenomByDenomTraceResponse) GetIbcDenom() string
func (*QueryIBCDenomByDenomTraceResponse) Marshal ¶
func (m *QueryIBCDenomByDenomTraceResponse) Marshal() (dAtA []byte, err error)
func (*QueryIBCDenomByDenomTraceResponse) MarshalTo ¶
func (m *QueryIBCDenomByDenomTraceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIBCDenomByDenomTraceResponse) MarshalToSizedBuffer ¶
func (m *QueryIBCDenomByDenomTraceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIBCDenomByDenomTraceResponse) ProtoMessage ¶
func (*QueryIBCDenomByDenomTraceResponse) ProtoMessage()
func (*QueryIBCDenomByDenomTraceResponse) Reset ¶
func (m *QueryIBCDenomByDenomTraceResponse) Reset()
func (*QueryIBCDenomByDenomTraceResponse) Size ¶
func (m *QueryIBCDenomByDenomTraceResponse) Size() (n int)
func (*QueryIBCDenomByDenomTraceResponse) String ¶
func (m *QueryIBCDenomByDenomTraceResponse) String() string
func (*QueryIBCDenomByDenomTraceResponse) Unmarshal ¶
func (m *QueryIBCDenomByDenomTraceResponse) Unmarshal(dAtA []byte) error
func (*QueryIBCDenomByDenomTraceResponse) XXX_DiscardUnknown ¶
func (m *QueryIBCDenomByDenomTraceResponse) XXX_DiscardUnknown()
func (*QueryIBCDenomByDenomTraceResponse) XXX_Marshal ¶
func (m *QueryIBCDenomByDenomTraceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIBCDenomByDenomTraceResponse) XXX_Merge ¶
func (m *QueryIBCDenomByDenomTraceResponse) XXX_Merge(src proto.Message)
func (*QueryIBCDenomByDenomTraceResponse) XXX_Size ¶
func (m *QueryIBCDenomByDenomTraceResponse) XXX_Size() int
func (*QueryIBCDenomByDenomTraceResponse) XXX_Unmarshal ¶
func (m *QueryIBCDenomByDenomTraceResponse) 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 retrieves the denom metadata module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries an IBC denom base on denom trace IBCDenomByDenomTrace(context.Context, *QueryGetIBCDenomByDenomTraceRequest) (*QueryIBCDenomByDenomTraceResponse, error) }
QueryServer is the server API for Query service.
type TransferKeeper ¶
type TransferKeeper interface { HasDenomTrace(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) bool SetDenomTrace(ctx sdk.Context, denomTrace transfertypes.DenomTrace) }
TransferKeeper defines the expected interface needed to set denom trace.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateDenomMetadata ¶
func (*UnimplementedMsgServer) CreateDenomMetadata(ctx context.Context, req *MsgCreateDenomMetadata) (*MsgCreateDenomMetadataResponse, error)
func (*UnimplementedMsgServer) UpdateDenomMetadata ¶
func (*UnimplementedMsgServer) UpdateDenomMetadata(ctx context.Context, req *MsgUpdateDenomMetadata) (*MsgUpdateDenomMetadataResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) IBCDenomByDenomTrace ¶
func (*UnimplementedQueryServer) IBCDenomByDenomTrace(ctx context.Context, req *QueryGetIBCDenomByDenomTraceRequest) (*QueryIBCDenomByDenomTraceResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)