Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type ConversionPair
- func (*ConversionPair) Descriptor() ([]byte, []int)
- func (this *ConversionPair) Equal(that interface{}) bool
- func (pair ConversionPair) GetAddress() InternalEVMAddress
- func (m *ConversionPair) Marshal() (dAtA []byte, err error)
- func (m *ConversionPair) MarshalTo(dAtA []byte) (int, error)
- func (m *ConversionPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConversionPair) ProtoMessage()
- func (m *ConversionPair) Reset()
- func (m *ConversionPair) Size() (n int)
- func (m *ConversionPair) String() string
- func (m *ConversionPair) Unmarshal(dAtA []byte) error
- func (pair ConversionPair) Validate() error
- func (this *ConversionPair) VerboseEqual(that interface{}) error
- func (m *ConversionPair) XXX_DiscardUnknown()
- func (m *ConversionPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConversionPair) XXX_Merge(src proto.Message)
- func (m *ConversionPair) XXX_Size() int
- func (m *ConversionPair) XXX_Unmarshal(b []byte) error
- type ConversionPairs
- type ERC20BridgePair
- func (*ERC20BridgePair) Descriptor() ([]byte, []int)
- func (this *ERC20BridgePair) Equal(that interface{}) bool
- func (pair *ERC20BridgePair) GetExternalAddress() ExternalEVMAddress
- func (pair *ERC20BridgePair) GetID() []byte
- func (pair *ERC20BridgePair) GetInternalAddress() InternalEVMAddress
- func (m *ERC20BridgePair) Marshal() (dAtA []byte, err error)
- func (m *ERC20BridgePair) MarshalTo(dAtA []byte) (int, error)
- func (m *ERC20BridgePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ERC20BridgePair) ProtoMessage()
- func (m *ERC20BridgePair) Reset()
- func (m *ERC20BridgePair) Size() (n int)
- func (m *ERC20BridgePair) String() string
- func (m *ERC20BridgePair) Unmarshal(dAtA []byte) error
- func (pair *ERC20BridgePair) Validate() error
- func (this *ERC20BridgePair) VerboseEqual(that interface{}) error
- func (m *ERC20BridgePair) XXX_DiscardUnknown()
- func (m *ERC20BridgePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ERC20BridgePair) XXX_Merge(src proto.Message)
- func (m *ERC20BridgePair) XXX_Size() int
- func (m *ERC20BridgePair) XXX_Unmarshal(b []byte) error
- type ERC20BridgePairs
- type EnabledERC20Token
- func (*EnabledERC20Token) Descriptor() ([]byte, []int)
- func (this *EnabledERC20Token) Equal(that interface{}) bool
- func (m *EnabledERC20Token) GetAddress() HexBytes
- func (m *EnabledERC20Token) GetDecimals() uint32
- func (m *EnabledERC20Token) GetName() string
- func (m *EnabledERC20Token) GetSymbol() string
- func (m *EnabledERC20Token) Marshal() (dAtA []byte, err error)
- func (m *EnabledERC20Token) MarshalTo(dAtA []byte) (int, error)
- func (m *EnabledERC20Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnabledERC20Token) ProtoMessage()
- func (m *EnabledERC20Token) Reset()
- func (m *EnabledERC20Token) Size() (n int)
- func (m *EnabledERC20Token) String() string
- func (m *EnabledERC20Token) Unmarshal(dAtA []byte) error
- func (e EnabledERC20Token) Validate() error
- func (this *EnabledERC20Token) VerboseEqual(that interface{}) error
- func (m *EnabledERC20Token) XXX_DiscardUnknown()
- func (m *EnabledERC20Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnabledERC20Token) XXX_Merge(src proto.Message)
- func (m *EnabledERC20Token) XXX_Size() int
- func (m *EnabledERC20Token) XXX_Unmarshal(b []byte) error
- type EnabledERC20Tokens
- type EvmKeeper
- type ExternalEVMAddress
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (this *GenesisState) Equal(that interface{}) bool
- func (m *GenesisState) GetERC20BridgePairs() ERC20BridgePairs
- 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 (this *GenesisState) VerboseEqual(that interface{}) 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 HexBytes
- type InternalEVMAddress
- type MsgBridgeEthereumToKava
- func (*MsgBridgeEthereumToKava) Descriptor() ([]byte, []int)
- func (this *MsgBridgeEthereumToKava) Equal(that interface{}) bool
- func (m *MsgBridgeEthereumToKava) GetEthereumERC20Address() string
- func (m *MsgBridgeEthereumToKava) GetReceiver() string
- func (m *MsgBridgeEthereumToKava) GetRelayer() string
- func (msg MsgBridgeEthereumToKava) GetSigners() []sdk.AccAddress
- func (m *MsgBridgeEthereumToKava) Marshal() (dAtA []byte, err error)
- func (m *MsgBridgeEthereumToKava) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBridgeEthereumToKava) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBridgeEthereumToKava) ProtoMessage()
- func (m *MsgBridgeEthereumToKava) Reset()
- func (m *MsgBridgeEthereumToKava) Size() (n int)
- func (m *MsgBridgeEthereumToKava) String() string
- func (m *MsgBridgeEthereumToKava) Unmarshal(dAtA []byte) error
- func (msg MsgBridgeEthereumToKava) ValidateBasic() error
- func (this *MsgBridgeEthereumToKava) VerboseEqual(that interface{}) error
- func (m *MsgBridgeEthereumToKava) XXX_DiscardUnknown()
- func (m *MsgBridgeEthereumToKava) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBridgeEthereumToKava) XXX_Merge(src proto.Message)
- func (m *MsgBridgeEthereumToKava) XXX_Size() int
- func (m *MsgBridgeEthereumToKava) XXX_Unmarshal(b []byte) error
- type MsgBridgeEthereumToKavaResponse
- func (*MsgBridgeEthereumToKavaResponse) Descriptor() ([]byte, []int)
- func (this *MsgBridgeEthereumToKavaResponse) Equal(that interface{}) bool
- func (m *MsgBridgeEthereumToKavaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBridgeEthereumToKavaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBridgeEthereumToKavaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBridgeEthereumToKavaResponse) ProtoMessage()
- func (m *MsgBridgeEthereumToKavaResponse) Reset()
- func (m *MsgBridgeEthereumToKavaResponse) Size() (n int)
- func (m *MsgBridgeEthereumToKavaResponse) String() string
- func (m *MsgBridgeEthereumToKavaResponse) Unmarshal(dAtA []byte) error
- func (this *MsgBridgeEthereumToKavaResponse) VerboseEqual(that interface{}) error
- func (m *MsgBridgeEthereumToKavaResponse) XXX_DiscardUnknown()
- func (m *MsgBridgeEthereumToKavaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBridgeEthereumToKavaResponse) XXX_Merge(src proto.Message)
- func (m *MsgBridgeEthereumToKavaResponse) XXX_Size() int
- func (m *MsgBridgeEthereumToKavaResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgConvertCoinToERC20
- func (*MsgConvertCoinToERC20) Descriptor() ([]byte, []int)
- func (this *MsgConvertCoinToERC20) Equal(that interface{}) bool
- func (m *MsgConvertCoinToERC20) GetAmount() *types.Coin
- func (m *MsgConvertCoinToERC20) GetInitiator() string
- func (m *MsgConvertCoinToERC20) GetReceiver() string
- func (msg MsgConvertCoinToERC20) GetSigners() []sdk.AccAddress
- func (m *MsgConvertCoinToERC20) Marshal() (dAtA []byte, err error)
- func (m *MsgConvertCoinToERC20) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConvertCoinToERC20) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConvertCoinToERC20) ProtoMessage()
- func (m *MsgConvertCoinToERC20) Reset()
- func (m *MsgConvertCoinToERC20) Size() (n int)
- func (m *MsgConvertCoinToERC20) String() string
- func (m *MsgConvertCoinToERC20) Unmarshal(dAtA []byte) error
- func (msg MsgConvertCoinToERC20) ValidateBasic() error
- func (this *MsgConvertCoinToERC20) VerboseEqual(that interface{}) error
- func (m *MsgConvertCoinToERC20) XXX_DiscardUnknown()
- func (m *MsgConvertCoinToERC20) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConvertCoinToERC20) XXX_Merge(src proto.Message)
- func (m *MsgConvertCoinToERC20) XXX_Size() int
- func (m *MsgConvertCoinToERC20) XXX_Unmarshal(b []byte) error
- type MsgConvertCoinToERC20Response
- func (*MsgConvertCoinToERC20Response) Descriptor() ([]byte, []int)
- func (this *MsgConvertCoinToERC20Response) Equal(that interface{}) bool
- func (m *MsgConvertCoinToERC20Response) Marshal() (dAtA []byte, err error)
- func (m *MsgConvertCoinToERC20Response) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgConvertCoinToERC20Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgConvertCoinToERC20Response) ProtoMessage()
- func (m *MsgConvertCoinToERC20Response) Reset()
- func (m *MsgConvertCoinToERC20Response) Size() (n int)
- func (m *MsgConvertCoinToERC20Response) String() string
- func (m *MsgConvertCoinToERC20Response) Unmarshal(dAtA []byte) error
- func (this *MsgConvertCoinToERC20Response) VerboseEqual(that interface{}) error
- func (m *MsgConvertCoinToERC20Response) XXX_DiscardUnknown()
- func (m *MsgConvertCoinToERC20Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgConvertCoinToERC20Response) XXX_Merge(src proto.Message)
- func (m *MsgConvertCoinToERC20Response) XXX_Size() int
- func (m *MsgConvertCoinToERC20Response) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBridgeEnabled() bool
- func (m *Params) GetEnabledConversionPairs() ConversionPairs
- func (m *Params) GetEnabledERC20Tokens() EnabledERC20Tokens
- func (m *Params) GetRelayer() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) Validate() error
- func (this *Params) VerboseEqual(that interface{}) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryConversionPairRequest
- func (*QueryConversionPairRequest) Descriptor() ([]byte, []int)
- func (this *QueryConversionPairRequest) Equal(that interface{}) bool
- func (m *QueryConversionPairRequest) GetAddressOrDenom() string
- func (m *QueryConversionPairRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConversionPairRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConversionPairRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConversionPairRequest) ProtoMessage()
- func (m *QueryConversionPairRequest) Reset()
- func (m *QueryConversionPairRequest) Size() (n int)
- func (m *QueryConversionPairRequest) String() string
- func (m *QueryConversionPairRequest) Unmarshal(dAtA []byte) error
- func (this *QueryConversionPairRequest) VerboseEqual(that interface{}) error
- func (m *QueryConversionPairRequest) XXX_DiscardUnknown()
- func (m *QueryConversionPairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConversionPairRequest) XXX_Merge(src proto.Message)
- func (m *QueryConversionPairRequest) XXX_Size() int
- func (m *QueryConversionPairRequest) XXX_Unmarshal(b []byte) error
- type QueryConversionPairResponse
- func (*QueryConversionPairResponse) Descriptor() ([]byte, []int)
- func (this *QueryConversionPairResponse) Equal(that interface{}) bool
- func (m *QueryConversionPairResponse) GetConversionPair() ConversionPair
- func (m *QueryConversionPairResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConversionPairResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConversionPairResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConversionPairResponse) ProtoMessage()
- func (m *QueryConversionPairResponse) Reset()
- func (m *QueryConversionPairResponse) Size() (n int)
- func (m *QueryConversionPairResponse) String() string
- func (m *QueryConversionPairResponse) Unmarshal(dAtA []byte) error
- func (this *QueryConversionPairResponse) VerboseEqual(that interface{}) error
- func (m *QueryConversionPairResponse) XXX_DiscardUnknown()
- func (m *QueryConversionPairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConversionPairResponse) XXX_Merge(src proto.Message)
- func (m *QueryConversionPairResponse) XXX_Size() int
- func (m *QueryConversionPairResponse) XXX_Unmarshal(b []byte) error
- type QueryConversionPairsRequest
- func (*QueryConversionPairsRequest) Descriptor() ([]byte, []int)
- func (this *QueryConversionPairsRequest) Equal(that interface{}) bool
- func (m *QueryConversionPairsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConversionPairsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConversionPairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConversionPairsRequest) ProtoMessage()
- func (m *QueryConversionPairsRequest) Reset()
- func (m *QueryConversionPairsRequest) Size() (n int)
- func (m *QueryConversionPairsRequest) String() string
- func (m *QueryConversionPairsRequest) Unmarshal(dAtA []byte) error
- func (this *QueryConversionPairsRequest) VerboseEqual(that interface{}) error
- func (m *QueryConversionPairsRequest) XXX_DiscardUnknown()
- func (m *QueryConversionPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConversionPairsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConversionPairsRequest) XXX_Size() int
- func (m *QueryConversionPairsRequest) XXX_Unmarshal(b []byte) error
- type QueryConversionPairsResponse
- func (*QueryConversionPairsResponse) Descriptor() ([]byte, []int)
- func (this *QueryConversionPairsResponse) Equal(that interface{}) bool
- func (m *QueryConversionPairsResponse) GetConversionPairs() ConversionPairs
- func (m *QueryConversionPairsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConversionPairsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConversionPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConversionPairsResponse) ProtoMessage()
- func (m *QueryConversionPairsResponse) Reset()
- func (m *QueryConversionPairsResponse) Size() (n int)
- func (m *QueryConversionPairsResponse) String() string
- func (m *QueryConversionPairsResponse) Unmarshal(dAtA []byte) error
- func (this *QueryConversionPairsResponse) VerboseEqual(that interface{}) error
- func (m *QueryConversionPairsResponse) XXX_DiscardUnknown()
- func (m *QueryConversionPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConversionPairsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConversionPairsResponse) XXX_Size() int
- func (m *QueryConversionPairsResponse) XXX_Unmarshal(b []byte) error
- type QueryERC20BridgePairRequest
- func (*QueryERC20BridgePairRequest) Descriptor() ([]byte, []int)
- func (this *QueryERC20BridgePairRequest) Equal(that interface{}) bool
- func (m *QueryERC20BridgePairRequest) GetAddress() string
- func (m *QueryERC20BridgePairRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryERC20BridgePairRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryERC20BridgePairRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryERC20BridgePairRequest) ProtoMessage()
- func (m *QueryERC20BridgePairRequest) Reset()
- func (m *QueryERC20BridgePairRequest) Size() (n int)
- func (m *QueryERC20BridgePairRequest) String() string
- func (m *QueryERC20BridgePairRequest) Unmarshal(dAtA []byte) error
- func (this *QueryERC20BridgePairRequest) VerboseEqual(that interface{}) error
- func (m *QueryERC20BridgePairRequest) XXX_DiscardUnknown()
- func (m *QueryERC20BridgePairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryERC20BridgePairRequest) XXX_Merge(src proto.Message)
- func (m *QueryERC20BridgePairRequest) XXX_Size() int
- func (m *QueryERC20BridgePairRequest) XXX_Unmarshal(b []byte) error
- type QueryERC20BridgePairResponse
- func (*QueryERC20BridgePairResponse) Descriptor() ([]byte, []int)
- func (this *QueryERC20BridgePairResponse) Equal(that interface{}) bool
- func (m *QueryERC20BridgePairResponse) GetERC20BridgePair() ERC20BridgePair
- func (m *QueryERC20BridgePairResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryERC20BridgePairResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryERC20BridgePairResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryERC20BridgePairResponse) ProtoMessage()
- func (m *QueryERC20BridgePairResponse) Reset()
- func (m *QueryERC20BridgePairResponse) Size() (n int)
- func (m *QueryERC20BridgePairResponse) String() string
- func (m *QueryERC20BridgePairResponse) Unmarshal(dAtA []byte) error
- func (this *QueryERC20BridgePairResponse) VerboseEqual(that interface{}) error
- func (m *QueryERC20BridgePairResponse) XXX_DiscardUnknown()
- func (m *QueryERC20BridgePairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryERC20BridgePairResponse) XXX_Merge(src proto.Message)
- func (m *QueryERC20BridgePairResponse) XXX_Size() int
- func (m *QueryERC20BridgePairResponse) XXX_Unmarshal(b []byte) error
- type QueryERC20BridgePairsRequest
- func (*QueryERC20BridgePairsRequest) Descriptor() ([]byte, []int)
- func (this *QueryERC20BridgePairsRequest) Equal(that interface{}) bool
- func (m *QueryERC20BridgePairsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryERC20BridgePairsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryERC20BridgePairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryERC20BridgePairsRequest) ProtoMessage()
- func (m *QueryERC20BridgePairsRequest) Reset()
- func (m *QueryERC20BridgePairsRequest) Size() (n int)
- func (m *QueryERC20BridgePairsRequest) String() string
- func (m *QueryERC20BridgePairsRequest) Unmarshal(dAtA []byte) error
- func (this *QueryERC20BridgePairsRequest) VerboseEqual(that interface{}) error
- func (m *QueryERC20BridgePairsRequest) XXX_DiscardUnknown()
- func (m *QueryERC20BridgePairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryERC20BridgePairsRequest) XXX_Merge(src proto.Message)
- func (m *QueryERC20BridgePairsRequest) XXX_Size() int
- func (m *QueryERC20BridgePairsRequest) XXX_Unmarshal(b []byte) error
- type QueryERC20BridgePairsResponse
- func (*QueryERC20BridgePairsResponse) Descriptor() ([]byte, []int)
- func (this *QueryERC20BridgePairsResponse) Equal(that interface{}) bool
- func (m *QueryERC20BridgePairsResponse) GetERC20BridgePairs() ERC20BridgePairs
- func (m *QueryERC20BridgePairsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryERC20BridgePairsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryERC20BridgePairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryERC20BridgePairsResponse) ProtoMessage()
- func (m *QueryERC20BridgePairsResponse) Reset()
- func (m *QueryERC20BridgePairsResponse) Size() (n int)
- func (m *QueryERC20BridgePairsResponse) String() string
- func (m *QueryERC20BridgePairsResponse) Unmarshal(dAtA []byte) error
- func (this *QueryERC20BridgePairsResponse) VerboseEqual(that interface{}) error
- func (m *QueryERC20BridgePairsResponse) XXX_DiscardUnknown()
- func (m *QueryERC20BridgePairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryERC20BridgePairsResponse) XXX_Merge(src proto.Message)
- func (m *QueryERC20BridgePairsResponse) XXX_Size() int
- func (m *QueryERC20BridgePairsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (this *QueryParamsRequest) Equal(that interface{}) bool
- 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 (this *QueryParamsRequest) VerboseEqual(that interface{}) 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 (this *QueryParamsResponse) Equal(that interface{}) bool
- 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 (this *QueryParamsResponse) VerboseEqual(that interface{}) 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) ConversionPair(ctx context.Context, req *QueryConversionPairRequest) (*QueryConversionPairResponse, error)
- func (*UnimplementedQueryServer) ConversionPairs(ctx context.Context, req *QueryConversionPairsRequest) (*QueryConversionPairsResponse, error)
- func (*UnimplementedQueryServer) ERC20BridgePair(ctx context.Context, req *QueryERC20BridgePairRequest) (*QueryERC20BridgePairResponse, error)
- func (*UnimplementedQueryServer) ERC20BridgePairs(ctx context.Context, req *QueryERC20BridgePairsRequest) (*QueryERC20BridgePairsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( AttributeValueCategory = ModuleName // ERC20MintableBurnable event names ContractEventTypeWithdraw = "Withdraw" ContractEventTypeConvertToCoin = "ConvertToCoin" // Event Types EventTypeBridgeEthereumToKava = "bridge_ethereum_to_kava" EventTypeBridgeKavaToEthereum = "bridge_kava_to_ethereum" EventTypeConvertERC20ToCoin = "convert_erc20_to_coin" EventTypeConvertCoinToERC20 = "convert_coin_to_erc20" // Event Attributes - Common AttributeKeyReceiver = "receiver" AttributeKeyAmount = "amount" // Event Attributes - Bridge AttributeKeyEthereumERC20Address = "ethereum_erc20_address" AttributeKeyKavaERC20Address = "kava_erc20_address" AttributeKeyRelayer = "relayer" AttributeKeySequence = "sequence" // Event Attributes - Conversions AttributeKeyInitiator = "initiator" AttributeKeyERC20Address = "erc20_address" )
Events for the module
const ( // ModuleName name used throughout module ModuleName = "bridge" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey Top level router key RouterKey = ModuleName // QuerierRoute should be set to module name QuerierRoute = ModuleName )
Variables ¶
var ( ErrInvalidLengthConversionPair = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConversionPair = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConversionPair = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthErc20 = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowErc20 = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupErc20 = fmt.Errorf("proto: unexpected end of group") )
var ( ErrERC20NotEnabled = sdkerrors.Register(ModuleName, 2, "ERC20 token not enabled") ErrABIPack = sdkerrors.Register(ModuleName, 3, "contract ABI pack failed") ErrABIUnpack = sdkerrors.Register(ModuleName, 4, "contract ABI unpack failed") ErrInvalidInitialWithdrawSequence = sdkerrors.Register(ModuleName, 5, "initial withdraw sequence hasn't been set") ErrConversionNotEnabled = sdkerrors.Register(ModuleName, 6, "ERC20 token not enabled to convert to sdk.Coin") ErrBridgeDisabled = sdkerrors.Register(ModuleName, 7, "Bridge transactions and conversions are disabled") ErrNoRelayer = sdkerrors.Register(ModuleName, 8, "There is no relayer set") )
errors
var ( // DefaultNextWithdrawSequence is the starting point for withdraw sequence. DefaultNextWithdrawSequence sdk.Int = sdk.OneInt() // 1 << 256 - 1 == max 256 bit int MaxWithdrawSequenceBigInt = new(big.Int).Sub(i, big.NewInt(1)) // MaxWithdrawSequence is the maximum sdk.Int value a withdraw sequence can // be before it wraps. MaxWithdrawSequence = sdk.NewIntFromBigInt(MaxWithdrawSequenceBigInt) )
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 ( BridgedERC20PairKeyPrefix = []byte{0x01} // prefix for keys that store a ERC20 bridge pair BridgedERC20PairByExternalKeyPrefix = []byte{0x02} // prefix for keys that store the ID of a ERC20 bridge pair by external address BridgedERC20PairByInternalKeyPrefix = []byte{0x03} // prefix for keys that store the ID of a ERC20 bridge pair by internal address NextWithdrawSequenceKeyPrefix = []byte{0x04} // prefix for key of next withdraw sequence )
Key prefixes
var ( KeyBridgeEnabled = []byte("BridgeEnabled") KeyEnabledERC20Tokens = []byte("EnabledERC20Tokens") KeyRelayer = []byte("Relayer") KeyEnabledConversionPairs = []byte("EnabledConversionPairs") DefaultBridgeEnabled = false DefaultEnabledERC20Tokens = EnabledERC20Tokens{} DefaultRelayer sdk.AccAddress = nil DefaultConversionPairs = ConversionPairs{} )
Parameter keys and default values
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 (
ModuleCdc = codec.NewAminoCodec(amino)
)
var ModuleEVMAddress common.Address
ModuleAddress is the native module address for EVM
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary bridge interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(moduleName string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI GetSequence(sdk.Context, sdk.AccAddress) (uint64, error) }
AccountKeeper defines the expected interface needed to retrieve account info.
type BankKeeper ¶
type BankKeeper interface { GetSupply(ctx sdk.Context, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error IsSendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool BlockedAddr(addr sdk.AccAddress) bool GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool) SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) HasSupply(ctx sdk.Context, denom string) bool GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to retrieve account balances.
type ConversionPair ¶
type ConversionPair struct { // ERC20 address of the token on the Kava EVM KavaERC20Address HexBytes `` /* 129-byte string literal not displayed */ // Denom of the corresponding sdk.Coin Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
ConversionPair defines a Kava ERC20 address and corresponding denom that is allowed to be converted between ERC20 and sdk.Coin
func NewConversionPair ¶
func NewConversionPair(address InternalEVMAddress, denom string) ConversionPair
NewConversionPair returns a new ConversionPair.
func (*ConversionPair) Descriptor ¶
func (*ConversionPair) Descriptor() ([]byte, []int)
func (*ConversionPair) Equal ¶
func (this *ConversionPair) Equal(that interface{}) bool
func (ConversionPair) GetAddress ¶
func (pair ConversionPair) GetAddress() InternalEVMAddress
GetAddress returns the InternalEVMAddress of the Kava ERC20 address.
func (*ConversionPair) Marshal ¶
func (m *ConversionPair) Marshal() (dAtA []byte, err error)
func (*ConversionPair) MarshalToSizedBuffer ¶
func (m *ConversionPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConversionPair) ProtoMessage ¶
func (*ConversionPair) ProtoMessage()
func (*ConversionPair) Reset ¶
func (m *ConversionPair) Reset()
func (*ConversionPair) Size ¶
func (m *ConversionPair) Size() (n int)
func (*ConversionPair) String ¶
func (m *ConversionPair) String() string
func (*ConversionPair) Unmarshal ¶
func (m *ConversionPair) Unmarshal(dAtA []byte) error
func (ConversionPair) Validate ¶
func (pair ConversionPair) Validate() error
Validate returns an error if the ConversionPair is invalid.
func (*ConversionPair) VerboseEqual ¶
func (this *ConversionPair) VerboseEqual(that interface{}) error
func (*ConversionPair) XXX_DiscardUnknown ¶
func (m *ConversionPair) XXX_DiscardUnknown()
func (*ConversionPair) XXX_Marshal ¶
func (m *ConversionPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConversionPair) XXX_Merge ¶
func (m *ConversionPair) XXX_Merge(src proto.Message)
func (*ConversionPair) XXX_Size ¶
func (m *ConversionPair) XXX_Size() int
func (*ConversionPair) XXX_Unmarshal ¶
func (m *ConversionPair) XXX_Unmarshal(b []byte) error
type ConversionPairs ¶
type ConversionPairs []ConversionPair
ConversionPairs defines a slice of ConversionPair.
func NewConversionPairs ¶
func NewConversionPairs(pairs ...ConversionPair) ConversionPairs
NewConversionPairs returns ConversionPairs from the provided values.
func (ConversionPairs) Validate ¶
func (pairs ConversionPairs) Validate() error
type ERC20BridgePair ¶
type ERC20BridgePair struct { // external_erc20_address represents the external EVM ERC20 address ExternalERC20Address HexBytes `` /* 141-byte string literal not displayed */ // internal_erc20_address represents the corresponding internal Kava EVM ERC20 address InternalERC20Address HexBytes `` /* 141-byte string literal not displayed */ }
ERC20BridgePair defines an ERC20 token bridged between external and Kava EVM
func NewERC20BridgePair ¶
func NewERC20BridgePair( externalAddress ExternalEVMAddress, internalAddress InternalEVMAddress, ) ERC20BridgePair
NewERC20BridgePair returns a new ERC20BridgePair from an external and internal address.
func (*ERC20BridgePair) Descriptor ¶
func (*ERC20BridgePair) Descriptor() ([]byte, []int)
func (*ERC20BridgePair) Equal ¶
func (this *ERC20BridgePair) Equal(that interface{}) bool
func (*ERC20BridgePair) GetExternalAddress ¶
func (pair *ERC20BridgePair) GetExternalAddress() ExternalEVMAddress
GetExternal returns the typed ExternalAddress.
func (*ERC20BridgePair) GetID ¶
func (pair *ERC20BridgePair) GetID() []byte
GetID returns the SHA256 hash of the external and internal address
func (*ERC20BridgePair) GetInternalAddress ¶
func (pair *ERC20BridgePair) GetInternalAddress() InternalEVMAddress
GetInternalAddress returns the typed InternalAddress.
func (*ERC20BridgePair) Marshal ¶
func (m *ERC20BridgePair) Marshal() (dAtA []byte, err error)
func (*ERC20BridgePair) MarshalToSizedBuffer ¶
func (m *ERC20BridgePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ERC20BridgePair) ProtoMessage ¶
func (*ERC20BridgePair) ProtoMessage()
func (*ERC20BridgePair) Reset ¶
func (m *ERC20BridgePair) Reset()
func (*ERC20BridgePair) Size ¶
func (m *ERC20BridgePair) Size() (n int)
func (*ERC20BridgePair) String ¶
func (m *ERC20BridgePair) String() string
func (*ERC20BridgePair) Unmarshal ¶
func (m *ERC20BridgePair) Unmarshal(dAtA []byte) error
func (*ERC20BridgePair) Validate ¶
func (pair *ERC20BridgePair) Validate() error
Validate returns an error if a ERC20BridgePair contains the same address.
func (*ERC20BridgePair) VerboseEqual ¶
func (this *ERC20BridgePair) VerboseEqual(that interface{}) error
func (*ERC20BridgePair) XXX_DiscardUnknown ¶
func (m *ERC20BridgePair) XXX_DiscardUnknown()
func (*ERC20BridgePair) XXX_Marshal ¶
func (m *ERC20BridgePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ERC20BridgePair) XXX_Merge ¶
func (m *ERC20BridgePair) XXX_Merge(src proto.Message)
func (*ERC20BridgePair) XXX_Size ¶
func (m *ERC20BridgePair) XXX_Size() int
func (*ERC20BridgePair) XXX_Unmarshal ¶
func (m *ERC20BridgePair) XXX_Unmarshal(b []byte) error
type ERC20BridgePairs ¶
type ERC20BridgePairs []ERC20BridgePair
ERC20BridgePairs defines a slice of ERC20BridgePair
func NewERC20BridgePairs ¶
func NewERC20BridgePairs(pairs ...ERC20BridgePair) ERC20BridgePairs
func (ERC20BridgePairs) Validate ¶
func (pairs ERC20BridgePairs) Validate() error
type EnabledERC20Token ¶
type EnabledERC20Token struct { // Address of the contract on Ethereum Address HexBytes `protobuf:"bytes,1,opt,name=address,proto3,casttype=HexBytes" json:"address,omitempty"` // Name of the token. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Symbol of the ERC20 token, usually a shorter version of the name. Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` // Number of decimals the ERC20 uses to get its user representation. The max // value is an unsigned 8 bit integer, but is an uint32 as the smallest // protobuf integer type. Decimals uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` // Minimum amount of the token that can be bridged back to Ethereum to prevent // outgoing transfers that are much smaller than Ethereum gas costs. MinimumWithdrawAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ }
EnabledERC20Token defines an external ERC20 that is allowed to be bridged to Kava
func NewEnabledERC20Token ¶
func NewEnabledERC20Token( address ExternalEVMAddress, name string, symbol string, decimals uint32, minimum_withdraw_amount sdk.Int, ) EnabledERC20Token
NewEnabledERC20Token returns a new EnabledERC20Token.
func (*EnabledERC20Token) Descriptor ¶
func (*EnabledERC20Token) Descriptor() ([]byte, []int)
func (*EnabledERC20Token) Equal ¶
func (this *EnabledERC20Token) Equal(that interface{}) bool
func (*EnabledERC20Token) GetAddress ¶
func (m *EnabledERC20Token) GetAddress() HexBytes
func (*EnabledERC20Token) GetDecimals ¶
func (m *EnabledERC20Token) GetDecimals() uint32
func (*EnabledERC20Token) GetName ¶
func (m *EnabledERC20Token) GetName() string
func (*EnabledERC20Token) GetSymbol ¶
func (m *EnabledERC20Token) GetSymbol() string
func (*EnabledERC20Token) Marshal ¶
func (m *EnabledERC20Token) Marshal() (dAtA []byte, err error)
func (*EnabledERC20Token) MarshalTo ¶
func (m *EnabledERC20Token) MarshalTo(dAtA []byte) (int, error)
func (*EnabledERC20Token) MarshalToSizedBuffer ¶
func (m *EnabledERC20Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnabledERC20Token) ProtoMessage ¶
func (*EnabledERC20Token) ProtoMessage()
func (*EnabledERC20Token) Reset ¶
func (m *EnabledERC20Token) Reset()
func (*EnabledERC20Token) Size ¶
func (m *EnabledERC20Token) Size() (n int)
func (*EnabledERC20Token) String ¶
func (m *EnabledERC20Token) String() string
func (*EnabledERC20Token) Unmarshal ¶
func (m *EnabledERC20Token) Unmarshal(dAtA []byte) error
func (EnabledERC20Token) Validate ¶
func (e EnabledERC20Token) Validate() error
Validate returns an error if the EnabledERC20Token is invalid.
func (*EnabledERC20Token) VerboseEqual ¶
func (this *EnabledERC20Token) VerboseEqual(that interface{}) error
func (*EnabledERC20Token) XXX_DiscardUnknown ¶
func (m *EnabledERC20Token) XXX_DiscardUnknown()
func (*EnabledERC20Token) XXX_Marshal ¶
func (m *EnabledERC20Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnabledERC20Token) XXX_Merge ¶
func (m *EnabledERC20Token) XXX_Merge(src proto.Message)
func (*EnabledERC20Token) XXX_Size ¶
func (m *EnabledERC20Token) XXX_Size() int
func (*EnabledERC20Token) XXX_Unmarshal ¶
func (m *EnabledERC20Token) XXX_Unmarshal(b []byte) error
type EnabledERC20Tokens ¶
type EnabledERC20Tokens []EnabledERC20Token
EnabledERC20Tokens defines a slice of EnabledERC20Token
func NewEnabledERC20Tokens ¶
func NewEnabledERC20Tokens(enabledERC20Tokens ...EnabledERC20Token) EnabledERC20Tokens
NewEnabledERC20Tokens returns EnabledERC20Tokens from the provided values
func (EnabledERC20Tokens) Validate ¶
func (tokens EnabledERC20Tokens) Validate() error
Validate returns an error if any token in a slice of EnabledERC20Tokens is invalid.
type EvmKeeper ¶
type EvmKeeper interface { // This is actually a gRPC query method EstimateGas(ctx context.Context, req *types.EthCallRequest) (*types.EstimateGasResponse, error) ApplyMessage(ctx sdk.Context, msg core.Message, tracer vm.EVMLogger, commit bool) (*types.MsgEthereumTxResponse, error) }
EvmKeeper defines the expected interface needed to make EVM transactions.
type ExternalEVMAddress ¶
ExternalEVMAddress is a type alias of common.Address to represent an address on an external EVM, e.g. Ethereum. This is used to make external / internal addresses type safe and un-assignable to each other. This also makes it more clear which address belongs where.
func NewExternalEVMAddress ¶
func NewExternalEVMAddress(addr common.Address) ExternalEVMAddress
NewExternalEVMAddress returns a new ExternalEVMAddress from a common.Address.
func NewExternalEVMAddressFromString ¶
func NewExternalEVMAddressFromString(addrStr string) (ExternalEVMAddress, error)
NewExternalEVMAddressFromString returns a new ExternalEVMAddress from a hex string. Returns an error if hex string is invalid.
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // erc20_bridge_pairs defines all of the bridged erc20 tokens. ERC20BridgePairs ERC20BridgePairs `` /* 131-byte string literal not displayed */ // next_withdraw_sequence defines the unique incrementing sequence per withdraw tx. NextWithdrawSequence github_com_cosmos_cosmos_sdk_types.Int `` /* 163-byte string literal not displayed */ }
GenesisState defines the bridge module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState - default GenesisState used by Cosmos Hub
func NewGenesisState ¶
func NewGenesisState( params Params, erc20BridgePairs ERC20BridgePairs, nextSequence sdk.Int, ) GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Equal ¶
func (this *GenesisState) Equal(that interface{}) bool
func (*GenesisState) GetERC20BridgePairs ¶
func (m *GenesisState) GetERC20BridgePairs() ERC20BridgePairs
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 validates genesis inputs. It returns error if validation of any input fails.
func (*GenesisState) VerboseEqual ¶
func (this *GenesisState) VerboseEqual(that interface{}) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type HexBytes ¶
type HexBytes []byte
HexBytes represents a byte slice that marshals into a 0x representation
func (HexBytes) MarshalJSON ¶
MarshalJSON marshals HexBytes into a 0x json string
func (*HexBytes) UnmarshalJSON ¶
UnmarshalJSON unmarshals a 0x json string into bytes
type InternalEVMAddress ¶
InternalEVMAddress is a type alias of common.Address to represent an address on the Kava EVM.
func NewInternalEVMAddress ¶
func NewInternalEVMAddress(addr common.Address) InternalEVMAddress
NewInternalEVMAddress returns a new InternalEVMAddress from a common.Address.
func NewInternalEVMAddressFromString ¶
func NewInternalEVMAddressFromString(addrStr string) (InternalEVMAddress, error)
NewInternalEVMAddressFromString returns a new InternalEVMAddress from a hex string. Returns an error if hex string is invalid.
type MsgBridgeEthereumToKava ¶
type MsgBridgeEthereumToKava struct { // Address of the bridge relayer. Relayer string `protobuf:"bytes,1,opt,name=relayer,proto3" json:"relayer,omitempty"` // Originating Ethereum ERC20 contract address. EthereumERC20Address string `protobuf:"bytes,2,opt,name=ethereum_erc20_address,json=ethereumErc20Address,proto3" json:"ethereum_erc20_address,omitempty"` // ERC20 token amount to transfer. Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` // Receiver hex address on Kava. Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"` // Unique sequence per bridge event. Sequence github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=sequence,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"sequence"` }
MsgBridgeEthereumToKava defines a ERC20 bridge transfer from Ethereum to Kava.
func NewMsgBridgeEthereumToKava ¶
func NewMsgBridgeEthereumToKava( relayer string, ethereumERC20Address string, amount sdk.Int, receiver string, sequence sdk.Int, ) MsgBridgeEthereumToKava
NewMsgBridgeEthereumToKava returns a new MsgBridgeEthereumToKava
func (*MsgBridgeEthereumToKava) Descriptor ¶
func (*MsgBridgeEthereumToKava) Descriptor() ([]byte, []int)
func (*MsgBridgeEthereumToKava) Equal ¶
func (this *MsgBridgeEthereumToKava) Equal(that interface{}) bool
func (*MsgBridgeEthereumToKava) GetEthereumERC20Address ¶
func (m *MsgBridgeEthereumToKava) GetEthereumERC20Address() string
func (*MsgBridgeEthereumToKava) GetReceiver ¶
func (m *MsgBridgeEthereumToKava) GetReceiver() string
func (*MsgBridgeEthereumToKava) GetRelayer ¶
func (m *MsgBridgeEthereumToKava) GetRelayer() string
func (MsgBridgeEthereumToKava) GetSigners ¶
func (msg MsgBridgeEthereumToKava) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgBridgeEthereumToKava) Marshal ¶
func (m *MsgBridgeEthereumToKava) Marshal() (dAtA []byte, err error)
func (*MsgBridgeEthereumToKava) MarshalTo ¶
func (m *MsgBridgeEthereumToKava) MarshalTo(dAtA []byte) (int, error)
func (*MsgBridgeEthereumToKava) MarshalToSizedBuffer ¶
func (m *MsgBridgeEthereumToKava) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBridgeEthereumToKava) ProtoMessage ¶
func (*MsgBridgeEthereumToKava) ProtoMessage()
func (*MsgBridgeEthereumToKava) Reset ¶
func (m *MsgBridgeEthereumToKava) Reset()
func (*MsgBridgeEthereumToKava) Size ¶
func (m *MsgBridgeEthereumToKava) Size() (n int)
func (*MsgBridgeEthereumToKava) String ¶
func (m *MsgBridgeEthereumToKava) String() string
func (*MsgBridgeEthereumToKava) Unmarshal ¶
func (m *MsgBridgeEthereumToKava) Unmarshal(dAtA []byte) error
func (MsgBridgeEthereumToKava) ValidateBasic ¶
func (msg MsgBridgeEthereumToKava) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to any other information.
func (*MsgBridgeEthereumToKava) VerboseEqual ¶
func (this *MsgBridgeEthereumToKava) VerboseEqual(that interface{}) error
func (*MsgBridgeEthereumToKava) XXX_DiscardUnknown ¶
func (m *MsgBridgeEthereumToKava) XXX_DiscardUnknown()
func (*MsgBridgeEthereumToKava) XXX_Marshal ¶
func (m *MsgBridgeEthereumToKava) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBridgeEthereumToKava) XXX_Merge ¶
func (m *MsgBridgeEthereumToKava) XXX_Merge(src proto.Message)
func (*MsgBridgeEthereumToKava) XXX_Size ¶
func (m *MsgBridgeEthereumToKava) XXX_Size() int
func (*MsgBridgeEthereumToKava) XXX_Unmarshal ¶
func (m *MsgBridgeEthereumToKava) XXX_Unmarshal(b []byte) error
type MsgBridgeEthereumToKavaResponse ¶
type MsgBridgeEthereumToKavaResponse struct { }
MsgBridgeEthereumToKavaResponse defines the response value from Msg/BridgeEthereumToKava.
func (*MsgBridgeEthereumToKavaResponse) Descriptor ¶
func (*MsgBridgeEthereumToKavaResponse) Descriptor() ([]byte, []int)
func (*MsgBridgeEthereumToKavaResponse) Equal ¶
func (this *MsgBridgeEthereumToKavaResponse) Equal(that interface{}) bool
func (*MsgBridgeEthereumToKavaResponse) Marshal ¶
func (m *MsgBridgeEthereumToKavaResponse) Marshal() (dAtA []byte, err error)
func (*MsgBridgeEthereumToKavaResponse) MarshalTo ¶
func (m *MsgBridgeEthereumToKavaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBridgeEthereumToKavaResponse) MarshalToSizedBuffer ¶
func (m *MsgBridgeEthereumToKavaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBridgeEthereumToKavaResponse) ProtoMessage ¶
func (*MsgBridgeEthereumToKavaResponse) ProtoMessage()
func (*MsgBridgeEthereumToKavaResponse) Reset ¶
func (m *MsgBridgeEthereumToKavaResponse) Reset()
func (*MsgBridgeEthereumToKavaResponse) Size ¶
func (m *MsgBridgeEthereumToKavaResponse) Size() (n int)
func (*MsgBridgeEthereumToKavaResponse) String ¶
func (m *MsgBridgeEthereumToKavaResponse) String() string
func (*MsgBridgeEthereumToKavaResponse) Unmarshal ¶
func (m *MsgBridgeEthereumToKavaResponse) Unmarshal(dAtA []byte) error
func (*MsgBridgeEthereumToKavaResponse) VerboseEqual ¶
func (this *MsgBridgeEthereumToKavaResponse) VerboseEqual(that interface{}) error
func (*MsgBridgeEthereumToKavaResponse) XXX_DiscardUnknown ¶
func (m *MsgBridgeEthereumToKavaResponse) XXX_DiscardUnknown()
func (*MsgBridgeEthereumToKavaResponse) XXX_Marshal ¶
func (m *MsgBridgeEthereumToKavaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBridgeEthereumToKavaResponse) XXX_Merge ¶
func (m *MsgBridgeEthereumToKavaResponse) XXX_Merge(src proto.Message)
func (*MsgBridgeEthereumToKavaResponse) XXX_Size ¶
func (m *MsgBridgeEthereumToKavaResponse) XXX_Size() int
func (*MsgBridgeEthereumToKavaResponse) XXX_Unmarshal ¶
func (m *MsgBridgeEthereumToKavaResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // BridgeEthereumToKava defines a method for bridging ERC20 tokens from // Ethereum to Kava. BridgeEthereumToKava(ctx context.Context, in *MsgBridgeEthereumToKava, opts ...grpc.CallOption) (*MsgBridgeEthereumToKavaResponse, error) // ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. ConvertCoinToERC20(ctx context.Context, in *MsgConvertCoinToERC20, opts ...grpc.CallOption) (*MsgConvertCoinToERC20Response, 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 MsgConvertCoinToERC20 ¶
type MsgConvertCoinToERC20 struct { // Kava bech32 address initiating the conversion. Initiator string `protobuf:"bytes,1,opt,name=initiator,proto3" json:"initiator,omitempty"` // EVM hex address that will receive the converted Kava ERC20 tokens. Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // Amount is the sdk.Coin amount to convert. Amount *types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` }
MsgConvertCoinToERC20 defines a conversion from sdk.Coin to Kava ERC20.
func NewMsgConvertCoinToERC20 ¶
func NewMsgConvertCoinToERC20( initiator string, receiver string, amount sdk.Coin, ) MsgConvertCoinToERC20
NewMsgConvertCoinToERC20 returns a new MsgConvertCoinToERC20
func (*MsgConvertCoinToERC20) Descriptor ¶
func (*MsgConvertCoinToERC20) Descriptor() ([]byte, []int)
func (*MsgConvertCoinToERC20) Equal ¶
func (this *MsgConvertCoinToERC20) Equal(that interface{}) bool
func (*MsgConvertCoinToERC20) GetAmount ¶
func (m *MsgConvertCoinToERC20) GetAmount() *types.Coin
func (*MsgConvertCoinToERC20) GetInitiator ¶
func (m *MsgConvertCoinToERC20) GetInitiator() string
func (*MsgConvertCoinToERC20) GetReceiver ¶
func (m *MsgConvertCoinToERC20) GetReceiver() string
func (MsgConvertCoinToERC20) GetSigners ¶
func (msg MsgConvertCoinToERC20) GetSigners() []sdk.AccAddress
GetSigners returns the addresses of signers that must sign.
func (*MsgConvertCoinToERC20) Marshal ¶
func (m *MsgConvertCoinToERC20) Marshal() (dAtA []byte, err error)
func (*MsgConvertCoinToERC20) MarshalTo ¶
func (m *MsgConvertCoinToERC20) MarshalTo(dAtA []byte) (int, error)
func (*MsgConvertCoinToERC20) MarshalToSizedBuffer ¶
func (m *MsgConvertCoinToERC20) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConvertCoinToERC20) ProtoMessage ¶
func (*MsgConvertCoinToERC20) ProtoMessage()
func (*MsgConvertCoinToERC20) Reset ¶
func (m *MsgConvertCoinToERC20) Reset()
func (*MsgConvertCoinToERC20) Size ¶
func (m *MsgConvertCoinToERC20) Size() (n int)
func (*MsgConvertCoinToERC20) String ¶
func (m *MsgConvertCoinToERC20) String() string
func (*MsgConvertCoinToERC20) Unmarshal ¶
func (m *MsgConvertCoinToERC20) Unmarshal(dAtA []byte) error
func (MsgConvertCoinToERC20) ValidateBasic ¶
func (msg MsgConvertCoinToERC20) ValidateBasic() error
ValidateBasic does a simple validation check that doesn't require access to any other information.
func (*MsgConvertCoinToERC20) VerboseEqual ¶
func (this *MsgConvertCoinToERC20) VerboseEqual(that interface{}) error
func (*MsgConvertCoinToERC20) XXX_DiscardUnknown ¶
func (m *MsgConvertCoinToERC20) XXX_DiscardUnknown()
func (*MsgConvertCoinToERC20) XXX_Marshal ¶
func (m *MsgConvertCoinToERC20) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConvertCoinToERC20) XXX_Merge ¶
func (m *MsgConvertCoinToERC20) XXX_Merge(src proto.Message)
func (*MsgConvertCoinToERC20) XXX_Size ¶
func (m *MsgConvertCoinToERC20) XXX_Size() int
func (*MsgConvertCoinToERC20) XXX_Unmarshal ¶
func (m *MsgConvertCoinToERC20) XXX_Unmarshal(b []byte) error
type MsgConvertCoinToERC20Response ¶
type MsgConvertCoinToERC20Response struct { }
MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20.
func (*MsgConvertCoinToERC20Response) Descriptor ¶
func (*MsgConvertCoinToERC20Response) Descriptor() ([]byte, []int)
func (*MsgConvertCoinToERC20Response) Equal ¶
func (this *MsgConvertCoinToERC20Response) Equal(that interface{}) bool
func (*MsgConvertCoinToERC20Response) Marshal ¶
func (m *MsgConvertCoinToERC20Response) Marshal() (dAtA []byte, err error)
func (*MsgConvertCoinToERC20Response) MarshalTo ¶
func (m *MsgConvertCoinToERC20Response) MarshalTo(dAtA []byte) (int, error)
func (*MsgConvertCoinToERC20Response) MarshalToSizedBuffer ¶
func (m *MsgConvertCoinToERC20Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgConvertCoinToERC20Response) ProtoMessage ¶
func (*MsgConvertCoinToERC20Response) ProtoMessage()
func (*MsgConvertCoinToERC20Response) Reset ¶
func (m *MsgConvertCoinToERC20Response) Reset()
func (*MsgConvertCoinToERC20Response) Size ¶
func (m *MsgConvertCoinToERC20Response) Size() (n int)
func (*MsgConvertCoinToERC20Response) String ¶
func (m *MsgConvertCoinToERC20Response) String() string
func (*MsgConvertCoinToERC20Response) Unmarshal ¶
func (m *MsgConvertCoinToERC20Response) Unmarshal(dAtA []byte) error
func (*MsgConvertCoinToERC20Response) VerboseEqual ¶
func (this *MsgConvertCoinToERC20Response) VerboseEqual(that interface{}) error
func (*MsgConvertCoinToERC20Response) XXX_DiscardUnknown ¶
func (m *MsgConvertCoinToERC20Response) XXX_DiscardUnknown()
func (*MsgConvertCoinToERC20Response) XXX_Marshal ¶
func (m *MsgConvertCoinToERC20Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgConvertCoinToERC20Response) XXX_Merge ¶
func (m *MsgConvertCoinToERC20Response) XXX_Merge(src proto.Message)
func (*MsgConvertCoinToERC20Response) XXX_Size ¶
func (m *MsgConvertCoinToERC20Response) XXX_Size() int
func (*MsgConvertCoinToERC20Response) XXX_Unmarshal ¶
func (m *MsgConvertCoinToERC20Response) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // BridgeEthereumToKava defines a method for bridging ERC20 tokens from // Ethereum to Kava. BridgeEthereumToKava(context.Context, *MsgBridgeEthereumToKava) (*MsgBridgeEthereumToKavaResponse, error) // ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. ConvertCoinToERC20(context.Context, *MsgConvertCoinToERC20) (*MsgConvertCoinToERC20Response, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { // Flag for enabling incoming/outgoing bridge transactions AND // Kava ERC20/sdk.Coin conversions. BridgeEnabled bool `protobuf:"varint,1,opt,name=bridge_enabled,json=bridgeEnabled,proto3" json:"bridge_enabled,omitempty"` // List of ERC20Tokens that are allowed to be bridged to Kava EnabledERC20Tokens EnabledERC20Tokens `` /* 139-byte string literal not displayed */ // Permissioned relayer address that is allowed to submit bridge messages Relayer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=relayer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"relayer,omitempty"` // enabled_conversion_pairs defines the list of conversion pairs allowed to be // converted between Kava ERC20 and sdk.Coin EnabledConversionPairs ConversionPairs `` /* 148-byte string literal not displayed */ }
Params defines the bridge module params
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns the default parameters for bridge.
func NewParams ¶
func NewParams( bridgeEnabled bool, enabledERC20Tokens EnabledERC20Tokens, relayer sdk.AccAddress, conversionPairs ConversionPairs, ) Params
NewParams returns new bridge module Params.
func (*Params) Descriptor ¶
func (*Params) GetBridgeEnabled ¶
func (*Params) GetEnabledConversionPairs ¶
func (m *Params) GetEnabledConversionPairs() ConversionPairs
func (*Params) GetEnabledERC20Tokens ¶
func (m *Params) GetEnabledERC20Tokens() EnabledERC20Tokens
func (*Params) GetRelayer ¶
func (m *Params) GetRelayer() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of the bridge module's parameters.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) VerboseEqual ¶
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Params queries all parameters of the bridge module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // ERC20BridgePairs queries the bridge address pairs. ERC20BridgePairs(ctx context.Context, in *QueryERC20BridgePairsRequest, opts ...grpc.CallOption) (*QueryERC20BridgePairsResponse, error) // ERC20BridgePair queries a bridge address pair with either internal or // external address. ERC20BridgePair(ctx context.Context, in *QueryERC20BridgePairRequest, opts ...grpc.CallOption) (*QueryERC20BridgePairResponse, error) // ConversionPairs queries the ERC20/sdk.Coin conversion pairs. ConversionPairs(ctx context.Context, in *QueryConversionPairsRequest, opts ...grpc.CallOption) (*QueryConversionPairsResponse, error) // ConversionPair queries a conversion pair with either the ERC20 address or // sdk.Coin denom. ConversionPair(ctx context.Context, in *QueryConversionPairRequest, opts ...grpc.CallOption) (*QueryConversionPairResponse, 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 QueryConversionPairRequest ¶
type QueryConversionPairRequest struct { // AddressOrDenom defines the ERC20 address or the sdk.Coin denom of the pair // to search for. AddressOrDenom string `protobuf:"bytes,1,opt,name=address_or_denom,json=addressOrDenom,proto3" json:"address_or_denom,omitempty"` }
QueryConversionPairRequest defines the request type for querying a x/bridge conversion pair.
func (*QueryConversionPairRequest) Descriptor ¶
func (*QueryConversionPairRequest) Descriptor() ([]byte, []int)
func (*QueryConversionPairRequest) Equal ¶
func (this *QueryConversionPairRequest) Equal(that interface{}) bool
func (*QueryConversionPairRequest) GetAddressOrDenom ¶
func (m *QueryConversionPairRequest) GetAddressOrDenom() string
func (*QueryConversionPairRequest) Marshal ¶
func (m *QueryConversionPairRequest) Marshal() (dAtA []byte, err error)
func (*QueryConversionPairRequest) MarshalTo ¶
func (m *QueryConversionPairRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConversionPairRequest) MarshalToSizedBuffer ¶
func (m *QueryConversionPairRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConversionPairRequest) ProtoMessage ¶
func (*QueryConversionPairRequest) ProtoMessage()
func (*QueryConversionPairRequest) Reset ¶
func (m *QueryConversionPairRequest) Reset()
func (*QueryConversionPairRequest) Size ¶
func (m *QueryConversionPairRequest) Size() (n int)
func (*QueryConversionPairRequest) String ¶
func (m *QueryConversionPairRequest) String() string
func (*QueryConversionPairRequest) Unmarshal ¶
func (m *QueryConversionPairRequest) Unmarshal(dAtA []byte) error
func (*QueryConversionPairRequest) VerboseEqual ¶
func (this *QueryConversionPairRequest) VerboseEqual(that interface{}) error
func (*QueryConversionPairRequest) XXX_DiscardUnknown ¶
func (m *QueryConversionPairRequest) XXX_DiscardUnknown()
func (*QueryConversionPairRequest) XXX_Marshal ¶
func (m *QueryConversionPairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConversionPairRequest) XXX_Merge ¶
func (m *QueryConversionPairRequest) XXX_Merge(src proto.Message)
func (*QueryConversionPairRequest) XXX_Size ¶
func (m *QueryConversionPairRequest) XXX_Size() int
func (*QueryConversionPairRequest) XXX_Unmarshal ¶
func (m *QueryConversionPairRequest) XXX_Unmarshal(b []byte) error
type QueryConversionPairResponse ¶
type QueryConversionPairResponse struct { // ConversionPair defines the queried conversion pairs. ConversionPair ConversionPair `protobuf:"bytes,1,opt,name=conversion_pair,json=conversionPair,proto3" json:"conversion_pair"` }
QueryConversionPairsResponse defines the response type for querying a x/bridge conversion pair.
func (*QueryConversionPairResponse) Descriptor ¶
func (*QueryConversionPairResponse) Descriptor() ([]byte, []int)
func (*QueryConversionPairResponse) Equal ¶
func (this *QueryConversionPairResponse) Equal(that interface{}) bool
func (*QueryConversionPairResponse) GetConversionPair ¶
func (m *QueryConversionPairResponse) GetConversionPair() ConversionPair
func (*QueryConversionPairResponse) Marshal ¶
func (m *QueryConversionPairResponse) Marshal() (dAtA []byte, err error)
func (*QueryConversionPairResponse) MarshalTo ¶
func (m *QueryConversionPairResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConversionPairResponse) MarshalToSizedBuffer ¶
func (m *QueryConversionPairResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConversionPairResponse) ProtoMessage ¶
func (*QueryConversionPairResponse) ProtoMessage()
func (*QueryConversionPairResponse) Reset ¶
func (m *QueryConversionPairResponse) Reset()
func (*QueryConversionPairResponse) Size ¶
func (m *QueryConversionPairResponse) Size() (n int)
func (*QueryConversionPairResponse) String ¶
func (m *QueryConversionPairResponse) String() string
func (*QueryConversionPairResponse) Unmarshal ¶
func (m *QueryConversionPairResponse) Unmarshal(dAtA []byte) error
func (*QueryConversionPairResponse) VerboseEqual ¶
func (this *QueryConversionPairResponse) VerboseEqual(that interface{}) error
func (*QueryConversionPairResponse) XXX_DiscardUnknown ¶
func (m *QueryConversionPairResponse) XXX_DiscardUnknown()
func (*QueryConversionPairResponse) XXX_Marshal ¶
func (m *QueryConversionPairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConversionPairResponse) XXX_Merge ¶
func (m *QueryConversionPairResponse) XXX_Merge(src proto.Message)
func (*QueryConversionPairResponse) XXX_Size ¶
func (m *QueryConversionPairResponse) XXX_Size() int
func (*QueryConversionPairResponse) XXX_Unmarshal ¶
func (m *QueryConversionPairResponse) XXX_Unmarshal(b []byte) error
type QueryConversionPairsRequest ¶
type QueryConversionPairsRequest struct { }
QueryConversionPairsRequest defines the request type for querying x/bridge conversion pairs.
func (*QueryConversionPairsRequest) Descriptor ¶
func (*QueryConversionPairsRequest) Descriptor() ([]byte, []int)
func (*QueryConversionPairsRequest) Equal ¶
func (this *QueryConversionPairsRequest) Equal(that interface{}) bool
func (*QueryConversionPairsRequest) Marshal ¶
func (m *QueryConversionPairsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConversionPairsRequest) MarshalTo ¶
func (m *QueryConversionPairsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConversionPairsRequest) MarshalToSizedBuffer ¶
func (m *QueryConversionPairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConversionPairsRequest) ProtoMessage ¶
func (*QueryConversionPairsRequest) ProtoMessage()
func (*QueryConversionPairsRequest) Reset ¶
func (m *QueryConversionPairsRequest) Reset()
func (*QueryConversionPairsRequest) Size ¶
func (m *QueryConversionPairsRequest) Size() (n int)
func (*QueryConversionPairsRequest) String ¶
func (m *QueryConversionPairsRequest) String() string
func (*QueryConversionPairsRequest) Unmarshal ¶
func (m *QueryConversionPairsRequest) Unmarshal(dAtA []byte) error
func (*QueryConversionPairsRequest) VerboseEqual ¶
func (this *QueryConversionPairsRequest) VerboseEqual(that interface{}) error
func (*QueryConversionPairsRequest) XXX_DiscardUnknown ¶
func (m *QueryConversionPairsRequest) XXX_DiscardUnknown()
func (*QueryConversionPairsRequest) XXX_Marshal ¶
func (m *QueryConversionPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConversionPairsRequest) XXX_Merge ¶
func (m *QueryConversionPairsRequest) XXX_Merge(src proto.Message)
func (*QueryConversionPairsRequest) XXX_Size ¶
func (m *QueryConversionPairsRequest) XXX_Size() int
func (*QueryConversionPairsRequest) XXX_Unmarshal ¶
func (m *QueryConversionPairsRequest) XXX_Unmarshal(b []byte) error
type QueryConversionPairsResponse ¶
type QueryConversionPairsResponse struct { // ConversionPairs defines the queried conversion pairs. ConversionPairs ConversionPairs `protobuf:"bytes,1,rep,name=conversion_pairs,json=conversionPairs,proto3,castrepeated=ConversionPairs" json:"conversion_pairs"` }
QueryConversionPairsResponse defines the response type for querying x/bridge conversion pairs.
func (*QueryConversionPairsResponse) Descriptor ¶
func (*QueryConversionPairsResponse) Descriptor() ([]byte, []int)
func (*QueryConversionPairsResponse) Equal ¶
func (this *QueryConversionPairsResponse) Equal(that interface{}) bool
func (*QueryConversionPairsResponse) GetConversionPairs ¶
func (m *QueryConversionPairsResponse) GetConversionPairs() ConversionPairs
func (*QueryConversionPairsResponse) Marshal ¶
func (m *QueryConversionPairsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConversionPairsResponse) MarshalTo ¶
func (m *QueryConversionPairsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConversionPairsResponse) MarshalToSizedBuffer ¶
func (m *QueryConversionPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConversionPairsResponse) ProtoMessage ¶
func (*QueryConversionPairsResponse) ProtoMessage()
func (*QueryConversionPairsResponse) Reset ¶
func (m *QueryConversionPairsResponse) Reset()
func (*QueryConversionPairsResponse) Size ¶
func (m *QueryConversionPairsResponse) Size() (n int)
func (*QueryConversionPairsResponse) String ¶
func (m *QueryConversionPairsResponse) String() string
func (*QueryConversionPairsResponse) Unmarshal ¶
func (m *QueryConversionPairsResponse) Unmarshal(dAtA []byte) error
func (*QueryConversionPairsResponse) VerboseEqual ¶
func (this *QueryConversionPairsResponse) VerboseEqual(that interface{}) error
func (*QueryConversionPairsResponse) XXX_DiscardUnknown ¶
func (m *QueryConversionPairsResponse) XXX_DiscardUnknown()
func (*QueryConversionPairsResponse) XXX_Marshal ¶
func (m *QueryConversionPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConversionPairsResponse) XXX_Merge ¶
func (m *QueryConversionPairsResponse) XXX_Merge(src proto.Message)
func (*QueryConversionPairsResponse) XXX_Size ¶
func (m *QueryConversionPairsResponse) XXX_Size() int
func (*QueryConversionPairsResponse) XXX_Unmarshal ¶
func (m *QueryConversionPairsResponse) XXX_Unmarshal(b []byte) error
type QueryERC20BridgePairRequest ¶
type QueryERC20BridgePairRequest struct { // Address defines the internal or external address to query for. This is a // string and not bytes as bytes in the query must be base64 encoded which is // not ideal for addresses where we prefer hex encoding. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryERC20BridgePairRequest defines the request type for querying x/bridge ERC20 pair.
func (*QueryERC20BridgePairRequest) Descriptor ¶
func (*QueryERC20BridgePairRequest) Descriptor() ([]byte, []int)
func (*QueryERC20BridgePairRequest) Equal ¶
func (this *QueryERC20BridgePairRequest) Equal(that interface{}) bool
func (*QueryERC20BridgePairRequest) GetAddress ¶
func (m *QueryERC20BridgePairRequest) GetAddress() string
func (*QueryERC20BridgePairRequest) Marshal ¶
func (m *QueryERC20BridgePairRequest) Marshal() (dAtA []byte, err error)
func (*QueryERC20BridgePairRequest) MarshalTo ¶
func (m *QueryERC20BridgePairRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryERC20BridgePairRequest) MarshalToSizedBuffer ¶
func (m *QueryERC20BridgePairRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryERC20BridgePairRequest) ProtoMessage ¶
func (*QueryERC20BridgePairRequest) ProtoMessage()
func (*QueryERC20BridgePairRequest) Reset ¶
func (m *QueryERC20BridgePairRequest) Reset()
func (*QueryERC20BridgePairRequest) Size ¶
func (m *QueryERC20BridgePairRequest) Size() (n int)
func (*QueryERC20BridgePairRequest) String ¶
func (m *QueryERC20BridgePairRequest) String() string
func (*QueryERC20BridgePairRequest) Unmarshal ¶
func (m *QueryERC20BridgePairRequest) Unmarshal(dAtA []byte) error
func (*QueryERC20BridgePairRequest) VerboseEqual ¶
func (this *QueryERC20BridgePairRequest) VerboseEqual(that interface{}) error
func (*QueryERC20BridgePairRequest) XXX_DiscardUnknown ¶
func (m *QueryERC20BridgePairRequest) XXX_DiscardUnknown()
func (*QueryERC20BridgePairRequest) XXX_Marshal ¶
func (m *QueryERC20BridgePairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryERC20BridgePairRequest) XXX_Merge ¶
func (m *QueryERC20BridgePairRequest) XXX_Merge(src proto.Message)
func (*QueryERC20BridgePairRequest) XXX_Size ¶
func (m *QueryERC20BridgePairRequest) XXX_Size() int
func (*QueryERC20BridgePairRequest) XXX_Unmarshal ¶
func (m *QueryERC20BridgePairRequest) XXX_Unmarshal(b []byte) error
type QueryERC20BridgePairResponse ¶
type QueryERC20BridgePairResponse struct { // ERC20BridgePair defines the queried bridged erc20 pair. ERC20BridgePair ERC20BridgePair `protobuf:"bytes,1,opt,name=erc20_bridge_pair,json=erc20BridgePair,proto3" json:"erc20_bridge_pair"` }
QueryERC20BridgePairRequest defines the response type for querying x/bridge ERC20 pair.
func (*QueryERC20BridgePairResponse) Descriptor ¶
func (*QueryERC20BridgePairResponse) Descriptor() ([]byte, []int)
func (*QueryERC20BridgePairResponse) Equal ¶
func (this *QueryERC20BridgePairResponse) Equal(that interface{}) bool
func (*QueryERC20BridgePairResponse) GetERC20BridgePair ¶
func (m *QueryERC20BridgePairResponse) GetERC20BridgePair() ERC20BridgePair
func (*QueryERC20BridgePairResponse) Marshal ¶
func (m *QueryERC20BridgePairResponse) Marshal() (dAtA []byte, err error)
func (*QueryERC20BridgePairResponse) MarshalTo ¶
func (m *QueryERC20BridgePairResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryERC20BridgePairResponse) MarshalToSizedBuffer ¶
func (m *QueryERC20BridgePairResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryERC20BridgePairResponse) ProtoMessage ¶
func (*QueryERC20BridgePairResponse) ProtoMessage()
func (*QueryERC20BridgePairResponse) Reset ¶
func (m *QueryERC20BridgePairResponse) Reset()
func (*QueryERC20BridgePairResponse) Size ¶
func (m *QueryERC20BridgePairResponse) Size() (n int)
func (*QueryERC20BridgePairResponse) String ¶
func (m *QueryERC20BridgePairResponse) String() string
func (*QueryERC20BridgePairResponse) Unmarshal ¶
func (m *QueryERC20BridgePairResponse) Unmarshal(dAtA []byte) error
func (*QueryERC20BridgePairResponse) VerboseEqual ¶
func (this *QueryERC20BridgePairResponse) VerboseEqual(that interface{}) error
func (*QueryERC20BridgePairResponse) XXX_DiscardUnknown ¶
func (m *QueryERC20BridgePairResponse) XXX_DiscardUnknown()
func (*QueryERC20BridgePairResponse) XXX_Marshal ¶
func (m *QueryERC20BridgePairResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryERC20BridgePairResponse) XXX_Merge ¶
func (m *QueryERC20BridgePairResponse) XXX_Merge(src proto.Message)
func (*QueryERC20BridgePairResponse) XXX_Size ¶
func (m *QueryERC20BridgePairResponse) XXX_Size() int
func (*QueryERC20BridgePairResponse) XXX_Unmarshal ¶
func (m *QueryERC20BridgePairResponse) XXX_Unmarshal(b []byte) error
type QueryERC20BridgePairsRequest ¶
type QueryERC20BridgePairsRequest struct { }
QueryERC20BridgePairsRequest defines the request type for querying x/bridge ERC20 pairs.
func (*QueryERC20BridgePairsRequest) Descriptor ¶
func (*QueryERC20BridgePairsRequest) Descriptor() ([]byte, []int)
func (*QueryERC20BridgePairsRequest) Equal ¶
func (this *QueryERC20BridgePairsRequest) Equal(that interface{}) bool
func (*QueryERC20BridgePairsRequest) Marshal ¶
func (m *QueryERC20BridgePairsRequest) Marshal() (dAtA []byte, err error)
func (*QueryERC20BridgePairsRequest) MarshalTo ¶
func (m *QueryERC20BridgePairsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryERC20BridgePairsRequest) MarshalToSizedBuffer ¶
func (m *QueryERC20BridgePairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryERC20BridgePairsRequest) ProtoMessage ¶
func (*QueryERC20BridgePairsRequest) ProtoMessage()
func (*QueryERC20BridgePairsRequest) Reset ¶
func (m *QueryERC20BridgePairsRequest) Reset()
func (*QueryERC20BridgePairsRequest) Size ¶
func (m *QueryERC20BridgePairsRequest) Size() (n int)
func (*QueryERC20BridgePairsRequest) String ¶
func (m *QueryERC20BridgePairsRequest) String() string
func (*QueryERC20BridgePairsRequest) Unmarshal ¶
func (m *QueryERC20BridgePairsRequest) Unmarshal(dAtA []byte) error
func (*QueryERC20BridgePairsRequest) VerboseEqual ¶
func (this *QueryERC20BridgePairsRequest) VerboseEqual(that interface{}) error
func (*QueryERC20BridgePairsRequest) XXX_DiscardUnknown ¶
func (m *QueryERC20BridgePairsRequest) XXX_DiscardUnknown()
func (*QueryERC20BridgePairsRequest) XXX_Marshal ¶
func (m *QueryERC20BridgePairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryERC20BridgePairsRequest) XXX_Merge ¶
func (m *QueryERC20BridgePairsRequest) XXX_Merge(src proto.Message)
func (*QueryERC20BridgePairsRequest) XXX_Size ¶
func (m *QueryERC20BridgePairsRequest) XXX_Size() int
func (*QueryERC20BridgePairsRequest) XXX_Unmarshal ¶
func (m *QueryERC20BridgePairsRequest) XXX_Unmarshal(b []byte) error
type QueryERC20BridgePairsResponse ¶
type QueryERC20BridgePairsResponse struct { // ERC20BridgePairs defines all of the currently bridged erc20 tokens. ERC20BridgePairs ERC20BridgePairs `` /* 131-byte string literal not displayed */ }
QueryERC20BridgePairsRequest defines the response type for querying x/bridge ERC20 pairs.
func (*QueryERC20BridgePairsResponse) Descriptor ¶
func (*QueryERC20BridgePairsResponse) Descriptor() ([]byte, []int)
func (*QueryERC20BridgePairsResponse) Equal ¶
func (this *QueryERC20BridgePairsResponse) Equal(that interface{}) bool
func (*QueryERC20BridgePairsResponse) GetERC20BridgePairs ¶
func (m *QueryERC20BridgePairsResponse) GetERC20BridgePairs() ERC20BridgePairs
func (*QueryERC20BridgePairsResponse) Marshal ¶
func (m *QueryERC20BridgePairsResponse) Marshal() (dAtA []byte, err error)
func (*QueryERC20BridgePairsResponse) MarshalTo ¶
func (m *QueryERC20BridgePairsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryERC20BridgePairsResponse) MarshalToSizedBuffer ¶
func (m *QueryERC20BridgePairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryERC20BridgePairsResponse) ProtoMessage ¶
func (*QueryERC20BridgePairsResponse) ProtoMessage()
func (*QueryERC20BridgePairsResponse) Reset ¶
func (m *QueryERC20BridgePairsResponse) Reset()
func (*QueryERC20BridgePairsResponse) Size ¶
func (m *QueryERC20BridgePairsResponse) Size() (n int)
func (*QueryERC20BridgePairsResponse) String ¶
func (m *QueryERC20BridgePairsResponse) String() string
func (*QueryERC20BridgePairsResponse) Unmarshal ¶
func (m *QueryERC20BridgePairsResponse) Unmarshal(dAtA []byte) error
func (*QueryERC20BridgePairsResponse) VerboseEqual ¶
func (this *QueryERC20BridgePairsResponse) VerboseEqual(that interface{}) error
func (*QueryERC20BridgePairsResponse) XXX_DiscardUnknown ¶
func (m *QueryERC20BridgePairsResponse) XXX_DiscardUnknown()
func (*QueryERC20BridgePairsResponse) XXX_Marshal ¶
func (m *QueryERC20BridgePairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryERC20BridgePairsResponse) XXX_Merge ¶
func (m *QueryERC20BridgePairsResponse) XXX_Merge(src proto.Message)
func (*QueryERC20BridgePairsResponse) XXX_Size ¶
func (m *QueryERC20BridgePairsResponse) XXX_Size() int
func (*QueryERC20BridgePairsResponse) XXX_Unmarshal ¶
func (m *QueryERC20BridgePairsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/bridge parameters.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Equal ¶
func (this *QueryParamsRequest) Equal(that interface{}) bool
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) VerboseEqual ¶
func (this *QueryParamsRequest) VerboseEqual(that interface{}) 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"`
}
QueryParamsResponse defines the response type for querying x/bridge parameters.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) Equal ¶
func (this *QueryParamsResponse) Equal(that interface{}) bool
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) VerboseEqual ¶
func (this *QueryParamsResponse) VerboseEqual(that interface{}) 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 { // Params queries all parameters of the bridge module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // ERC20BridgePairs queries the bridge address pairs. ERC20BridgePairs(context.Context, *QueryERC20BridgePairsRequest) (*QueryERC20BridgePairsResponse, error) // ERC20BridgePair queries a bridge address pair with either internal or // external address. ERC20BridgePair(context.Context, *QueryERC20BridgePairRequest) (*QueryERC20BridgePairResponse, error) // ConversionPairs queries the ERC20/sdk.Coin conversion pairs. ConversionPairs(context.Context, *QueryConversionPairsRequest) (*QueryConversionPairsResponse, error) // ConversionPair queries a conversion pair with either the ERC20 address or // sdk.Coin denom. ConversionPair(context.Context, *QueryConversionPairRequest) (*QueryConversionPairResponse, 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) BridgeEthereumToKava ¶
func (*UnimplementedMsgServer) BridgeEthereumToKava(ctx context.Context, req *MsgBridgeEthereumToKava) (*MsgBridgeEthereumToKavaResponse, error)
func (*UnimplementedMsgServer) ConvertCoinToERC20 ¶
func (*UnimplementedMsgServer) ConvertCoinToERC20(ctx context.Context, req *MsgConvertCoinToERC20) (*MsgConvertCoinToERC20Response, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ConversionPair ¶
func (*UnimplementedQueryServer) ConversionPair(ctx context.Context, req *QueryConversionPairRequest) (*QueryConversionPairResponse, error)
func (*UnimplementedQueryServer) ConversionPairs ¶
func (*UnimplementedQueryServer) ConversionPairs(ctx context.Context, req *QueryConversionPairsRequest) (*QueryConversionPairsResponse, error)
func (*UnimplementedQueryServer) ERC20BridgePair ¶
func (*UnimplementedQueryServer) ERC20BridgePair(ctx context.Context, req *QueryERC20BridgePairRequest) (*QueryERC20BridgePairResponse, error)
func (*UnimplementedQueryServer) ERC20BridgePairs ¶
func (*UnimplementedQueryServer) ERC20BridgePairs(ctx context.Context, req *QueryERC20BridgePairsRequest) (*QueryERC20BridgePairsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)