Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetCosmosToEvmMapKey(cosmosAddr []byte) []byte
- func GetCosmosToEvmMapPrefix() []byte
- func GetEvmToCosmosMapKey(evmAddr []byte) []byte
- func GetEvmToCosmosMapPrefix() []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AddressMapping
- func (*AddressMapping) Descriptor() ([]byte, []int)
- func (m *AddressMapping) GetCosmosAddress() string
- func (m *AddressMapping) GetEvmAddress() string
- func (m *AddressMapping) Marshal() (dAtA []byte, err error)
- func (m *AddressMapping) MarshalTo(dAtA []byte) (int, error)
- func (m *AddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddressMapping) ProtoMessage()
- func (m *AddressMapping) Reset()
- func (m *AddressMapping) Size() (n int)
- func (m *AddressMapping) String() string
- func (m *AddressMapping) Unmarshal(dAtA []byte) error
- func (am AddressMapping) ValidateBasic() error
- func (m *AddressMapping) XXX_DiscardUnknown()
- func (m *AddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressMapping) XXX_Merge(src proto.Message)
- func (m *AddressMapping) XXX_Size() int
- func (m *AddressMapping) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAddressMappings() []*AddressMapping
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgAddAddressMapping
- func (*MsgAddAddressMapping) Descriptor() ([]byte, []int)
- func (m *MsgAddAddressMapping) GetEvmAddress() string
- func (m *MsgAddAddressMapping) GetSignBytes() []byte
- func (m *MsgAddAddressMapping) GetSigner() string
- func (m *MsgAddAddressMapping) GetSigners() []sdk.AccAddress
- func (m *MsgAddAddressMapping) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAddressMapping) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgAddAddressMapping) MustGetSigner() sdk.AccAddress
- func (*MsgAddAddressMapping) ProtoMessage()
- func (m *MsgAddAddressMapping) Reset()
- func (m *MsgAddAddressMapping) Route() string
- func (m *MsgAddAddressMapping) Size() (n int)
- func (m *MsgAddAddressMapping) String() string
- func (m *MsgAddAddressMapping) Type() string
- func (m *MsgAddAddressMapping) Unmarshal(dAtA []byte) error
- func (m *MsgAddAddressMapping) ValidateBasic() error
- func (m *MsgAddAddressMapping) XXX_DiscardUnknown()
- func (m *MsgAddAddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAddressMapping) XXX_Merge(src proto.Message)
- func (m *MsgAddAddressMapping) XXX_Size() int
- func (m *MsgAddAddressMapping) XXX_Unmarshal(b []byte) error
- type MsgAddAddressMappingResponse
- func (*MsgAddAddressMappingResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddAddressMappingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddAddressMappingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddAddressMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddAddressMappingResponse) ProtoMessage()
- func (m *MsgAddAddressMappingResponse) Reset()
- func (m *MsgAddAddressMappingResponse) Size() (n int)
- func (m *MsgAddAddressMappingResponse) String() string
- func (m *MsgAddAddressMappingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddAddressMappingResponse) XXX_DiscardUnknown()
- func (m *MsgAddAddressMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddAddressMappingResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddAddressMappingResponse) XXX_Size() int
- func (m *MsgAddAddressMappingResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRemoveAddressMapping
- func (*MsgRemoveAddressMapping) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAddressMapping) GetSignBytes() []byte
- func (m *MsgRemoveAddressMapping) GetSigner() string
- func (m *MsgRemoveAddressMapping) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveAddressMapping) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAddressMapping) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgRemoveAddressMapping) MustGetSigner() sdk.AccAddress
- func (*MsgRemoveAddressMapping) ProtoMessage()
- func (m *MsgRemoveAddressMapping) Reset()
- func (m *MsgRemoveAddressMapping) Route() string
- func (m *MsgRemoveAddressMapping) Size() (n int)
- func (m *MsgRemoveAddressMapping) String() string
- func (m *MsgRemoveAddressMapping) Type() string
- func (m *MsgRemoveAddressMapping) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAddressMapping) ValidateBasic() error
- func (m *MsgRemoveAddressMapping) XXX_DiscardUnknown()
- func (m *MsgRemoveAddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAddressMapping) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAddressMapping) XXX_Size() int
- func (m *MsgRemoveAddressMapping) XXX_Unmarshal(b []byte) error
- type MsgRemoveAddressMappingResponse
- func (*MsgRemoveAddressMappingResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveAddressMappingResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveAddressMappingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveAddressMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveAddressMappingResponse) ProtoMessage()
- func (m *MsgRemoveAddressMappingResponse) Reset()
- func (m *MsgRemoveAddressMappingResponse) Size() (n int)
- func (m *MsgRemoveAddressMappingResponse) String() string
- func (m *MsgRemoveAddressMappingResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveAddressMappingResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveAddressMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveAddressMappingResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveAddressMappingResponse) XXX_Size() int
- func (m *MsgRemoveAddressMappingResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) ValidateBasic() 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 QueryAddressMappingByCosmosAddressRequest
- func (*QueryAddressMappingByCosmosAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingByCosmosAddressRequest) GetCosmosAddress() string
- func (m *QueryAddressMappingByCosmosAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingByCosmosAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingByCosmosAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingByCosmosAddressRequest) ProtoMessage()
- func (m *QueryAddressMappingByCosmosAddressRequest) Reset()
- func (m *QueryAddressMappingByCosmosAddressRequest) Size() (n int)
- func (m *QueryAddressMappingByCosmosAddressRequest) String() string
- func (m *QueryAddressMappingByCosmosAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingByCosmosAddressRequest) XXX_DiscardUnknown()
- func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Size() int
- func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryAddressMappingByCosmosAddressResponse
- func (*QueryAddressMappingByCosmosAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingByCosmosAddressResponse) GetCosmosAddress() string
- func (m *QueryAddressMappingByCosmosAddressResponse) GetEvmAddress() string
- func (m *QueryAddressMappingByCosmosAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingByCosmosAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingByCosmosAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingByCosmosAddressResponse) ProtoMessage()
- func (m *QueryAddressMappingByCosmosAddressResponse) Reset()
- func (m *QueryAddressMappingByCosmosAddressResponse) Size() (n int)
- func (m *QueryAddressMappingByCosmosAddressResponse) String() string
- func (m *QueryAddressMappingByCosmosAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingByCosmosAddressResponse) XXX_DiscardUnknown()
- func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Size() int
- func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryAddressMappingByEVMAddressRequest
- func (*QueryAddressMappingByEVMAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingByEVMAddressRequest) GetEvmAddress() string
- func (m *QueryAddressMappingByEVMAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingByEVMAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingByEVMAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingByEVMAddressRequest) ProtoMessage()
- func (m *QueryAddressMappingByEVMAddressRequest) Reset()
- func (m *QueryAddressMappingByEVMAddressRequest) Size() (n int)
- func (m *QueryAddressMappingByEVMAddressRequest) String() string
- func (m *QueryAddressMappingByEVMAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingByEVMAddressRequest) XXX_DiscardUnknown()
- func (m *QueryAddressMappingByEVMAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingByEVMAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingByEVMAddressRequest) XXX_Size() int
- func (m *QueryAddressMappingByEVMAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryAddressMappingByEVMAddressResponse
- func (*QueryAddressMappingByEVMAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingByEVMAddressResponse) GetCosmosAddress() string
- func (m *QueryAddressMappingByEVMAddressResponse) GetEvmAddress() string
- func (m *QueryAddressMappingByEVMAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingByEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingByEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingByEVMAddressResponse) ProtoMessage()
- func (m *QueryAddressMappingByEVMAddressResponse) Reset()
- func (m *QueryAddressMappingByEVMAddressResponse) Size() (n int)
- func (m *QueryAddressMappingByEVMAddressResponse) String() string
- func (m *QueryAddressMappingByEVMAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingByEVMAddressResponse) XXX_DiscardUnknown()
- func (m *QueryAddressMappingByEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingByEVMAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingByEVMAddressResponse) XXX_Size() int
- func (m *QueryAddressMappingByEVMAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryAddressMappingsRequest
- func (*QueryAddressMappingsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingsRequest) GetPagination() query.PageRequest
- func (m *QueryAddressMappingsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingsRequest) ProtoMessage()
- func (m *QueryAddressMappingsRequest) Reset()
- func (m *QueryAddressMappingsRequest) Size() (n int)
- func (m *QueryAddressMappingsRequest) String() string
- func (m *QueryAddressMappingsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingsRequest) XXX_DiscardUnknown()
- func (m *QueryAddressMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingsRequest) XXX_Size() int
- func (m *QueryAddressMappingsRequest) XXX_Unmarshal(b []byte) error
- type QueryAddressMappingsResponse
- func (*QueryAddressMappingsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddressMappingsResponse) GetAddressMappings() []*AddressMapping
- func (m *QueryAddressMappingsResponse) GetPagination() query.PageResponse
- func (m *QueryAddressMappingsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressMappingsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressMappingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressMappingsResponse) ProtoMessage()
- func (m *QueryAddressMappingsResponse) Reset()
- func (m *QueryAddressMappingsResponse) Size() (n int)
- func (m *QueryAddressMappingsResponse) String() string
- func (m *QueryAddressMappingsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddressMappingsResponse) XXX_DiscardUnknown()
- func (m *QueryAddressMappingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressMappingsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddressMappingsResponse) XXX_Size() int
- func (m *QueryAddressMappingsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryAddressMappingByCosmosAddress(ctx context.Context, req *QueryAddressMappingByCosmosAddressRequest) (*QueryAddressMappingByCosmosAddressResponse, error)
- func (*UnimplementedQueryServer) QueryAddressMappingByEVMAddress(ctx context.Context, req *QueryAddressMappingByEVMAddressRequest) (*QueryAddressMappingByEVMAddressResponse, error)
- func (*UnimplementedQueryServer) QueryAddressMappings(ctx context.Context, req *QueryAddressMappingsRequest) (*QueryAddressMappingsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "addresses" // 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_addresses" )
const ( // <prefix> CosmosToEvmMapPrefix // <prefix> EvmToCosmosMapPrefix )
const ( TypeMsgAddAddressMapping = "add_address_mapping" TypeMsgRemoveAddressMapping = "remove_address_mapping" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( ErrInvalidLengthAddresses = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAddresses = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAddresses = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidEvmAddress = errorsmod.Register(ModuleName, 2, "invalid evm address") ErrInvalidCosmosAddress = errorsmod.Register(ModuleName, 3, "invalid cosmos address") ErrNilCosmosAddress = errorsmod.Register(ModuleName, 4, "cosmos address cannot be nil") ErrNilEvmAddress = errorsmod.Register(ModuleName, 5, "evm address cannot be nil") )
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 ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func GetCosmosToEvmMapKey ¶
func GetCosmosToEvmMapPrefix ¶
func GetCosmosToEvmMapPrefix() []byte
func GetEvmToCosmosMapKey ¶
func GetEvmToCosmosMapPrefix ¶
func GetEvmToCosmosMapPrefix() []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 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 AddressMapping ¶
type AddressMapping struct { CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` EvmAddress string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` }
func (*AddressMapping) Descriptor ¶
func (*AddressMapping) Descriptor() ([]byte, []int)
func (*AddressMapping) GetCosmosAddress ¶
func (m *AddressMapping) GetCosmosAddress() string
func (*AddressMapping) GetEvmAddress ¶
func (m *AddressMapping) GetEvmAddress() string
func (*AddressMapping) Marshal ¶
func (m *AddressMapping) Marshal() (dAtA []byte, err error)
func (*AddressMapping) MarshalToSizedBuffer ¶
func (m *AddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddressMapping) ProtoMessage ¶
func (*AddressMapping) ProtoMessage()
func (*AddressMapping) Reset ¶
func (m *AddressMapping) Reset()
func (*AddressMapping) Size ¶
func (m *AddressMapping) Size() (n int)
func (*AddressMapping) String ¶
func (m *AddressMapping) String() string
func (*AddressMapping) Unmarshal ¶
func (m *AddressMapping) Unmarshal(dAtA []byte) error
func (AddressMapping) ValidateBasic ¶
func (am AddressMapping) ValidateBasic() error
func (*AddressMapping) XXX_DiscardUnknown ¶
func (m *AddressMapping) XXX_DiscardUnknown()
func (*AddressMapping) XXX_Marshal ¶
func (m *AddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressMapping) XXX_Merge ¶
func (m *AddressMapping) XXX_Merge(src proto.Message)
func (*AddressMapping) XXX_Size ¶
func (m *AddressMapping) XXX_Size() int
func (*AddressMapping) XXX_Unmarshal ¶
func (m *AddressMapping) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` AddressMappings []*AddressMapping `protobuf:"bytes,2,rep,name=address_mappings,json=addressMappings,proto3" json:"address_mappings,omitempty"` }
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAddressMappings ¶
func (m *GenesisState) GetAddressMappings() []*AddressMapping
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgAddAddressMapping ¶
type MsgAddAddressMapping struct { EvmAddress string `protobuf:"bytes,1,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` }
func NewMsgAddAddressMapping ¶
func NewMsgAddAddressMapping(evmAddres common.Address, signer sdk.AccAddress) (*MsgAddAddressMapping, error)
NewMsgAddAddressMapping return a new MsgAddAddressMapping
func (*MsgAddAddressMapping) Descriptor ¶
func (*MsgAddAddressMapping) Descriptor() ([]byte, []int)
func (*MsgAddAddressMapping) GetEvmAddress ¶
func (m *MsgAddAddressMapping) GetEvmAddress() string
func (*MsgAddAddressMapping) GetSignBytes ¶
func (m *MsgAddAddressMapping) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgAddAddressMapping) GetSigner ¶
func (m *MsgAddAddressMapping) GetSigner() string
func (*MsgAddAddressMapping) GetSigners ¶
func (m *MsgAddAddressMapping) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgAddAddressMapping) Marshal ¶
func (m *MsgAddAddressMapping) Marshal() (dAtA []byte, err error)
func (*MsgAddAddressMapping) MarshalTo ¶
func (m *MsgAddAddressMapping) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAddressMapping) MarshalToSizedBuffer ¶
func (m *MsgAddAddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAddressMapping) MustGetSigner ¶
func (m *MsgAddAddressMapping) MustGetSigner() sdk.AccAddress
MustGetSigner returns the signer address (which is also the bidder)
func (*MsgAddAddressMapping) ProtoMessage ¶
func (*MsgAddAddressMapping) ProtoMessage()
func (*MsgAddAddressMapping) Reset ¶
func (m *MsgAddAddressMapping) Reset()
func (*MsgAddAddressMapping) Route ¶
func (m *MsgAddAddressMapping) Route() string
Route implements sdk.Msg
func (*MsgAddAddressMapping) Size ¶
func (m *MsgAddAddressMapping) Size() (n int)
func (*MsgAddAddressMapping) String ¶
func (m *MsgAddAddressMapping) String() string
func (*MsgAddAddressMapping) Type ¶
func (m *MsgAddAddressMapping) Type() string
Type implements sdk.Msg
func (*MsgAddAddressMapping) Unmarshal ¶
func (m *MsgAddAddressMapping) Unmarshal(dAtA []byte) error
func (*MsgAddAddressMapping) ValidateBasic ¶
func (m *MsgAddAddressMapping) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgAddAddressMapping) XXX_DiscardUnknown ¶
func (m *MsgAddAddressMapping) XXX_DiscardUnknown()
func (*MsgAddAddressMapping) XXX_Marshal ¶
func (m *MsgAddAddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAddressMapping) XXX_Merge ¶
func (m *MsgAddAddressMapping) XXX_Merge(src proto.Message)
func (*MsgAddAddressMapping) XXX_Size ¶
func (m *MsgAddAddressMapping) XXX_Size() int
func (*MsgAddAddressMapping) XXX_Unmarshal ¶
func (m *MsgAddAddressMapping) XXX_Unmarshal(b []byte) error
type MsgAddAddressMappingResponse ¶
type MsgAddAddressMappingResponse struct { }
func (*MsgAddAddressMappingResponse) Descriptor ¶
func (*MsgAddAddressMappingResponse) Descriptor() ([]byte, []int)
func (*MsgAddAddressMappingResponse) Marshal ¶
func (m *MsgAddAddressMappingResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddAddressMappingResponse) MarshalTo ¶
func (m *MsgAddAddressMappingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddAddressMappingResponse) MarshalToSizedBuffer ¶
func (m *MsgAddAddressMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddAddressMappingResponse) ProtoMessage ¶
func (*MsgAddAddressMappingResponse) ProtoMessage()
func (*MsgAddAddressMappingResponse) Reset ¶
func (m *MsgAddAddressMappingResponse) Reset()
func (*MsgAddAddressMappingResponse) Size ¶
func (m *MsgAddAddressMappingResponse) Size() (n int)
func (*MsgAddAddressMappingResponse) String ¶
func (m *MsgAddAddressMappingResponse) String() string
func (*MsgAddAddressMappingResponse) Unmarshal ¶
func (m *MsgAddAddressMappingResponse) Unmarshal(dAtA []byte) error
func (*MsgAddAddressMappingResponse) XXX_DiscardUnknown ¶
func (m *MsgAddAddressMappingResponse) XXX_DiscardUnknown()
func (*MsgAddAddressMappingResponse) XXX_Marshal ¶
func (m *MsgAddAddressMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddAddressMappingResponse) XXX_Merge ¶
func (m *MsgAddAddressMappingResponse) XXX_Merge(src proto.Message)
func (*MsgAddAddressMappingResponse) XXX_Size ¶
func (m *MsgAddAddressMappingResponse) XXX_Size() int
func (*MsgAddAddressMappingResponse) XXX_Unmarshal ¶
func (m *MsgAddAddressMappingResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // Adds a mapping between the cosmos address of the sender and the provided EVM address AddAddressMapping(ctx context.Context, in *MsgAddAddressMapping, opts ...grpc.CallOption) (*MsgAddAddressMappingResponse, error) // Removes the mapping containing the cosmos address of the sender RemoveAddressMapping(ctx context.Context, in *MsgRemoveAddressMapping, opts ...grpc.CallOption) (*MsgRemoveAddressMappingResponse, 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 MsgRemoveAddressMapping ¶
type MsgRemoveAddressMapping struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
}
func NewMsgRemoveAddressMapping ¶
func NewMsgRemoveAddressMapping(signer sdk.AccAddress) (*MsgRemoveAddressMapping, error)
NewMsgRemoveAddressMapping return a new MsgRemoveAddressMapping
func (*MsgRemoveAddressMapping) Descriptor ¶
func (*MsgRemoveAddressMapping) Descriptor() ([]byte, []int)
func (*MsgRemoveAddressMapping) GetSignBytes ¶
func (m *MsgRemoveAddressMapping) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgRemoveAddressMapping) GetSigner ¶
func (m *MsgRemoveAddressMapping) GetSigner() string
func (*MsgRemoveAddressMapping) GetSigners ¶
func (m *MsgRemoveAddressMapping) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRemoveAddressMapping) Marshal ¶
func (m *MsgRemoveAddressMapping) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAddressMapping) MarshalTo ¶
func (m *MsgRemoveAddressMapping) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAddressMapping) MarshalToSizedBuffer ¶
func (m *MsgRemoveAddressMapping) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAddressMapping) MustGetSigner ¶
func (m *MsgRemoveAddressMapping) MustGetSigner() sdk.AccAddress
MustGetSigner returns the signer address (which is also the bidder)
func (*MsgRemoveAddressMapping) ProtoMessage ¶
func (*MsgRemoveAddressMapping) ProtoMessage()
func (*MsgRemoveAddressMapping) Reset ¶
func (m *MsgRemoveAddressMapping) Reset()
func (*MsgRemoveAddressMapping) Route ¶
func (m *MsgRemoveAddressMapping) Route() string
Route implements sdk.Msg
func (*MsgRemoveAddressMapping) Size ¶
func (m *MsgRemoveAddressMapping) Size() (n int)
func (*MsgRemoveAddressMapping) String ¶
func (m *MsgRemoveAddressMapping) String() string
func (*MsgRemoveAddressMapping) Type ¶
func (m *MsgRemoveAddressMapping) Type() string
Type implements sdk.Msg
func (*MsgRemoveAddressMapping) Unmarshal ¶
func (m *MsgRemoveAddressMapping) Unmarshal(dAtA []byte) error
func (*MsgRemoveAddressMapping) ValidateBasic ¶
func (m *MsgRemoveAddressMapping) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRemoveAddressMapping) XXX_DiscardUnknown ¶
func (m *MsgRemoveAddressMapping) XXX_DiscardUnknown()
func (*MsgRemoveAddressMapping) XXX_Marshal ¶
func (m *MsgRemoveAddressMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAddressMapping) XXX_Merge ¶
func (m *MsgRemoveAddressMapping) XXX_Merge(src proto.Message)
func (*MsgRemoveAddressMapping) XXX_Size ¶
func (m *MsgRemoveAddressMapping) XXX_Size() int
func (*MsgRemoveAddressMapping) XXX_Unmarshal ¶
func (m *MsgRemoveAddressMapping) XXX_Unmarshal(b []byte) error
type MsgRemoveAddressMappingResponse ¶
type MsgRemoveAddressMappingResponse struct { }
func (*MsgRemoveAddressMappingResponse) Descriptor ¶
func (*MsgRemoveAddressMappingResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveAddressMappingResponse) Marshal ¶
func (m *MsgRemoveAddressMappingResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveAddressMappingResponse) MarshalTo ¶
func (m *MsgRemoveAddressMappingResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveAddressMappingResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveAddressMappingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveAddressMappingResponse) ProtoMessage ¶
func (*MsgRemoveAddressMappingResponse) ProtoMessage()
func (*MsgRemoveAddressMappingResponse) Reset ¶
func (m *MsgRemoveAddressMappingResponse) Reset()
func (*MsgRemoveAddressMappingResponse) Size ¶
func (m *MsgRemoveAddressMappingResponse) Size() (n int)
func (*MsgRemoveAddressMappingResponse) String ¶
func (m *MsgRemoveAddressMappingResponse) String() string
func (*MsgRemoveAddressMappingResponse) Unmarshal ¶
func (m *MsgRemoveAddressMappingResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveAddressMappingResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveAddressMappingResponse) XXX_DiscardUnknown()
func (*MsgRemoveAddressMappingResponse) XXX_Marshal ¶
func (m *MsgRemoveAddressMappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveAddressMappingResponse) XXX_Merge ¶
func (m *MsgRemoveAddressMappingResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveAddressMappingResponse) XXX_Size ¶
func (m *MsgRemoveAddressMappingResponse) XXX_Size() int
func (*MsgRemoveAddressMappingResponse) XXX_Unmarshal ¶
func (m *MsgRemoveAddressMappingResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // Adds a mapping between the cosmos address of the sender and the provided EVM address AddAddressMapping(context.Context, *MsgAddAddressMapping) (*MsgAddAddressMappingResponse, error) // Removes the mapping containing the cosmos address of the sender RemoveAddressMapping(context.Context, *MsgRemoveAddressMapping) (*MsgRemoveAddressMappingResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { }
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
Validate validates the set of params
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAddressMappingByCosmosAddressRequest ¶
type QueryAddressMappingByCosmosAddressRequest struct {
CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"`
}
func (*QueryAddressMappingByCosmosAddressRequest) Descriptor ¶
func (*QueryAddressMappingByCosmosAddressRequest) Descriptor() ([]byte, []int)
func (*QueryAddressMappingByCosmosAddressRequest) GetCosmosAddress ¶
func (m *QueryAddressMappingByCosmosAddressRequest) GetCosmosAddress() string
func (*QueryAddressMappingByCosmosAddressRequest) Marshal ¶
func (m *QueryAddressMappingByCosmosAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingByCosmosAddressRequest) MarshalTo ¶
func (m *QueryAddressMappingByCosmosAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingByCosmosAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingByCosmosAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingByCosmosAddressRequest) ProtoMessage ¶
func (*QueryAddressMappingByCosmosAddressRequest) ProtoMessage()
func (*QueryAddressMappingByCosmosAddressRequest) Reset ¶
func (m *QueryAddressMappingByCosmosAddressRequest) Reset()
func (*QueryAddressMappingByCosmosAddressRequest) Size ¶
func (m *QueryAddressMappingByCosmosAddressRequest) Size() (n int)
func (*QueryAddressMappingByCosmosAddressRequest) String ¶
func (m *QueryAddressMappingByCosmosAddressRequest) String() string
func (*QueryAddressMappingByCosmosAddressRequest) Unmarshal ¶
func (m *QueryAddressMappingByCosmosAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingByCosmosAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingByCosmosAddressRequest) XXX_DiscardUnknown()
func (*QueryAddressMappingByCosmosAddressRequest) XXX_Marshal ¶
func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingByCosmosAddressRequest) XXX_Merge ¶
func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Merge(src proto.Message)
func (*QueryAddressMappingByCosmosAddressRequest) XXX_Size ¶
func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Size() int
func (*QueryAddressMappingByCosmosAddressRequest) XXX_Unmarshal ¶
func (m *QueryAddressMappingByCosmosAddressRequest) XXX_Unmarshal(b []byte) error
type QueryAddressMappingByCosmosAddressResponse ¶
type QueryAddressMappingByCosmosAddressResponse struct { CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` EvmAddress string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` }
func (*QueryAddressMappingByCosmosAddressResponse) Descriptor ¶
func (*QueryAddressMappingByCosmosAddressResponse) Descriptor() ([]byte, []int)
func (*QueryAddressMappingByCosmosAddressResponse) GetCosmosAddress ¶
func (m *QueryAddressMappingByCosmosAddressResponse) GetCosmosAddress() string
func (*QueryAddressMappingByCosmosAddressResponse) GetEvmAddress ¶
func (m *QueryAddressMappingByCosmosAddressResponse) GetEvmAddress() string
func (*QueryAddressMappingByCosmosAddressResponse) Marshal ¶
func (m *QueryAddressMappingByCosmosAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingByCosmosAddressResponse) MarshalTo ¶
func (m *QueryAddressMappingByCosmosAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingByCosmosAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingByCosmosAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingByCosmosAddressResponse) ProtoMessage ¶
func (*QueryAddressMappingByCosmosAddressResponse) ProtoMessage()
func (*QueryAddressMappingByCosmosAddressResponse) Reset ¶
func (m *QueryAddressMappingByCosmosAddressResponse) Reset()
func (*QueryAddressMappingByCosmosAddressResponse) Size ¶
func (m *QueryAddressMappingByCosmosAddressResponse) Size() (n int)
func (*QueryAddressMappingByCosmosAddressResponse) String ¶
func (m *QueryAddressMappingByCosmosAddressResponse) String() string
func (*QueryAddressMappingByCosmosAddressResponse) Unmarshal ¶
func (m *QueryAddressMappingByCosmosAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingByCosmosAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingByCosmosAddressResponse) XXX_DiscardUnknown()
func (*QueryAddressMappingByCosmosAddressResponse) XXX_Marshal ¶
func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingByCosmosAddressResponse) XXX_Merge ¶
func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Merge(src proto.Message)
func (*QueryAddressMappingByCosmosAddressResponse) XXX_Size ¶
func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Size() int
func (*QueryAddressMappingByCosmosAddressResponse) XXX_Unmarshal ¶
func (m *QueryAddressMappingByCosmosAddressResponse) XXX_Unmarshal(b []byte) error
type QueryAddressMappingByEVMAddressRequest ¶
type QueryAddressMappingByEVMAddressRequest struct {
EvmAddress string `protobuf:"bytes,1,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"`
}
func (*QueryAddressMappingByEVMAddressRequest) Descriptor ¶
func (*QueryAddressMappingByEVMAddressRequest) Descriptor() ([]byte, []int)
func (*QueryAddressMappingByEVMAddressRequest) GetEvmAddress ¶
func (m *QueryAddressMappingByEVMAddressRequest) GetEvmAddress() string
func (*QueryAddressMappingByEVMAddressRequest) Marshal ¶
func (m *QueryAddressMappingByEVMAddressRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingByEVMAddressRequest) MarshalTo ¶
func (m *QueryAddressMappingByEVMAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingByEVMAddressRequest) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingByEVMAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingByEVMAddressRequest) ProtoMessage ¶
func (*QueryAddressMappingByEVMAddressRequest) ProtoMessage()
func (*QueryAddressMappingByEVMAddressRequest) Reset ¶
func (m *QueryAddressMappingByEVMAddressRequest) Reset()
func (*QueryAddressMappingByEVMAddressRequest) Size ¶
func (m *QueryAddressMappingByEVMAddressRequest) Size() (n int)
func (*QueryAddressMappingByEVMAddressRequest) String ¶
func (m *QueryAddressMappingByEVMAddressRequest) String() string
func (*QueryAddressMappingByEVMAddressRequest) Unmarshal ¶
func (m *QueryAddressMappingByEVMAddressRequest) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingByEVMAddressRequest) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingByEVMAddressRequest) XXX_DiscardUnknown()
func (*QueryAddressMappingByEVMAddressRequest) XXX_Marshal ¶
func (m *QueryAddressMappingByEVMAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingByEVMAddressRequest) XXX_Merge ¶
func (m *QueryAddressMappingByEVMAddressRequest) XXX_Merge(src proto.Message)
func (*QueryAddressMappingByEVMAddressRequest) XXX_Size ¶
func (m *QueryAddressMappingByEVMAddressRequest) XXX_Size() int
func (*QueryAddressMappingByEVMAddressRequest) XXX_Unmarshal ¶
func (m *QueryAddressMappingByEVMAddressRequest) XXX_Unmarshal(b []byte) error
type QueryAddressMappingByEVMAddressResponse ¶
type QueryAddressMappingByEVMAddressResponse struct { CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` EvmAddress string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"` }
func (*QueryAddressMappingByEVMAddressResponse) Descriptor ¶
func (*QueryAddressMappingByEVMAddressResponse) Descriptor() ([]byte, []int)
func (*QueryAddressMappingByEVMAddressResponse) GetCosmosAddress ¶
func (m *QueryAddressMappingByEVMAddressResponse) GetCosmosAddress() string
func (*QueryAddressMappingByEVMAddressResponse) GetEvmAddress ¶
func (m *QueryAddressMappingByEVMAddressResponse) GetEvmAddress() string
func (*QueryAddressMappingByEVMAddressResponse) Marshal ¶
func (m *QueryAddressMappingByEVMAddressResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingByEVMAddressResponse) MarshalTo ¶
func (m *QueryAddressMappingByEVMAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingByEVMAddressResponse) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingByEVMAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingByEVMAddressResponse) ProtoMessage ¶
func (*QueryAddressMappingByEVMAddressResponse) ProtoMessage()
func (*QueryAddressMappingByEVMAddressResponse) Reset ¶
func (m *QueryAddressMappingByEVMAddressResponse) Reset()
func (*QueryAddressMappingByEVMAddressResponse) Size ¶
func (m *QueryAddressMappingByEVMAddressResponse) Size() (n int)
func (*QueryAddressMappingByEVMAddressResponse) String ¶
func (m *QueryAddressMappingByEVMAddressResponse) String() string
func (*QueryAddressMappingByEVMAddressResponse) Unmarshal ¶
func (m *QueryAddressMappingByEVMAddressResponse) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingByEVMAddressResponse) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingByEVMAddressResponse) XXX_DiscardUnknown()
func (*QueryAddressMappingByEVMAddressResponse) XXX_Marshal ¶
func (m *QueryAddressMappingByEVMAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingByEVMAddressResponse) XXX_Merge ¶
func (m *QueryAddressMappingByEVMAddressResponse) XXX_Merge(src proto.Message)
func (*QueryAddressMappingByEVMAddressResponse) XXX_Size ¶
func (m *QueryAddressMappingByEVMAddressResponse) XXX_Size() int
func (*QueryAddressMappingByEVMAddressResponse) XXX_Unmarshal ¶
func (m *QueryAddressMappingByEVMAddressResponse) XXX_Unmarshal(b []byte) error
type QueryAddressMappingsRequest ¶
type QueryAddressMappingsRequest struct {
Pagination query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
}
func (*QueryAddressMappingsRequest) Descriptor ¶
func (*QueryAddressMappingsRequest) Descriptor() ([]byte, []int)
func (*QueryAddressMappingsRequest) GetPagination ¶
func (m *QueryAddressMappingsRequest) GetPagination() query.PageRequest
func (*QueryAddressMappingsRequest) Marshal ¶
func (m *QueryAddressMappingsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingsRequest) MarshalTo ¶
func (m *QueryAddressMappingsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingsRequest) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingsRequest) ProtoMessage ¶
func (*QueryAddressMappingsRequest) ProtoMessage()
func (*QueryAddressMappingsRequest) Reset ¶
func (m *QueryAddressMappingsRequest) Reset()
func (*QueryAddressMappingsRequest) Size ¶
func (m *QueryAddressMappingsRequest) Size() (n int)
func (*QueryAddressMappingsRequest) String ¶
func (m *QueryAddressMappingsRequest) String() string
func (*QueryAddressMappingsRequest) Unmarshal ¶
func (m *QueryAddressMappingsRequest) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingsRequest) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingsRequest) XXX_DiscardUnknown()
func (*QueryAddressMappingsRequest) XXX_Marshal ¶
func (m *QueryAddressMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingsRequest) XXX_Merge ¶
func (m *QueryAddressMappingsRequest) XXX_Merge(src proto.Message)
func (*QueryAddressMappingsRequest) XXX_Size ¶
func (m *QueryAddressMappingsRequest) XXX_Size() int
func (*QueryAddressMappingsRequest) XXX_Unmarshal ¶
func (m *QueryAddressMappingsRequest) XXX_Unmarshal(b []byte) error
type QueryAddressMappingsResponse ¶
type QueryAddressMappingsResponse struct { AddressMappings []*AddressMapping `protobuf:"bytes,1,rep,name=address_mappings,json=addressMappings,proto3" json:"address_mappings,omitempty"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*QueryAddressMappingsResponse) Descriptor ¶
func (*QueryAddressMappingsResponse) Descriptor() ([]byte, []int)
func (*QueryAddressMappingsResponse) GetAddressMappings ¶
func (m *QueryAddressMappingsResponse) GetAddressMappings() []*AddressMapping
func (*QueryAddressMappingsResponse) GetPagination ¶
func (m *QueryAddressMappingsResponse) GetPagination() query.PageResponse
func (*QueryAddressMappingsResponse) Marshal ¶
func (m *QueryAddressMappingsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddressMappingsResponse) MarshalTo ¶
func (m *QueryAddressMappingsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressMappingsResponse) MarshalToSizedBuffer ¶
func (m *QueryAddressMappingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressMappingsResponse) ProtoMessage ¶
func (*QueryAddressMappingsResponse) ProtoMessage()
func (*QueryAddressMappingsResponse) Reset ¶
func (m *QueryAddressMappingsResponse) Reset()
func (*QueryAddressMappingsResponse) Size ¶
func (m *QueryAddressMappingsResponse) Size() (n int)
func (*QueryAddressMappingsResponse) String ¶
func (m *QueryAddressMappingsResponse) String() string
func (*QueryAddressMappingsResponse) Unmarshal ¶
func (m *QueryAddressMappingsResponse) Unmarshal(dAtA []byte) error
func (*QueryAddressMappingsResponse) XXX_DiscardUnknown ¶
func (m *QueryAddressMappingsResponse) XXX_DiscardUnknown()
func (*QueryAddressMappingsResponse) XXX_Marshal ¶
func (m *QueryAddressMappingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressMappingsResponse) XXX_Merge ¶
func (m *QueryAddressMappingsResponse) XXX_Merge(src proto.Message)
func (*QueryAddressMappingsResponse) XXX_Size ¶
func (m *QueryAddressMappingsResponse) XXX_Size() int
func (*QueryAddressMappingsResponse) XXX_Unmarshal ¶
func (m *QueryAddressMappingsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) QueryAddressMappings(ctx context.Context, in *QueryAddressMappingsRequest, opts ...grpc.CallOption) (*QueryAddressMappingsResponse, error) QueryAddressMappingByEVMAddress(ctx context.Context, in *QueryAddressMappingByEVMAddressRequest, opts ...grpc.CallOption) (*QueryAddressMappingByEVMAddressResponse, error) QueryAddressMappingByCosmosAddress(ctx context.Context, in *QueryAddressMappingByCosmosAddressRequest, opts ...grpc.CallOption) (*QueryAddressMappingByCosmosAddressResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
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 *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
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 { QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) QueryAddressMappings(context.Context, *QueryAddressMappingsRequest) (*QueryAddressMappingsResponse, error) QueryAddressMappingByEVMAddress(context.Context, *QueryAddressMappingByEVMAddressRequest) (*QueryAddressMappingByEVMAddressResponse, error) QueryAddressMappingByCosmosAddress(context.Context, *QueryAddressMappingByCosmosAddressRequest) (*QueryAddressMappingByCosmosAddressResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddAddressMapping ¶
func (*UnimplementedMsgServer) AddAddressMapping(ctx context.Context, req *MsgAddAddressMapping) (*MsgAddAddressMappingResponse, error)
func (*UnimplementedMsgServer) RemoveAddressMapping ¶
func (*UnimplementedMsgServer) RemoveAddressMapping(ctx context.Context, req *MsgRemoveAddressMapping) (*MsgRemoveAddressMappingResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryAddressMappingByCosmosAddress ¶
func (*UnimplementedQueryServer) QueryAddressMappingByCosmosAddress(ctx context.Context, req *QueryAddressMappingByCosmosAddressRequest) (*QueryAddressMappingByCosmosAddressResponse, error)
func (*UnimplementedQueryServer) QueryAddressMappingByEVMAddress ¶
func (*UnimplementedQueryServer) QueryAddressMappingByEVMAddress(ctx context.Context, req *QueryAddressMappingByEVMAddressRequest) (*QueryAddressMappingByEVMAddressResponse, error)
func (*UnimplementedQueryServer) QueryAddressMappings ¶
func (*UnimplementedQueryServer) QueryAddressMappings(ctx context.Context, req *QueryAddressMappingsRequest) (*QueryAddressMappingsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)