Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetMultiChainTxOracleCountKey() []byte
- func GetMultiChainTxOracleKey() []byte
- func KeyPrefix(p string) []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 AccountKeeper
- type BankKeeper
- type FixKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetMultiChainTxOracleCount() uint64
- func (m *GenesisState) GetMultiChainTxOracleList() []MultiChainTxOracle
- 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 MsgBitcoinTxs
- func (*MsgBitcoinTxs) Descriptor() ([]byte, []int)
- func (m *MsgBitcoinTxs) GetAddress() string
- func (m *MsgBitcoinTxs) GetCreator() string
- func (m *MsgBitcoinTxs) GetOracleID() string
- func (msg *MsgBitcoinTxs) GetSignBytes() []byte
- func (msg *MsgBitcoinTxs) GetSigners() []sdk.AccAddress
- func (m *MsgBitcoinTxs) Marshal() (dAtA []byte, err error)
- func (m *MsgBitcoinTxs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBitcoinTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBitcoinTxs) ProtoMessage()
- func (m *MsgBitcoinTxs) Reset()
- func (msg *MsgBitcoinTxs) Route() string
- func (m *MsgBitcoinTxs) Size() (n int)
- func (m *MsgBitcoinTxs) String() string
- func (msg *MsgBitcoinTxs) Type() string
- func (m *MsgBitcoinTxs) Unmarshal(dAtA []byte) error
- func (msg *MsgBitcoinTxs) ValidateBasic() error
- func (m *MsgBitcoinTxs) XXX_DiscardUnknown()
- func (m *MsgBitcoinTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBitcoinTxs) XXX_Merge(src proto.Message)
- func (m *MsgBitcoinTxs) XXX_Size() int
- func (m *MsgBitcoinTxs) XXX_Unmarshal(b []byte) error
- type MsgBitcoinTxsResponse
- func (*MsgBitcoinTxsResponse) Descriptor() ([]byte, []int)
- func (m *MsgBitcoinTxsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBitcoinTxsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBitcoinTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBitcoinTxsResponse) ProtoMessage()
- func (m *MsgBitcoinTxsResponse) Reset()
- func (m *MsgBitcoinTxsResponse) Size() (n int)
- func (m *MsgBitcoinTxsResponse) String() string
- func (m *MsgBitcoinTxsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBitcoinTxsResponse) XXX_DiscardUnknown()
- func (m *MsgBitcoinTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBitcoinTxsResponse) XXX_Merge(src proto.Message)
- func (m *MsgBitcoinTxsResponse) XXX_Size() int
- func (m *MsgBitcoinTxsResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCosmoshubTxs
- func (*MsgCosmoshubTxs) Descriptor() ([]byte, []int)
- func (m *MsgCosmoshubTxs) GetAddress() string
- func (m *MsgCosmoshubTxs) GetCreator() string
- func (m *MsgCosmoshubTxs) GetOracleID() string
- func (msg *MsgCosmoshubTxs) GetSignBytes() []byte
- func (msg *MsgCosmoshubTxs) GetSigners() []sdk.AccAddress
- func (m *MsgCosmoshubTxs) Marshal() (dAtA []byte, err error)
- func (m *MsgCosmoshubTxs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCosmoshubTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCosmoshubTxs) ProtoMessage()
- func (m *MsgCosmoshubTxs) Reset()
- func (msg *MsgCosmoshubTxs) Route() string
- func (m *MsgCosmoshubTxs) Size() (n int)
- func (m *MsgCosmoshubTxs) String() string
- func (msg *MsgCosmoshubTxs) Type() string
- func (m *MsgCosmoshubTxs) Unmarshal(dAtA []byte) error
- func (msg *MsgCosmoshubTxs) ValidateBasic() error
- func (m *MsgCosmoshubTxs) XXX_DiscardUnknown()
- func (m *MsgCosmoshubTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCosmoshubTxs) XXX_Merge(src proto.Message)
- func (m *MsgCosmoshubTxs) XXX_Size() int
- func (m *MsgCosmoshubTxs) XXX_Unmarshal(b []byte) error
- type MsgCosmoshubTxsResponse
- func (*MsgCosmoshubTxsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCosmoshubTxsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCosmoshubTxsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCosmoshubTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCosmoshubTxsResponse) ProtoMessage()
- func (m *MsgCosmoshubTxsResponse) Reset()
- func (m *MsgCosmoshubTxsResponse) Size() (n int)
- func (m *MsgCosmoshubTxsResponse) String() string
- func (m *MsgCosmoshubTxsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCosmoshubTxsResponse) XXX_DiscardUnknown()
- func (m *MsgCosmoshubTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCosmoshubTxsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCosmoshubTxsResponse) XXX_Size() int
- func (m *MsgCosmoshubTxsResponse) XXX_Unmarshal(b []byte) error
- type MsgEthereumTxs
- func (*MsgEthereumTxs) Descriptor() ([]byte, []int)
- func (m *MsgEthereumTxs) GetAddress() string
- func (m *MsgEthereumTxs) GetCreator() string
- func (m *MsgEthereumTxs) GetOracleID() string
- func (msg *MsgEthereumTxs) GetSignBytes() []byte
- func (msg *MsgEthereumTxs) GetSigners() []sdk.AccAddress
- func (m *MsgEthereumTxs) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTxs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTxs) ProtoMessage()
- func (m *MsgEthereumTxs) Reset()
- func (msg *MsgEthereumTxs) Route() string
- func (m *MsgEthereumTxs) Size() (n int)
- func (m *MsgEthereumTxs) String() string
- func (msg *MsgEthereumTxs) Type() string
- func (m *MsgEthereumTxs) Unmarshal(dAtA []byte) error
- func (msg *MsgEthereumTxs) ValidateBasic() error
- func (m *MsgEthereumTxs) XXX_DiscardUnknown()
- func (m *MsgEthereumTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTxs) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTxs) XXX_Size() int
- func (m *MsgEthereumTxs) XXX_Unmarshal(b []byte) error
- type MsgEthereumTxsResponse
- func (*MsgEthereumTxsResponse) Descriptor() ([]byte, []int)
- func (m *MsgEthereumTxsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTxsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTxsResponse) ProtoMessage()
- func (m *MsgEthereumTxsResponse) Reset()
- func (m *MsgEthereumTxsResponse) Size() (n int)
- func (m *MsgEthereumTxsResponse) String() string
- func (m *MsgEthereumTxsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEthereumTxsResponse) XXX_DiscardUnknown()
- func (m *MsgEthereumTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTxsResponse) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTxsResponse) XXX_Size() int
- func (m *MsgEthereumTxsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MultiChainTxOracle
- func (*MultiChainTxOracle) Descriptor() ([]byte, []int)
- func (m *MultiChainTxOracle) GetAddress() string
- func (m *MultiChainTxOracle) GetOracleID() string
- func (m *MultiChainTxOracle) GetTimestamp() string
- func (m *MultiChainTxOracle) Marshal() (dAtA []byte, err error)
- func (m *MultiChainTxOracle) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiChainTxOracle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiChainTxOracle) ProtoMessage()
- func (m *MultiChainTxOracle) Reset()
- func (m *MultiChainTxOracle) Size() (n int)
- func (m *MultiChainTxOracle) String() string
- func (m *MultiChainTxOracle) Unmarshal(dAtA []byte) error
- func (m *MultiChainTxOracle) XXX_DiscardUnknown()
- func (m *MultiChainTxOracle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiChainTxOracle) XXX_Merge(src proto.Message)
- func (m *MultiChainTxOracle) XXX_Size() int
- func (m *MultiChainTxOracle) XXX_Unmarshal(b []byte) error
- 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 (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllMultiChainTxOracleRequest
- func (*QueryAllMultiChainTxOracleRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllMultiChainTxOracleRequest) GetPagination() *query.PageRequest
- func (m *QueryAllMultiChainTxOracleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMultiChainTxOracleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMultiChainTxOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMultiChainTxOracleRequest) ProtoMessage()
- func (m *QueryAllMultiChainTxOracleRequest) Reset()
- func (m *QueryAllMultiChainTxOracleRequest) Size() (n int)
- func (m *QueryAllMultiChainTxOracleRequest) String() string
- func (m *QueryAllMultiChainTxOracleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllMultiChainTxOracleRequest) XXX_DiscardUnknown()
- func (m *QueryAllMultiChainTxOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMultiChainTxOracleRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllMultiChainTxOracleRequest) XXX_Size() int
- func (m *QueryAllMultiChainTxOracleRequest) XXX_Unmarshal(b []byte) error
- type QueryAllMultiChainTxOracleResponse
- func (*QueryAllMultiChainTxOracleResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllMultiChainTxOracleResponse) GetMultiChainTxOracle() []MultiChainTxOracle
- func (m *QueryAllMultiChainTxOracleResponse) GetPagination() *query.PageResponse
- func (m *QueryAllMultiChainTxOracleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllMultiChainTxOracleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllMultiChainTxOracleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllMultiChainTxOracleResponse) ProtoMessage()
- func (m *QueryAllMultiChainTxOracleResponse) Reset()
- func (m *QueryAllMultiChainTxOracleResponse) Size() (n int)
- func (m *QueryAllMultiChainTxOracleResponse) String() string
- func (m *QueryAllMultiChainTxOracleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllMultiChainTxOracleResponse) XXX_DiscardUnknown()
- func (m *QueryAllMultiChainTxOracleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllMultiChainTxOracleResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllMultiChainTxOracleResponse) XXX_Size() int
- func (m *QueryAllMultiChainTxOracleResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetMultiChainTxOracleRequest
- func (*QueryGetMultiChainTxOracleRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMultiChainTxOracleRequest) GetOracleID() string
- func (m *QueryGetMultiChainTxOracleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMultiChainTxOracleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMultiChainTxOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMultiChainTxOracleRequest) ProtoMessage()
- func (m *QueryGetMultiChainTxOracleRequest) Reset()
- func (m *QueryGetMultiChainTxOracleRequest) Size() (n int)
- func (m *QueryGetMultiChainTxOracleRequest) String() string
- func (m *QueryGetMultiChainTxOracleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMultiChainTxOracleRequest) XXX_DiscardUnknown()
- func (m *QueryGetMultiChainTxOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMultiChainTxOracleRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMultiChainTxOracleRequest) XXX_Size() int
- func (m *QueryGetMultiChainTxOracleRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMultiChainTxOracleResponse
- func (*QueryGetMultiChainTxOracleResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMultiChainTxOracleResponse) GetMultiChainTxOracle() MultiChainTxOracle
- func (m *QueryGetMultiChainTxOracleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMultiChainTxOracleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMultiChainTxOracleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMultiChainTxOracleResponse) ProtoMessage()
- func (m *QueryGetMultiChainTxOracleResponse) Reset()
- func (m *QueryGetMultiChainTxOracleResponse) Size() (n int)
- func (m *QueryGetMultiChainTxOracleResponse) String() string
- func (m *QueryGetMultiChainTxOracleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMultiChainTxOracleResponse) XXX_DiscardUnknown()
- func (m *QueryGetMultiChainTxOracleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMultiChainTxOracleResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMultiChainTxOracleResponse) XXX_Size() int
- func (m *QueryGetMultiChainTxOracleResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BitcoinTxs(ctx context.Context, req *MsgBitcoinTxs) (*MsgBitcoinTxsResponse, error)
- func (*UnimplementedMsgServer) CosmoshubTxs(ctx context.Context, req *MsgCosmoshubTxs) (*MsgCosmoshubTxsResponse, error)
- func (*UnimplementedMsgServer) EthereumTxs(ctx context.Context, req *MsgEthereumTxs) (*MsgEthereumTxsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) MultiChainTxOracle(ctx context.Context, req *QueryGetMultiChainTxOracleRequest) (*QueryGetMultiChainTxOracleResponse, error)
- func (*UnimplementedQueryServer) MultiChainTxOracleAll(ctx context.Context, req *QueryAllMultiChainTxOracleRequest) (*QueryAllMultiChainTxOracleResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "oracle" // 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_oracle" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgBitcoinTxs = "bitcoin_txs"
const TypeMsgCosmoshubTxs = "cosmoshub_txs"
const TypeMsgEthereumTxs = "ethereum_txs"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrSample = sdkerrors.Register(ModuleName, errSample, "sample error") ErrWrongAddress = sdkerrors.Register(ModuleName, errWrongAddress, "The account address provided does not match the creator of the oracle") )
x/oracle module sentinel errors
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 ( MultiChainTxOracleKey = []byte{0x01} MultiChainTxOracleCountKey = []byte{0x02} )
var ( ErrInvalidLengthMultiChainTxOracle = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMultiChainTxOracle = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMultiChainTxOracle = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func GetMultiChainTxOracleCountKey ¶
func GetMultiChainTxOracleCountKey() []byte
func GetMultiChainTxOracleKey ¶
func GetMultiChainTxOracleKey() []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 AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` MultiChainTxOracleList []MultiChainTxOracle `protobuf:"bytes,2,rep,name=multiChainTxOracleList,proto3" json:"multiChainTxOracleList"` MultiChainTxOracleCount uint64 `protobuf:"varint,3,opt,name=multiChainTxOracleCount,proto3" json:"multiChainTxOracleCount,omitempty"` }
GenesisState defines the oracle module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetMultiChainTxOracleCount ¶
func (m *GenesisState) GetMultiChainTxOracleCount() uint64
func (*GenesisState) GetMultiChainTxOracleList ¶
func (m *GenesisState) GetMultiChainTxOracleList() []MultiChainTxOracle
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 MsgBitcoinTxs ¶
type MsgBitcoinTxs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` OracleID string `protobuf:"bytes,2,opt,name=oracleID,proto3" json:"oracleID,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgBitcoinTxs ¶
func NewMsgBitcoinTxs(creator string, oracleID string, address string) *MsgBitcoinTxs
func (*MsgBitcoinTxs) Descriptor ¶
func (*MsgBitcoinTxs) Descriptor() ([]byte, []int)
func (*MsgBitcoinTxs) GetAddress ¶
func (m *MsgBitcoinTxs) GetAddress() string
func (*MsgBitcoinTxs) GetCreator ¶
func (m *MsgBitcoinTxs) GetCreator() string
func (*MsgBitcoinTxs) GetOracleID ¶
func (m *MsgBitcoinTxs) GetOracleID() string
func (*MsgBitcoinTxs) GetSignBytes ¶
func (msg *MsgBitcoinTxs) GetSignBytes() []byte
func (*MsgBitcoinTxs) GetSigners ¶
func (msg *MsgBitcoinTxs) GetSigners() []sdk.AccAddress
func (*MsgBitcoinTxs) Marshal ¶
func (m *MsgBitcoinTxs) Marshal() (dAtA []byte, err error)
func (*MsgBitcoinTxs) MarshalToSizedBuffer ¶
func (m *MsgBitcoinTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBitcoinTxs) ProtoMessage ¶
func (*MsgBitcoinTxs) ProtoMessage()
func (*MsgBitcoinTxs) Reset ¶
func (m *MsgBitcoinTxs) Reset()
func (*MsgBitcoinTxs) Route ¶
func (msg *MsgBitcoinTxs) Route() string
func (*MsgBitcoinTxs) Size ¶
func (m *MsgBitcoinTxs) Size() (n int)
func (*MsgBitcoinTxs) String ¶
func (m *MsgBitcoinTxs) String() string
func (*MsgBitcoinTxs) Type ¶
func (msg *MsgBitcoinTxs) Type() string
func (*MsgBitcoinTxs) Unmarshal ¶
func (m *MsgBitcoinTxs) Unmarshal(dAtA []byte) error
func (*MsgBitcoinTxs) ValidateBasic ¶
func (msg *MsgBitcoinTxs) ValidateBasic() error
func (*MsgBitcoinTxs) XXX_DiscardUnknown ¶
func (m *MsgBitcoinTxs) XXX_DiscardUnknown()
func (*MsgBitcoinTxs) XXX_Marshal ¶
func (m *MsgBitcoinTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBitcoinTxs) XXX_Merge ¶
func (m *MsgBitcoinTxs) XXX_Merge(src proto.Message)
func (*MsgBitcoinTxs) XXX_Size ¶
func (m *MsgBitcoinTxs) XXX_Size() int
func (*MsgBitcoinTxs) XXX_Unmarshal ¶
func (m *MsgBitcoinTxs) XXX_Unmarshal(b []byte) error
type MsgBitcoinTxsResponse ¶
type MsgBitcoinTxsResponse struct { }
func (*MsgBitcoinTxsResponse) Descriptor ¶
func (*MsgBitcoinTxsResponse) Descriptor() ([]byte, []int)
func (*MsgBitcoinTxsResponse) Marshal ¶
func (m *MsgBitcoinTxsResponse) Marshal() (dAtA []byte, err error)
func (*MsgBitcoinTxsResponse) MarshalTo ¶
func (m *MsgBitcoinTxsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBitcoinTxsResponse) MarshalToSizedBuffer ¶
func (m *MsgBitcoinTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBitcoinTxsResponse) ProtoMessage ¶
func (*MsgBitcoinTxsResponse) ProtoMessage()
func (*MsgBitcoinTxsResponse) Reset ¶
func (m *MsgBitcoinTxsResponse) Reset()
func (*MsgBitcoinTxsResponse) Size ¶
func (m *MsgBitcoinTxsResponse) Size() (n int)
func (*MsgBitcoinTxsResponse) String ¶
func (m *MsgBitcoinTxsResponse) String() string
func (*MsgBitcoinTxsResponse) Unmarshal ¶
func (m *MsgBitcoinTxsResponse) Unmarshal(dAtA []byte) error
func (*MsgBitcoinTxsResponse) XXX_DiscardUnknown ¶
func (m *MsgBitcoinTxsResponse) XXX_DiscardUnknown()
func (*MsgBitcoinTxsResponse) XXX_Marshal ¶
func (m *MsgBitcoinTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBitcoinTxsResponse) XXX_Merge ¶
func (m *MsgBitcoinTxsResponse) XXX_Merge(src proto.Message)
func (*MsgBitcoinTxsResponse) XXX_Size ¶
func (m *MsgBitcoinTxsResponse) XXX_Size() int
func (*MsgBitcoinTxsResponse) XXX_Unmarshal ¶
func (m *MsgBitcoinTxsResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CosmoshubTxs(ctx context.Context, in *MsgCosmoshubTxs, opts ...grpc.CallOption) (*MsgCosmoshubTxsResponse, error) BitcoinTxs(ctx context.Context, in *MsgBitcoinTxs, opts ...grpc.CallOption) (*MsgBitcoinTxsResponse, error) EthereumTxs(ctx context.Context, in *MsgEthereumTxs, opts ...grpc.CallOption) (*MsgEthereumTxsResponse, 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 MsgCosmoshubTxs ¶
type MsgCosmoshubTxs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` OracleID string `protobuf:"bytes,2,opt,name=oracleID,proto3" json:"oracleID,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgCosmoshubTxs ¶
func NewMsgCosmoshubTxs(creator string, oracleID string, address string) *MsgCosmoshubTxs
func (*MsgCosmoshubTxs) Descriptor ¶
func (*MsgCosmoshubTxs) Descriptor() ([]byte, []int)
func (*MsgCosmoshubTxs) GetAddress ¶
func (m *MsgCosmoshubTxs) GetAddress() string
func (*MsgCosmoshubTxs) GetCreator ¶
func (m *MsgCosmoshubTxs) GetCreator() string
func (*MsgCosmoshubTxs) GetOracleID ¶
func (m *MsgCosmoshubTxs) GetOracleID() string
func (*MsgCosmoshubTxs) GetSignBytes ¶
func (msg *MsgCosmoshubTxs) GetSignBytes() []byte
func (*MsgCosmoshubTxs) GetSigners ¶
func (msg *MsgCosmoshubTxs) GetSigners() []sdk.AccAddress
func (*MsgCosmoshubTxs) Marshal ¶
func (m *MsgCosmoshubTxs) Marshal() (dAtA []byte, err error)
func (*MsgCosmoshubTxs) MarshalToSizedBuffer ¶
func (m *MsgCosmoshubTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCosmoshubTxs) ProtoMessage ¶
func (*MsgCosmoshubTxs) ProtoMessage()
func (*MsgCosmoshubTxs) Reset ¶
func (m *MsgCosmoshubTxs) Reset()
func (*MsgCosmoshubTxs) Route ¶
func (msg *MsgCosmoshubTxs) Route() string
func (*MsgCosmoshubTxs) Size ¶
func (m *MsgCosmoshubTxs) Size() (n int)
func (*MsgCosmoshubTxs) String ¶
func (m *MsgCosmoshubTxs) String() string
func (*MsgCosmoshubTxs) Type ¶
func (msg *MsgCosmoshubTxs) Type() string
func (*MsgCosmoshubTxs) Unmarshal ¶
func (m *MsgCosmoshubTxs) Unmarshal(dAtA []byte) error
func (*MsgCosmoshubTxs) ValidateBasic ¶
func (msg *MsgCosmoshubTxs) ValidateBasic() error
func (*MsgCosmoshubTxs) XXX_DiscardUnknown ¶
func (m *MsgCosmoshubTxs) XXX_DiscardUnknown()
func (*MsgCosmoshubTxs) XXX_Marshal ¶
func (m *MsgCosmoshubTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCosmoshubTxs) XXX_Merge ¶
func (m *MsgCosmoshubTxs) XXX_Merge(src proto.Message)
func (*MsgCosmoshubTxs) XXX_Size ¶
func (m *MsgCosmoshubTxs) XXX_Size() int
func (*MsgCosmoshubTxs) XXX_Unmarshal ¶
func (m *MsgCosmoshubTxs) XXX_Unmarshal(b []byte) error
type MsgCosmoshubTxsResponse ¶
type MsgCosmoshubTxsResponse struct { }
func (*MsgCosmoshubTxsResponse) Descriptor ¶
func (*MsgCosmoshubTxsResponse) Descriptor() ([]byte, []int)
func (*MsgCosmoshubTxsResponse) Marshal ¶
func (m *MsgCosmoshubTxsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCosmoshubTxsResponse) MarshalTo ¶
func (m *MsgCosmoshubTxsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCosmoshubTxsResponse) MarshalToSizedBuffer ¶
func (m *MsgCosmoshubTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCosmoshubTxsResponse) ProtoMessage ¶
func (*MsgCosmoshubTxsResponse) ProtoMessage()
func (*MsgCosmoshubTxsResponse) Reset ¶
func (m *MsgCosmoshubTxsResponse) Reset()
func (*MsgCosmoshubTxsResponse) Size ¶
func (m *MsgCosmoshubTxsResponse) Size() (n int)
func (*MsgCosmoshubTxsResponse) String ¶
func (m *MsgCosmoshubTxsResponse) String() string
func (*MsgCosmoshubTxsResponse) Unmarshal ¶
func (m *MsgCosmoshubTxsResponse) Unmarshal(dAtA []byte) error
func (*MsgCosmoshubTxsResponse) XXX_DiscardUnknown ¶
func (m *MsgCosmoshubTxsResponse) XXX_DiscardUnknown()
func (*MsgCosmoshubTxsResponse) XXX_Marshal ¶
func (m *MsgCosmoshubTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCosmoshubTxsResponse) XXX_Merge ¶
func (m *MsgCosmoshubTxsResponse) XXX_Merge(src proto.Message)
func (*MsgCosmoshubTxsResponse) XXX_Size ¶
func (m *MsgCosmoshubTxsResponse) XXX_Size() int
func (*MsgCosmoshubTxsResponse) XXX_Unmarshal ¶
func (m *MsgCosmoshubTxsResponse) XXX_Unmarshal(b []byte) error
type MsgEthereumTxs ¶
type MsgEthereumTxs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` OracleID string `protobuf:"bytes,2,opt,name=oracleID,proto3" json:"oracleID,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgEthereumTxs ¶
func NewMsgEthereumTxs(creator string, oracleID string, address string) *MsgEthereumTxs
func (*MsgEthereumTxs) Descriptor ¶
func (*MsgEthereumTxs) Descriptor() ([]byte, []int)
func (*MsgEthereumTxs) GetAddress ¶
func (m *MsgEthereumTxs) GetAddress() string
func (*MsgEthereumTxs) GetCreator ¶
func (m *MsgEthereumTxs) GetCreator() string
func (*MsgEthereumTxs) GetOracleID ¶
func (m *MsgEthereumTxs) GetOracleID() string
func (*MsgEthereumTxs) GetSignBytes ¶
func (msg *MsgEthereumTxs) GetSignBytes() []byte
func (*MsgEthereumTxs) GetSigners ¶
func (msg *MsgEthereumTxs) GetSigners() []sdk.AccAddress
func (*MsgEthereumTxs) Marshal ¶
func (m *MsgEthereumTxs) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTxs) MarshalToSizedBuffer ¶
func (m *MsgEthereumTxs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTxs) ProtoMessage ¶
func (*MsgEthereumTxs) ProtoMessage()
func (*MsgEthereumTxs) Reset ¶
func (m *MsgEthereumTxs) Reset()
func (*MsgEthereumTxs) Route ¶
func (msg *MsgEthereumTxs) Route() string
func (*MsgEthereumTxs) Size ¶
func (m *MsgEthereumTxs) Size() (n int)
func (*MsgEthereumTxs) String ¶
func (m *MsgEthereumTxs) String() string
func (*MsgEthereumTxs) Type ¶
func (msg *MsgEthereumTxs) Type() string
func (*MsgEthereumTxs) Unmarshal ¶
func (m *MsgEthereumTxs) Unmarshal(dAtA []byte) error
func (*MsgEthereumTxs) ValidateBasic ¶
func (msg *MsgEthereumTxs) ValidateBasic() error
func (*MsgEthereumTxs) XXX_DiscardUnknown ¶
func (m *MsgEthereumTxs) XXX_DiscardUnknown()
func (*MsgEthereumTxs) XXX_Marshal ¶
func (m *MsgEthereumTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTxs) XXX_Merge ¶
func (m *MsgEthereumTxs) XXX_Merge(src proto.Message)
func (*MsgEthereumTxs) XXX_Size ¶
func (m *MsgEthereumTxs) XXX_Size() int
func (*MsgEthereumTxs) XXX_Unmarshal ¶
func (m *MsgEthereumTxs) XXX_Unmarshal(b []byte) error
type MsgEthereumTxsResponse ¶
type MsgEthereumTxsResponse struct { }
func (*MsgEthereumTxsResponse) Descriptor ¶
func (*MsgEthereumTxsResponse) Descriptor() ([]byte, []int)
func (*MsgEthereumTxsResponse) Marshal ¶
func (m *MsgEthereumTxsResponse) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTxsResponse) MarshalTo ¶
func (m *MsgEthereumTxsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEthereumTxsResponse) MarshalToSizedBuffer ¶
func (m *MsgEthereumTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTxsResponse) ProtoMessage ¶
func (*MsgEthereumTxsResponse) ProtoMessage()
func (*MsgEthereumTxsResponse) Reset ¶
func (m *MsgEthereumTxsResponse) Reset()
func (*MsgEthereumTxsResponse) Size ¶
func (m *MsgEthereumTxsResponse) Size() (n int)
func (*MsgEthereumTxsResponse) String ¶
func (m *MsgEthereumTxsResponse) String() string
func (*MsgEthereumTxsResponse) Unmarshal ¶
func (m *MsgEthereumTxsResponse) Unmarshal(dAtA []byte) error
func (*MsgEthereumTxsResponse) XXX_DiscardUnknown ¶
func (m *MsgEthereumTxsResponse) XXX_DiscardUnknown()
func (*MsgEthereumTxsResponse) XXX_Marshal ¶
func (m *MsgEthereumTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTxsResponse) XXX_Merge ¶
func (m *MsgEthereumTxsResponse) XXX_Merge(src proto.Message)
func (*MsgEthereumTxsResponse) XXX_Size ¶
func (m *MsgEthereumTxsResponse) XXX_Size() int
func (*MsgEthereumTxsResponse) XXX_Unmarshal ¶
func (m *MsgEthereumTxsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CosmoshubTxs(context.Context, *MsgCosmoshubTxs) (*MsgCosmoshubTxsResponse, error) BitcoinTxs(context.Context, *MsgBitcoinTxs) (*MsgBitcoinTxsResponse, error) EthereumTxs(context.Context, *MsgEthereumTxs) (*MsgEthereumTxsResponse, error) }
MsgServer is the server API for Msg service.
type MultiChainTxOracle ¶
type MultiChainTxOracle struct { OracleID string `protobuf:"bytes,1,opt,name=oracleID,proto3" json:"oracleID,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*MultiChainTxOracle) Descriptor ¶
func (*MultiChainTxOracle) Descriptor() ([]byte, []int)
func (*MultiChainTxOracle) GetAddress ¶
func (m *MultiChainTxOracle) GetAddress() string
func (*MultiChainTxOracle) GetOracleID ¶
func (m *MultiChainTxOracle) GetOracleID() string
func (*MultiChainTxOracle) GetTimestamp ¶
func (m *MultiChainTxOracle) GetTimestamp() string
func (*MultiChainTxOracle) Marshal ¶
func (m *MultiChainTxOracle) Marshal() (dAtA []byte, err error)
func (*MultiChainTxOracle) MarshalTo ¶
func (m *MultiChainTxOracle) MarshalTo(dAtA []byte) (int, error)
func (*MultiChainTxOracle) MarshalToSizedBuffer ¶
func (m *MultiChainTxOracle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiChainTxOracle) ProtoMessage ¶
func (*MultiChainTxOracle) ProtoMessage()
func (*MultiChainTxOracle) Reset ¶
func (m *MultiChainTxOracle) Reset()
func (*MultiChainTxOracle) Size ¶
func (m *MultiChainTxOracle) Size() (n int)
func (*MultiChainTxOracle) String ¶
func (m *MultiChainTxOracle) String() string
func (*MultiChainTxOracle) Unmarshal ¶
func (m *MultiChainTxOracle) Unmarshal(dAtA []byte) error
func (*MultiChainTxOracle) XXX_DiscardUnknown ¶
func (m *MultiChainTxOracle) XXX_DiscardUnknown()
func (*MultiChainTxOracle) XXX_Marshal ¶
func (m *MultiChainTxOracle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiChainTxOracle) XXX_Merge ¶
func (m *MultiChainTxOracle) XXX_Merge(src proto.Message)
func (*MultiChainTxOracle) XXX_Size ¶
func (m *MultiChainTxOracle) XXX_Size() int
func (*MultiChainTxOracle) XXX_Unmarshal ¶
func (m *MultiChainTxOracle) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the parameters for the module.
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) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllMultiChainTxOracleRequest ¶
type QueryAllMultiChainTxOracleRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllMultiChainTxOracleRequest) Descriptor ¶
func (*QueryAllMultiChainTxOracleRequest) Descriptor() ([]byte, []int)
func (*QueryAllMultiChainTxOracleRequest) GetPagination ¶
func (m *QueryAllMultiChainTxOracleRequest) GetPagination() *query.PageRequest
func (*QueryAllMultiChainTxOracleRequest) Marshal ¶
func (m *QueryAllMultiChainTxOracleRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllMultiChainTxOracleRequest) MarshalTo ¶
func (m *QueryAllMultiChainTxOracleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMultiChainTxOracleRequest) MarshalToSizedBuffer ¶
func (m *QueryAllMultiChainTxOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMultiChainTxOracleRequest) ProtoMessage ¶
func (*QueryAllMultiChainTxOracleRequest) ProtoMessage()
func (*QueryAllMultiChainTxOracleRequest) Reset ¶
func (m *QueryAllMultiChainTxOracleRequest) Reset()
func (*QueryAllMultiChainTxOracleRequest) Size ¶
func (m *QueryAllMultiChainTxOracleRequest) Size() (n int)
func (*QueryAllMultiChainTxOracleRequest) String ¶
func (m *QueryAllMultiChainTxOracleRequest) String() string
func (*QueryAllMultiChainTxOracleRequest) Unmarshal ¶
func (m *QueryAllMultiChainTxOracleRequest) Unmarshal(dAtA []byte) error
func (*QueryAllMultiChainTxOracleRequest) XXX_DiscardUnknown ¶
func (m *QueryAllMultiChainTxOracleRequest) XXX_DiscardUnknown()
func (*QueryAllMultiChainTxOracleRequest) XXX_Marshal ¶
func (m *QueryAllMultiChainTxOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMultiChainTxOracleRequest) XXX_Merge ¶
func (m *QueryAllMultiChainTxOracleRequest) XXX_Merge(src proto.Message)
func (*QueryAllMultiChainTxOracleRequest) XXX_Size ¶
func (m *QueryAllMultiChainTxOracleRequest) XXX_Size() int
func (*QueryAllMultiChainTxOracleRequest) XXX_Unmarshal ¶
func (m *QueryAllMultiChainTxOracleRequest) XXX_Unmarshal(b []byte) error
type QueryAllMultiChainTxOracleResponse ¶
type QueryAllMultiChainTxOracleResponse struct { MultiChainTxOracle []MultiChainTxOracle `protobuf:"bytes,1,rep,name=MultiChainTxOracle,proto3" json:"MultiChainTxOracle"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllMultiChainTxOracleResponse) Descriptor ¶
func (*QueryAllMultiChainTxOracleResponse) Descriptor() ([]byte, []int)
func (*QueryAllMultiChainTxOracleResponse) GetMultiChainTxOracle ¶
func (m *QueryAllMultiChainTxOracleResponse) GetMultiChainTxOracle() []MultiChainTxOracle
func (*QueryAllMultiChainTxOracleResponse) GetPagination ¶
func (m *QueryAllMultiChainTxOracleResponse) GetPagination() *query.PageResponse
func (*QueryAllMultiChainTxOracleResponse) Marshal ¶
func (m *QueryAllMultiChainTxOracleResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllMultiChainTxOracleResponse) MarshalTo ¶
func (m *QueryAllMultiChainTxOracleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllMultiChainTxOracleResponse) MarshalToSizedBuffer ¶
func (m *QueryAllMultiChainTxOracleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllMultiChainTxOracleResponse) ProtoMessage ¶
func (*QueryAllMultiChainTxOracleResponse) ProtoMessage()
func (*QueryAllMultiChainTxOracleResponse) Reset ¶
func (m *QueryAllMultiChainTxOracleResponse) Reset()
func (*QueryAllMultiChainTxOracleResponse) Size ¶
func (m *QueryAllMultiChainTxOracleResponse) Size() (n int)
func (*QueryAllMultiChainTxOracleResponse) String ¶
func (m *QueryAllMultiChainTxOracleResponse) String() string
func (*QueryAllMultiChainTxOracleResponse) Unmarshal ¶
func (m *QueryAllMultiChainTxOracleResponse) Unmarshal(dAtA []byte) error
func (*QueryAllMultiChainTxOracleResponse) XXX_DiscardUnknown ¶
func (m *QueryAllMultiChainTxOracleResponse) XXX_DiscardUnknown()
func (*QueryAllMultiChainTxOracleResponse) XXX_Marshal ¶
func (m *QueryAllMultiChainTxOracleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllMultiChainTxOracleResponse) XXX_Merge ¶
func (m *QueryAllMultiChainTxOracleResponse) XXX_Merge(src proto.Message)
func (*QueryAllMultiChainTxOracleResponse) XXX_Size ¶
func (m *QueryAllMultiChainTxOracleResponse) XXX_Size() int
func (*QueryAllMultiChainTxOracleResponse) XXX_Unmarshal ¶
func (m *QueryAllMultiChainTxOracleResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of MultiChainTxOracle items. MultiChainTxOracle(ctx context.Context, in *QueryGetMultiChainTxOracleRequest, opts ...grpc.CallOption) (*QueryGetMultiChainTxOracleResponse, error) MultiChainTxOracleAll(ctx context.Context, in *QueryAllMultiChainTxOracleRequest, opts ...grpc.CallOption) (*QueryAllMultiChainTxOracleResponse, 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 QueryGetMultiChainTxOracleRequest ¶
type QueryGetMultiChainTxOracleRequest struct {
OracleID string `protobuf:"bytes,1,opt,name=oracleID,proto3" json:"oracleID,omitempty"`
}
func (*QueryGetMultiChainTxOracleRequest) Descriptor ¶
func (*QueryGetMultiChainTxOracleRequest) Descriptor() ([]byte, []int)
func (*QueryGetMultiChainTxOracleRequest) GetOracleID ¶
func (m *QueryGetMultiChainTxOracleRequest) GetOracleID() string
func (*QueryGetMultiChainTxOracleRequest) Marshal ¶
func (m *QueryGetMultiChainTxOracleRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMultiChainTxOracleRequest) MarshalTo ¶
func (m *QueryGetMultiChainTxOracleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMultiChainTxOracleRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMultiChainTxOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMultiChainTxOracleRequest) ProtoMessage ¶
func (*QueryGetMultiChainTxOracleRequest) ProtoMessage()
func (*QueryGetMultiChainTxOracleRequest) Reset ¶
func (m *QueryGetMultiChainTxOracleRequest) Reset()
func (*QueryGetMultiChainTxOracleRequest) Size ¶
func (m *QueryGetMultiChainTxOracleRequest) Size() (n int)
func (*QueryGetMultiChainTxOracleRequest) String ¶
func (m *QueryGetMultiChainTxOracleRequest) String() string
func (*QueryGetMultiChainTxOracleRequest) Unmarshal ¶
func (m *QueryGetMultiChainTxOracleRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMultiChainTxOracleRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMultiChainTxOracleRequest) XXX_DiscardUnknown()
func (*QueryGetMultiChainTxOracleRequest) XXX_Marshal ¶
func (m *QueryGetMultiChainTxOracleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMultiChainTxOracleRequest) XXX_Merge ¶
func (m *QueryGetMultiChainTxOracleRequest) XXX_Merge(src proto.Message)
func (*QueryGetMultiChainTxOracleRequest) XXX_Size ¶
func (m *QueryGetMultiChainTxOracleRequest) XXX_Size() int
func (*QueryGetMultiChainTxOracleRequest) XXX_Unmarshal ¶
func (m *QueryGetMultiChainTxOracleRequest) XXX_Unmarshal(b []byte) error
type QueryGetMultiChainTxOracleResponse ¶
type QueryGetMultiChainTxOracleResponse struct {
MultiChainTxOracle MultiChainTxOracle `protobuf:"bytes,1,opt,name=MultiChainTxOracle,proto3" json:"MultiChainTxOracle"`
}
func (*QueryGetMultiChainTxOracleResponse) Descriptor ¶
func (*QueryGetMultiChainTxOracleResponse) Descriptor() ([]byte, []int)
func (*QueryGetMultiChainTxOracleResponse) GetMultiChainTxOracle ¶
func (m *QueryGetMultiChainTxOracleResponse) GetMultiChainTxOracle() MultiChainTxOracle
func (*QueryGetMultiChainTxOracleResponse) Marshal ¶
func (m *QueryGetMultiChainTxOracleResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMultiChainTxOracleResponse) MarshalTo ¶
func (m *QueryGetMultiChainTxOracleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMultiChainTxOracleResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMultiChainTxOracleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMultiChainTxOracleResponse) ProtoMessage ¶
func (*QueryGetMultiChainTxOracleResponse) ProtoMessage()
func (*QueryGetMultiChainTxOracleResponse) Reset ¶
func (m *QueryGetMultiChainTxOracleResponse) Reset()
func (*QueryGetMultiChainTxOracleResponse) Size ¶
func (m *QueryGetMultiChainTxOracleResponse) Size() (n int)
func (*QueryGetMultiChainTxOracleResponse) String ¶
func (m *QueryGetMultiChainTxOracleResponse) String() string
func (*QueryGetMultiChainTxOracleResponse) Unmarshal ¶
func (m *QueryGetMultiChainTxOracleResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMultiChainTxOracleResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMultiChainTxOracleResponse) XXX_DiscardUnknown()
func (*QueryGetMultiChainTxOracleResponse) XXX_Marshal ¶
func (m *QueryGetMultiChainTxOracleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMultiChainTxOracleResponse) XXX_Merge ¶
func (m *QueryGetMultiChainTxOracleResponse) XXX_Merge(src proto.Message)
func (*QueryGetMultiChainTxOracleResponse) XXX_Size ¶
func (m *QueryGetMultiChainTxOracleResponse) XXX_Size() int
func (*QueryGetMultiChainTxOracleResponse) XXX_Unmarshal ¶
func (m *QueryGetMultiChainTxOracleResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of MultiChainTxOracle items. MultiChainTxOracle(context.Context, *QueryGetMultiChainTxOracleRequest) (*QueryGetMultiChainTxOracleResponse, error) MultiChainTxOracleAll(context.Context, *QueryAllMultiChainTxOracleRequest) (*QueryAllMultiChainTxOracleResponse, 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) BitcoinTxs ¶
func (*UnimplementedMsgServer) BitcoinTxs(ctx context.Context, req *MsgBitcoinTxs) (*MsgBitcoinTxsResponse, error)
func (*UnimplementedMsgServer) CosmoshubTxs ¶
func (*UnimplementedMsgServer) CosmoshubTxs(ctx context.Context, req *MsgCosmoshubTxs) (*MsgCosmoshubTxsResponse, error)
func (*UnimplementedMsgServer) EthereumTxs ¶
func (*UnimplementedMsgServer) EthereumTxs(ctx context.Context, req *MsgEthereumTxs) (*MsgEthereumTxsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) MultiChainTxOracle ¶
func (*UnimplementedQueryServer) MultiChainTxOracle(ctx context.Context, req *QueryGetMultiChainTxOracleRequest) (*QueryGetMultiChainTxOracleResponse, error)
func (*UnimplementedQueryServer) MultiChainTxOracleAll ¶
func (*UnimplementedQueryServer) MultiChainTxOracleAll(ctx context.Context, req *QueryAllMultiChainTxOracleRequest) (*QueryAllMultiChainTxOracleResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)