types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 28 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 = "deweb"

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

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_deweb"

	// RecordsKey defines prefix for users storage. Here we get record by Address
	RecordsKey = "records-"

	// UsersRecords defines prefix for storage where we store mapping between user and list of records addresses
	UsersRecords = "users-"

	// ConnectChainRecords defines prefix to store mapping between user address in dws and other chains addresses
	ConnectChainRecords = "connections-"

	// UserConnectChainRecords defines prefix to store mapping between user address in dws and other chains addresses
	UserConnectChainRecords = "users_connections-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgConnectChain = "connect_chain"
View Source
const TypeMsgDeleteChainConnect = "delete_chain_connect"

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 (
	ErrInvalidLengthKeyrec        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKeyrec          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKeyrec = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/deweb 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 ChainAddressMapping

type ChainAddressMapping struct {
	ExtAddress string `protobuf:"bytes,1,opt,name=ext_address,json=extAddress,proto3" json:"ext_address,omitempty"`
	Chain      string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted    bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
}

func (*ChainAddressMapping) Descriptor

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

func (*ChainAddressMapping) GetChain

func (m *ChainAddressMapping) GetChain() string

func (*ChainAddressMapping) GetDeleted

func (m *ChainAddressMapping) GetDeleted() bool

func (*ChainAddressMapping) GetExtAddress

func (m *ChainAddressMapping) GetExtAddress() string

func (*ChainAddressMapping) Marshal

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

func (*ChainAddressMapping) MarshalTo

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

func (*ChainAddressMapping) MarshalToSizedBuffer

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

func (*ChainAddressMapping) ProtoMessage

func (*ChainAddressMapping) ProtoMessage()

func (*ChainAddressMapping) Reset

func (m *ChainAddressMapping) Reset()

func (*ChainAddressMapping) Size

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

func (*ChainAddressMapping) String

func (m *ChainAddressMapping) String() string

func (*ChainAddressMapping) Unmarshal

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

func (*ChainAddressMapping) XXX_DiscardUnknown

func (m *ChainAddressMapping) XXX_DiscardUnknown()

func (*ChainAddressMapping) XXX_Marshal

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

func (*ChainAddressMapping) XXX_Merge

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

func (*ChainAddressMapping) XXX_Size

func (m *ChainAddressMapping) XXX_Size() int

func (*ChainAddressMapping) XXX_Unmarshal

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

type ChainMappingRecordResponse

type ChainMappingRecordResponse struct {
	Owner      string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	ExtAddress string `protobuf:"bytes,2,opt,name=ext_address,json=extAddress,proto3" json:"ext_address,omitempty"`
	Chain      string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted    bool   `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
}

func (*ChainMappingRecordResponse) Descriptor

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

func (*ChainMappingRecordResponse) GetChain

func (m *ChainMappingRecordResponse) GetChain() string

func (*ChainMappingRecordResponse) GetDeleted

func (m *ChainMappingRecordResponse) GetDeleted() bool

func (*ChainMappingRecordResponse) GetExtAddress

func (m *ChainMappingRecordResponse) GetExtAddress() string

func (*ChainMappingRecordResponse) GetOwner

func (m *ChainMappingRecordResponse) GetOwner() string

func (*ChainMappingRecordResponse) Marshal

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

func (*ChainMappingRecordResponse) MarshalTo

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

func (*ChainMappingRecordResponse) MarshalToSizedBuffer

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

func (*ChainMappingRecordResponse) ProtoMessage

func (*ChainMappingRecordResponse) ProtoMessage()

func (*ChainMappingRecordResponse) Reset

func (m *ChainMappingRecordResponse) Reset()

func (*ChainMappingRecordResponse) Size

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

func (*ChainMappingRecordResponse) String

func (m *ChainMappingRecordResponse) String() string

func (*ChainMappingRecordResponse) Unmarshal

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

func (*ChainMappingRecordResponse) XXX_DiscardUnknown

func (m *ChainMappingRecordResponse) XXX_DiscardUnknown()

func (*ChainMappingRecordResponse) XXX_Marshal

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

func (*ChainMappingRecordResponse) XXX_Merge

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

func (*ChainMappingRecordResponse) XXX_Size

func (m *ChainMappingRecordResponse) XXX_Size() int

func (*ChainMappingRecordResponse) XXX_Unmarshal

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

type GenesisState

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

GenesisState defines the deweb module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability 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 {
	SaveWallet(ctx context.Context, in *MsgSaveWallet, opts ...grpc.CallOption) (*MsgSaveWalletResponse, error)
	DeleteWallet(ctx context.Context, in *MsgDeleteWallet, opts ...grpc.CallOption) (*MsgDeleteWalletResponse, error)
	ConnectChain(ctx context.Context, in *MsgConnectChain, opts ...grpc.CallOption) (*MsgConnectChainResponse, error)
	DeleteChainConnect(ctx context.Context, in *MsgDeleteChainConnect, opts ...grpc.CallOption) (*MsgDeleteChainConnectResponse, 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 MsgConnectChain

type MsgConnectChain struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Chain   string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgConnectChain

func NewMsgConnectChain(creator string, chain string, address string) *MsgConnectChain

func (*MsgConnectChain) Descriptor

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

func (*MsgConnectChain) GetAddress

func (m *MsgConnectChain) GetAddress() string

func (*MsgConnectChain) GetChain

func (m *MsgConnectChain) GetChain() string

func (*MsgConnectChain) GetCreator

func (m *MsgConnectChain) GetCreator() string

func (*MsgConnectChain) GetSignBytes

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

func (*MsgConnectChain) GetSigners

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

func (*MsgConnectChain) Marshal

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

func (*MsgConnectChain) MarshalTo

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

func (*MsgConnectChain) MarshalToSizedBuffer

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

func (*MsgConnectChain) ProtoMessage

func (*MsgConnectChain) ProtoMessage()

func (*MsgConnectChain) Reset

func (m *MsgConnectChain) Reset()

func (*MsgConnectChain) Route

func (msg *MsgConnectChain) Route() string

func (*MsgConnectChain) Size

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

func (*MsgConnectChain) String

func (m *MsgConnectChain) String() string

func (*MsgConnectChain) Type

func (msg *MsgConnectChain) Type() string

func (*MsgConnectChain) Unmarshal

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

func (*MsgConnectChain) ValidateBasic

func (msg *MsgConnectChain) ValidateBasic() error

func (*MsgConnectChain) XXX_DiscardUnknown

func (m *MsgConnectChain) XXX_DiscardUnknown()

func (*MsgConnectChain) XXX_Marshal

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

func (*MsgConnectChain) XXX_Merge

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

func (*MsgConnectChain) XXX_Size

func (m *MsgConnectChain) XXX_Size() int

func (*MsgConnectChain) XXX_Unmarshal

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

type MsgConnectChainResponse

type MsgConnectChainResponse struct {
}

func (*MsgConnectChainResponse) Descriptor

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

func (*MsgConnectChainResponse) Marshal

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

func (*MsgConnectChainResponse) MarshalTo

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

func (*MsgConnectChainResponse) MarshalToSizedBuffer

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

func (*MsgConnectChainResponse) ProtoMessage

func (*MsgConnectChainResponse) ProtoMessage()

func (*MsgConnectChainResponse) Reset

func (m *MsgConnectChainResponse) Reset()

func (*MsgConnectChainResponse) Size

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

func (*MsgConnectChainResponse) String

func (m *MsgConnectChainResponse) String() string

func (*MsgConnectChainResponse) Unmarshal

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

func (*MsgConnectChainResponse) XXX_DiscardUnknown

func (m *MsgConnectChainResponse) XXX_DiscardUnknown()

func (*MsgConnectChainResponse) XXX_Marshal

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

func (*MsgConnectChainResponse) XXX_Merge

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

func (*MsgConnectChainResponse) XXX_Size

func (m *MsgConnectChainResponse) XXX_Size() int

func (*MsgConnectChainResponse) XXX_Unmarshal

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

type MsgDeleteChainConnect

type MsgDeleteChainConnect struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Chain   string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgDeleteChainConnect

func NewMsgDeleteChainConnect(creator string, chain string, address string) *MsgDeleteChainConnect

func (*MsgDeleteChainConnect) Descriptor

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

func (*MsgDeleteChainConnect) GetAddress

func (m *MsgDeleteChainConnect) GetAddress() string

func (*MsgDeleteChainConnect) GetChain

func (m *MsgDeleteChainConnect) GetChain() string

func (*MsgDeleteChainConnect) GetCreator

func (m *MsgDeleteChainConnect) GetCreator() string

func (*MsgDeleteChainConnect) GetSignBytes

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

func (*MsgDeleteChainConnect) GetSigners

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

func (*MsgDeleteChainConnect) Marshal

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

func (*MsgDeleteChainConnect) MarshalTo

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

func (*MsgDeleteChainConnect) MarshalToSizedBuffer

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

func (*MsgDeleteChainConnect) ProtoMessage

func (*MsgDeleteChainConnect) ProtoMessage()

func (*MsgDeleteChainConnect) Reset

func (m *MsgDeleteChainConnect) Reset()

func (*MsgDeleteChainConnect) Route

func (msg *MsgDeleteChainConnect) Route() string

func (*MsgDeleteChainConnect) Size

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

func (*MsgDeleteChainConnect) String

func (m *MsgDeleteChainConnect) String() string

func (*MsgDeleteChainConnect) Type

func (msg *MsgDeleteChainConnect) Type() string

func (*MsgDeleteChainConnect) Unmarshal

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

func (*MsgDeleteChainConnect) ValidateBasic

func (msg *MsgDeleteChainConnect) ValidateBasic() error

func (*MsgDeleteChainConnect) XXX_DiscardUnknown

func (m *MsgDeleteChainConnect) XXX_DiscardUnknown()

func (*MsgDeleteChainConnect) XXX_Marshal

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

func (*MsgDeleteChainConnect) XXX_Merge

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

func (*MsgDeleteChainConnect) XXX_Size

func (m *MsgDeleteChainConnect) XXX_Size() int

func (*MsgDeleteChainConnect) XXX_Unmarshal

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

type MsgDeleteChainConnectResponse

type MsgDeleteChainConnectResponse struct {
}

func (*MsgDeleteChainConnectResponse) Descriptor

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

func (*MsgDeleteChainConnectResponse) Marshal

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

func (*MsgDeleteChainConnectResponse) MarshalTo

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

func (*MsgDeleteChainConnectResponse) MarshalToSizedBuffer

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

func (*MsgDeleteChainConnectResponse) ProtoMessage

func (*MsgDeleteChainConnectResponse) ProtoMessage()

func (*MsgDeleteChainConnectResponse) Reset

func (m *MsgDeleteChainConnectResponse) Reset()

func (*MsgDeleteChainConnectResponse) Size

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

func (*MsgDeleteChainConnectResponse) String

func (*MsgDeleteChainConnectResponse) Unmarshal

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

func (*MsgDeleteChainConnectResponse) XXX_DiscardUnknown

func (m *MsgDeleteChainConnectResponse) XXX_DiscardUnknown()

func (*MsgDeleteChainConnectResponse) XXX_Marshal

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

func (*MsgDeleteChainConnectResponse) XXX_Merge

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

func (*MsgDeleteChainConnectResponse) XXX_Size

func (m *MsgDeleteChainConnectResponse) XXX_Size() int

func (*MsgDeleteChainConnectResponse) XXX_Unmarshal

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

type MsgDeleteWallet

type MsgDeleteWallet struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgDeleteKey

func NewMsgDeleteKey(creator string, address string) *MsgDeleteWallet

func (*MsgDeleteWallet) Descriptor

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

func (*MsgDeleteWallet) GetAddress

func (m *MsgDeleteWallet) GetAddress() string

func (*MsgDeleteWallet) GetCreator

func (m *MsgDeleteWallet) GetCreator() string

func (*MsgDeleteWallet) GetSignBytes

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

func (*MsgDeleteWallet) GetSigners

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

func (*MsgDeleteWallet) Marshal

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

func (*MsgDeleteWallet) MarshalTo

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

func (*MsgDeleteWallet) MarshalToSizedBuffer

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

func (*MsgDeleteWallet) ProtoMessage

func (*MsgDeleteWallet) ProtoMessage()

func (*MsgDeleteWallet) Reset

func (m *MsgDeleteWallet) Reset()

func (*MsgDeleteWallet) Route

func (msg *MsgDeleteWallet) Route() string

func (*MsgDeleteWallet) Size

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

func (*MsgDeleteWallet) String

func (m *MsgDeleteWallet) String() string

func (*MsgDeleteWallet) Type

func (msg *MsgDeleteWallet) Type() string

func (*MsgDeleteWallet) Unmarshal

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

func (*MsgDeleteWallet) ValidateBasic

func (msg *MsgDeleteWallet) ValidateBasic() error

func (*MsgDeleteWallet) XXX_DiscardUnknown

func (m *MsgDeleteWallet) XXX_DiscardUnknown()

func (*MsgDeleteWallet) XXX_Marshal

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

func (*MsgDeleteWallet) XXX_Merge

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

func (*MsgDeleteWallet) XXX_Size

func (m *MsgDeleteWallet) XXX_Size() int

func (*MsgDeleteWallet) XXX_Unmarshal

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

type MsgDeleteWalletResponse

type MsgDeleteWalletResponse struct {
}

func (*MsgDeleteWalletResponse) Descriptor

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

func (*MsgDeleteWalletResponse) Marshal

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

func (*MsgDeleteWalletResponse) MarshalTo

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

func (*MsgDeleteWalletResponse) MarshalToSizedBuffer

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

func (*MsgDeleteWalletResponse) ProtoMessage

func (*MsgDeleteWalletResponse) ProtoMessage()

func (*MsgDeleteWalletResponse) Reset

func (m *MsgDeleteWalletResponse) Reset()

func (*MsgDeleteWalletResponse) Size

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

func (*MsgDeleteWalletResponse) String

func (m *MsgDeleteWalletResponse) String() string

func (*MsgDeleteWalletResponse) Unmarshal

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

func (*MsgDeleteWalletResponse) XXX_DiscardUnknown

func (m *MsgDeleteWalletResponse) XXX_DiscardUnknown()

func (*MsgDeleteWalletResponse) XXX_Marshal

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

func (*MsgDeleteWalletResponse) XXX_Merge

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

func (*MsgDeleteWalletResponse) XXX_Size

func (m *MsgDeleteWalletResponse) XXX_Size() int

func (*MsgDeleteWalletResponse) XXX_Unmarshal

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

type MsgSaveWallet

type MsgSaveWallet struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Address      string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	EncryptedKey string `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	Chain        string `protobuf:"bytes,4,opt,name=chain,proto3" json:"chain,omitempty"`
}

func NewMsgSaveUser

func NewMsgSaveUser(creator string, address string, encKey string, chain string) *MsgSaveWallet

func (*MsgSaveWallet) Descriptor

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

func (*MsgSaveWallet) GetAddress

func (m *MsgSaveWallet) GetAddress() string

func (*MsgSaveWallet) GetChain

func (m *MsgSaveWallet) GetChain() string

func (*MsgSaveWallet) GetCreator

func (m *MsgSaveWallet) GetCreator() string

func (*MsgSaveWallet) GetEncryptedKey

func (m *MsgSaveWallet) GetEncryptedKey() string

func (*MsgSaveWallet) GetSignBytes

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

func (*MsgSaveWallet) GetSigners

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

func (*MsgSaveWallet) Marshal

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

func (*MsgSaveWallet) MarshalTo

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

func (*MsgSaveWallet) MarshalToSizedBuffer

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

func (*MsgSaveWallet) ProtoMessage

func (*MsgSaveWallet) ProtoMessage()

func (*MsgSaveWallet) Reset

func (m *MsgSaveWallet) Reset()

func (*MsgSaveWallet) Route

func (msg *MsgSaveWallet) Route() string

func (*MsgSaveWallet) Size

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

func (*MsgSaveWallet) String

func (m *MsgSaveWallet) String() string

func (*MsgSaveWallet) Type

func (msg *MsgSaveWallet) Type() string

func (*MsgSaveWallet) Unmarshal

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

func (*MsgSaveWallet) ValidateBasic

func (msg *MsgSaveWallet) ValidateBasic() error

func (*MsgSaveWallet) XXX_DiscardUnknown

func (m *MsgSaveWallet) XXX_DiscardUnknown()

func (*MsgSaveWallet) XXX_Marshal

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

func (*MsgSaveWallet) XXX_Merge

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

func (*MsgSaveWallet) XXX_Size

func (m *MsgSaveWallet) XXX_Size() int

func (*MsgSaveWallet) XXX_Unmarshal

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

type MsgSaveWalletResponse

type MsgSaveWalletResponse struct {
}

func (*MsgSaveWalletResponse) Descriptor

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

func (*MsgSaveWalletResponse) Marshal

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

func (*MsgSaveWalletResponse) MarshalTo

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

func (*MsgSaveWalletResponse) MarshalToSizedBuffer

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

func (*MsgSaveWalletResponse) ProtoMessage

func (*MsgSaveWalletResponse) ProtoMessage()

func (*MsgSaveWalletResponse) Reset

func (m *MsgSaveWalletResponse) Reset()

func (*MsgSaveWalletResponse) Size

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

func (*MsgSaveWalletResponse) String

func (m *MsgSaveWalletResponse) String() string

func (*MsgSaveWalletResponse) Unmarshal

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

func (*MsgSaveWalletResponse) XXX_DiscardUnknown

func (m *MsgSaveWalletResponse) XXX_DiscardUnknown()

func (*MsgSaveWalletResponse) XXX_Marshal

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

func (*MsgSaveWalletResponse) XXX_Merge

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

func (*MsgSaveWalletResponse) XXX_Size

func (m *MsgSaveWalletResponse) XXX_Size() int

func (*MsgSaveWalletResponse) XXX_Unmarshal

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

type MsgServer

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 QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	FilterUserWalletRecords(ctx context.Context, in *QueryFilterUserWalletRecordsRequest, opts ...grpc.CallOption) (*QueryFilterUserWalletRecordsResponse, error)
	// Queries a list of FilterChainMappingsRecords items.
	FilterChainMappingsRecords(ctx context.Context, in *QueryFilterChainMappingsRecordsRequest, opts ...grpc.CallOption) (*QueryFilterChainMappingsRecordsResponse, 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 QueryFilterChainMappingsRecordsRequest

type QueryFilterChainMappingsRecordsRequest struct {
	Owner   string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Chain   string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted bool   `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Limit   int32  `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  int32  `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
}

func (*QueryFilterChainMappingsRecordsRequest) Descriptor

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

func (*QueryFilterChainMappingsRecordsRequest) GetAddress

func (*QueryFilterChainMappingsRecordsRequest) GetChain

func (*QueryFilterChainMappingsRecordsRequest) GetDeleted

func (*QueryFilterChainMappingsRecordsRequest) GetLimit

func (*QueryFilterChainMappingsRecordsRequest) GetOffset

func (*QueryFilterChainMappingsRecordsRequest) GetOwner

func (*QueryFilterChainMappingsRecordsRequest) Marshal

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

func (*QueryFilterChainMappingsRecordsRequest) MarshalTo

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

func (*QueryFilterChainMappingsRecordsRequest) MarshalToSizedBuffer

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

func (*QueryFilterChainMappingsRecordsRequest) ProtoMessage

func (*QueryFilterChainMappingsRecordsRequest) Reset

func (*QueryFilterChainMappingsRecordsRequest) Size

func (*QueryFilterChainMappingsRecordsRequest) String

func (*QueryFilterChainMappingsRecordsRequest) Unmarshal

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

func (*QueryFilterChainMappingsRecordsRequest) XXX_DiscardUnknown

func (m *QueryFilterChainMappingsRecordsRequest) XXX_DiscardUnknown()

func (*QueryFilterChainMappingsRecordsRequest) XXX_Marshal

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

func (*QueryFilterChainMappingsRecordsRequest) XXX_Merge

func (*QueryFilterChainMappingsRecordsRequest) XXX_Size

func (*QueryFilterChainMappingsRecordsRequest) XXX_Unmarshal

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

type QueryFilterChainMappingsRecordsResponse

type QueryFilterChainMappingsRecordsResponse struct {
	Records []*ChainMappingRecordResponse `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
}

func (*QueryFilterChainMappingsRecordsResponse) Descriptor

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

func (*QueryFilterChainMappingsRecordsResponse) GetRecords

func (*QueryFilterChainMappingsRecordsResponse) Marshal

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

func (*QueryFilterChainMappingsRecordsResponse) MarshalTo

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

func (*QueryFilterChainMappingsRecordsResponse) MarshalToSizedBuffer

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

func (*QueryFilterChainMappingsRecordsResponse) ProtoMessage

func (*QueryFilterChainMappingsRecordsResponse) Reset

func (*QueryFilterChainMappingsRecordsResponse) Size

func (*QueryFilterChainMappingsRecordsResponse) String

func (*QueryFilterChainMappingsRecordsResponse) Unmarshal

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

func (*QueryFilterChainMappingsRecordsResponse) XXX_DiscardUnknown

func (m *QueryFilterChainMappingsRecordsResponse) XXX_DiscardUnknown()

func (*QueryFilterChainMappingsRecordsResponse) XXX_Marshal

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

func (*QueryFilterChainMappingsRecordsResponse) XXX_Merge

func (*QueryFilterChainMappingsRecordsResponse) XXX_Size

func (*QueryFilterChainMappingsRecordsResponse) XXX_Unmarshal

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

type QueryFilterUserWalletRecordsRequest

type QueryFilterUserWalletRecordsRequest struct {
	Owner   string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Chain   string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted bool   `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Limit   int32  `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  int32  `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
}

func (*QueryFilterUserWalletRecordsRequest) Descriptor

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

func (*QueryFilterUserWalletRecordsRequest) GetAddress

func (*QueryFilterUserWalletRecordsRequest) GetChain

func (*QueryFilterUserWalletRecordsRequest) GetDeleted

func (m *QueryFilterUserWalletRecordsRequest) GetDeleted() bool

func (*QueryFilterUserWalletRecordsRequest) GetLimit

func (*QueryFilterUserWalletRecordsRequest) GetOffset

func (*QueryFilterUserWalletRecordsRequest) GetOwner

func (*QueryFilterUserWalletRecordsRequest) Marshal

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

func (*QueryFilterUserWalletRecordsRequest) MarshalTo

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

func (*QueryFilterUserWalletRecordsRequest) MarshalToSizedBuffer

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

func (*QueryFilterUserWalletRecordsRequest) ProtoMessage

func (*QueryFilterUserWalletRecordsRequest) ProtoMessage()

func (*QueryFilterUserWalletRecordsRequest) Reset

func (*QueryFilterUserWalletRecordsRequest) Size

func (*QueryFilterUserWalletRecordsRequest) String

func (*QueryFilterUserWalletRecordsRequest) Unmarshal

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

func (*QueryFilterUserWalletRecordsRequest) XXX_DiscardUnknown

func (m *QueryFilterUserWalletRecordsRequest) XXX_DiscardUnknown()

func (*QueryFilterUserWalletRecordsRequest) XXX_Marshal

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

func (*QueryFilterUserWalletRecordsRequest) XXX_Merge

func (*QueryFilterUserWalletRecordsRequest) XXX_Size

func (*QueryFilterUserWalletRecordsRequest) XXX_Unmarshal

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

type QueryFilterUserWalletRecordsResponse

type QueryFilterUserWalletRecordsResponse struct {
	Records []*WalletRecordResponse `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
}

func (*QueryFilterUserWalletRecordsResponse) Descriptor

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

func (*QueryFilterUserWalletRecordsResponse) GetRecords

func (*QueryFilterUserWalletRecordsResponse) Marshal

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

func (*QueryFilterUserWalletRecordsResponse) MarshalTo

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

func (*QueryFilterUserWalletRecordsResponse) MarshalToSizedBuffer

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

func (*QueryFilterUserWalletRecordsResponse) ProtoMessage

func (*QueryFilterUserWalletRecordsResponse) ProtoMessage()

func (*QueryFilterUserWalletRecordsResponse) Reset

func (*QueryFilterUserWalletRecordsResponse) Size

func (*QueryFilterUserWalletRecordsResponse) String

func (*QueryFilterUserWalletRecordsResponse) Unmarshal

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

func (*QueryFilterUserWalletRecordsResponse) XXX_DiscardUnknown

func (m *QueryFilterUserWalletRecordsResponse) XXX_DiscardUnknown()

func (*QueryFilterUserWalletRecordsResponse) XXX_Marshal

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

func (*QueryFilterUserWalletRecordsResponse) XXX_Merge

func (*QueryFilterUserWalletRecordsResponse) XXX_Size

func (*QueryFilterUserWalletRecordsResponse) XXX_Unmarshal

func (m *QueryFilterUserWalletRecordsResponse) 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)
	FilterUserWalletRecords(context.Context, *QueryFilterUserWalletRecordsRequest) (*QueryFilterUserWalletRecordsResponse, error)
	// Queries a list of FilterChainMappingsRecords items.
	FilterChainMappingsRecords(context.Context, *QueryFilterChainMappingsRecordsRequest) (*QueryFilterChainMappingsRecordsResponse, error)
}

QueryServer is the server API for Query service.

type RecordsToUser

type RecordsToUser struct {
	Records []string `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
}

func (*RecordsToUser) Descriptor

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

func (*RecordsToUser) GetRecords

func (m *RecordsToUser) GetRecords() []string

func (*RecordsToUser) Marshal

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

func (*RecordsToUser) MarshalTo

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

func (*RecordsToUser) MarshalToSizedBuffer

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

func (*RecordsToUser) ProtoMessage

func (*RecordsToUser) ProtoMessage()

func (*RecordsToUser) Reset

func (m *RecordsToUser) Reset()

func (*RecordsToUser) Size

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

func (*RecordsToUser) String

func (m *RecordsToUser) String() string

func (*RecordsToUser) Unmarshal

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

func (*RecordsToUser) XXX_DiscardUnknown

func (m *RecordsToUser) XXX_DiscardUnknown()

func (*RecordsToUser) XXX_Marshal

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

func (*RecordsToUser) XXX_Merge

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

func (*RecordsToUser) XXX_Size

func (m *RecordsToUser) XXX_Size() int

func (*RecordsToUser) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ConnectChain

func (*UnimplementedMsgServer) DeleteChainConnect

func (*UnimplementedMsgServer) DeleteWallet

func (*UnimplementedMsgServer) SaveWallet

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

type UserWalletRec

type UserWalletRec struct {
	Address      string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	EncryptedKey string `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	Chain        string `protobuf:"bytes,4,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted      bool   `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
}

func (*UserWalletRec) Descriptor

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

func (*UserWalletRec) GetAddress

func (m *UserWalletRec) GetAddress() string

func (*UserWalletRec) GetChain

func (m *UserWalletRec) GetChain() string

func (*UserWalletRec) GetDeleted

func (m *UserWalletRec) GetDeleted() bool

func (*UserWalletRec) GetEncryptedKey

func (m *UserWalletRec) GetEncryptedKey() string

func (*UserWalletRec) Marshal

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

func (*UserWalletRec) MarshalTo

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

func (*UserWalletRec) MarshalToSizedBuffer

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

func (*UserWalletRec) ProtoMessage

func (*UserWalletRec) ProtoMessage()

func (*UserWalletRec) Reset

func (m *UserWalletRec) Reset()

func (*UserWalletRec) Size

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

func (*UserWalletRec) String

func (m *UserWalletRec) String() string

func (*UserWalletRec) Unmarshal

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

func (*UserWalletRec) XXX_DiscardUnknown

func (m *UserWalletRec) XXX_DiscardUnknown()

func (*UserWalletRec) XXX_Marshal

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

func (*UserWalletRec) XXX_Merge

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

func (*UserWalletRec) XXX_Size

func (m *UserWalletRec) XXX_Size() int

func (*UserWalletRec) XXX_Unmarshal

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

type WalletRecordResponse

type WalletRecordResponse struct {
	Owner        string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Address      string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	EncryptedKey string `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	Chain        string `protobuf:"bytes,4,opt,name=chain,proto3" json:"chain,omitempty"`
	Deleted      bool   `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
}

func (*WalletRecordResponse) Descriptor

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

func (*WalletRecordResponse) GetAddress

func (m *WalletRecordResponse) GetAddress() string

func (*WalletRecordResponse) GetChain

func (m *WalletRecordResponse) GetChain() string

func (*WalletRecordResponse) GetDeleted

func (m *WalletRecordResponse) GetDeleted() bool

func (*WalletRecordResponse) GetEncryptedKey

func (m *WalletRecordResponse) GetEncryptedKey() string

func (*WalletRecordResponse) GetOwner

func (m *WalletRecordResponse) GetOwner() string

func (*WalletRecordResponse) Marshal

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

func (*WalletRecordResponse) MarshalTo

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

func (*WalletRecordResponse) MarshalToSizedBuffer

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

func (*WalletRecordResponse) ProtoMessage

func (*WalletRecordResponse) ProtoMessage()

func (*WalletRecordResponse) Reset

func (m *WalletRecordResponse) Reset()

func (*WalletRecordResponse) Size

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

func (*WalletRecordResponse) String

func (m *WalletRecordResponse) String() string

func (*WalletRecordResponse) Unmarshal

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

func (*WalletRecordResponse) XXX_DiscardUnknown

func (m *WalletRecordResponse) XXX_DiscardUnknown()

func (*WalletRecordResponse) XXX_Marshal

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

func (*WalletRecordResponse) XXX_Merge

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

func (*WalletRecordResponse) XXX_Size

func (m *WalletRecordResponse) XXX_Size() int

func (*WalletRecordResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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