types

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_resolver"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = errorsmod.Register(ModuleName, 1100, "sample error")
)

x/resolver module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

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

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

GenesisState defines the resolver 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) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
}

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 MsgServer

type MsgServer interface {
}

MsgServer is the server API for Msg service.

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

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

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAllRecordsRequest

type QueryAllRecordsRequest struct {
	DomainName   string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"`
	DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"`
}

func (*QueryAllRecordsRequest) Descriptor

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

func (*QueryAllRecordsRequest) GetDomainName

func (m *QueryAllRecordsRequest) GetDomainName() string

func (*QueryAllRecordsRequest) GetDomainParent

func (m *QueryAllRecordsRequest) GetDomainParent() string

func (*QueryAllRecordsRequest) Marshal

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

func (*QueryAllRecordsRequest) MarshalTo

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

func (*QueryAllRecordsRequest) MarshalToSizedBuffer

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

func (*QueryAllRecordsRequest) ProtoMessage

func (*QueryAllRecordsRequest) ProtoMessage()

func (*QueryAllRecordsRequest) Reset

func (m *QueryAllRecordsRequest) Reset()

func (*QueryAllRecordsRequest) Size

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

func (*QueryAllRecordsRequest) String

func (m *QueryAllRecordsRequest) String() string

func (*QueryAllRecordsRequest) Unmarshal

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

func (*QueryAllRecordsRequest) XXX_DiscardUnknown

func (m *QueryAllRecordsRequest) XXX_DiscardUnknown()

func (*QueryAllRecordsRequest) XXX_Marshal

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

func (*QueryAllRecordsRequest) XXX_Merge

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

func (*QueryAllRecordsRequest) XXX_Size

func (m *QueryAllRecordsRequest) XXX_Size() int

func (*QueryAllRecordsRequest) XXX_Unmarshal

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

type QueryAllRecordsResponse

type QueryAllRecordsResponse struct {
	Values map[string]*types.Record `` /* 153-byte string literal not displayed */
}

func (*QueryAllRecordsResponse) Descriptor

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

func (*QueryAllRecordsResponse) GetValues

func (m *QueryAllRecordsResponse) GetValues() map[string]*types.Record

func (*QueryAllRecordsResponse) Marshal

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

func (*QueryAllRecordsResponse) MarshalTo

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

func (*QueryAllRecordsResponse) MarshalToSizedBuffer

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

func (*QueryAllRecordsResponse) ProtoMessage

func (*QueryAllRecordsResponse) ProtoMessage()

func (*QueryAllRecordsResponse) Reset

func (m *QueryAllRecordsResponse) Reset()

func (*QueryAllRecordsResponse) Size

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

func (*QueryAllRecordsResponse) String

func (m *QueryAllRecordsResponse) String() string

func (*QueryAllRecordsResponse) Unmarshal

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

func (*QueryAllRecordsResponse) XXX_DiscardUnknown

func (m *QueryAllRecordsResponse) XXX_DiscardUnknown()

func (*QueryAllRecordsResponse) XXX_Marshal

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

func (*QueryAllRecordsResponse) XXX_Merge

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

func (*QueryAllRecordsResponse) XXX_Size

func (m *QueryAllRecordsResponse) XXX_Size() int

func (*QueryAllRecordsResponse) XXX_Unmarshal

func (m *QueryAllRecordsResponse) 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 QueryWalletRecord items.
	WalletRecord(ctx context.Context, in *QueryWalletRecordRequest, opts ...grpc.CallOption) (*QueryWalletRecordResponse, error)
	// Queries a list of DnsRecord items.
	DnsRecord(ctx context.Context, in *QueryDnsRecordRequest, opts ...grpc.CallOption) (*QueryDnsRecordResponse, error)
	// Queries a list of AllRecord items.
	AllRecords(ctx context.Context, in *QueryAllRecordsRequest, opts ...grpc.CallOption) (*QueryAllRecordsResponse, error)
	// Queries a list of TextRecord items.
	TextRecord(ctx context.Context, in *QueryTextRecordRequest, opts ...grpc.CallOption) (*QueryTextRecordResponse, 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 QueryDnsRecordRequest

type QueryDnsRecordRequest struct {
	DomainName    string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"`
	DomainParent  string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"`
	DnsRecordType string `protobuf:"bytes,3,opt,name=dnsRecordType,proto3" json:"dnsRecordType,omitempty"`
}

func (*QueryDnsRecordRequest) Descriptor

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

func (*QueryDnsRecordRequest) GetDnsRecordType

func (m *QueryDnsRecordRequest) GetDnsRecordType() string

func (*QueryDnsRecordRequest) GetDomainName

func (m *QueryDnsRecordRequest) GetDomainName() string

func (*QueryDnsRecordRequest) GetDomainParent

func (m *QueryDnsRecordRequest) GetDomainParent() string

func (*QueryDnsRecordRequest) Marshal

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

func (*QueryDnsRecordRequest) MarshalTo

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

func (*QueryDnsRecordRequest) MarshalToSizedBuffer

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

func (*QueryDnsRecordRequest) ProtoMessage

func (*QueryDnsRecordRequest) ProtoMessage()

func (*QueryDnsRecordRequest) Reset

func (m *QueryDnsRecordRequest) Reset()

func (*QueryDnsRecordRequest) Size

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

func (*QueryDnsRecordRequest) String

func (m *QueryDnsRecordRequest) String() string

func (*QueryDnsRecordRequest) Unmarshal

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

func (*QueryDnsRecordRequest) XXX_DiscardUnknown

func (m *QueryDnsRecordRequest) XXX_DiscardUnknown()

func (*QueryDnsRecordRequest) XXX_Marshal

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

func (*QueryDnsRecordRequest) XXX_Merge

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

func (*QueryDnsRecordRequest) XXX_Size

func (m *QueryDnsRecordRequest) XXX_Size() int

func (*QueryDnsRecordRequest) XXX_Unmarshal

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

type QueryDnsRecordResponse

type QueryDnsRecordResponse struct {
	Value *types.DnsRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*QueryDnsRecordResponse) Descriptor

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

func (*QueryDnsRecordResponse) GetValue

func (m *QueryDnsRecordResponse) GetValue() *types.DnsRecord

func (*QueryDnsRecordResponse) Marshal

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

func (*QueryDnsRecordResponse) MarshalTo

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

func (*QueryDnsRecordResponse) MarshalToSizedBuffer

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

func (*QueryDnsRecordResponse) ProtoMessage

func (*QueryDnsRecordResponse) ProtoMessage()

func (*QueryDnsRecordResponse) Reset

func (m *QueryDnsRecordResponse) Reset()

func (*QueryDnsRecordResponse) Size

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

func (*QueryDnsRecordResponse) String

func (m *QueryDnsRecordResponse) String() string

func (*QueryDnsRecordResponse) Unmarshal

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

func (*QueryDnsRecordResponse) XXX_DiscardUnknown

func (m *QueryDnsRecordResponse) XXX_DiscardUnknown()

func (*QueryDnsRecordResponse) XXX_Marshal

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

func (*QueryDnsRecordResponse) XXX_Merge

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

func (*QueryDnsRecordResponse) XXX_Size

func (m *QueryDnsRecordResponse) XXX_Size() int

func (*QueryDnsRecordResponse) XXX_Unmarshal

func (m *QueryDnsRecordResponse) 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 QueryWalletRecord items.
	WalletRecord(context.Context, *QueryWalletRecordRequest) (*QueryWalletRecordResponse, error)
	// Queries a list of DnsRecord items.
	DnsRecord(context.Context, *QueryDnsRecordRequest) (*QueryDnsRecordResponse, error)
	// Queries a list of AllRecord items.
	AllRecords(context.Context, *QueryAllRecordsRequest) (*QueryAllRecordsResponse, error)
	// Queries a list of TextRecord items.
	TextRecord(context.Context, *QueryTextRecordRequest) (*QueryTextRecordResponse, error)
}

QueryServer is the server API for Query service.

type QueryTextRecordRequest added in v0.1.2

type QueryTextRecordRequest struct {
	DomainName   string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"`
	DomainParent string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"`
	Key          string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
}

func (*QueryTextRecordRequest) Descriptor added in v0.1.2

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

func (*QueryTextRecordRequest) GetDomainName added in v0.1.2

func (m *QueryTextRecordRequest) GetDomainName() string

func (*QueryTextRecordRequest) GetDomainParent added in v0.1.2

func (m *QueryTextRecordRequest) GetDomainParent() string

func (*QueryTextRecordRequest) GetKey added in v0.1.2

func (m *QueryTextRecordRequest) GetKey() string

func (*QueryTextRecordRequest) Marshal added in v0.1.2

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

func (*QueryTextRecordRequest) MarshalTo added in v0.1.2

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

func (*QueryTextRecordRequest) MarshalToSizedBuffer added in v0.1.2

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

func (*QueryTextRecordRequest) ProtoMessage added in v0.1.2

func (*QueryTextRecordRequest) ProtoMessage()

func (*QueryTextRecordRequest) Reset added in v0.1.2

func (m *QueryTextRecordRequest) Reset()

func (*QueryTextRecordRequest) Size added in v0.1.2

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

func (*QueryTextRecordRequest) String added in v0.1.2

func (m *QueryTextRecordRequest) String() string

func (*QueryTextRecordRequest) Unmarshal added in v0.1.2

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

func (*QueryTextRecordRequest) XXX_DiscardUnknown added in v0.1.2

func (m *QueryTextRecordRequest) XXX_DiscardUnknown()

func (*QueryTextRecordRequest) XXX_Marshal added in v0.1.2

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

func (*QueryTextRecordRequest) XXX_Merge added in v0.1.2

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

func (*QueryTextRecordRequest) XXX_Size added in v0.1.2

func (m *QueryTextRecordRequest) XXX_Size() int

func (*QueryTextRecordRequest) XXX_Unmarshal added in v0.1.2

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

type QueryTextRecordResponse added in v0.1.2

type QueryTextRecordResponse struct {
	Value *types.TextRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*QueryTextRecordResponse) Descriptor added in v0.1.2

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

func (*QueryTextRecordResponse) GetValue added in v0.1.2

func (m *QueryTextRecordResponse) GetValue() *types.TextRecord

func (*QueryTextRecordResponse) Marshal added in v0.1.2

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

func (*QueryTextRecordResponse) MarshalTo added in v0.1.2

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

func (*QueryTextRecordResponse) MarshalToSizedBuffer added in v0.1.2

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

func (*QueryTextRecordResponse) ProtoMessage added in v0.1.2

func (*QueryTextRecordResponse) ProtoMessage()

func (*QueryTextRecordResponse) Reset added in v0.1.2

func (m *QueryTextRecordResponse) Reset()

func (*QueryTextRecordResponse) Size added in v0.1.2

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

func (*QueryTextRecordResponse) String added in v0.1.2

func (m *QueryTextRecordResponse) String() string

func (*QueryTextRecordResponse) Unmarshal added in v0.1.2

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

func (*QueryTextRecordResponse) XXX_DiscardUnknown added in v0.1.2

func (m *QueryTextRecordResponse) XXX_DiscardUnknown()

func (*QueryTextRecordResponse) XXX_Marshal added in v0.1.2

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

func (*QueryTextRecordResponse) XXX_Merge added in v0.1.2

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

func (*QueryTextRecordResponse) XXX_Size added in v0.1.2

func (m *QueryTextRecordResponse) XXX_Size() int

func (*QueryTextRecordResponse) XXX_Unmarshal added in v0.1.2

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

type QueryWalletRecordRequest

type QueryWalletRecordRequest struct {
	DomainName       string `protobuf:"bytes,1,opt,name=domainName,proto3" json:"domainName,omitempty"`
	DomainParent     string `protobuf:"bytes,2,opt,name=domainParent,proto3" json:"domainParent,omitempty"`
	WalletRecordType string `protobuf:"bytes,3,opt,name=walletRecordType,proto3" json:"walletRecordType,omitempty"`
}

func (*QueryWalletRecordRequest) Descriptor

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

func (*QueryWalletRecordRequest) GetDomainName

func (m *QueryWalletRecordRequest) GetDomainName() string

func (*QueryWalletRecordRequest) GetDomainParent

func (m *QueryWalletRecordRequest) GetDomainParent() string

func (*QueryWalletRecordRequest) GetWalletRecordType

func (m *QueryWalletRecordRequest) GetWalletRecordType() string

func (*QueryWalletRecordRequest) Marshal

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

func (*QueryWalletRecordRequest) MarshalTo

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

func (*QueryWalletRecordRequest) MarshalToSizedBuffer

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

func (*QueryWalletRecordRequest) ProtoMessage

func (*QueryWalletRecordRequest) ProtoMessage()

func (*QueryWalletRecordRequest) Reset

func (m *QueryWalletRecordRequest) Reset()

func (*QueryWalletRecordRequest) Size

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

func (*QueryWalletRecordRequest) String

func (m *QueryWalletRecordRequest) String() string

func (*QueryWalletRecordRequest) Unmarshal

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

func (*QueryWalletRecordRequest) XXX_DiscardUnknown

func (m *QueryWalletRecordRequest) XXX_DiscardUnknown()

func (*QueryWalletRecordRequest) XXX_Marshal

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

func (*QueryWalletRecordRequest) XXX_Merge

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

func (*QueryWalletRecordRequest) XXX_Size

func (m *QueryWalletRecordRequest) XXX_Size() int

func (*QueryWalletRecordRequest) XXX_Unmarshal

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

type QueryWalletRecordResponse

type QueryWalletRecordResponse struct {
	Value *types.WalletRecord `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*QueryWalletRecordResponse) Descriptor

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

func (*QueryWalletRecordResponse) GetValue

func (*QueryWalletRecordResponse) Marshal

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

func (*QueryWalletRecordResponse) MarshalTo

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

func (*QueryWalletRecordResponse) MarshalToSizedBuffer

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

func (*QueryWalletRecordResponse) ProtoMessage

func (*QueryWalletRecordResponse) ProtoMessage()

func (*QueryWalletRecordResponse) Reset

func (m *QueryWalletRecordResponse) Reset()

func (*QueryWalletRecordResponse) Size

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

func (*QueryWalletRecordResponse) String

func (m *QueryWalletRecordResponse) String() string

func (*QueryWalletRecordResponse) Unmarshal

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

func (*QueryWalletRecordResponse) XXX_DiscardUnknown

func (m *QueryWalletRecordResponse) XXX_DiscardUnknown()

func (*QueryWalletRecordResponse) XXX_Marshal

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

func (*QueryWalletRecordResponse) XXX_Merge

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

func (*QueryWalletRecordResponse) XXX_Size

func (m *QueryWalletRecordResponse) XXX_Size() int

func (*QueryWalletRecordResponse) XXX_Unmarshal

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

type RegistryKeeper

type RegistryKeeper interface {
	// Methods imported from registry should be defined here
	GetSecondLevelDomain(ctx sdk.Context, name string, parent string) (val registrytypes.SecondLevelDomain, found bool)
	GetTopLevelDomain(ctx sdk.Context, name string) (val registrytypes.TopLevelDomain, found bool)
	GetValidSecondLevelDomain(ctx sdk.Context, name string, parent string) (secondLevelDomain registrytypes.SecondLevelDomain, err error)
	GetValidTopLevelDomain(ctx sdk.Context, name string) (topLevelDomain registrytypes.TopLevelDomain, err error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllRecords

func (*UnimplementedQueryServer) DnsRecord

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) TextRecord added in v0.1.2

func (*UnimplementedQueryServer) WalletRecord

Jump to

Keyboard shortcuts

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