Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterPullServiceServer(s grpc.ServiceRegistrar, srv PullServiceServer)
- type ProofData
- type PullRequest
- func (*PullRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullRequest) GetChainType() string
- func (x *PullRequest) GetPairIndexes() []uint32
- func (*PullRequest) ProtoMessage()
- func (x *PullRequest) ProtoReflect() protoreflect.Message
- func (x *PullRequest) Reset()
- func (x *PullRequest) String() string
- type PullResponse
- func (*PullResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullResponse) GetAptos() *PullResponseAptos
- func (x *PullResponse) GetEvm() *PullResponseEvm
- func (m *PullResponse) GetResp() isPullResponse_Resp
- func (x *PullResponse) GetSui() *PullResponseSui
- func (*PullResponse) ProtoMessage()
- func (x *PullResponse) ProtoReflect() protoreflect.Message
- func (x *PullResponse) Reset()
- func (x *PullResponse) String() string
- type PullResponseAptos
- func (*PullResponseAptos) Descriptor() ([]byte, []int)deprecated
- func (x *PullResponseAptos) GetBatchIdx() []byte
- func (x *PullResponseAptos) GetClusterIdx() []byte
- func (x *PullResponseAptos) GetDkgObject() string
- func (x *PullResponseAptos) GetMinBatchProtocol() []byte
- func (x *PullResponseAptos) GetMinBatchTxnHashes() []byte
- func (x *PullResponseAptos) GetMinTxnClusterHashes() []byte
- func (x *PullResponseAptos) GetMinTxnProtocol() []byte
- func (x *PullResponseAptos) GetMinTxnSender() []byte
- func (x *PullResponseAptos) GetMinTxnTxSubType() []byte
- func (x *PullResponseAptos) GetOracleHolderObject() string
- func (x *PullResponseAptos) GetPairIndexes() []uint32
- func (x *PullResponseAptos) GetPairMask() []byte
- func (x *PullResponseAptos) GetSccCommitteeIndex() []byte
- func (x *PullResponseAptos) GetSccDataHash() []byte
- func (x *PullResponseAptos) GetSccDecimals() []byte
- func (x *PullResponseAptos) GetSccId() []byte
- func (x *PullResponseAptos) GetSccMemberIndex() []byte
- func (x *PullResponseAptos) GetSccPair() []byte
- func (x *PullResponseAptos) GetSccPrices() []byte
- func (x *PullResponseAptos) GetSccQc() []byte
- func (x *PullResponseAptos) GetSccRound() []byte
- func (x *PullResponseAptos) GetSccTimestamp() []byte
- func (x *PullResponseAptos) GetSig() []byte
- func (x *PullResponseAptos) GetTxnIdx() []byte
- func (x *PullResponseAptos) GetVoteRound() []byte
- func (x *PullResponseAptos) GetVoteSmrBlockAuthor() []byte
- func (x *PullResponseAptos) GetVoteSmrBlockBatchHashes() []byte
- func (x *PullResponseAptos) GetVoteSmrBlockQcHash() []byte
- func (x *PullResponseAptos) GetVoteSmrBlockRound() []byte
- func (x *PullResponseAptos) GetVoteSmrBlockTimestamp() []byte
- func (*PullResponseAptos) ProtoMessage()
- func (x *PullResponseAptos) ProtoReflect() protoreflect.Message
- func (x *PullResponseAptos) Reset()
- func (x *PullResponseAptos) String() string
- type PullResponseEvm
- func (*PullResponseEvm) Descriptor() ([]byte, []int)deprecated
- func (x *PullResponseEvm) GetPairIndexes() []uint32
- func (x *PullResponseEvm) GetProofBytes() []byte
- func (*PullResponseEvm) ProtoMessage()
- func (x *PullResponseEvm) ProtoReflect() protoreflect.Message
- func (x *PullResponseEvm) Reset()
- func (x *PullResponseEvm) String() string
- type PullResponseSui
- func (response *PullResponseSui) DecodeProofData() (data *ProofData, err error)
- func (*PullResponseSui) Descriptor() ([]byte, []int)deprecated
- func (x *PullResponseSui) GetBatchIdx() []byte
- func (x *PullResponseSui) GetClusterIdx() []byte
- func (x *PullResponseSui) GetDkgObject() string
- func (x *PullResponseSui) GetMinBatchProtocol() []byte
- func (x *PullResponseSui) GetMinBatchTxnHashes() []byte
- func (x *PullResponseSui) GetMinTxnClusterHashes() []byte
- func (x *PullResponseSui) GetMinTxnProtocol() []byte
- func (x *PullResponseSui) GetMinTxnSender() []byte
- func (x *PullResponseSui) GetMinTxnTxSubType() []byte
- func (x *PullResponseSui) GetOracleHolderObject() string
- func (x *PullResponseSui) GetPairIndexes() []uint32
- func (x *PullResponseSui) GetPairMask() []byte
- func (x *PullResponseSui) GetSccCommitteeIndex() []byte
- func (x *PullResponseSui) GetSccDataHash() []byte
- func (x *PullResponseSui) GetSccDecimals() []byte
- func (x *PullResponseSui) GetSccId() []byte
- func (x *PullResponseSui) GetSccMemberIndex() []byte
- func (x *PullResponseSui) GetSccPair() []byte
- func (x *PullResponseSui) GetSccPrices() []byte
- func (x *PullResponseSui) GetSccQc() []byte
- func (x *PullResponseSui) GetSccRound() []byte
- func (x *PullResponseSui) GetSccTimestamp() []byte
- func (x *PullResponseSui) GetSig() []byte
- func (x *PullResponseSui) GetTxnIdx() []byte
- func (x *PullResponseSui) GetVoteRound() []byte
- func (x *PullResponseSui) GetVoteSmrBlockAuthor() []byte
- func (x *PullResponseSui) GetVoteSmrBlockBatchHashes() []byte
- func (x *PullResponseSui) GetVoteSmrBlockQcHash() []byte
- func (x *PullResponseSui) GetVoteSmrBlockRound() []byte
- func (x *PullResponseSui) GetVoteSmrBlockTimestamp() []byte
- func (*PullResponseSui) ProtoMessage()
- func (x *PullResponseSui) ProtoReflect() protoreflect.Message
- func (x *PullResponseSui) Reset()
- func (x *PullResponseSui) String() string
- type PullResponse_Aptos
- type PullResponse_Evm
- type PullResponse_Sui
- type PullServiceClient
- type PullServiceServer
- type SupraClient
- type UnimplementedPullServiceServer
- type UnsafePullServiceServer
Constants ¶
const (
PullService_GetProof_FullMethodName = "/pull_service.PullService/GetProof"
)
Variables ¶
var File_oracle_supra_client_proto protoreflect.FileDescriptor
var PullService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pull_service.PullService", HandlerType: (*PullServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProof", Handler: _PullService_GetProof_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "oracle/supra/client.proto", }
PullService_ServiceDesc is the grpc.ServiceDesc for PullService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPullServiceServer ¶
func RegisterPullServiceServer(s grpc.ServiceRegistrar, srv PullServiceServer)
Types ¶
type PullRequest ¶
type PullRequest struct { PairIndexes []uint32 `protobuf:"varint,1,rep,packed,name=pair_indexes,json=pairIndexes,proto3" json:"pair_indexes,omitempty"` ChainType string `protobuf:"bytes,2,opt,name=chain_type,json=chainType,proto3" json:"chain_type,omitempty"` // contains filtered or unexported fields }
func (*PullRequest) Descriptor
deprecated
func (*PullRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.
func (*PullRequest) GetChainType ¶
func (x *PullRequest) GetChainType() string
func (*PullRequest) GetPairIndexes ¶
func (x *PullRequest) GetPairIndexes() []uint32
func (*PullRequest) ProtoMessage ¶
func (*PullRequest) ProtoMessage()
func (*PullRequest) ProtoReflect ¶
func (x *PullRequest) ProtoReflect() protoreflect.Message
func (*PullRequest) Reset ¶
func (x *PullRequest) Reset()
func (*PullRequest) String ¶
func (x *PullRequest) String() string
type PullResponse ¶
type PullResponse struct { // Types that are assignable to Resp: // // *PullResponse_Evm // *PullResponse_Sui // *PullResponse_Aptos Resp isPullResponse_Resp `protobuf_oneof:"resp"` // contains filtered or unexported fields }
func (*PullResponse) Descriptor
deprecated
func (*PullResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullResponse.ProtoReflect.Descriptor instead.
func (*PullResponse) GetAptos ¶
func (x *PullResponse) GetAptos() *PullResponseAptos
func (*PullResponse) GetEvm ¶
func (x *PullResponse) GetEvm() *PullResponseEvm
func (*PullResponse) GetResp ¶
func (m *PullResponse) GetResp() isPullResponse_Resp
func (*PullResponse) GetSui ¶
func (x *PullResponse) GetSui() *PullResponseSui
func (*PullResponse) ProtoMessage ¶
func (*PullResponse) ProtoMessage()
func (*PullResponse) ProtoReflect ¶
func (x *PullResponse) ProtoReflect() protoreflect.Message
func (*PullResponse) Reset ¶
func (x *PullResponse) Reset()
func (*PullResponse) String ¶
func (x *PullResponse) String() string
type PullResponseAptos ¶
type PullResponseAptos struct { PairIndexes []uint32 `protobuf:"varint,1,rep,packed,name=pair_indexes,json=pairIndexes,proto3" json:"pair_indexes,omitempty"` DkgObject string `protobuf:"bytes,2,opt,name=dkg_object,json=dkgObject,proto3" json:"dkg_object,omitempty"` OracleHolderObject string `protobuf:"bytes,3,opt,name=oracle_holder_object,json=oracleHolderObject,proto3" json:"oracle_holder_object,omitempty"` VoteSmrBlockRound []byte `protobuf:"bytes,5,opt,name=vote_smr_block_round,json=voteSmrBlockRound,proto3" json:"vote_smr_block_round,omitempty"` VoteSmrBlockTimestamp []byte `` /* 128-byte string literal not displayed */ VoteSmrBlockAuthor []byte `protobuf:"bytes,7,opt,name=vote_smr_block_author,json=voteSmrBlockAuthor,proto3" json:"vote_smr_block_author,omitempty"` VoteSmrBlockQcHash []byte `protobuf:"bytes,8,opt,name=vote_smr_block_qc_hash,json=voteSmrBlockQcHash,proto3" json:"vote_smr_block_qc_hash,omitempty"` VoteSmrBlockBatchHashes []byte `` /* 136-byte string literal not displayed */ VoteRound []byte `protobuf:"bytes,10,opt,name=vote_round,json=voteRound,proto3" json:"vote_round,omitempty"` MinBatchProtocol []byte `protobuf:"bytes,11,opt,name=min_batch_protocol,json=minBatchProtocol,proto3" json:"min_batch_protocol,omitempty"` MinBatchTxnHashes []byte `protobuf:"bytes,12,opt,name=min_batch_txn_hashes,json=minBatchTxnHashes,proto3" json:"min_batch_txn_hashes,omitempty"` MinTxnClusterHashes []byte `protobuf:"bytes,13,opt,name=min_txn_cluster_hashes,json=minTxnClusterHashes,proto3" json:"min_txn_cluster_hashes,omitempty"` MinTxnSender []byte `protobuf:"bytes,14,opt,name=min_txn_sender,json=minTxnSender,proto3" json:"min_txn_sender,omitempty"` MinTxnProtocol []byte `protobuf:"bytes,15,opt,name=min_txn_protocol,json=minTxnProtocol,proto3" json:"min_txn_protocol,omitempty"` MinTxnTxSubType []byte `protobuf:"bytes,16,opt,name=min_txn_tx_sub_type,json=minTxnTxSubType,proto3" json:"min_txn_tx_sub_type,omitempty"` SccDataHash []byte `protobuf:"bytes,17,opt,name=scc_data_hash,json=sccDataHash,proto3" json:"scc_data_hash,omitempty"` SccPair []byte `protobuf:"bytes,18,opt,name=scc_pair,json=sccPair,proto3" json:"scc_pair,omitempty"` SccPrices []byte `protobuf:"bytes,19,opt,name=scc_prices,json=sccPrices,proto3" json:"scc_prices,omitempty"` SccTimestamp []byte `protobuf:"bytes,20,opt,name=scc_timestamp,json=sccTimestamp,proto3" json:"scc_timestamp,omitempty"` SccDecimals []byte `protobuf:"bytes,21,opt,name=scc_decimals,json=sccDecimals,proto3" json:"scc_decimals,omitempty"` SccQc []byte `protobuf:"bytes,22,opt,name=scc_qc,json=sccQc,proto3" json:"scc_qc,omitempty"` SccRound []byte `protobuf:"bytes,23,opt,name=scc_round,json=sccRound,proto3" json:"scc_round,omitempty"` SccId []byte `protobuf:"bytes,24,opt,name=scc_id,json=sccId,proto3" json:"scc_id,omitempty"` SccMemberIndex []byte `protobuf:"bytes,25,opt,name=scc_member_index,json=sccMemberIndex,proto3" json:"scc_member_index,omitempty"` SccCommitteeIndex []byte `protobuf:"bytes,26,opt,name=scc_committee_index,json=sccCommitteeIndex,proto3" json:"scc_committee_index,omitempty"` BatchIdx []byte `protobuf:"bytes,27,opt,name=batch_idx,json=batchIdx,proto3" json:"batch_idx,omitempty"` TxnIdx []byte `protobuf:"bytes,28,opt,name=txn_idx,json=txnIdx,proto3" json:"txn_idx,omitempty"` ClusterIdx []byte `protobuf:"bytes,29,opt,name=cluster_idx,json=clusterIdx,proto3" json:"cluster_idx,omitempty"` Sig []byte `protobuf:"bytes,30,opt,name=sig,proto3" json:"sig,omitempty"` PairMask []byte `protobuf:"bytes,31,opt,name=pair_mask,json=pairMask,proto3" json:"pair_mask,omitempty"` // contains filtered or unexported fields }
func (*PullResponseAptos) Descriptor
deprecated
func (*PullResponseAptos) Descriptor() ([]byte, []int)
Deprecated: Use PullResponseAptos.ProtoReflect.Descriptor instead.
func (*PullResponseAptos) GetBatchIdx ¶
func (x *PullResponseAptos) GetBatchIdx() []byte
func (*PullResponseAptos) GetClusterIdx ¶
func (x *PullResponseAptos) GetClusterIdx() []byte
func (*PullResponseAptos) GetDkgObject ¶
func (x *PullResponseAptos) GetDkgObject() string
func (*PullResponseAptos) GetMinBatchProtocol ¶
func (x *PullResponseAptos) GetMinBatchProtocol() []byte
func (*PullResponseAptos) GetMinBatchTxnHashes ¶
func (x *PullResponseAptos) GetMinBatchTxnHashes() []byte
func (*PullResponseAptos) GetMinTxnClusterHashes ¶
func (x *PullResponseAptos) GetMinTxnClusterHashes() []byte
func (*PullResponseAptos) GetMinTxnProtocol ¶
func (x *PullResponseAptos) GetMinTxnProtocol() []byte
func (*PullResponseAptos) GetMinTxnSender ¶
func (x *PullResponseAptos) GetMinTxnSender() []byte
func (*PullResponseAptos) GetMinTxnTxSubType ¶
func (x *PullResponseAptos) GetMinTxnTxSubType() []byte
func (*PullResponseAptos) GetOracleHolderObject ¶
func (x *PullResponseAptos) GetOracleHolderObject() string
func (*PullResponseAptos) GetPairIndexes ¶
func (x *PullResponseAptos) GetPairIndexes() []uint32
func (*PullResponseAptos) GetPairMask ¶
func (x *PullResponseAptos) GetPairMask() []byte
func (*PullResponseAptos) GetSccCommitteeIndex ¶
func (x *PullResponseAptos) GetSccCommitteeIndex() []byte
func (*PullResponseAptos) GetSccDataHash ¶
func (x *PullResponseAptos) GetSccDataHash() []byte
func (*PullResponseAptos) GetSccDecimals ¶
func (x *PullResponseAptos) GetSccDecimals() []byte
func (*PullResponseAptos) GetSccId ¶
func (x *PullResponseAptos) GetSccId() []byte
func (*PullResponseAptos) GetSccMemberIndex ¶
func (x *PullResponseAptos) GetSccMemberIndex() []byte
func (*PullResponseAptos) GetSccPair ¶
func (x *PullResponseAptos) GetSccPair() []byte
func (*PullResponseAptos) GetSccPrices ¶
func (x *PullResponseAptos) GetSccPrices() []byte
func (*PullResponseAptos) GetSccQc ¶
func (x *PullResponseAptos) GetSccQc() []byte
func (*PullResponseAptos) GetSccRound ¶
func (x *PullResponseAptos) GetSccRound() []byte
func (*PullResponseAptos) GetSccTimestamp ¶
func (x *PullResponseAptos) GetSccTimestamp() []byte
func (*PullResponseAptos) GetSig ¶
func (x *PullResponseAptos) GetSig() []byte
func (*PullResponseAptos) GetTxnIdx ¶
func (x *PullResponseAptos) GetTxnIdx() []byte
func (*PullResponseAptos) GetVoteRound ¶
func (x *PullResponseAptos) GetVoteRound() []byte
func (*PullResponseAptos) GetVoteSmrBlockAuthor ¶
func (x *PullResponseAptos) GetVoteSmrBlockAuthor() []byte
func (*PullResponseAptos) GetVoteSmrBlockBatchHashes ¶
func (x *PullResponseAptos) GetVoteSmrBlockBatchHashes() []byte
func (*PullResponseAptos) GetVoteSmrBlockQcHash ¶
func (x *PullResponseAptos) GetVoteSmrBlockQcHash() []byte
func (*PullResponseAptos) GetVoteSmrBlockRound ¶
func (x *PullResponseAptos) GetVoteSmrBlockRound() []byte
func (*PullResponseAptos) GetVoteSmrBlockTimestamp ¶
func (x *PullResponseAptos) GetVoteSmrBlockTimestamp() []byte
func (*PullResponseAptos) ProtoMessage ¶
func (*PullResponseAptos) ProtoMessage()
func (*PullResponseAptos) ProtoReflect ¶
func (x *PullResponseAptos) ProtoReflect() protoreflect.Message
func (*PullResponseAptos) Reset ¶
func (x *PullResponseAptos) Reset()
func (*PullResponseAptos) String ¶
func (x *PullResponseAptos) String() string
type PullResponseEvm ¶
type PullResponseEvm struct { PairIndexes []uint32 `protobuf:"varint,1,rep,packed,name=pair_indexes,json=pairIndexes,proto3" json:"pair_indexes,omitempty"` ProofBytes []byte `protobuf:"bytes,2,opt,name=proof_bytes,json=proofBytes,proto3" json:"proof_bytes,omitempty"` // contains filtered or unexported fields }
func (*PullResponseEvm) Descriptor
deprecated
func (*PullResponseEvm) Descriptor() ([]byte, []int)
Deprecated: Use PullResponseEvm.ProtoReflect.Descriptor instead.
func (*PullResponseEvm) GetPairIndexes ¶
func (x *PullResponseEvm) GetPairIndexes() []uint32
func (*PullResponseEvm) GetProofBytes ¶
func (x *PullResponseEvm) GetProofBytes() []byte
func (*PullResponseEvm) ProtoMessage ¶
func (*PullResponseEvm) ProtoMessage()
func (*PullResponseEvm) ProtoReflect ¶
func (x *PullResponseEvm) ProtoReflect() protoreflect.Message
func (*PullResponseEvm) Reset ¶
func (x *PullResponseEvm) Reset()
func (*PullResponseEvm) String ¶
func (x *PullResponseEvm) String() string
type PullResponseSui ¶
type PullResponseSui struct { PairIndexes []uint32 `protobuf:"varint,1,rep,packed,name=pair_indexes,json=pairIndexes,proto3" json:"pair_indexes,omitempty"` DkgObject string `protobuf:"bytes,2,opt,name=dkg_object,json=dkgObject,proto3" json:"dkg_object,omitempty"` OracleHolderObject string `protobuf:"bytes,3,opt,name=oracle_holder_object,json=oracleHolderObject,proto3" json:"oracle_holder_object,omitempty"` VoteSmrBlockRound []byte `protobuf:"bytes,5,opt,name=vote_smr_block_round,json=voteSmrBlockRound,proto3" json:"vote_smr_block_round,omitempty"` VoteSmrBlockTimestamp []byte `` /* 128-byte string literal not displayed */ VoteSmrBlockAuthor []byte `protobuf:"bytes,7,opt,name=vote_smr_block_author,json=voteSmrBlockAuthor,proto3" json:"vote_smr_block_author,omitempty"` VoteSmrBlockQcHash []byte `protobuf:"bytes,8,opt,name=vote_smr_block_qc_hash,json=voteSmrBlockQcHash,proto3" json:"vote_smr_block_qc_hash,omitempty"` VoteSmrBlockBatchHashes []byte `` /* 136-byte string literal not displayed */ VoteRound []byte `protobuf:"bytes,10,opt,name=vote_round,json=voteRound,proto3" json:"vote_round,omitempty"` MinBatchProtocol []byte `protobuf:"bytes,11,opt,name=min_batch_protocol,json=minBatchProtocol,proto3" json:"min_batch_protocol,omitempty"` MinBatchTxnHashes []byte `protobuf:"bytes,12,opt,name=min_batch_txn_hashes,json=minBatchTxnHashes,proto3" json:"min_batch_txn_hashes,omitempty"` MinTxnClusterHashes []byte `protobuf:"bytes,13,opt,name=min_txn_cluster_hashes,json=minTxnClusterHashes,proto3" json:"min_txn_cluster_hashes,omitempty"` MinTxnSender []byte `protobuf:"bytes,14,opt,name=min_txn_sender,json=minTxnSender,proto3" json:"min_txn_sender,omitempty"` MinTxnProtocol []byte `protobuf:"bytes,15,opt,name=min_txn_protocol,json=minTxnProtocol,proto3" json:"min_txn_protocol,omitempty"` MinTxnTxSubType []byte `protobuf:"bytes,16,opt,name=min_txn_tx_sub_type,json=minTxnTxSubType,proto3" json:"min_txn_tx_sub_type,omitempty"` SccDataHash []byte `protobuf:"bytes,17,opt,name=scc_data_hash,json=sccDataHash,proto3" json:"scc_data_hash,omitempty"` SccPair []byte `protobuf:"bytes,18,opt,name=scc_pair,json=sccPair,proto3" json:"scc_pair,omitempty"` SccPrices []byte `protobuf:"bytes,19,opt,name=scc_prices,json=sccPrices,proto3" json:"scc_prices,omitempty"` SccTimestamp []byte `protobuf:"bytes,20,opt,name=scc_timestamp,json=sccTimestamp,proto3" json:"scc_timestamp,omitempty"` SccDecimals []byte `protobuf:"bytes,21,opt,name=scc_decimals,json=sccDecimals,proto3" json:"scc_decimals,omitempty"` SccQc []byte `protobuf:"bytes,22,opt,name=scc_qc,json=sccQc,proto3" json:"scc_qc,omitempty"` SccRound []byte `protobuf:"bytes,23,opt,name=scc_round,json=sccRound,proto3" json:"scc_round,omitempty"` SccId []byte `protobuf:"bytes,24,opt,name=scc_id,json=sccId,proto3" json:"scc_id,omitempty"` SccMemberIndex []byte `protobuf:"bytes,25,opt,name=scc_member_index,json=sccMemberIndex,proto3" json:"scc_member_index,omitempty"` SccCommitteeIndex []byte `protobuf:"bytes,26,opt,name=scc_committee_index,json=sccCommitteeIndex,proto3" json:"scc_committee_index,omitempty"` BatchIdx []byte `protobuf:"bytes,27,opt,name=batch_idx,json=batchIdx,proto3" json:"batch_idx,omitempty"` TxnIdx []byte `protobuf:"bytes,28,opt,name=txn_idx,json=txnIdx,proto3" json:"txn_idx,omitempty"` ClusterIdx []byte `protobuf:"bytes,29,opt,name=cluster_idx,json=clusterIdx,proto3" json:"cluster_idx,omitempty"` Sig []byte `protobuf:"bytes,30,opt,name=sig,proto3" json:"sig,omitempty"` PairMask []byte `protobuf:"bytes,31,opt,name=pair_mask,json=pairMask,proto3" json:"pair_mask,omitempty"` // contains filtered or unexported fields }
func (*PullResponseSui) DecodeProofData ¶
func (response *PullResponseSui) DecodeProofData() (data *ProofData, err error)
func (*PullResponseSui) Descriptor
deprecated
func (*PullResponseSui) Descriptor() ([]byte, []int)
Deprecated: Use PullResponseSui.ProtoReflect.Descriptor instead.
func (*PullResponseSui) GetBatchIdx ¶
func (x *PullResponseSui) GetBatchIdx() []byte
func (*PullResponseSui) GetClusterIdx ¶
func (x *PullResponseSui) GetClusterIdx() []byte
func (*PullResponseSui) GetDkgObject ¶
func (x *PullResponseSui) GetDkgObject() string
func (*PullResponseSui) GetMinBatchProtocol ¶
func (x *PullResponseSui) GetMinBatchProtocol() []byte
func (*PullResponseSui) GetMinBatchTxnHashes ¶
func (x *PullResponseSui) GetMinBatchTxnHashes() []byte
func (*PullResponseSui) GetMinTxnClusterHashes ¶
func (x *PullResponseSui) GetMinTxnClusterHashes() []byte
func (*PullResponseSui) GetMinTxnProtocol ¶
func (x *PullResponseSui) GetMinTxnProtocol() []byte
func (*PullResponseSui) GetMinTxnSender ¶
func (x *PullResponseSui) GetMinTxnSender() []byte
func (*PullResponseSui) GetMinTxnTxSubType ¶
func (x *PullResponseSui) GetMinTxnTxSubType() []byte
func (*PullResponseSui) GetOracleHolderObject ¶
func (x *PullResponseSui) GetOracleHolderObject() string
func (*PullResponseSui) GetPairIndexes ¶
func (x *PullResponseSui) GetPairIndexes() []uint32
func (*PullResponseSui) GetPairMask ¶
func (x *PullResponseSui) GetPairMask() []byte
func (*PullResponseSui) GetSccCommitteeIndex ¶
func (x *PullResponseSui) GetSccCommitteeIndex() []byte
func (*PullResponseSui) GetSccDataHash ¶
func (x *PullResponseSui) GetSccDataHash() []byte
func (*PullResponseSui) GetSccDecimals ¶
func (x *PullResponseSui) GetSccDecimals() []byte
func (*PullResponseSui) GetSccId ¶
func (x *PullResponseSui) GetSccId() []byte
func (*PullResponseSui) GetSccMemberIndex ¶
func (x *PullResponseSui) GetSccMemberIndex() []byte
func (*PullResponseSui) GetSccPair ¶
func (x *PullResponseSui) GetSccPair() []byte
func (*PullResponseSui) GetSccPrices ¶
func (x *PullResponseSui) GetSccPrices() []byte
func (*PullResponseSui) GetSccQc ¶
func (x *PullResponseSui) GetSccQc() []byte
func (*PullResponseSui) GetSccRound ¶
func (x *PullResponseSui) GetSccRound() []byte
func (*PullResponseSui) GetSccTimestamp ¶
func (x *PullResponseSui) GetSccTimestamp() []byte
func (*PullResponseSui) GetSig ¶
func (x *PullResponseSui) GetSig() []byte
func (*PullResponseSui) GetTxnIdx ¶
func (x *PullResponseSui) GetTxnIdx() []byte
func (*PullResponseSui) GetVoteRound ¶
func (x *PullResponseSui) GetVoteRound() []byte
func (*PullResponseSui) GetVoteSmrBlockAuthor ¶
func (x *PullResponseSui) GetVoteSmrBlockAuthor() []byte
func (*PullResponseSui) GetVoteSmrBlockBatchHashes ¶
func (x *PullResponseSui) GetVoteSmrBlockBatchHashes() []byte
func (*PullResponseSui) GetVoteSmrBlockQcHash ¶
func (x *PullResponseSui) GetVoteSmrBlockQcHash() []byte
func (*PullResponseSui) GetVoteSmrBlockRound ¶
func (x *PullResponseSui) GetVoteSmrBlockRound() []byte
func (*PullResponseSui) GetVoteSmrBlockTimestamp ¶
func (x *PullResponseSui) GetVoteSmrBlockTimestamp() []byte
func (*PullResponseSui) ProtoMessage ¶
func (*PullResponseSui) ProtoMessage()
func (*PullResponseSui) ProtoReflect ¶
func (x *PullResponseSui) ProtoReflect() protoreflect.Message
func (*PullResponseSui) Reset ¶
func (x *PullResponseSui) Reset()
func (*PullResponseSui) String ¶
func (x *PullResponseSui) String() string
type PullResponse_Aptos ¶
type PullResponse_Aptos struct {
Aptos *PullResponseAptos `protobuf:"bytes,3,opt,name=aptos,proto3,oneof"`
}
type PullResponse_Evm ¶
type PullResponse_Evm struct {
Evm *PullResponseEvm `protobuf:"bytes,1,opt,name=evm,proto3,oneof"`
}
type PullResponse_Sui ¶
type PullResponse_Sui struct {
Sui *PullResponseSui `protobuf:"bytes,2,opt,name=sui,proto3,oneof"`
}
type PullServiceClient ¶
type PullServiceClient interface {
GetProof(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error)
}
PullServiceClient is the client API for PullService 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 NewPullServiceClient ¶
func NewPullServiceClient(cc grpc.ClientConnInterface) PullServiceClient
type PullServiceServer ¶
type PullServiceServer interface { GetProof(context.Context, *PullRequest) (*PullResponse, error) // contains filtered or unexported methods }
PullServiceServer is the server API for PullService service. All implementations must embed UnimplementedPullServiceServer for forward compatibility
type SupraClient ¶
type SupraClient struct { PullServiceClient PullServiceClient Context context.Context // contains filtered or unexported fields }
func InitSupraClient ¶
func InitSupraClient(ctx context.Context, grpcAddress string) (*SupraClient, error)
func (*SupraClient) GetProofOnSui ¶
func (supra *SupraClient) GetProofOnSui(indexes []uint32) (*PullResponseSui, error)
type UnimplementedPullServiceServer ¶
type UnimplementedPullServiceServer struct { }
UnimplementedPullServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPullServiceServer) GetProof ¶
func (UnimplementedPullServiceServer) GetProof(context.Context, *PullRequest) (*PullResponse, error)
type UnsafePullServiceServer ¶
type UnsafePullServiceServer interface {
// contains filtered or unexported methods
}
UnsafePullServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PullServiceServer will result in compilation errors.