Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ChainInfo
- func (*ChainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChainInfo) GetAppHash() []byte
- func (x *ChainInfo) GetCoin() *v1beta1.Coin
- func (x *ChainInfo) GetLastBlockHeight() int64
- func (x *ChainInfo) GetOperatorAddress() string
- func (x *ChainInfo) GetZoneId() string
- func (*ChainInfo) ProtoMessage()
- func (x *ChainInfo) ProtoReflect() protoreflect.Message
- func (x *ChainInfo) Reset()
- func (x *ChainInfo) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetOracleAddressInfo() []*OracleAddressInfo
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetStates() []*ChainInfo
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type IBCTrace
- type MsgClient
- type MsgRegisterOracleAddr
- func (*MsgRegisterOracleAddr) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRegisterOracleAddr) GetFromAddress() string
- func (x *MsgRegisterOracleAddr) GetOracleAddress() string
- func (x *MsgRegisterOracleAddr) GetZoneId() string
- func (*MsgRegisterOracleAddr) ProtoMessage()
- func (x *MsgRegisterOracleAddr) ProtoReflect() protoreflect.Message
- func (x *MsgRegisterOracleAddr) Reset()
- func (x *MsgRegisterOracleAddr) String() string
- type MsgRegisterOracleAddrResponse
- func (*MsgRegisterOracleAddrResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRegisterOracleAddrResponse) ProtoMessage()
- func (x *MsgRegisterOracleAddrResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRegisterOracleAddrResponse) Reset()
- func (x *MsgRegisterOracleAddrResponse) String() string
- type MsgServer
- type MsgUpdateChainState
- func (*MsgUpdateChainState) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateChainState) GetAppHash() []byte
- func (x *MsgUpdateChainState) GetBlockHeight() int64
- func (x *MsgUpdateChainState) GetCoin() *v1beta1.Coin
- func (x *MsgUpdateChainState) GetOperator() string
- func (x *MsgUpdateChainState) GetZoneId() string
- func (*MsgUpdateChainState) ProtoMessage()
- func (x *MsgUpdateChainState) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateChainState) Reset()
- func (x *MsgUpdateChainState) String() string
- type MsgUpdateChainStateResponse
- func (*MsgUpdateChainStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateChainStateResponse) GetSuccess() bool
- func (*MsgUpdateChainStateResponse) ProtoMessage()
- func (x *MsgUpdateChainStateResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateChainStateResponse) Reset()
- func (x *MsgUpdateChainStateResponse) String() string
- type OracleAddressInfo
- func (*OracleAddressInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OracleAddressInfo) GetOracleAddress() []string
- func (x *OracleAddressInfo) GetZoneId() string
- func (*OracleAddressInfo) ProtoMessage()
- func (x *OracleAddressInfo) ProtoReflect() protoreflect.Message
- func (x *OracleAddressInfo) Reset()
- func (x *OracleAddressInfo) String() string
- type Params
- type QueryClient
- type QueryOracleVersionRequest
- func (*QueryOracleVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOracleVersionRequest) GetZoneId() string
- func (*QueryOracleVersionRequest) ProtoMessage()
- func (x *QueryOracleVersionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryOracleVersionRequest) Reset()
- func (x *QueryOracleVersionRequest) String() string
- type QueryOracleVersionResponse
- func (*QueryOracleVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOracleVersionResponse) GetHeight() uint64
- func (x *QueryOracleVersionResponse) GetVersion() uint64
- func (*QueryOracleVersionResponse) ProtoMessage()
- func (x *QueryOracleVersionResponse) ProtoReflect() protoreflect.Message
- func (x *QueryOracleVersionResponse) Reset()
- func (x *QueryOracleVersionResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryStateRequest
- func (*QueryStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStateRequest) GetChainDenom() string
- func (*QueryStateRequest) ProtoMessage()
- func (x *QueryStateRequest) ProtoReflect() protoreflect.Message
- func (x *QueryStateRequest) Reset()
- func (x *QueryStateRequest) String() string
- type QueryStateResponse
- func (*QueryStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStateResponse) GetAppHash() []byte
- func (x *QueryStateResponse) GetCoin() *v1beta1.Coin
- func (x *QueryStateResponse) GetLastBlockHeight() int64
- func (x *QueryStateResponse) GetOperator() string
- func (x *QueryStateResponse) GetZoneId() string
- func (*QueryStateResponse) ProtoMessage()
- func (x *QueryStateResponse) ProtoReflect() protoreflect.Message
- func (x *QueryStateResponse) Reset()
- func (x *QueryStateResponse) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) OracleVersion(context.Context, *QueryOracleVersionRequest) (*QueryOracleVersionResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) State(context.Context, *QueryStateRequest) (*QueryStateResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_nova_oracle_v1_genesis_proto protoreflect.FileDescriptor
var File_nova_oracle_v1_params_proto protoreflect.FileDescriptor
var File_nova_oracle_v1_query_proto protoreflect.FileDescriptor
var File_nova_oracle_v1_store_proto protoreflect.FileDescriptor
var File_nova_oracle_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nova.oracle.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateChainState", Handler: _Msg_UpdateChainState_Handler, }, { MethodName: "RegisterOracleAddress", Handler: _Msg_RegisterOracleAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nova/oracle/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nova.oracle.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "State", Handler: _Query_State_Handler, }, { MethodName: "OracleVersion", Handler: _Query_OracleVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nova/oracle/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type ChainInfo ¶
type ChainInfo struct { // coin refers to the sum of owned, staked and claimable quantity of the coin Coin *v1beta1.Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"` // operator_address is an oracle operator's address OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // last_block_height is the block height observed by the operator on the host chain. LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"` // app_hash of the block fetched by oracle from host chain AppHash []byte `protobuf:"bytes,4,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // chain_id of the host chain ZoneId string `protobuf:"bytes,5,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // contains filtered or unexported fields }
ChainInfo refers to the state of the counterpart chain to be stored on the Oracle module. Status includes the amount of coins delegated to Zone, AppHash, and block height.
func (*ChainInfo) Descriptor
deprecated
func (*ChainInfo) GetAppHash ¶
func (*ChainInfo) GetLastBlockHeight ¶
func (*ChainInfo) GetOperatorAddress ¶
func (*ChainInfo) ProtoMessage ¶
func (*ChainInfo) ProtoMessage()
func (*ChainInfo) ProtoReflect ¶
func (x *ChainInfo) ProtoReflect() protoreflect.Message
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // states is an amount of coins on the host chain. States []*ChainInfo `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` OracleAddressInfo []*OracleAddressInfo `protobuf:"bytes,3,rep,name=oracle_address_info,json=oracleAddressInfo,proto3" json:"oracle_address_info,omitempty"` // contains filtered or unexported fields }
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetOracleAddressInfo ¶ added in v0.6.2
func (x *GenesisState) GetOracleAddressInfo() []*OracleAddressInfo
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetStates ¶
func (x *GenesisState) GetStates() []*ChainInfo
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type IBCTrace ¶
type IBCTrace struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*IBCTrace) Descriptor
deprecated
func (*IBCTrace) GetVersion ¶
func (*IBCTrace) ProtoMessage ¶
func (*IBCTrace) ProtoMessage()
func (*IBCTrace) ProtoReflect ¶
func (x *IBCTrace) ProtoReflect() protoreflect.Message
type MsgClient ¶
type MsgClient interface { UpdateChainState(ctx context.Context, in *MsgUpdateChainState, opts ...grpc.CallOption) (*MsgUpdateChainStateResponse, error) RegisterOracleAddress(ctx context.Context, in *MsgRegisterOracleAddr, opts ...grpc.CallOption) (*MsgRegisterOracleAddrResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgRegisterOracleAddr ¶ added in v0.6.2
type MsgRegisterOracleAddr struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` OracleAddress string `protobuf:"bytes,2,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"` FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // contains filtered or unexported fields }
func (*MsgRegisterOracleAddr) Descriptor
deprecated
added in
v0.6.2
func (*MsgRegisterOracleAddr) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterOracleAddr.ProtoReflect.Descriptor instead.
func (*MsgRegisterOracleAddr) GetFromAddress ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) GetFromAddress() string
func (*MsgRegisterOracleAddr) GetOracleAddress ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) GetOracleAddress() string
func (*MsgRegisterOracleAddr) GetZoneId ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) GetZoneId() string
func (*MsgRegisterOracleAddr) ProtoMessage ¶ added in v0.6.2
func (*MsgRegisterOracleAddr) ProtoMessage()
func (*MsgRegisterOracleAddr) ProtoReflect ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) ProtoReflect() protoreflect.Message
func (*MsgRegisterOracleAddr) Reset ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) Reset()
func (*MsgRegisterOracleAddr) String ¶ added in v0.6.2
func (x *MsgRegisterOracleAddr) String() string
type MsgRegisterOracleAddrResponse ¶ added in v0.6.2
type MsgRegisterOracleAddrResponse struct {
// contains filtered or unexported fields
}
func (*MsgRegisterOracleAddrResponse) Descriptor
deprecated
added in
v0.6.2
func (*MsgRegisterOracleAddrResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRegisterOracleAddrResponse.ProtoReflect.Descriptor instead.
func (*MsgRegisterOracleAddrResponse) ProtoMessage ¶ added in v0.6.2
func (*MsgRegisterOracleAddrResponse) ProtoMessage()
func (*MsgRegisterOracleAddrResponse) ProtoReflect ¶ added in v0.6.2
func (x *MsgRegisterOracleAddrResponse) ProtoReflect() protoreflect.Message
func (*MsgRegisterOracleAddrResponse) Reset ¶ added in v0.6.2
func (x *MsgRegisterOracleAddrResponse) Reset()
func (*MsgRegisterOracleAddrResponse) String ¶ added in v0.6.2
func (x *MsgRegisterOracleAddrResponse) String() string
type MsgServer ¶
type MsgServer interface { UpdateChainState(context.Context, *MsgUpdateChainState) (*MsgUpdateChainStateResponse, error) RegisterOracleAddress(context.Context, *MsgRegisterOracleAddr) (*MsgRegisterOracleAddrResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateChainState ¶
type MsgUpdateChainState struct { // coin refers to the sum of owned, staked and claimable quantity of the coin Coin *v1beta1.Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"` // address of the oracle Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` // block_height of the block fetched by oracle from host_chain BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // app_hash of the block fetched by oracle from host chain AppHash []byte `protobuf:"bytes,4,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // zone_id of the host chain ZoneId string `protobuf:"bytes,5,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // contains filtered or unexported fields }
MsgUpdateChainState is the message used to update the status of the zone stored in Oracle.
func (*MsgUpdateChainState) Descriptor
deprecated
func (*MsgUpdateChainState) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateChainState.ProtoReflect.Descriptor instead.
func (*MsgUpdateChainState) GetAppHash ¶
func (x *MsgUpdateChainState) GetAppHash() []byte
func (*MsgUpdateChainState) GetBlockHeight ¶
func (x *MsgUpdateChainState) GetBlockHeight() int64
func (*MsgUpdateChainState) GetCoin ¶
func (x *MsgUpdateChainState) GetCoin() *v1beta1.Coin
func (*MsgUpdateChainState) GetOperator ¶
func (x *MsgUpdateChainState) GetOperator() string
func (*MsgUpdateChainState) GetZoneId ¶ added in v0.6.2
func (x *MsgUpdateChainState) GetZoneId() string
func (*MsgUpdateChainState) ProtoMessage ¶
func (*MsgUpdateChainState) ProtoMessage()
func (*MsgUpdateChainState) ProtoReflect ¶
func (x *MsgUpdateChainState) ProtoReflect() protoreflect.Message
func (*MsgUpdateChainState) Reset ¶
func (x *MsgUpdateChainState) Reset()
func (*MsgUpdateChainState) String ¶
func (x *MsgUpdateChainState) String() string
type MsgUpdateChainStateResponse ¶
type MsgUpdateChainStateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
MsgUpdateChainStateResponse is a response message for MsgUpdateChainState. If updating is success, the value of success is true.
func (*MsgUpdateChainStateResponse) Descriptor
deprecated
func (*MsgUpdateChainStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateChainStateResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateChainStateResponse) GetSuccess ¶
func (x *MsgUpdateChainStateResponse) GetSuccess() bool
func (*MsgUpdateChainStateResponse) ProtoMessage ¶
func (*MsgUpdateChainStateResponse) ProtoMessage()
func (*MsgUpdateChainStateResponse) ProtoReflect ¶
func (x *MsgUpdateChainStateResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateChainStateResponse) Reset ¶
func (x *MsgUpdateChainStateResponse) Reset()
func (*MsgUpdateChainStateResponse) String ¶
func (x *MsgUpdateChainStateResponse) String() string
type OracleAddressInfo ¶ added in v0.6.2
type OracleAddressInfo struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` OracleAddress []string `protobuf:"bytes,2,rep,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"` // contains filtered or unexported fields }
func (*OracleAddressInfo) Descriptor
deprecated
added in
v0.6.2
func (*OracleAddressInfo) Descriptor() ([]byte, []int)
Deprecated: Use OracleAddressInfo.ProtoReflect.Descriptor instead.
func (*OracleAddressInfo) GetOracleAddress ¶ added in v0.6.2
func (x *OracleAddressInfo) GetOracleAddress() []string
func (*OracleAddressInfo) GetZoneId ¶ added in v0.6.2
func (x *OracleAddressInfo) GetZoneId() string
func (*OracleAddressInfo) ProtoMessage ¶ added in v0.6.2
func (*OracleAddressInfo) ProtoMessage()
func (*OracleAddressInfo) ProtoReflect ¶ added in v0.6.2
func (x *OracleAddressInfo) ProtoReflect() protoreflect.Message
func (*OracleAddressInfo) Reset ¶ added in v0.6.2
func (x *OracleAddressInfo) Reset()
func (*OracleAddressInfo) String ¶ added in v0.6.2
func (x *OracleAddressInfo) String() string
type Params ¶
type Params struct { // oracle operator's address. OracleKeyManager []string `protobuf:"bytes,1,rep,name=oracle_key_manager,json=oracleKeyManager,proto3" json:"oracle_key_manager,omitempty"` // contains filtered or unexported fields }
func (*Params) Descriptor
deprecated
func (*Params) GetOracleKeyManager ¶ added in v0.6.2
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryClient ¶
type QueryClient interface { // Params returns the total set of minting parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) State(ctx context.Context, in *QueryStateRequest, opts ...grpc.CallOption) (*QueryStateResponse, error) OracleVersion(ctx context.Context, in *QueryOracleVersionRequest, opts ...grpc.CallOption) (*QueryOracleVersionResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryOracleVersionRequest ¶
type QueryOracleVersionRequest struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // contains filtered or unexported fields }
func (*QueryOracleVersionRequest) Descriptor
deprecated
func (*QueryOracleVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryOracleVersionRequest.ProtoReflect.Descriptor instead.
func (*QueryOracleVersionRequest) GetZoneId ¶
func (x *QueryOracleVersionRequest) GetZoneId() string
func (*QueryOracleVersionRequest) ProtoMessage ¶
func (*QueryOracleVersionRequest) ProtoMessage()
func (*QueryOracleVersionRequest) ProtoReflect ¶
func (x *QueryOracleVersionRequest) ProtoReflect() protoreflect.Message
func (*QueryOracleVersionRequest) Reset ¶
func (x *QueryOracleVersionRequest) Reset()
func (*QueryOracleVersionRequest) String ¶
func (x *QueryOracleVersionRequest) String() string
type QueryOracleVersionResponse ¶
type QueryOracleVersionResponse struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*QueryOracleVersionResponse) Descriptor
deprecated
func (*QueryOracleVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryOracleVersionResponse.ProtoReflect.Descriptor instead.
func (*QueryOracleVersionResponse) GetHeight ¶
func (x *QueryOracleVersionResponse) GetHeight() uint64
func (*QueryOracleVersionResponse) GetVersion ¶
func (x *QueryOracleVersionResponse) GetVersion() uint64
func (*QueryOracleVersionResponse) ProtoMessage ¶
func (*QueryOracleVersionResponse) ProtoMessage()
func (*QueryOracleVersionResponse) ProtoReflect ¶
func (x *QueryOracleVersionResponse) ProtoReflect() protoreflect.Message
func (*QueryOracleVersionResponse) Reset ¶
func (x *QueryOracleVersionResponse) Reset()
func (*QueryOracleVersionResponse) String ¶
func (x *QueryOracleVersionResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // Params returns the total set of minting parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) State(context.Context, *QueryStateRequest) (*QueryStateResponse, error) OracleVersion(context.Context, *QueryOracleVersionRequest) (*QueryOracleVersionResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryStateRequest ¶
type QueryStateRequest struct { ChainDenom string `protobuf:"bytes,1,opt,name=chain_denom,json=chainDenom,proto3" json:"chain_denom,omitempty"` // contains filtered or unexported fields }
func (*QueryStateRequest) Descriptor
deprecated
func (*QueryStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryStateRequest.ProtoReflect.Descriptor instead.
func (*QueryStateRequest) GetChainDenom ¶
func (x *QueryStateRequest) GetChainDenom() string
func (*QueryStateRequest) ProtoMessage ¶
func (*QueryStateRequest) ProtoMessage()
func (*QueryStateRequest) ProtoReflect ¶
func (x *QueryStateRequest) ProtoReflect() protoreflect.Message
func (*QueryStateRequest) Reset ¶
func (x *QueryStateRequest) Reset()
func (*QueryStateRequest) String ¶
func (x *QueryStateRequest) String() string
type QueryStateResponse ¶
type QueryStateResponse struct { Coin *v1beta1.Coin `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"` AppHash []byte `protobuf:"bytes,4,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` ZoneId string `protobuf:"bytes,5,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // contains filtered or unexported fields }
func (*QueryStateResponse) Descriptor
deprecated
func (*QueryStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryStateResponse.ProtoReflect.Descriptor instead.
func (*QueryStateResponse) GetAppHash ¶
func (x *QueryStateResponse) GetAppHash() []byte
func (*QueryStateResponse) GetCoin ¶
func (x *QueryStateResponse) GetCoin() *v1beta1.Coin
func (*QueryStateResponse) GetLastBlockHeight ¶
func (x *QueryStateResponse) GetLastBlockHeight() int64
func (*QueryStateResponse) GetOperator ¶
func (x *QueryStateResponse) GetOperator() string
func (*QueryStateResponse) GetZoneId ¶ added in v0.6.2
func (x *QueryStateResponse) GetZoneId() string
func (*QueryStateResponse) ProtoMessage ¶
func (*QueryStateResponse) ProtoMessage()
func (*QueryStateResponse) ProtoReflect ¶
func (x *QueryStateResponse) ProtoReflect() protoreflect.Message
func (*QueryStateResponse) Reset ¶
func (x *QueryStateResponse) Reset()
func (*QueryStateResponse) String ¶
func (x *QueryStateResponse) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) RegisterOracleAddress ¶ added in v0.6.2
func (UnimplementedMsgServer) RegisterOracleAddress(context.Context, *MsgRegisterOracleAddr) (*MsgRegisterOracleAddrResponse, error)
func (UnimplementedMsgServer) UpdateChainState ¶
func (UnimplementedMsgServer) UpdateChainState(context.Context, *MsgUpdateChainState) (*MsgUpdateChainStateResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) OracleVersion ¶
func (UnimplementedQueryServer) OracleVersion(context.Context, *QueryOracleVersionRequest) (*QueryOracleVersionResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) State ¶
func (UnimplementedQueryServer) State(context.Context, *QueryStateRequest) (*QueryStateResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.