Documentation ¶
Index ¶
- Variables
- type AccountMultiSign
- func (*AccountMultiSign) Descriptor() ([]byte, []int)
- func (m *AccountMultiSign) GetClientSign() []byte
- func (m *AccountMultiSign) GetPayload() []byte
- func (m *AccountMultiSign) GetPublicKeyInfo() []byte
- func (m *AccountMultiSign) Marshal() (dAtA []byte, err error)
- func (m *AccountMultiSign) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountMultiSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountMultiSign) ProtoMessage()
- func (m *AccountMultiSign) Reset()
- func (m *AccountMultiSign) Size() (n int)
- func (m *AccountMultiSign) String() string
- func (m *AccountMultiSign) Unmarshal(dAtA []byte) error
- func (m *AccountMultiSign) XXX_DiscardUnknown()
- func (m *AccountMultiSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountMultiSign) XXX_Merge(src proto.Message)
- func (m *AccountMultiSign) XXX_Size() int
- func (m *AccountMultiSign) XXX_Unmarshal(b []byte) error
- type AccountMultiSignsRequest
- func (*AccountMultiSignsRequest) Descriptor() ([]byte, []int)
- func (m *AccountMultiSignsRequest) GetGasMultiSigns() []*AccountMultiSign
- func (m *AccountMultiSignsRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountMultiSignsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountMultiSignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountMultiSignsRequest) ProtoMessage()
- func (m *AccountMultiSignsRequest) Reset()
- func (m *AccountMultiSignsRequest) Size() (n int)
- func (m *AccountMultiSignsRequest) String() string
- func (m *AccountMultiSignsRequest) Unmarshal(dAtA []byte) error
- func (m *AccountMultiSignsRequest) XXX_DiscardUnknown()
- func (m *AccountMultiSignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountMultiSignsRequest) XXX_Merge(src proto.Message)
- func (m *AccountMultiSignsRequest) XXX_Size() int
- func (m *AccountMultiSignsRequest) XXX_Unmarshal(b []byte) error
- type ArchiveBlock
- func (*ArchiveBlock) Descriptor() ([]byte, []int)
- func (m *ArchiveBlock) Marshal() (dAtA []byte, err error)
- func (m *ArchiveBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *ArchiveBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ArchiveBlock) ProtoMessage()
- func (m *ArchiveBlock) Reset()
- func (m *ArchiveBlock) Size() (n int)
- func (m *ArchiveBlock) String() string
- func (m *ArchiveBlock) Unmarshal(dAtA []byte) error
- func (m *ArchiveBlock) XXX_DiscardUnknown()
- func (m *ArchiveBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveBlock) XXX_Merge(src proto.Message)
- func (m *ArchiveBlock) XXX_Size() int
- func (m *ArchiveBlock) XXX_Unmarshal(b []byte) error
- type ArchiveBlock_Parameter
- type ArchiveFunction
- type BondStatus
- type CertManageFunction
- type ChainConfigFunction
- type ChainQueryFunction
- type ContractAccess
- func (*ContractAccess) Descriptor() ([]byte, []int)
- func (m *ContractAccess) Marshal() (dAtA []byte, err error)
- func (m *ContractAccess) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractAccess) ProtoMessage()
- func (m *ContractAccess) Reset()
- func (m *ContractAccess) Size() (n int)
- func (m *ContractAccess) String() string
- func (m *ContractAccess) Unmarshal(dAtA []byte) error
- func (m *ContractAccess) XXX_DiscardUnknown()
- func (m *ContractAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractAccess) XXX_Merge(src proto.Message)
- func (m *ContractAccess) XXX_Size() int
- func (m *ContractAccess) XXX_Unmarshal(b []byte) error
- type ContractAccess_Parameter
- type ContractInfo
- func (*ContractInfo) Descriptor() ([]byte, []int)
- func (m *ContractInfo) GetContractTransaction() []*ContractTransaction
- func (m *ContractInfo) Marshal() (dAtA []byte, err error)
- func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractInfo) ProtoMessage()
- func (m *ContractInfo) Reset()
- func (m *ContractInfo) Size() (n int)
- func (m *ContractInfo) String() string
- func (m *ContractInfo) Unmarshal(dAtA []byte) error
- func (m *ContractInfo) XXX_DiscardUnknown()
- func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfo) XXX_Merge(src proto.Message)
- func (m *ContractInfo) XXX_Size() int
- func (m *ContractInfo) XXX_Unmarshal(b []byte) error
- type ContractManageFunction
- type ContractQueryFunction
- type ContractStatus
- type ContractTransaction
- func (*ContractTransaction) Descriptor() ([]byte, []int)
- func (m *ContractTransaction) GetContract() *common.Contract
- func (m *ContractTransaction) GetTxId() string
- func (m *ContractTransaction) Marshal() (dAtA []byte, err error)
- func (m *ContractTransaction) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractTransaction) ProtoMessage()
- func (m *ContractTransaction) Reset()
- func (m *ContractTransaction) Size() (n int)
- func (m *ContractTransaction) String() string
- func (m *ContractTransaction) Unmarshal(dAtA []byte) error
- func (m *ContractTransaction) XXX_DiscardUnknown()
- func (m *ContractTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractTransaction) XXX_Merge(src proto.Message)
- func (m *ContractTransaction) XXX_Size() int
- func (m *ContractTransaction) XXX_Unmarshal(b []byte) error
- type CrossArbitrateCmd
- type CrossState
- func (*CrossState) Descriptor() ([]byte, []int)
- func (m *CrossState) GetState() CrossTxState
- func (m *CrossState) Marshal() (dAtA []byte, err error)
- func (m *CrossState) MarshalTo(dAtA []byte) (int, error)
- func (m *CrossState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CrossState) ProtoMessage()
- func (m *CrossState) Reset()
- func (m *CrossState) Size() (n int)
- func (m *CrossState) String() string
- func (m *CrossState) Unmarshal(dAtA []byte) error
- func (m *CrossState) XXX_DiscardUnknown()
- func (m *CrossState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CrossState) XXX_Merge(src proto.Message)
- func (m *CrossState) XXX_Size() int
- func (m *CrossState) XXX_Unmarshal(b []byte) error
- type CrossTransactionFunction
- type CrossTxState
- type DPoSERC20Function
- type DPoSStakeFunction
- type Delegation
- func (*Delegation) Descriptor() ([]byte, []int)
- func (m *Delegation) GetDelegatorAddress() string
- func (m *Delegation) GetShares() string
- func (m *Delegation) GetValidatorAddress() string
- func (m *Delegation) Marshal() (dAtA []byte, err error)
- func (m *Delegation) MarshalTo(dAtA []byte) (int, error)
- func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Delegation) ProtoMessage()
- func (m *Delegation) Reset()
- func (m *Delegation) Size() (n int)
- func (m *Delegation) String() string
- func (m *Delegation) Unmarshal(dAtA []byte) error
- func (m *Delegation) XXX_DiscardUnknown()
- func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Delegation) XXX_Merge(src proto.Message)
- func (m *Delegation) XXX_Size() int
- func (m *Delegation) XXX_Unmarshal(b []byte) error
- type DelegationInfo
- func (*DelegationInfo) Descriptor() ([]byte, []int)
- func (m *DelegationInfo) GetInfos() []*Delegation
- func (m *DelegationInfo) Marshal() (dAtA []byte, err error)
- func (m *DelegationInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegationInfo) ProtoMessage()
- func (m *DelegationInfo) Reset()
- func (m *DelegationInfo) Size() (n int)
- func (m *DelegationInfo) String() string
- func (m *DelegationInfo) Unmarshal(dAtA []byte) error
- func (m *DelegationInfo) XXX_DiscardUnknown()
- func (m *DelegationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationInfo) XXX_Merge(src proto.Message)
- func (m *DelegationInfo) XXX_Size() int
- func (m *DelegationInfo) XXX_Unmarshal(b []byte) error
- type Epoch
- func (*Epoch) Descriptor() ([]byte, []int)
- func (m *Epoch) GetEpochId() uint64
- func (m *Epoch) GetNextEpochCreateHeight() uint64
- func (m *Epoch) GetProposerVector() []string
- func (m *Epoch) Marshal() (dAtA []byte, err error)
- func (m *Epoch) MarshalTo(dAtA []byte) (int, error)
- func (m *Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Epoch) ProtoMessage()
- func (m *Epoch) Reset()
- func (m *Epoch) Size() (n int)
- func (m *Epoch) String() string
- func (m *Epoch) Unmarshal(dAtA []byte) error
- func (m *Epoch) XXX_DiscardUnknown()
- func (m *Epoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Epoch) XXX_Merge(src proto.Message)
- func (m *Epoch) XXX_Size() int
- func (m *Epoch) XXX_Unmarshal(b []byte) error
- type GasAccountFunction
- type GetContractInfo
- func (*GetContractInfo) Descriptor() ([]byte, []int)
- func (m *GetContractInfo) Marshal() (dAtA []byte, err error)
- func (m *GetContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GetContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetContractInfo) ProtoMessage()
- func (m *GetContractInfo) Reset()
- func (m *GetContractInfo) Size() (n int)
- func (m *GetContractInfo) String() string
- func (m *GetContractInfo) Unmarshal(dAtA []byte) error
- func (m *GetContractInfo) XXX_DiscardUnknown()
- func (m *GetContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContractInfo) XXX_Merge(src proto.Message)
- func (m *GetContractInfo) XXX_Size() int
- func (m *GetContractInfo) XXX_Unmarshal(b []byte) error
- type GetContractInfo_Parameter
- type InitContract
- func (*InitContract) Descriptor() ([]byte, []int)
- func (m *InitContract) Marshal() (dAtA []byte, err error)
- func (m *InitContract) MarshalTo(dAtA []byte) (int, error)
- func (m *InitContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InitContract) ProtoMessage()
- func (m *InitContract) Reset()
- func (m *InitContract) Size() (n int)
- func (m *InitContract) String() string
- func (m *InitContract) Unmarshal(dAtA []byte) error
- func (m *InitContract) XXX_DiscardUnknown()
- func (m *InitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitContract) XXX_Merge(src proto.Message)
- func (m *InitContract) XXX_Size() int
- func (m *InitContract) XXX_Unmarshal(b []byte) error
- type InitContract_Parameter
- type MultiQuery
- func (*MultiQuery) Descriptor() ([]byte, []int)
- func (m *MultiQuery) Marshal() (dAtA []byte, err error)
- func (m *MultiQuery) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiQuery) ProtoMessage()
- func (m *MultiQuery) Reset()
- func (m *MultiQuery) Size() (n int)
- func (m *MultiQuery) String() string
- func (m *MultiQuery) Unmarshal(dAtA []byte) error
- func (m *MultiQuery) XXX_DiscardUnknown()
- func (m *MultiQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiQuery) XXX_Merge(src proto.Message)
- func (m *MultiQuery) XXX_Size() int
- func (m *MultiQuery) XXX_Unmarshal(b []byte) error
- type MultiQuery_Parameter
- type MultiRequest
- func (*MultiRequest) Descriptor() ([]byte, []int)
- func (m *MultiRequest) Marshal() (dAtA []byte, err error)
- func (m *MultiRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiRequest) ProtoMessage()
- func (m *MultiRequest) Reset()
- func (m *MultiRequest) Size() (n int)
- func (m *MultiRequest) String() string
- func (m *MultiRequest) Unmarshal(dAtA []byte) error
- func (m *MultiRequest) XXX_DiscardUnknown()
- func (m *MultiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiRequest) XXX_Merge(src proto.Message)
- func (m *MultiRequest) XXX_Size() int
- func (m *MultiRequest) XXX_Unmarshal(b []byte) error
- type MultiRequest_Parameter
- type MultiSignFunction
- type MultiSignInfo
- func (*MultiSignInfo) Descriptor() ([]byte, []int)
- func (m *MultiSignInfo) GetContractName() string
- func (m *MultiSignInfo) GetMessage() string
- func (m *MultiSignInfo) GetMethod() string
- func (m *MultiSignInfo) GetPayload() *common.Payload
- func (m *MultiSignInfo) GetResult() []byte
- func (m *MultiSignInfo) GetStatus() MultiSignStatus
- func (m *MultiSignInfo) GetVoteInfos() []*MultiSignVoteInfo
- func (m *MultiSignInfo) Marshal() (dAtA []byte, err error)
- func (m *MultiSignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiSignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiSignInfo) ProtoMessage()
- func (m *MultiSignInfo) Reset()
- func (m *MultiSignInfo) Size() (n int)
- func (m *MultiSignInfo) String() string
- func (m *MultiSignInfo) Unmarshal(dAtA []byte) error
- func (m *MultiSignInfo) XXX_DiscardUnknown()
- func (m *MultiSignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiSignInfo) XXX_Merge(src proto.Message)
- func (m *MultiSignInfo) XXX_Size() int
- func (m *MultiSignInfo) XXX_Unmarshal(b []byte) error
- type MultiSignStatus
- type MultiSignVoteInfo
- func (*MultiSignVoteInfo) Descriptor() ([]byte, []int)
- func (m *MultiSignVoteInfo) GetEndorsement() *common.EndorsementEntry
- func (m *MultiSignVoteInfo) GetVote() VoteStatus
- func (m *MultiSignVoteInfo) Marshal() (dAtA []byte, err error)
- func (m *MultiSignVoteInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiSignVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiSignVoteInfo) ProtoMessage()
- func (m *MultiSignVoteInfo) Reset()
- func (m *MultiSignVoteInfo) Size() (n int)
- func (m *MultiSignVoteInfo) String() string
- func (m *MultiSignVoteInfo) Unmarshal(dAtA []byte) error
- func (m *MultiSignVoteInfo) XXX_DiscardUnknown()
- func (m *MultiSignVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiSignVoteInfo) XXX_Merge(src proto.Message)
- func (m *MultiSignVoteInfo) XXX_Size() int
- func (m *MultiSignVoteInfo) XXX_Unmarshal(b []byte) error
- type MultiVote
- func (*MultiVote) Descriptor() ([]byte, []int)
- func (m *MultiVote) Marshal() (dAtA []byte, err error)
- func (m *MultiVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiVote) ProtoMessage()
- func (m *MultiVote) Reset()
- func (m *MultiVote) Size() (n int)
- func (m *MultiVote) String() string
- func (m *MultiVote) Unmarshal(dAtA []byte) error
- func (m *MultiVote) XXX_DiscardUnknown()
- func (m *MultiVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiVote) XXX_Merge(src proto.Message)
- func (m *MultiVote) XXX_Size() int
- func (m *MultiVote) XXX_Unmarshal(b []byte) error
- type MultiVote_Parameter
- type PrivateComputeFunction
- type PrivateComputePayload
- func (*PrivateComputePayload) Descriptor() ([]byte, []int)
- func (m *PrivateComputePayload) GetCodeHash() string
- func (m *PrivateComputePayload) GetContractName() string
- func (m *PrivateComputePayload) GetOrgId() []string
- func (m *PrivateComputePayload) GetPasswd() string
- func (m *PrivateComputePayload) GetPrivateRlpData() string
- func (m *PrivateComputePayload) GetSigAlgo() string
- func (m *PrivateComputePayload) GetTimeStamp() string
- func (m *PrivateComputePayload) Marshal() (dAtA []byte, err error)
- func (m *PrivateComputePayload) MarshalTo(dAtA []byte) (int, error)
- func (m *PrivateComputePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrivateComputePayload) ProtoMessage()
- func (m *PrivateComputePayload) Reset()
- func (m *PrivateComputePayload) Size() (n int)
- func (m *PrivateComputePayload) String() string
- func (m *PrivateComputePayload) Unmarshal(dAtA []byte) error
- func (m *PrivateComputePayload) XXX_DiscardUnknown()
- func (m *PrivateComputePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateComputePayload) XXX_Merge(src proto.Message)
- func (m *PrivateComputePayload) XXX_Size() int
- func (m *PrivateComputePayload) XXX_Unmarshal(b []byte) error
- type PrivateComputeRequest
- func (*PrivateComputeRequest) Descriptor() ([]byte, []int)
- func (m *PrivateComputeRequest) GetPayload() *PrivateComputePayload
- func (m *PrivateComputeRequest) GetSignPair() []*SignInfo
- func (m *PrivateComputeRequest) Marshal() (dAtA []byte, err error)
- func (m *PrivateComputeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PrivateComputeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrivateComputeRequest) ProtoMessage()
- func (m *PrivateComputeRequest) Reset()
- func (m *PrivateComputeRequest) Size() (n int)
- func (m *PrivateComputeRequest) String() string
- func (m *PrivateComputeRequest) Unmarshal(dAtA []byte) error
- func (m *PrivateComputeRequest) XXX_DiscardUnknown()
- func (m *PrivateComputeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateComputeRequest) XXX_Merge(src proto.Message)
- func (m *PrivateComputeRequest) XXX_Size() int
- func (m *PrivateComputeRequest) XXX_Unmarshal(b []byte) error
- type PrivateDeployPayload
- func (*PrivateDeployPayload) Descriptor() ([]byte, []int)
- func (m *PrivateDeployPayload) GetCodeBytes() string
- func (m *PrivateDeployPayload) GetCodeHash() string
- func (m *PrivateDeployPayload) GetContractName() string
- func (m *PrivateDeployPayload) GetContractVersion() string
- func (m *PrivateDeployPayload) GetOrgId() []string
- func (m *PrivateDeployPayload) GetPasswd() string
- func (m *PrivateDeployPayload) GetPrivateRlpData() string
- func (m *PrivateDeployPayload) GetSigAlgo() string
- func (m *PrivateDeployPayload) GetTimeStamp() string
- func (m *PrivateDeployPayload) Marshal() (dAtA []byte, err error)
- func (m *PrivateDeployPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *PrivateDeployPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrivateDeployPayload) ProtoMessage()
- func (m *PrivateDeployPayload) Reset()
- func (m *PrivateDeployPayload) Size() (n int)
- func (m *PrivateDeployPayload) String() string
- func (m *PrivateDeployPayload) Unmarshal(dAtA []byte) error
- func (m *PrivateDeployPayload) XXX_DiscardUnknown()
- func (m *PrivateDeployPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateDeployPayload) XXX_Merge(src proto.Message)
- func (m *PrivateDeployPayload) XXX_Size() int
- func (m *PrivateDeployPayload) XXX_Unmarshal(b []byte) error
- type PrivateDeployRequest
- func (*PrivateDeployRequest) Descriptor() ([]byte, []int)
- func (m *PrivateDeployRequest) GetPayload() *PrivateDeployPayload
- func (m *PrivateDeployRequest) GetSignPair() []*SignInfo
- func (m *PrivateDeployRequest) Marshal() (dAtA []byte, err error)
- func (m *PrivateDeployRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PrivateDeployRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrivateDeployRequest) ProtoMessage()
- func (m *PrivateDeployRequest) Reset()
- func (m *PrivateDeployRequest) Size() (n int)
- func (m *PrivateDeployRequest) String() string
- func (m *PrivateDeployRequest) Unmarshal(dAtA []byte) error
- func (m *PrivateDeployRequest) XXX_DiscardUnknown()
- func (m *PrivateDeployRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateDeployRequest) XXX_Merge(src proto.Message)
- func (m *PrivateDeployRequest) XXX_Size() int
- func (m *PrivateDeployRequest) XXX_Unmarshal(b []byte) error
- type PubkeyManageFunction
- type RechargeGas
- func (*RechargeGas) Descriptor() ([]byte, []int)
- func (m *RechargeGas) GetAddress() string
- func (m *RechargeGas) GetGasAmount() int64
- func (m *RechargeGas) Marshal() (dAtA []byte, err error)
- func (m *RechargeGas) MarshalTo(dAtA []byte) (int, error)
- func (m *RechargeGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RechargeGas) ProtoMessage()
- func (m *RechargeGas) Reset()
- func (m *RechargeGas) Size() (n int)
- func (m *RechargeGas) String() string
- func (m *RechargeGas) Unmarshal(dAtA []byte) error
- func (m *RechargeGas) XXX_DiscardUnknown()
- func (m *RechargeGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RechargeGas) XXX_Merge(src proto.Message)
- func (m *RechargeGas) XXX_Size() int
- func (m *RechargeGas) XXX_Unmarshal(b []byte) error
- type RechargeGasRequest
- func (*RechargeGasRequest) Descriptor() ([]byte, []int)
- func (m *RechargeGasRequest) GetBatchRechargeGas() []*RechargeGas
- func (m *RechargeGasRequest) Marshal() (dAtA []byte, err error)
- func (m *RechargeGasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RechargeGasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RechargeGasRequest) ProtoMessage()
- func (m *RechargeGasRequest) Reset()
- func (m *RechargeGasRequest) Size() (n int)
- func (m *RechargeGasRequest) String() string
- func (m *RechargeGasRequest) Unmarshal(dAtA []byte) error
- func (m *RechargeGasRequest) XXX_DiscardUnknown()
- func (m *RechargeGasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RechargeGasRequest) XXX_Merge(src proto.Message)
- func (m *RechargeGasRequest) XXX_Size() int
- func (m *RechargeGasRequest) XXX_Unmarshal(b []byte) error
- type RemoteAttestationPayload
- func (*RemoteAttestationPayload) Descriptor() ([]byte, []int)
- func (m *RemoteAttestationPayload) GetChallenge() string
- func (m *RemoteAttestationPayload) GetOrgId() []string
- func (m *RemoteAttestationPayload) Marshal() (dAtA []byte, err error)
- func (m *RemoteAttestationPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoteAttestationPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoteAttestationPayload) ProtoMessage()
- func (m *RemoteAttestationPayload) Reset()
- func (m *RemoteAttestationPayload) Size() (n int)
- func (m *RemoteAttestationPayload) String() string
- func (m *RemoteAttestationPayload) Unmarshal(dAtA []byte) error
- func (m *RemoteAttestationPayload) XXX_DiscardUnknown()
- func (m *RemoteAttestationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoteAttestationPayload) XXX_Merge(src proto.Message)
- func (m *RemoteAttestationPayload) XXX_Size() int
- func (m *RemoteAttestationPayload) XXX_Unmarshal(b []byte) error
- type RemoteAttestationRequest
- func (*RemoteAttestationRequest) Descriptor() ([]byte, []int)
- func (m *RemoteAttestationRequest) GetPayload() *RemoteAttestationPayload
- func (m *RemoteAttestationRequest) GetSignPair() []*SignInfo
- func (m *RemoteAttestationRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoteAttestationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoteAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoteAttestationRequest) ProtoMessage()
- func (m *RemoteAttestationRequest) Reset()
- func (m *RemoteAttestationRequest) Size() (n int)
- func (m *RemoteAttestationRequest) String() string
- func (m *RemoteAttestationRequest) Unmarshal(dAtA []byte) error
- func (m *RemoteAttestationRequest) XXX_DiscardUnknown()
- func (m *RemoteAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoteAttestationRequest) XXX_Merge(src proto.Message)
- func (m *RemoteAttestationRequest) XXX_Size() int
- func (m *RemoteAttestationRequest) XXX_Unmarshal(b []byte) error
- type RestoreBlock
- func (*RestoreBlock) Descriptor() ([]byte, []int)
- func (m *RestoreBlock) Marshal() (dAtA []byte, err error)
- func (m *RestoreBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *RestoreBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RestoreBlock) ProtoMessage()
- func (m *RestoreBlock) Reset()
- func (m *RestoreBlock) Size() (n int)
- func (m *RestoreBlock) String() string
- func (m *RestoreBlock) Unmarshal(dAtA []byte) error
- func (m *RestoreBlock) XXX_DiscardUnknown()
- func (m *RestoreBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreBlock) XXX_Merge(src proto.Message)
- func (m *RestoreBlock) XXX_Size() int
- func (m *RestoreBlock) XXX_Unmarshal(b []byte) error
- type RestoreBlock_Parameter
- type RevokeContract
- func (*RevokeContract) Descriptor() ([]byte, []int)
- func (m *RevokeContract) Marshal() (dAtA []byte, err error)
- func (m *RevokeContract) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevokeContract) ProtoMessage()
- func (m *RevokeContract) Reset()
- func (m *RevokeContract) Size() (n int)
- func (m *RevokeContract) String() string
- func (m *RevokeContract) Unmarshal(dAtA []byte) error
- func (m *RevokeContract) XXX_DiscardUnknown()
- func (m *RevokeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeContract) XXX_Merge(src proto.Message)
- func (m *RevokeContract) XXX_Size() int
- func (m *RevokeContract) XXX_Unmarshal(b []byte) error
- type RevokeContract_Parameter
- type SignInfo
- func (*SignInfo) Descriptor() ([]byte, []int)
- func (m *SignInfo) GetCert() string
- func (m *SignInfo) GetClientSign() string
- func (m *SignInfo) Marshal() (dAtA []byte, err error)
- func (m *SignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInfo) ProtoMessage()
- func (m *SignInfo) Reset()
- func (m *SignInfo) Size() (n int)
- func (m *SignInfo) String() string
- func (m *SignInfo) Unmarshal(dAtA []byte) error
- func (m *SignInfo) XXX_DiscardUnknown()
- func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInfo) XXX_Merge(src proto.Message)
- func (m *SignInfo) XXX_Size() int
- func (m *SignInfo) XXX_Unmarshal(b []byte) error
- type SubscribeBlock
- func (*SubscribeBlock) Descriptor() ([]byte, []int)
- func (m *SubscribeBlock) Marshal() (dAtA []byte, err error)
- func (m *SubscribeBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *SubscribeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubscribeBlock) ProtoMessage()
- func (m *SubscribeBlock) Reset()
- func (m *SubscribeBlock) Size() (n int)
- func (m *SubscribeBlock) String() string
- func (m *SubscribeBlock) Unmarshal(dAtA []byte) error
- func (m *SubscribeBlock) XXX_DiscardUnknown()
- func (m *SubscribeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeBlock) XXX_Merge(src proto.Message)
- func (m *SubscribeBlock) XXX_Size() int
- func (m *SubscribeBlock) XXX_Unmarshal(b []byte) error
- type SubscribeBlock_Parameter
- type SubscribeContractEvent
- func (*SubscribeContractEvent) Descriptor() ([]byte, []int)
- func (m *SubscribeContractEvent) Marshal() (dAtA []byte, err error)
- func (m *SubscribeContractEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *SubscribeContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubscribeContractEvent) ProtoMessage()
- func (m *SubscribeContractEvent) Reset()
- func (m *SubscribeContractEvent) Size() (n int)
- func (m *SubscribeContractEvent) String() string
- func (m *SubscribeContractEvent) Unmarshal(dAtA []byte) error
- func (m *SubscribeContractEvent) XXX_DiscardUnknown()
- func (m *SubscribeContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeContractEvent) XXX_Merge(src proto.Message)
- func (m *SubscribeContractEvent) XXX_Size() int
- func (m *SubscribeContractEvent) XXX_Unmarshal(b []byte) error
- type SubscribeContractEvent_Parameter
- type SubscribeFunction
- type SubscribeTx
- func (*SubscribeTx) Descriptor() ([]byte, []int)
- func (m *SubscribeTx) Marshal() (dAtA []byte, err error)
- func (m *SubscribeTx) MarshalTo(dAtA []byte) (int, error)
- func (m *SubscribeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubscribeTx) ProtoMessage()
- func (m *SubscribeTx) Reset()
- func (m *SubscribeTx) Size() (n int)
- func (m *SubscribeTx) String() string
- func (m *SubscribeTx) Unmarshal(dAtA []byte) error
- func (m *SubscribeTx) XXX_DiscardUnknown()
- func (m *SubscribeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeTx) XXX_Merge(src proto.Message)
- func (m *SubscribeTx) XXX_Size() int
- func (m *SubscribeTx) XXX_Unmarshal(b []byte) error
- type SubscribeTx_Parameter
- type SystemContract
- type TestContractFunction
- type UnbondingDelegation
- func (*UnbondingDelegation) Descriptor() ([]byte, []int)
- func (m *UnbondingDelegation) GetDelegatorAddress() string
- func (m *UnbondingDelegation) GetEntries() []*UnbondingDelegationEntry
- func (m *UnbondingDelegation) GetEpochId() string
- func (m *UnbondingDelegation) GetValidatorAddress() string
- func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)
- func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingDelegation) ProtoMessage()
- func (m *UnbondingDelegation) Reset()
- func (m *UnbondingDelegation) Size() (n int)
- func (m *UnbondingDelegation) String() string
- func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error
- func (m *UnbondingDelegation) XXX_DiscardUnknown()
- func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingDelegation) XXX_Merge(src proto.Message)
- func (m *UnbondingDelegation) XXX_Size() int
- func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error
- type UnbondingDelegationEntry
- func (*UnbondingDelegationEntry) Descriptor() ([]byte, []int)
- func (m *UnbondingDelegationEntry) GetAmount() string
- func (m *UnbondingDelegationEntry) GetCompletionEpochId() uint64
- func (m *UnbondingDelegationEntry) GetCreationEpochId() uint64
- func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)
- func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnbondingDelegationEntry) ProtoMessage()
- func (m *UnbondingDelegationEntry) Reset()
- func (m *UnbondingDelegationEntry) Size() (n int)
- func (m *UnbondingDelegationEntry) String() string
- func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error
- func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()
- func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)
- func (m *UnbondingDelegationEntry) XXX_Size() int
- func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error
- type UnfreezeContract
- func (*UnfreezeContract) Descriptor() ([]byte, []int)
- func (m *UnfreezeContract) Marshal() (dAtA []byte, err error)
- func (m *UnfreezeContract) MarshalTo(dAtA []byte) (int, error)
- func (m *UnfreezeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnfreezeContract) ProtoMessage()
- func (m *UnfreezeContract) Reset()
- func (m *UnfreezeContract) Size() (n int)
- func (m *UnfreezeContract) String() string
- func (m *UnfreezeContract) Unmarshal(dAtA []byte) error
- func (m *UnfreezeContract) XXX_DiscardUnknown()
- func (m *UnfreezeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnfreezeContract) XXX_Merge(src proto.Message)
- func (m *UnfreezeContract) XXX_Size() int
- func (m *UnfreezeContract) XXX_Unmarshal(b []byte) error
- type UnfreezeContract_Parameter
- type UpgradeContract
- func (*UpgradeContract) Descriptor() ([]byte, []int)
- func (m *UpgradeContract) Marshal() (dAtA []byte, err error)
- func (m *UpgradeContract) MarshalTo(dAtA []byte) (int, error)
- func (m *UpgradeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpgradeContract) ProtoMessage()
- func (m *UpgradeContract) Reset()
- func (m *UpgradeContract) Size() (n int)
- func (m *UpgradeContract) String() string
- func (m *UpgradeContract) Unmarshal(dAtA []byte) error
- func (m *UpgradeContract) XXX_DiscardUnknown()
- func (m *UpgradeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeContract) XXX_Merge(src proto.Message)
- func (m *UpgradeContract) XXX_Size() int
- func (m *UpgradeContract) XXX_Unmarshal(b []byte) error
- type UpgradeContract_Parameter
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetDelegatorShares() string
- func (m *Validator) GetJailed() bool
- func (m *Validator) GetSelfDelegation() string
- func (m *Validator) GetStatus() BondStatus
- func (m *Validator) GetTokens() string
- func (m *Validator) GetUnbondingCompletionEpochId() uint64
- func (m *Validator) GetUnbondingEpochId() uint64
- func (m *Validator) GetValidatorAddress() string
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorVector
- func (*ValidatorVector) Descriptor() ([]byte, []int)
- func (m *ValidatorVector) GetVector() []string
- func (m *ValidatorVector) Marshal() (dAtA []byte, err error)
- func (m *ValidatorVector) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorVector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorVector) ProtoMessage()
- func (m *ValidatorVector) Reset()
- func (m *ValidatorVector) Size() (n int)
- func (m *ValidatorVector) String() string
- func (m *ValidatorVector) Unmarshal(dAtA []byte) error
- func (m *ValidatorVector) XXX_DiscardUnknown()
- func (m *ValidatorVector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorVector) XXX_Merge(src proto.Message)
- func (m *ValidatorVector) XXX_Size() int
- func (m *ValidatorVector) XXX_Unmarshal(b []byte) error
- type VoteStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAccountManager = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccountManager = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccountManager = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthArchive = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArchive = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupArchive = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthContractManage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowContractManage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupContractManage = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthCrossTransaction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCrossTransaction = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCrossTransaction = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthDposStake = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDposStake = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDposStake = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthMultiSign = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMultiSign = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMultiSign = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthPrivateCompute = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrivateCompute = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrivateCompute = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthSubscribe = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSubscribe = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSubscribe = fmt.Errorf("proto: unexpected end of group") )
View Source
var ArchiveBlock_Parameter_name = map[int32]string{
0: "BLOCK_HEIGHT",
}
View Source
var ArchiveBlock_Parameter_value = map[string]int32{
"BLOCK_HEIGHT": 0,
}
View Source
var ArchiveFunction_name = map[int32]string{
0: "ARCHIVE_BLOCK",
1: "RESTORE_BLOCK",
}
View Source
var ArchiveFunction_value = map[string]int32{
"ARCHIVE_BLOCK": 0,
"RESTORE_BLOCK": 1,
}
View Source
var BondStatus_name = map[int32]string{
0: "BONDED",
1: "UNBONDING",
2: "UNBONDED",
}
View Source
var BondStatus_value = map[string]int32{
"BONDED": 0,
"UNBONDING": 1,
"UNBONDED": 2,
}
View Source
var CertManageFunction_name = map[int32]string{
0: "CERT_ADD",
1: "CERTS_DELETE",
2: "CERTS_QUERY",
3: "CERTS_FREEZE",
4: "CERTS_UNFREEZE",
5: "CERTS_REVOKE",
6: "CERTS_ALIAS_ADD",
7: "CERTS_ALIAS_UPDATE",
8: "CERTS_ALIAS_DELETE",
9: "CERTS_ALIAS_QUERY",
}
View Source
var CertManageFunction_value = map[string]int32{
"CERT_ADD": 0,
"CERTS_DELETE": 1,
"CERTS_QUERY": 2,
"CERTS_FREEZE": 3,
"CERTS_UNFREEZE": 4,
"CERTS_REVOKE": 5,
"CERTS_ALIAS_ADD": 6,
"CERTS_ALIAS_UPDATE": 7,
"CERTS_ALIAS_DELETE": 8,
"CERTS_ALIAS_QUERY": 9,
}
View Source
var ChainConfigFunction_name = map[int32]string{
0: "GET_CHAIN_CONFIG",
1: "GET_CHAIN_CONFIG_AT",
2: "CORE_UPDATE",
3: "BLOCK_UPDATE",
4: "TRUST_ROOT_ADD",
5: "TRUST_ROOT_UPDATE",
6: "TRUST_ROOT_DELETE",
7: "NODE_ADDR_ADD",
8: "NODE_ADDR_UPDATE",
9: "NODE_ADDR_DELETE",
10: "NODE_ORG_ADD",
11: "NODE_ORG_UPDATE",
12: "NODE_ORG_DELETE",
13: "CONSENSUS_EXT_ADD",
14: "CONSENSUS_EXT_UPDATE",
15: "CONSENSUS_EXT_DELETE",
16: "PERMISSION_ADD",
17: "PERMISSION_UPDATE",
18: "PERMISSION_DELETE",
19: "NODE_ID_ADD",
20: "NODE_ID_UPDATE",
21: "NODE_ID_DELETE",
22: "TRUST_MEMBER_ADD",
23: "TRUST_MEMBER_UPDATE",
24: "TRUST_MEMBER_DELETE",
25: "ALTER_ADDR_TYPE",
26: "ENABLE_OR_DISABLE_GAS",
}
View Source
var ChainConfigFunction_value = map[string]int32{
"GET_CHAIN_CONFIG": 0,
"GET_CHAIN_CONFIG_AT": 1,
"CORE_UPDATE": 2,
"BLOCK_UPDATE": 3,
"TRUST_ROOT_ADD": 4,
"TRUST_ROOT_UPDATE": 5,
"TRUST_ROOT_DELETE": 6,
"NODE_ADDR_ADD": 7,
"NODE_ADDR_UPDATE": 8,
"NODE_ADDR_DELETE": 9,
"NODE_ORG_ADD": 10,
"NODE_ORG_UPDATE": 11,
"NODE_ORG_DELETE": 12,
"CONSENSUS_EXT_ADD": 13,
"CONSENSUS_EXT_UPDATE": 14,
"CONSENSUS_EXT_DELETE": 15,
"PERMISSION_ADD": 16,
"PERMISSION_UPDATE": 17,
"PERMISSION_DELETE": 18,
"NODE_ID_ADD": 19,
"NODE_ID_UPDATE": 20,
"NODE_ID_DELETE": 21,
"TRUST_MEMBER_ADD": 22,
"TRUST_MEMBER_UPDATE": 23,
"TRUST_MEMBER_DELETE": 24,
"ALTER_ADDR_TYPE": 25,
"ENABLE_OR_DISABLE_GAS": 26,
}
View Source
var ChainQueryFunction_name = map[int32]string{
0: "GET_BLOCK_BY_TX_ID",
1: "GET_TX_BY_TX_ID",
2: "GET_BLOCK_BY_HEIGHT",
3: "GET_CHAIN_INFO",
4: "GET_LAST_CONFIG_BLOCK",
5: "GET_BLOCK_BY_HASH",
6: "GET_NODE_CHAIN_LIST",
7: "GET_GOVERNANCE_CONTRACT",
8: "GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT",
9: "GET_BLOCK_WITH_TXRWSETS_BY_HASH",
10: "GET_LAST_BLOCK",
11: "GET_FULL_BLOCK_BY_HEIGHT",
12: "GET_BLOCK_HEIGHT_BY_TX_ID",
13: "GET_BLOCK_HEIGHT_BY_HASH",
14: "GET_BLOCK_HEADER_BY_HEIGHT",
15: "GET_ARCHIVED_BLOCK_HEIGHT",
16: "GET_ALL_CONTRACTS",
17: "GET_MERKLE_PATH_BY_TX_ID",
}
View Source
var ChainQueryFunction_value = map[string]int32{
"GET_BLOCK_BY_TX_ID": 0,
"GET_TX_BY_TX_ID": 1,
"GET_BLOCK_BY_HEIGHT": 2,
"GET_CHAIN_INFO": 3,
"GET_LAST_CONFIG_BLOCK": 4,
"GET_BLOCK_BY_HASH": 5,
"GET_NODE_CHAIN_LIST": 6,
"GET_GOVERNANCE_CONTRACT": 7,
"GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT": 8,
"GET_BLOCK_WITH_TXRWSETS_BY_HASH": 9,
"GET_LAST_BLOCK": 10,
"GET_FULL_BLOCK_BY_HEIGHT": 11,
"GET_BLOCK_HEIGHT_BY_TX_ID": 12,
"GET_BLOCK_HEIGHT_BY_HASH": 13,
"GET_BLOCK_HEADER_BY_HEIGHT": 14,
"GET_ARCHIVED_BLOCK_HEIGHT": 15,
"GET_ALL_CONTRACTS": 16,
"GET_MERKLE_PATH_BY_TX_ID": 17,
}
View Source
var ContractAccess_Parameter_name = map[int32]string{
0: "NATIVE_CONTRACT_NAME",
}
View Source
var ContractAccess_Parameter_value = map[string]int32{
"NATIVE_CONTRACT_NAME": 0,
}
View Source
var ContractManageFunction_name = map[int32]string{
0: "INIT_CONTRACT",
1: "UPGRADE_CONTRACT",
2: "FREEZE_CONTRACT",
3: "UNFREEZE_CONTRACT",
4: "REVOKE_CONTRACT",
5: "GRANT_CONTRACT_ACCESS",
6: "REVOKE_CONTRACT_ACCESS",
7: "VERIFY_CONTRACT_ACCESS",
8: "INIT_NEW_NATIVE_CONTRACT",
}
View Source
var ContractManageFunction_value = map[string]int32{
"INIT_CONTRACT": 0,
"UPGRADE_CONTRACT": 1,
"FREEZE_CONTRACT": 2,
"UNFREEZE_CONTRACT": 3,
"REVOKE_CONTRACT": 4,
"GRANT_CONTRACT_ACCESS": 5,
"REVOKE_CONTRACT_ACCESS": 6,
"VERIFY_CONTRACT_ACCESS": 7,
"INIT_NEW_NATIVE_CONTRACT": 8,
}
View Source
var ContractQueryFunction_name = map[int32]string{
0: "GET_CONTRACT_INFO",
1: "GET_CONTRACT_BYTECODE",
2: "GET_CONTRACT_LIST",
3: "GET_DISABLED_CONTRACT_LIST",
}
View Source
var ContractQueryFunction_value = map[string]int32{
"GET_CONTRACT_INFO": 0,
"GET_CONTRACT_BYTECODE": 1,
"GET_CONTRACT_LIST": 2,
"GET_DISABLED_CONTRACT_LIST": 3,
}
View Source
var ContractStatus_name = map[int32]string{
0: "NORMAL",
1: "FROZEN",
2: "REVOKED",
}
View Source
var ContractStatus_value = map[string]int32{
"NORMAL": 0,
"FROZEN": 1,
"REVOKED": 2,
}
View Source
var CrossArbitrateCmd_name = map[int32]string{
0: "AUTO_CMD",
1: "EXECUTE_CMD",
2: "COMMIT_CMD",
3: "ROLLBACK_CMD",
}
View Source
var CrossArbitrateCmd_value = map[string]int32{
"AUTO_CMD": 0,
"EXECUTE_CMD": 1,
"COMMIT_CMD": 2,
"ROLLBACK_CMD": 3,
}
View Source
var CrossTransactionFunction_name = map[int32]string{
0: "EXECUTE",
1: "COMMIT",
2: "ROLLBACK",
3: "READ_STATE",
4: "SAVE_PROOF",
5: "READ_PROOF",
6: "ARBITRATE",
}
View Source
var CrossTransactionFunction_value = map[string]int32{
"EXECUTE": 0,
"COMMIT": 1,
"ROLLBACK": 2,
"READ_STATE": 3,
"SAVE_PROOF": 4,
"READ_PROOF": 5,
"ARBITRATE": 6,
}
View Source
var CrossTxState_name = map[int32]string{
0: "NON_EXIST",
1: "INIT",
2: "EXECUTE_OK",
3: "EXECUTE_FAIL",
4: "COMMIT_OK",
5: "COMMIT_FAIL",
6: "ROLLBACK_OK",
7: "ROLLBACK_FAIL",
}
View Source
var CrossTxState_value = map[string]int32{
"NON_EXIST": 0,
"INIT": 1,
"EXECUTE_OK": 2,
"EXECUTE_FAIL": 3,
"COMMIT_OK": 4,
"COMMIT_FAIL": 5,
"ROLLBACK_OK": 6,
"ROLLBACK_FAIL": 7,
}
View Source
var DPoSERC20Function_name = map[int32]string{
0: "GET_OWNER",
1: "GET_DECIMALS",
2: "TRANSFER",
3: "TRANSFER_FROM",
4: "GET_BALANCEOF",
5: "APPROVE",
6: "GET_ALLOWANCE",
7: "BURN",
8: "MINT",
9: "TRANSFER_OWNERSHIP",
10: "GET_TOTAL_SUPPLY",
}
View Source
var DPoSERC20Function_value = map[string]int32{
"GET_OWNER": 0,
"GET_DECIMALS": 1,
"TRANSFER": 2,
"TRANSFER_FROM": 3,
"GET_BALANCEOF": 4,
"APPROVE": 5,
"GET_ALLOWANCE": 6,
"BURN": 7,
"MINT": 8,
"TRANSFER_OWNERSHIP": 9,
"GET_TOTAL_SUPPLY": 10,
}
View Source
var DPoSStakeFunction_name = map[int32]string{
0: "GET_ALL_CANDIDATES",
1: "GET_VALIDATOR_BY_ADDRESS",
2: "DELEGATE",
3: "GET_DELEGATIONS_BY_ADDRESS",
4: "GET_USER_DELEGATION_BY_VALIDATOR",
5: "UNDELEGATE",
6: "READ_EPOCH_BY_ID",
7: "READ_LATEST_EPOCH",
8: "SET_NODE_ID",
9: "GET_NODE_ID",
10: "UPDATE_MIN_SELF_DELEGATION",
11: "READ_MIN_SELF_DELEGATION",
12: "UPDATE_EPOCH_VALIDATOR_NUMBER",
13: "READ_EPOCH_VALIDATOR_NUMBER",
14: "UPDATE_EPOCH_BLOCK_NUMBER",
15: "READ_EPOCH_BLOCK_NUMBER",
16: "READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER",
18: "READ_SYSTEM_CONTRACT_ADDR",
}
View Source
var DPoSStakeFunction_value = map[string]int32{
"GET_ALL_CANDIDATES": 0,
"GET_VALIDATOR_BY_ADDRESS": 1,
"DELEGATE": 2,
"GET_DELEGATIONS_BY_ADDRESS": 3,
"GET_USER_DELEGATION_BY_VALIDATOR": 4,
"UNDELEGATE": 5,
"READ_EPOCH_BY_ID": 6,
"READ_LATEST_EPOCH": 7,
"SET_NODE_ID": 8,
"GET_NODE_ID": 9,
"UPDATE_MIN_SELF_DELEGATION": 10,
"READ_MIN_SELF_DELEGATION": 11,
"UPDATE_EPOCH_VALIDATOR_NUMBER": 12,
"READ_EPOCH_VALIDATOR_NUMBER": 13,
"UPDATE_EPOCH_BLOCK_NUMBER": 14,
"READ_EPOCH_BLOCK_NUMBER": 15,
"READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER": 16,
"READ_SYSTEM_CONTRACT_ADDR": 18,
}
View Source
var GasAccountFunction_name = map[int32]string{
0: "SET_ADMIN",
1: "GET_ADMIN",
2: "RECHARGE_GAS",
3: "GET_BALANCE",
4: "CHARGE_GAS",
5: "FROZEN_ACCOUNT",
6: "UNFROZEN_ACCOUNT",
7: "ACCOUNT_STATUS",
8: "REFUND_GAS",
9: "REFUND_GAS_VM",
}
View Source
var GasAccountFunction_value = map[string]int32{
"SET_ADMIN": 0,
"GET_ADMIN": 1,
"RECHARGE_GAS": 2,
"GET_BALANCE": 3,
"CHARGE_GAS": 4,
"FROZEN_ACCOUNT": 5,
"UNFROZEN_ACCOUNT": 6,
"ACCOUNT_STATUS": 7,
"REFUND_GAS": 8,
"REFUND_GAS_VM": 9,
}
View Source
var GetContractInfo_Parameter_name = map[int32]string{
0: "NATIVE_CONTRACT_NAME",
}
View Source
var GetContractInfo_Parameter_value = map[string]int32{
"NATIVE_CONTRACT_NAME": 0,
}
View Source
var InitContract_Parameter_name = map[int32]string{
0: "CONTRACT_NAME",
1: "CONTRACT_RUNTIME_TYPE",
2: "CONTRACT_VERSION",
3: "CONTRACT_BYTECODE",
}
View Source
var InitContract_Parameter_value = map[string]int32{
"CONTRACT_NAME": 0,
"CONTRACT_RUNTIME_TYPE": 1,
"CONTRACT_VERSION": 2,
"CONTRACT_BYTECODE": 3,
}
View Source
var MultiQuery_Parameter_name = map[int32]string{
0: "TX_ID",
}
View Source
var MultiQuery_Parameter_value = map[string]int32{
"TX_ID": 0,
}
View Source
var MultiRequest_Parameter_name = map[int32]string{
0: "SYS_CONTRACT_NAME",
1: "SYS_METHOD",
}
View Source
var MultiRequest_Parameter_value = map[string]int32{
"SYS_CONTRACT_NAME": 0,
"SYS_METHOD": 1,
}
View Source
var MultiSignFunction_name = map[int32]string{
0: "REQ",
1: "VOTE",
2: "QUERY",
}
View Source
var MultiSignFunction_value = map[string]int32{
"REQ": 0,
"VOTE": 1,
"QUERY": 2,
}
View Source
var MultiSignStatus_name = map[int32]string{
0: "PROCESSING",
1: "ADOPTED",
2: "REFUSED",
3: "FAILED",
}
View Source
var MultiSignStatus_value = map[string]int32{
"PROCESSING": 0,
"ADOPTED": 1,
"REFUSED": 2,
"FAILED": 3,
}
View Source
var MultiVote_Parameter_name = map[int32]string{
0: "VOTE_INFO",
1: "TX_ID",
}
View Source
var MultiVote_Parameter_value = map[string]int32{
"VOTE_INFO": 0,
"TX_ID": 1,
}
View Source
var PrivateComputeFunction_name = map[int32]string{
0: "GET_CONTRACT",
1: "GET_DATA",
2: "SAVE_CA_CERT",
3: "SAVE_DIR",
4: "SAVE_DATA",
5: "SAVE_ENCLAVE_REPORT",
6: "GET_ENCLAVE_PROOF",
7: "GET_CA_CERT",
8: "GET_DIR",
9: "CHECK_CALLER_CERT_AUTH",
10: "GET_ENCLAVE_ENCRYPT_PUB_KEY",
11: "GET_ENCLAVE_VERIFICATION_PUB_KEY",
12: "GET_ENCLAVE_REPORT",
13: "GET_ENCLAVE_CHALLENGE",
14: "GET_ENCLAVE_SIGNATURE",
15: "SAVE_REMOTE_ATTESTATION",
}
View Source
var PrivateComputeFunction_value = map[string]int32{
"GET_CONTRACT": 0,
"GET_DATA": 1,
"SAVE_CA_CERT": 2,
"SAVE_DIR": 3,
"SAVE_DATA": 4,
"SAVE_ENCLAVE_REPORT": 5,
"GET_ENCLAVE_PROOF": 6,
"GET_CA_CERT": 7,
"GET_DIR": 8,
"CHECK_CALLER_CERT_AUTH": 9,
"GET_ENCLAVE_ENCRYPT_PUB_KEY": 10,
"GET_ENCLAVE_VERIFICATION_PUB_KEY": 11,
"GET_ENCLAVE_REPORT": 12,
"GET_ENCLAVE_CHALLENGE": 13,
"GET_ENCLAVE_SIGNATURE": 14,
"SAVE_REMOTE_ATTESTATION": 15,
}
View Source
var PubkeyManageFunction_name = map[int32]string{
0: "PUBKEY_ADD",
1: "PUBKEY_DELETE",
2: "PUBKEY_QUERY",
}
View Source
var PubkeyManageFunction_value = map[string]int32{
"PUBKEY_ADD": 0,
"PUBKEY_DELETE": 1,
"PUBKEY_QUERY": 2,
}
View Source
var RestoreBlock_Parameter_name = map[int32]string{
0: "FULL_BLOCK",
}
View Source
var RestoreBlock_Parameter_value = map[string]int32{
"FULL_BLOCK": 0,
}
View Source
var RevokeContract_Parameter_name = map[int32]string{
0: "CONTRACT_NAME",
}
View Source
var RevokeContract_Parameter_value = map[string]int32{
"CONTRACT_NAME": 0,
}
View Source
var SubscribeBlock_Parameter_name = map[int32]string{
0: "START_BLOCK",
1: "END_BLOCK",
2: "WITH_RWSET",
3: "ONLY_HEADER",
}
View Source
var SubscribeBlock_Parameter_value = map[string]int32{
"START_BLOCK": 0,
"END_BLOCK": 1,
"WITH_RWSET": 2,
"ONLY_HEADER": 3,
}
View Source
var SubscribeContractEvent_Parameter_name = map[int32]string{
0: "TOPIC",
1: "CONTRACT_NAME",
2: "START_BLOCK",
3: "END_BLOCK",
}
View Source
var SubscribeContractEvent_Parameter_value = map[string]int32{
"TOPIC": 0,
"CONTRACT_NAME": 1,
"START_BLOCK": 2,
"END_BLOCK": 3,
}
View Source
var SubscribeFunction_name = map[int32]string{
0: "SUBSCRIBE_BLOCK",
1: "SUBSCRIBE_TX",
2: "SUBSCRIBE_CONTRACT_EVENT",
}
View Source
var SubscribeFunction_value = map[string]int32{
"SUBSCRIBE_BLOCK": 0,
"SUBSCRIBE_TX": 1,
"SUBSCRIBE_CONTRACT_EVENT": 2,
}
View Source
var SubscribeTx_Parameter_name = map[int32]string{
0: "START_BLOCK",
1: "END_BLOCK",
2: "CONTRACT_NAME",
3: "TX_IDS",
}
View Source
var SubscribeTx_Parameter_value = map[string]int32{
"START_BLOCK": 0,
"END_BLOCK": 1,
"CONTRACT_NAME": 2,
"TX_IDS": 3,
}
View Source
var SystemContract_name = map[int32]string{
0: "CHAIN_CONFIG",
1: "CHAIN_QUERY",
2: "CERT_MANAGE",
3: "GOVERNANCE",
4: "MULTI_SIGN",
5: "CONTRACT_MANAGE",
6: "PRIVATE_COMPUTE",
7: "DPOS_ERC20",
8: "DPOS_STAKE",
9: "SUBSCRIBE_MANAGE",
10: "ARCHIVE_MANAGE",
11: "CROSS_TRANSACTION",
12: "PUBKEY_MANAGE",
13: "ACCOUNT_MANAGER",
99: "T",
}
View Source
var SystemContract_value = map[string]int32{
"CHAIN_CONFIG": 0,
"CHAIN_QUERY": 1,
"CERT_MANAGE": 2,
"GOVERNANCE": 3,
"MULTI_SIGN": 4,
"CONTRACT_MANAGE": 5,
"PRIVATE_COMPUTE": 6,
"DPOS_ERC20": 7,
"DPOS_STAKE": 8,
"SUBSCRIBE_MANAGE": 9,
"ARCHIVE_MANAGE": 10,
"CROSS_TRANSACTION": 11,
"PUBKEY_MANAGE": 12,
"ACCOUNT_MANAGER": 13,
"T": 99,
}
View Source
var TestContractFunction_name = map[int32]string{
0: "P",
1: "G",
2: "N",
3: "D",
}
View Source
var TestContractFunction_value = map[string]int32{
"P": 0,
"G": 1,
"N": 2,
"D": 3,
}
View Source
var UnfreezeContract_Parameter_name = map[int32]string{
0: "CONTRACT_NAME",
}
View Source
var UnfreezeContract_Parameter_value = map[string]int32{
"CONTRACT_NAME": 0,
}
View Source
var UpgradeContract_Parameter_name = map[int32]string{
0: "CONTRACT_NAME",
1: "CONTRACT_RUNTIME",
2: "CONTRACT_VERSION",
3: "CONTRACT_BYTECODE",
}
View Source
var UpgradeContract_Parameter_value = map[string]int32{
"CONTRACT_NAME": 0,
"CONTRACT_RUNTIME": 1,
"CONTRACT_VERSION": 2,
"CONTRACT_BYTECODE": 3,
}
View Source
var VoteStatus_name = map[int32]string{
0: "AGREE",
1: "REJECT",
}
View Source
var VoteStatus_value = map[string]int32{
"AGREE": 0,
"REJECT": 1,
}
Functions ¶
This section is empty.
Types ¶
type AccountMultiSign ¶
type AccountMultiSign struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` ClientSign []byte `protobuf:"bytes,2,opt,name=client_sign,json=clientSign,proto3" json:"client_sign,omitempty"` PublicKeyInfo []byte `protobuf:"bytes,3,opt,name=public_key_info,json=publicKeyInfo,proto3" json:"public_key_info,omitempty"` }
func (*AccountMultiSign) Descriptor ¶
func (*AccountMultiSign) Descriptor() ([]byte, []int)
func (*AccountMultiSign) GetClientSign ¶
func (m *AccountMultiSign) GetClientSign() []byte
func (*AccountMultiSign) GetPayload ¶
func (m *AccountMultiSign) GetPayload() []byte
func (*AccountMultiSign) GetPublicKeyInfo ¶
func (m *AccountMultiSign) GetPublicKeyInfo() []byte
func (*AccountMultiSign) Marshal ¶
func (m *AccountMultiSign) Marshal() (dAtA []byte, err error)
func (*AccountMultiSign) MarshalToSizedBuffer ¶
func (m *AccountMultiSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountMultiSign) ProtoMessage ¶
func (*AccountMultiSign) ProtoMessage()
func (*AccountMultiSign) Reset ¶
func (m *AccountMultiSign) Reset()
func (*AccountMultiSign) Size ¶
func (m *AccountMultiSign) Size() (n int)
func (*AccountMultiSign) String ¶
func (m *AccountMultiSign) String() string
func (*AccountMultiSign) Unmarshal ¶
func (m *AccountMultiSign) Unmarshal(dAtA []byte) error
func (*AccountMultiSign) XXX_DiscardUnknown ¶
func (m *AccountMultiSign) XXX_DiscardUnknown()
func (*AccountMultiSign) XXX_Marshal ¶
func (m *AccountMultiSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountMultiSign) XXX_Merge ¶
func (m *AccountMultiSign) XXX_Merge(src proto.Message)
func (*AccountMultiSign) XXX_Size ¶
func (m *AccountMultiSign) XXX_Size() int
func (*AccountMultiSign) XXX_Unmarshal ¶
func (m *AccountMultiSign) XXX_Unmarshal(b []byte) error
type AccountMultiSignsRequest ¶
type AccountMultiSignsRequest struct { // 帐户多签请求 GasMultiSigns []*AccountMultiSign `protobuf:"bytes,1,rep,name=gas_multi_signs,json=gasMultiSigns,proto3" json:"gas_multi_signs,omitempty"` }
func (*AccountMultiSignsRequest) Descriptor ¶
func (*AccountMultiSignsRequest) Descriptor() ([]byte, []int)
func (*AccountMultiSignsRequest) GetGasMultiSigns ¶
func (m *AccountMultiSignsRequest) GetGasMultiSigns() []*AccountMultiSign
func (*AccountMultiSignsRequest) Marshal ¶
func (m *AccountMultiSignsRequest) Marshal() (dAtA []byte, err error)
func (*AccountMultiSignsRequest) MarshalTo ¶
func (m *AccountMultiSignsRequest) MarshalTo(dAtA []byte) (int, error)
func (*AccountMultiSignsRequest) MarshalToSizedBuffer ¶
func (m *AccountMultiSignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountMultiSignsRequest) ProtoMessage ¶
func (*AccountMultiSignsRequest) ProtoMessage()
func (*AccountMultiSignsRequest) Reset ¶
func (m *AccountMultiSignsRequest) Reset()
func (*AccountMultiSignsRequest) Size ¶
func (m *AccountMultiSignsRequest) Size() (n int)
func (*AccountMultiSignsRequest) String ¶
func (m *AccountMultiSignsRequest) String() string
func (*AccountMultiSignsRequest) Unmarshal ¶
func (m *AccountMultiSignsRequest) Unmarshal(dAtA []byte) error
func (*AccountMultiSignsRequest) XXX_DiscardUnknown ¶
func (m *AccountMultiSignsRequest) XXX_DiscardUnknown()
func (*AccountMultiSignsRequest) XXX_Marshal ¶
func (m *AccountMultiSignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountMultiSignsRequest) XXX_Merge ¶
func (m *AccountMultiSignsRequest) XXX_Merge(src proto.Message)
func (*AccountMultiSignsRequest) XXX_Size ¶
func (m *AccountMultiSignsRequest) XXX_Size() int
func (*AccountMultiSignsRequest) XXX_Unmarshal ¶
func (m *AccountMultiSignsRequest) XXX_Unmarshal(b []byte) error
type ArchiveBlock ¶
type ArchiveBlock struct { }
归档块有效数据参数
func (*ArchiveBlock) Descriptor ¶
func (*ArchiveBlock) Descriptor() ([]byte, []int)
func (*ArchiveBlock) Marshal ¶
func (m *ArchiveBlock) Marshal() (dAtA []byte, err error)
func (*ArchiveBlock) MarshalToSizedBuffer ¶
func (m *ArchiveBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ArchiveBlock) ProtoMessage ¶
func (*ArchiveBlock) ProtoMessage()
func (*ArchiveBlock) Reset ¶
func (m *ArchiveBlock) Reset()
func (*ArchiveBlock) Size ¶
func (m *ArchiveBlock) Size() (n int)
func (*ArchiveBlock) String ¶
func (m *ArchiveBlock) String() string
func (*ArchiveBlock) Unmarshal ¶
func (m *ArchiveBlock) Unmarshal(dAtA []byte) error
func (*ArchiveBlock) XXX_DiscardUnknown ¶
func (m *ArchiveBlock) XXX_DiscardUnknown()
func (*ArchiveBlock) XXX_Marshal ¶
func (m *ArchiveBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveBlock) XXX_Merge ¶
func (m *ArchiveBlock) XXX_Merge(src proto.Message)
func (*ArchiveBlock) XXX_Size ¶
func (m *ArchiveBlock) XXX_Size() int
func (*ArchiveBlock) XXX_Unmarshal ¶
func (m *ArchiveBlock) XXX_Unmarshal(b []byte) error
type ArchiveBlock_Parameter ¶
type ArchiveBlock_Parameter int32
const (
ArchiveBlock_BLOCK_HEIGHT ArchiveBlock_Parameter = 0
)
func (ArchiveBlock_Parameter) EnumDescriptor ¶
func (ArchiveBlock_Parameter) EnumDescriptor() ([]byte, []int)
func (ArchiveBlock_Parameter) String ¶
func (x ArchiveBlock_Parameter) String() string
type ArchiveFunction ¶
type ArchiveFunction int32
存档块的方法
const ( ArchiveFunction_ARCHIVE_BLOCK ArchiveFunction = 0 ArchiveFunction_RESTORE_BLOCK ArchiveFunction = 1 )
func (ArchiveFunction) EnumDescriptor ¶
func (ArchiveFunction) EnumDescriptor() ([]byte, []int)
func (ArchiveFunction) String ¶
func (x ArchiveFunction) String() string
type BondStatus ¶
type BondStatus int32
const ( BondStatus_BONDED BondStatus = 0 BondStatus_UNBONDING BondStatus = 1 BondStatus_UNBONDED BondStatus = 2 )
func (BondStatus) EnumDescriptor ¶
func (BondStatus) EnumDescriptor() ([]byte, []int)
func (BondStatus) String ¶
func (x BondStatus) String() string
type CertManageFunction ¶
type CertManageFunction int32
证书管理方法
const ( // 添加一个证书 CertManageFunction_CERT_ADD CertManageFunction = 0 // 删除证书 CertManageFunction_CERTS_DELETE CertManageFunction = 1 // 查询证书 CertManageFunction_CERTS_QUERY CertManageFunction = 2 // 冻结证书 CertManageFunction_CERTS_FREEZE CertManageFunction = 3 // 解冻证书 CertManageFunction_CERTS_UNFREEZE CertManageFunction = 4 // 撤销证书 CertManageFunction_CERTS_REVOKE CertManageFunction = 5 // 添加一个证书别名,任意 CertManageFunction_CERTS_ALIAS_ADD CertManageFunction = 6 // 更新一个证书别名,self CertManageFunction_CERTS_ALIAS_UPDATE CertManageFunction = 7 // 删除证书别名,admin CertManageFunction_CERTS_ALIAS_DELETE CertManageFunction = 8 // 查询证书别名,admin CertManageFunction_CERTS_ALIAS_QUERY CertManageFunction = 9 )
func (CertManageFunction) EnumDescriptor ¶
func (CertManageFunction) EnumDescriptor() ([]byte, []int)
func (CertManageFunction) String ¶
func (x CertManageFunction) String() string
type ChainConfigFunction ¶
type ChainConfigFunction int32
链配置合约的方法
const ( // 获取链配置 ChainConfigFunction_GET_CHAIN_CONFIG ChainConfigFunction = 0 // 获取最新的配置块 传入的块高度必须存在于数据库中 ChainConfigFunction_GET_CHAIN_CONFIG_AT ChainConfigFunction = 1 // 更新核心 ChainConfigFunction_CORE_UPDATE ChainConfigFunction = 2 // 更新块 ChainConfigFunction_BLOCK_UPDATE ChainConfigFunction = 3 // 添加可信证书(org_id 和 root) ChainConfigFunction_TRUST_ROOT_ADD ChainConfigFunction = 4 // [self] 修改个人自己的信任根证书[org_id必须存在于原trust_roots中,新的根证书必须与其他证书不同] ChainConfigFunction_TRUST_ROOT_UPDATE ChainConfigFunction = 5 // 删除可信根证书[org_id应该在trust_nodes中需要删除的节点] ChainConfigFunction_TRUST_ROOT_DELETE ChainConfigFunction = 6 // 组织添加节点地址 org_id 必须已经存在于节点中,可以批量添加地址,参数为addresses。 // 单个地址用“,”分隔 // ip+port和peerid不能重复 // 不推荐使用,替换为 NODE_ID_ADD ChainConfigFunction_NODE_ADDR_ADD ChainConfigFunction = 7 // [self] 组织更新地址 [org_id 和地址必须已经存在于节点中,new_address 是新地址。 // ip+port 和 peerId 不能重复] // 不推荐使用,替换为 NODE_ID_UPDATE ChainConfigFunction_NODE_ADDR_UPDATE ChainConfigFunction = 8 // 组织删除节点地址 [org_id 和地址必须已经存在于节点中] // 不推荐使用,替换为 NODE_ID_DELETE ChainConfigFunction_NODE_ADDR_DELETE ChainConfigFunction = 9 // 组织添加节点地址批量[org_ids不存在,添加多个节点地址,参数为node_ids, // 单地址用id重复地址","隔开。nodeId不能用id重复地址] ChainConfigFunction_NODE_ORG_ADD ChainConfigFunction = 10 // 组织更新 // org_id 必须已经存在于节点中,参数为addresses,单个地址用“,”隔开 // ip+port和peerid不能重复 ChainConfigFunction_NODE_ORG_UPDATE ChainConfigFunction = 11 // 组织删除,org_id 必须已经存在于节点中 ChainConfigFunction_NODE_ORG_DELETE ChainConfigFunction = 12 // 添加共识参数,key在ext_config中不退出 ChainConfigFunction_CONSENSUS_EXT_ADD ChainConfigFunction = 13 // 更新 onsensus 参数,在 ext_config 中退出键 ChainConfigFunction_CONSENSUS_EXT_UPDATE ChainConfigFunction = 14 // 删除 onsensus 参数,在 ext_config 中键退出 ChainConfigFunction_CONSENSUS_EXT_DELETE ChainConfigFunction = 15 // 添加权限 ChainConfigFunction_PERMISSION_ADD ChainConfigFunction = 16 // 更新权限 ChainConfigFunction_PERMISSION_UPDATE ChainConfigFunction = 17 // 删除权限 ChainConfigFunction_PERMISSION_DELETE ChainConfigFunction = 18 // 组织添加 node_id // org_id必须已经存在于节点中,可以批量添加node_id // 参数是node_ids。单个 node_id 用“,”分隔 // node_id 不能重复 ChainConfigFunction_NODE_ID_ADD ChainConfigFunction = 19 // [self]组织更新一个node_ids // [org_id和node_ids必须已经存在于节点中,new_node_id就是新的node_id。 node_id 不能重复] ChainConfigFunction_NODE_ID_UPDATE ChainConfigFunction = 20 // 组织删除 node_id [org_id 和 node_id 必须已经存在于节点中] ChainConfigFunction_NODE_ID_DELETE ChainConfigFunction = 21 // 添加受信任的成员(org_id signcert 角色 node_id) ChainConfigFunction_TRUST_MEMBER_ADD ChainConfigFunction = 22 // [self] 修改个人自己的信任成员 [node_id 必须存在于原信任成员中,并且新信任成员必须与其他信任成员不同] ChainConfigFunction_TRUST_MEMBER_UPDATE ChainConfigFunction = 23 // 删除信任成员证书 [node_id应该在trust_nodes中需要删除的节点] ChainConfigFunction_TRUST_MEMBER_DELETE ChainConfigFunction = 24 // 改变地址类型 ChainConfigFunction_ALTER_ADDR_TYPE ChainConfigFunction = 25 // 能够或启用气体计算 ChainConfigFunction_ENABLE_OR_DISABLE_GAS ChainConfigFunction = 26 )
func (ChainConfigFunction) EnumDescriptor ¶
func (ChainConfigFunction) EnumDescriptor() ([]byte, []int)
func (ChainConfigFunction) String ¶
func (x ChainConfigFunction) String() string
type ChainQueryFunction ¶
type ChainQueryFunction int32
链查询合约的方法
const ( // 通过 transactionId 获取区块 ChainQueryFunction_GET_BLOCK_BY_TX_ID ChainQueryFunction = 0 // 通过 transactionId 获取交易 ChainQueryFunction_GET_TX_BY_TX_ID ChainQueryFunction = 1 // 按块高度获取块 ChainQueryFunction_GET_BLOCK_BY_HEIGHT ChainQueryFunction = 2 // 获取链信息,包括当前高度和共识节点列表 ChainQueryFunction_GET_CHAIN_INFO ChainQueryFunction = 3 // 获取最后一个配置块 ChainQueryFunction_GET_LAST_CONFIG_BLOCK ChainQueryFunction = 4 // 逐块获取哈希 ChainQueryFunction_GET_BLOCK_BY_HASH ChainQueryFunction = 5 // 获取节点知道的链列表 ChainQueryFunction_GET_NODE_CHAIN_LIST ChainQueryFunction = 6 // 获取治理信息 ChainQueryFunction_GET_GOVERNANCE_CONTRACT ChainQueryFunction = 7 // 以八为单位获取读/写集信息 ChainQueryFunction_GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT ChainQueryFunction = 8 // 通过哈希获取读/写集合信息 ChainQueryFunction_GET_BLOCK_WITH_TXRWSETS_BY_HASH ChainQueryFunction = 9 // 获取最后一个块 ChainQueryFunction_GET_LAST_BLOCK ChainQueryFunction = 10 // 按高度获取完整块 ChainQueryFunction_GET_FULL_BLOCK_BY_HEIGHT ChainQueryFunction = 11 // 通过 tx id 获取区块高度 ChainQueryFunction_GET_BLOCK_HEIGHT_BY_TX_ID ChainQueryFunction = 12 // 通过哈希获取区块高度 ChainQueryFunction_GET_BLOCK_HEIGHT_BY_HASH ChainQueryFunction = 13 // 按高度获取块头 ChainQueryFunction_GET_BLOCK_HEADER_BY_HEIGHT ChainQueryFunction = 14 // 获取归档块高度 ChainQueryFunction_GET_ARCHIVED_BLOCK_HEIGHT ChainQueryFunction = 15 // 获取所有合约信息列表 ChainQueryFunction_GET_ALL_CONTRACTS ChainQueryFunction = 16 // 通过 tx id 获取 merkle 路径 ChainQueryFunction_GET_MERKLE_PATH_BY_TX_ID ChainQueryFunction = 17 )
func (ChainQueryFunction) EnumDescriptor ¶
func (ChainQueryFunction) EnumDescriptor() ([]byte, []int)
func (ChainQueryFunction) String ¶
func (x ChainQueryFunction) String() string
type ContractAccess ¶
type ContractAccess struct { }
func (*ContractAccess) Descriptor ¶
func (*ContractAccess) Descriptor() ([]byte, []int)
func (*ContractAccess) Marshal ¶
func (m *ContractAccess) Marshal() (dAtA []byte, err error)
func (*ContractAccess) MarshalToSizedBuffer ¶
func (m *ContractAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractAccess) ProtoMessage ¶
func (*ContractAccess) ProtoMessage()
func (*ContractAccess) Reset ¶
func (m *ContractAccess) Reset()
func (*ContractAccess) Size ¶
func (m *ContractAccess) Size() (n int)
func (*ContractAccess) String ¶
func (m *ContractAccess) String() string
func (*ContractAccess) Unmarshal ¶
func (m *ContractAccess) Unmarshal(dAtA []byte) error
func (*ContractAccess) XXX_DiscardUnknown ¶
func (m *ContractAccess) XXX_DiscardUnknown()
func (*ContractAccess) XXX_Marshal ¶
func (m *ContractAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAccess) XXX_Merge ¶
func (m *ContractAccess) XXX_Merge(src proto.Message)
func (*ContractAccess) XXX_Size ¶
func (m *ContractAccess) XXX_Size() int
func (*ContractAccess) XXX_Unmarshal ¶
func (m *ContractAccess) XXX_Unmarshal(b []byte) error
type ContractAccess_Parameter ¶
type ContractAccess_Parameter int32
const (
ContractAccess_NATIVE_CONTRACT_NAME ContractAccess_Parameter = 0
)
func (ContractAccess_Parameter) EnumDescriptor ¶
func (ContractAccess_Parameter) EnumDescriptor() ([]byte, []int)
func (ContractAccess_Parameter) String ¶
func (x ContractAccess_Parameter) String() string
type ContractInfo ¶
type ContractInfo struct {
ContractTransaction []*ContractTransaction `protobuf:"bytes,1,rep,name=contract_transaction,json=contractTransaction,proto3" json:"contract_transaction,omitempty"`
}
func (*ContractInfo) Descriptor ¶
func (*ContractInfo) Descriptor() ([]byte, []int)
func (*ContractInfo) GetContractTransaction ¶
func (m *ContractInfo) GetContractTransaction() []*ContractTransaction
func (*ContractInfo) Marshal ¶
func (m *ContractInfo) Marshal() (dAtA []byte, err error)
func (*ContractInfo) MarshalToSizedBuffer ¶
func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractInfo) ProtoMessage ¶
func (*ContractInfo) ProtoMessage()
func (*ContractInfo) Reset ¶
func (m *ContractInfo) Reset()
func (*ContractInfo) Size ¶
func (m *ContractInfo) Size() (n int)
func (*ContractInfo) String ¶
func (m *ContractInfo) String() string
func (*ContractInfo) Unmarshal ¶
func (m *ContractInfo) Unmarshal(dAtA []byte) error
func (*ContractInfo) XXX_DiscardUnknown ¶
func (m *ContractInfo) XXX_DiscardUnknown()
func (*ContractInfo) XXX_Marshal ¶
func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfo) XXX_Merge ¶
func (m *ContractInfo) XXX_Merge(src proto.Message)
func (*ContractInfo) XXX_Size ¶
func (m *ContractInfo) XXX_Size() int
func (*ContractInfo) XXX_Unmarshal ¶
func (m *ContractInfo) XXX_Unmarshal(b []byte) error
type ContractManageFunction ¶
type ContractManageFunction int32
用户管理合约方法
const ( // 初始化合约 ContractManageFunction_INIT_CONTRACT ContractManageFunction = 0 // 升级合约版本 ContractManageFunction_UPGRADE_CONTRACT ContractManageFunction = 1 // 冻结合约,暂时不能调用 ContractManageFunction_FREEZE_CONTRACT ContractManageFunction = 2 // 解冻合约到正常状态 ContractManageFunction_UNFREEZE_CONTRACT ContractManageFunction = 3 // 撤销合约,不能永久调用 ContractManageFunction_REVOKE_CONTRACT ContractManageFunction = 4 // 授予对本机合约的访问权限 ContractManageFunction_GRANT_CONTRACT_ACCESS ContractManageFunction = 5 // 撤销对原生合约的访问 ContractManageFunction_REVOKE_CONTRACT_ACCESS ContractManageFunction = 6 // 验证是否可以访问某个本地合约 ContractManageFunction_VERIFY_CONTRACT_ACCESS ContractManageFunction = 7 // 初始新的chain maker版本原生合约列表 ContractManageFunction_INIT_NEW_NATIVE_CONTRACT ContractManageFunction = 8 )
func (ContractManageFunction) EnumDescriptor ¶
func (ContractManageFunction) EnumDescriptor() ([]byte, []int)
func (ContractManageFunction) String ¶
func (x ContractManageFunction) String() string
type ContractQueryFunction ¶
type ContractQueryFunction int32
合同查询方法
const ( // 获取合同信息 ContractQueryFunction_GET_CONTRACT_INFO ContractQueryFunction = 0 // 获取合约字节码 ContractQueryFunction_GET_CONTRACT_BYTECODE ContractQueryFunction = 1 // 获取所有已安装的合同 ContractQueryFunction_GET_CONTRACT_LIST ContractQueryFunction = 2 // 获取原生合约列表可以访问 ContractQueryFunction_GET_DISABLED_CONTRACT_LIST ContractQueryFunction = 3 )
func (ContractQueryFunction) EnumDescriptor ¶
func (ContractQueryFunction) EnumDescriptor() ([]byte, []int)
func (ContractQueryFunction) String ¶
func (x ContractQueryFunction) String() string
type ContractStatus ¶
type ContractStatus int32
当前合约状态
const ( // 正常,可以调用 ContractStatus_NORMAL ContractStatus = 0 // 冻结,暂时不能调用 ContractStatus_FROZEN ContractStatus = 1 // 已撤销,不能永久调用 ContractStatus_REVOKED ContractStatus = 2 )
func (ContractStatus) EnumDescriptor ¶
func (ContractStatus) EnumDescriptor() ([]byte, []int)
func (ContractStatus) String ¶
func (x ContractStatus) String() string
type ContractTransaction ¶
type ContractTransaction struct { Contract *common.Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` TxId string `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` }
func (*ContractTransaction) Descriptor ¶
func (*ContractTransaction) Descriptor() ([]byte, []int)
func (*ContractTransaction) GetContract ¶
func (m *ContractTransaction) GetContract() *common.Contract
func (*ContractTransaction) GetTxId ¶
func (m *ContractTransaction) GetTxId() string
func (*ContractTransaction) Marshal ¶
func (m *ContractTransaction) Marshal() (dAtA []byte, err error)
func (*ContractTransaction) MarshalTo ¶
func (m *ContractTransaction) MarshalTo(dAtA []byte) (int, error)
func (*ContractTransaction) MarshalToSizedBuffer ¶
func (m *ContractTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractTransaction) ProtoMessage ¶
func (*ContractTransaction) ProtoMessage()
func (*ContractTransaction) Reset ¶
func (m *ContractTransaction) Reset()
func (*ContractTransaction) Size ¶
func (m *ContractTransaction) Size() (n int)
func (*ContractTransaction) String ¶
func (m *ContractTransaction) String() string
func (*ContractTransaction) Unmarshal ¶
func (m *ContractTransaction) Unmarshal(dAtA []byte) error
func (*ContractTransaction) XXX_DiscardUnknown ¶
func (m *ContractTransaction) XXX_DiscardUnknown()
func (*ContractTransaction) XXX_Marshal ¶
func (m *ContractTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractTransaction) XXX_Merge ¶
func (m *ContractTransaction) XXX_Merge(src proto.Message)
func (*ContractTransaction) XXX_Size ¶
func (m *ContractTransaction) XXX_Size() int
func (*ContractTransaction) XXX_Unmarshal ¶
func (m *ContractTransaction) XXX_Unmarshal(b []byte) error
type CrossArbitrateCmd ¶
type CrossArbitrateCmd int32
const ( // AUTO_CMD根据流程自动处理 CrossArbitrateCmd_AUTO_CMD CrossArbitrateCmd = 0 // EXECUTE_CMD 执行执行流程 CrossArbitrateCmd_EXECUTE_CMD CrossArbitrateCmd = 1 // COMMIT_CMD 执行提交流程 CrossArbitrateCmd_COMMIT_CMD CrossArbitrateCmd = 2 // COMMIT_CMD 执行回滚流程 CrossArbitrateCmd_ROLLBACK_CMD CrossArbitrateCmd = 3 )
func (CrossArbitrateCmd) EnumDescriptor ¶
func (CrossArbitrateCmd) EnumDescriptor() ([]byte, []int)
func (CrossArbitrateCmd) String ¶
func (x CrossArbitrateCmd) String() string
type CrossState ¶
type CrossState struct {
State CrossTxState `protobuf:"varint,1,opt,name=state,proto3,enum=syscontract.CrossTxState" json:"state,omitempty"`
}
func (*CrossState) Descriptor ¶
func (*CrossState) Descriptor() ([]byte, []int)
func (*CrossState) GetState ¶
func (m *CrossState) GetState() CrossTxState
func (*CrossState) Marshal ¶
func (m *CrossState) Marshal() (dAtA []byte, err error)
func (*CrossState) MarshalToSizedBuffer ¶
func (m *CrossState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CrossState) ProtoMessage ¶
func (*CrossState) ProtoMessage()
func (*CrossState) Reset ¶
func (m *CrossState) Reset()
func (*CrossState) Size ¶
func (m *CrossState) Size() (n int)
func (*CrossState) String ¶
func (m *CrossState) String() string
func (*CrossState) Unmarshal ¶
func (m *CrossState) Unmarshal(dAtA []byte) error
func (*CrossState) XXX_DiscardUnknown ¶
func (m *CrossState) XXX_DiscardUnknown()
func (*CrossState) XXX_Marshal ¶
func (m *CrossState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CrossState) XXX_Merge ¶
func (m *CrossState) XXX_Merge(src proto.Message)
func (*CrossState) XXX_Size ¶
func (m *CrossState) XXX_Size() int
func (*CrossState) XXX_Unmarshal ¶
func (m *CrossState) XXX_Unmarshal(b []byte) error
type CrossTransactionFunction ¶
type CrossTransactionFunction int32
const ( // 事务执行 CrossTransactionFunction_EXECUTE CrossTransactionFunction = 0 // 事务提交 CrossTransactionFunction_COMMIT CrossTransactionFunction = 1 // 事务回滚 CrossTransactionFunction_ROLLBACK CrossTransactionFunction = 2 // 读取交叉id状态 CrossTransactionFunction_READ_STATE CrossTransactionFunction = 3 // 保存交叉其他交易证明 CrossTransactionFunction_SAVE_PROOF CrossTransactionFunction = 4 // 读取交叉其他交易证明 CrossTransactionFunction_READ_PROOF CrossTransactionFunction = 5 // 仲裁交叉交易 CrossTransactionFunction_ARBITRATE CrossTransactionFunction = 6 )
func (CrossTransactionFunction) EnumDescriptor ¶
func (CrossTransactionFunction) EnumDescriptor() ([]byte, []int)
func (CrossTransactionFunction) String ¶
func (x CrossTransactionFunction) String() string
type CrossTxState ¶
type CrossTxState int32
const ( // NON_EXIST 交叉id不存在 CrossTxState_NON_EXIST CrossTxState = 0 // INIT只是标记这个十字架已经被处理 CrossTxState_INIT CrossTxState = 1 // EXECUTE_OK 跨tx执行成功 CrossTxState_EXECUTE_OK CrossTxState = 2 // EXECUTE_FAIL 跨 tx 执行失败 CrossTxState_EXECUTE_FAIL CrossTxState = 3 // COMMIT_OK 跨tx提交成功 CrossTxState_COMMIT_OK CrossTxState = 4 // COMMIT_FAIL 跨tx提交失败 CrossTxState_COMMIT_FAIL CrossTxState = 5 // ROLLBACK_OK 跨tx回滚成功 CrossTxState_ROLLBACK_OK CrossTxState = 6 // ROLLBACK_FAIL 跨tx回滚失败 CrossTxState_ROLLBACK_FAIL CrossTxState = 7 )
func (CrossTxState) EnumDescriptor ¶
func (CrossTxState) EnumDescriptor() ([]byte, []int)
func (CrossTxState) String ¶
func (x CrossTxState) String() string
type DPoSERC20Function ¶
type DPoSERC20Function int32
DPoS ERC20合约的方法
const ( // 获取 DPoS 的所有者 DPoSERC20Function_GET_OWNER DPoSERC20Function = 0 // 获取 DPoS 的小数 DPoSERC20Function_GET_DECIMALS DPoSERC20Function = 1 // 在 DPoS 转移代币 DPoSERC20Function_TRANSFER DPoSERC20Function = 2 // 在 DPoS 从用户那里转移代币 DPoSERC20Function_TRANSFER_FROM DPoSERC20Function = 3 // 在 DPoS 获取用户余额 DPoSERC20Function_GET_BALANCEOF DPoSERC20Function = 4 // 在 DPoS 将用户的令牌批准给其他用户 DPoSERC20Function_APPROVE DPoSERC20Function = 5 // 在 DPoS 获得津贴 DPoSERC20Function_GET_ALLOWANCE DPoSERC20Function = 6 // 在 DPoS 销毁代币 DPoSERC20Function_BURN DPoSERC20Function = 7 // 在 DPoS 铸造代币 DPoSERC20Function_MINT DPoSERC20Function = 8 // 在 DPoS 转移所有权 DPoSERC20Function_TRANSFER_OWNERSHIP DPoSERC20Function = 9 // 获取代币的总供应量 DPoSERC20Function_GET_TOTAL_SUPPLY DPoSERC20Function = 10 )
func (DPoSERC20Function) EnumDescriptor ¶
func (DPoSERC20Function) EnumDescriptor() ([]byte, []int)
func (DPoSERC20Function) String ¶
func (x DPoSERC20Function) String() string
type DPoSStakeFunction ¶
type DPoSStakeFunction int32
DPoS权益合约的方法
const ( // 获取所有候选验证者 DPoSStakeFunction_GET_ALL_CANDIDATES DPoSStakeFunction = 0 // 通过地址获取验证器 DPoSStakeFunction_GET_VALIDATOR_BY_ADDRESS DPoSStakeFunction = 1 // 代表 DPoSStakeFunction_DELEGATE DPoSStakeFunction = 2 // 通过地址获取委托 DPoSStakeFunction_GET_DELEGATIONS_BY_ADDRESS DPoSStakeFunction = 3 // 通过验证器获取用户委托 DPoSStakeFunction_GET_USER_DELEGATION_BY_VALIDATOR DPoSStakeFunction = 4 // 取消委托 DPoSStakeFunction_UNDELEGATE DPoSStakeFunction = 5 // 通过 id 读取 epoch DPoSStakeFunction_READ_EPOCH_BY_ID DPoSStakeFunction = 6 // 读取最新纪元 DPoSStakeFunction_READ_LATEST_EPOCH DPoSStakeFunction = 7 // 加入网络前设置节点 id DPoSStakeFunction_SET_NODE_ID DPoSStakeFunction = 8 // 加入网络后获取节点 id DPoSStakeFunction_GET_NODE_ID DPoSStakeFunction = 9 // 更新最小自我委托 DPoSStakeFunction_UPDATE_MIN_SELF_DELEGATION DPoSStakeFunction = 10 // 读取最小自我委托 DPoSStakeFunction_READ_MIN_SELF_DELEGATION DPoSStakeFunction = 11 // 更新 epoch 验证器编号 DPoSStakeFunction_UPDATE_EPOCH_VALIDATOR_NUMBER DPoSStakeFunction = 12 // 读取 epoch 验证器编号 DPoSStakeFunction_READ_EPOCH_VALIDATOR_NUMBER DPoSStakeFunction = 13 // 更新纪元块号 DPoSStakeFunction_UPDATE_EPOCH_BLOCK_NUMBER DPoSStakeFunction = 14 // 读取 epoch 块号 DPoSStakeFunction_READ_EPOCH_BLOCK_NUMBER DPoSStakeFunction = 15 // 读取完整的无界纪元数 DPoSStakeFunction_READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER DPoSStakeFunction = 16 // 读取系统合约地址 DPoSStakeFunction_READ_SYSTEM_CONTRACT_ADDR DPoSStakeFunction = 18 )
func (DPoSStakeFunction) EnumDescriptor ¶
func (DPoSStakeFunction) EnumDescriptor() ([]byte, []int)
func (DPoSStakeFunction) String ¶
func (x DPoSStakeFunction) String() string
type Delegation ¶
type Delegation struct { // 委托人证书哈希 DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` // 验证者证书哈希 ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"` }
func (*Delegation) Descriptor ¶
func (*Delegation) Descriptor() ([]byte, []int)
func (*Delegation) GetDelegatorAddress ¶
func (m *Delegation) GetDelegatorAddress() string
func (*Delegation) GetShares ¶
func (m *Delegation) GetShares() string
func (*Delegation) GetValidatorAddress ¶
func (m *Delegation) GetValidatorAddress() string
func (*Delegation) Marshal ¶
func (m *Delegation) Marshal() (dAtA []byte, err error)
func (*Delegation) MarshalToSizedBuffer ¶
func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Delegation) ProtoMessage ¶
func (*Delegation) ProtoMessage()
func (*Delegation) Reset ¶
func (m *Delegation) Reset()
func (*Delegation) Size ¶
func (m *Delegation) Size() (n int)
func (*Delegation) String ¶
func (m *Delegation) String() string
func (*Delegation) Unmarshal ¶
func (m *Delegation) Unmarshal(dAtA []byte) error
func (*Delegation) XXX_DiscardUnknown ¶
func (m *Delegation) XXX_DiscardUnknown()
func (*Delegation) XXX_Marshal ¶
func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Delegation) XXX_Merge ¶
func (m *Delegation) XXX_Merge(src proto.Message)
func (*Delegation) XXX_Size ¶
func (m *Delegation) XXX_Size() int
func (*Delegation) XXX_Unmarshal ¶
func (m *Delegation) XXX_Unmarshal(b []byte) error
type DelegationInfo ¶
type DelegationInfo struct { // 委托切片 Infos []*Delegation `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` }
func (*DelegationInfo) Descriptor ¶
func (*DelegationInfo) Descriptor() ([]byte, []int)
func (*DelegationInfo) GetInfos ¶
func (m *DelegationInfo) GetInfos() []*Delegation
func (*DelegationInfo) Marshal ¶
func (m *DelegationInfo) Marshal() (dAtA []byte, err error)
func (*DelegationInfo) MarshalToSizedBuffer ¶
func (m *DelegationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegationInfo) ProtoMessage ¶
func (*DelegationInfo) ProtoMessage()
func (*DelegationInfo) Reset ¶
func (m *DelegationInfo) Reset()
func (*DelegationInfo) Size ¶
func (m *DelegationInfo) Size() (n int)
func (*DelegationInfo) String ¶
func (m *DelegationInfo) String() string
func (*DelegationInfo) Unmarshal ¶
func (m *DelegationInfo) Unmarshal(dAtA []byte) error
func (*DelegationInfo) XXX_DiscardUnknown ¶
func (m *DelegationInfo) XXX_DiscardUnknown()
func (*DelegationInfo) XXX_Marshal ¶
func (m *DelegationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationInfo) XXX_Merge ¶
func (m *DelegationInfo) XXX_Merge(src proto.Message)
func (*DelegationInfo) XXX_Size ¶
func (m *DelegationInfo) XXX_Size() int
func (*DelegationInfo) XXX_Unmarshal ¶
func (m *DelegationInfo) XXX_Unmarshal(b []byte) error
type Epoch ¶
type Epoch struct { // 自增ID EpochId uint64 `protobuf:"varint,1,opt,name=epoch_id,json=epochId,proto3" json:"epoch_id,omitempty"` // 当前一代的验证器集合 ProposerVector []string `protobuf:"bytes,2,rep,name=proposer_vector,json=proposerVector,proto3" json:"proposer_vector,omitempty"` // 下一个epoch切换高度 NextEpochCreateHeight uint64 `` /* 129-byte string literal not displayed */ }
func (*Epoch) Descriptor ¶
func (*Epoch) GetEpochId ¶
func (*Epoch) GetNextEpochCreateHeight ¶
func (*Epoch) GetProposerVector ¶
func (*Epoch) ProtoMessage ¶
func (*Epoch) ProtoMessage()
func (*Epoch) XXX_DiscardUnknown ¶
func (m *Epoch) XXX_DiscardUnknown()
func (*Epoch) XXX_Marshal ¶
func (*Epoch) XXX_Unmarshal ¶
type GasAccountFunction ¶
type GasAccountFunction int32
私有计算合约的方法
const ( // 设置管理员 GasAccountFunction_SET_ADMIN GasAccountFunction = 0 // 获取管理员 GasAccountFunction_GET_ADMIN GasAccountFunction = 1 // 重新充 gas GasAccountFunction_RECHARGE_GAS GasAccountFunction = 2 // 获取余额 GasAccountFunction_GET_BALANCE GasAccountFunction = 3 // 充 gas GasAccountFunction_CHARGE_GAS GasAccountFunction = 4 // 冻结账户 GasAccountFunction_FROZEN_ACCOUNT GasAccountFunction = 5 // 解冻账户 GasAccountFunction_UNFROZEN_ACCOUNT GasAccountFunction = 6 // 帐户状态 GasAccountFunction_ACCOUNT_STATUS GasAccountFunction = 7 // 返还 gas GasAccountFunction_REFUND_GAS GasAccountFunction = 8 // 为 vm 返还 gas GasAccountFunction_REFUND_GAS_VM GasAccountFunction = 9 )
func (GasAccountFunction) EnumDescriptor ¶
func (GasAccountFunction) EnumDescriptor() ([]byte, []int)
func (GasAccountFunction) String ¶
func (x GasAccountFunction) String() string
type GetContractInfo ¶
type GetContractInfo struct { }
查询合约参数
func (*GetContractInfo) Descriptor ¶
func (*GetContractInfo) Descriptor() ([]byte, []int)
func (*GetContractInfo) Marshal ¶
func (m *GetContractInfo) Marshal() (dAtA []byte, err error)
func (*GetContractInfo) MarshalToSizedBuffer ¶
func (m *GetContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetContractInfo) ProtoMessage ¶
func (*GetContractInfo) ProtoMessage()
func (*GetContractInfo) Reset ¶
func (m *GetContractInfo) Reset()
func (*GetContractInfo) Size ¶
func (m *GetContractInfo) Size() (n int)
func (*GetContractInfo) String ¶
func (m *GetContractInfo) String() string
func (*GetContractInfo) Unmarshal ¶
func (m *GetContractInfo) Unmarshal(dAtA []byte) error
func (*GetContractInfo) XXX_DiscardUnknown ¶
func (m *GetContractInfo) XXX_DiscardUnknown()
func (*GetContractInfo) XXX_Marshal ¶
func (m *GetContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContractInfo) XXX_Merge ¶
func (m *GetContractInfo) XXX_Merge(src proto.Message)
func (*GetContractInfo) XXX_Size ¶
func (m *GetContractInfo) XXX_Size() int
func (*GetContractInfo) XXX_Unmarshal ¶
func (m *GetContractInfo) XXX_Unmarshal(b []byte) error
type GetContractInfo_Parameter ¶
type GetContractInfo_Parameter int32
const (
GetContractInfo_NATIVE_CONTRACT_NAME GetContractInfo_Parameter = 0
)
func (GetContractInfo_Parameter) EnumDescriptor ¶
func (GetContractInfo_Parameter) EnumDescriptor() ([]byte, []int)
func (GetContractInfo_Parameter) String ¶
func (x GetContractInfo_Parameter) String() string
type InitContract ¶
type InitContract struct { }
初始化合约参数
func (*InitContract) Descriptor ¶
func (*InitContract) Descriptor() ([]byte, []int)
func (*InitContract) Marshal ¶
func (m *InitContract) Marshal() (dAtA []byte, err error)
func (*InitContract) MarshalToSizedBuffer ¶
func (m *InitContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InitContract) ProtoMessage ¶
func (*InitContract) ProtoMessage()
func (*InitContract) Reset ¶
func (m *InitContract) Reset()
func (*InitContract) Size ¶
func (m *InitContract) Size() (n int)
func (*InitContract) String ¶
func (m *InitContract) String() string
func (*InitContract) Unmarshal ¶
func (m *InitContract) Unmarshal(dAtA []byte) error
func (*InitContract) XXX_DiscardUnknown ¶
func (m *InitContract) XXX_DiscardUnknown()
func (*InitContract) XXX_Marshal ¶
func (m *InitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitContract) XXX_Merge ¶
func (m *InitContract) XXX_Merge(src proto.Message)
func (*InitContract) XXX_Size ¶
func (m *InitContract) XXX_Size() int
func (*InitContract) XXX_Unmarshal ¶
func (m *InitContract) XXX_Unmarshal(b []byte) error
type InitContract_Parameter ¶
type InitContract_Parameter int32
const ( InitContract_CONTRACT_NAME InitContract_Parameter = 0 InitContract_CONTRACT_RUNTIME_TYPE InitContract_Parameter = 1 InitContract_CONTRACT_VERSION InitContract_Parameter = 2 InitContract_CONTRACT_BYTECODE InitContract_Parameter = 3 )
func (InitContract_Parameter) EnumDescriptor ¶
func (InitContract_Parameter) EnumDescriptor() ([]byte, []int)
func (InitContract_Parameter) String ¶
func (x InitContract_Parameter) String() string
type MultiQuery ¶
type MultiQuery struct { }
func (*MultiQuery) Descriptor ¶
func (*MultiQuery) Descriptor() ([]byte, []int)
func (*MultiQuery) Marshal ¶
func (m *MultiQuery) Marshal() (dAtA []byte, err error)
func (*MultiQuery) MarshalToSizedBuffer ¶
func (m *MultiQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiQuery) ProtoMessage ¶
func (*MultiQuery) ProtoMessage()
func (*MultiQuery) Reset ¶
func (m *MultiQuery) Reset()
func (*MultiQuery) Size ¶
func (m *MultiQuery) Size() (n int)
func (*MultiQuery) String ¶
func (m *MultiQuery) String() string
func (*MultiQuery) Unmarshal ¶
func (m *MultiQuery) Unmarshal(dAtA []byte) error
func (*MultiQuery) XXX_DiscardUnknown ¶
func (m *MultiQuery) XXX_DiscardUnknown()
func (*MultiQuery) XXX_Marshal ¶
func (m *MultiQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiQuery) XXX_Merge ¶
func (m *MultiQuery) XXX_Merge(src proto.Message)
func (*MultiQuery) XXX_Size ¶
func (m *MultiQuery) XXX_Size() int
func (*MultiQuery) XXX_Unmarshal ¶
func (m *MultiQuery) XXX_Unmarshal(b []byte) error
type MultiQuery_Parameter ¶
type MultiQuery_Parameter int32
const (
MultiQuery_TX_ID MultiQuery_Parameter = 0
)
func (MultiQuery_Parameter) EnumDescriptor ¶
func (MultiQuery_Parameter) EnumDescriptor() ([]byte, []int)
func (MultiQuery_Parameter) String ¶
func (x MultiQuery_Parameter) String() string
type MultiRequest ¶
type MultiRequest struct { }
func (*MultiRequest) Descriptor ¶
func (*MultiRequest) Descriptor() ([]byte, []int)
func (*MultiRequest) Marshal ¶
func (m *MultiRequest) Marshal() (dAtA []byte, err error)
func (*MultiRequest) MarshalToSizedBuffer ¶
func (m *MultiRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiRequest) ProtoMessage ¶
func (*MultiRequest) ProtoMessage()
func (*MultiRequest) Reset ¶
func (m *MultiRequest) Reset()
func (*MultiRequest) Size ¶
func (m *MultiRequest) Size() (n int)
func (*MultiRequest) String ¶
func (m *MultiRequest) String() string
func (*MultiRequest) Unmarshal ¶
func (m *MultiRequest) Unmarshal(dAtA []byte) error
func (*MultiRequest) XXX_DiscardUnknown ¶
func (m *MultiRequest) XXX_DiscardUnknown()
func (*MultiRequest) XXX_Marshal ¶
func (m *MultiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiRequest) XXX_Merge ¶
func (m *MultiRequest) XXX_Merge(src proto.Message)
func (*MultiRequest) XXX_Size ¶
func (m *MultiRequest) XXX_Size() int
func (*MultiRequest) XXX_Unmarshal ¶
func (m *MultiRequest) XXX_Unmarshal(b []byte) error
type MultiRequest_Parameter ¶
type MultiRequest_Parameter int32
const ( MultiRequest_SYS_CONTRACT_NAME MultiRequest_Parameter = 0 MultiRequest_SYS_METHOD MultiRequest_Parameter = 1 )
func (MultiRequest_Parameter) EnumDescriptor ¶
func (MultiRequest_Parameter) EnumDescriptor() ([]byte, []int)
func (MultiRequest_Parameter) String ¶
func (x MultiRequest_Parameter) String() string
type MultiSignFunction ¶
type MultiSignFunction int32
管理多重签名的方法
const ( //多重签名请求 MultiSignFunction_REQ MultiSignFunction = 0 // 多签名投票 MultiSignFunction_VOTE MultiSignFunction = 1 // 多签名查询 MultiSignFunction_QUERY MultiSignFunction = 2 )
func (MultiSignFunction) EnumDescriptor ¶
func (MultiSignFunction) EnumDescriptor() ([]byte, []int)
func (MultiSignFunction) String ¶
func (x MultiSignFunction) String() string
type MultiSignInfo ¶
type MultiSignInfo struct { // 当前 tx 有效载荷 Payload *common.Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // 调用系统合约名称 ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` // 调用系统合约方法 Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // 状态 Status MultiSignStatus `protobuf:"varint,4,opt,name=status,proto3,enum=syscontract.MultiSignStatus" json:"status,omitempty"` // 投票列表 VoteInfos []*MultiSignVoteInfo `protobuf:"bytes,5,rep,name=vote_infos,json=voteInfos,proto3" json:"vote_infos,omitempty"` // 调用系统合约消息 Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // 调用系统合约结果 Result []byte `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` }
func (*MultiSignInfo) Descriptor ¶
func (*MultiSignInfo) Descriptor() ([]byte, []int)
func (*MultiSignInfo) GetContractName ¶
func (m *MultiSignInfo) GetContractName() string
func (*MultiSignInfo) GetMessage ¶
func (m *MultiSignInfo) GetMessage() string
func (*MultiSignInfo) GetMethod ¶
func (m *MultiSignInfo) GetMethod() string
func (*MultiSignInfo) GetPayload ¶
func (m *MultiSignInfo) GetPayload() *common.Payload
func (*MultiSignInfo) GetResult ¶
func (m *MultiSignInfo) GetResult() []byte
func (*MultiSignInfo) GetStatus ¶
func (m *MultiSignInfo) GetStatus() MultiSignStatus
func (*MultiSignInfo) GetVoteInfos ¶
func (m *MultiSignInfo) GetVoteInfos() []*MultiSignVoteInfo
func (*MultiSignInfo) Marshal ¶
func (m *MultiSignInfo) Marshal() (dAtA []byte, err error)
func (*MultiSignInfo) MarshalToSizedBuffer ¶
func (m *MultiSignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiSignInfo) ProtoMessage ¶
func (*MultiSignInfo) ProtoMessage()
func (*MultiSignInfo) Reset ¶
func (m *MultiSignInfo) Reset()
func (*MultiSignInfo) Size ¶
func (m *MultiSignInfo) Size() (n int)
func (*MultiSignInfo) String ¶
func (m *MultiSignInfo) String() string
func (*MultiSignInfo) Unmarshal ¶
func (m *MultiSignInfo) Unmarshal(dAtA []byte) error
func (*MultiSignInfo) XXX_DiscardUnknown ¶
func (m *MultiSignInfo) XXX_DiscardUnknown()
func (*MultiSignInfo) XXX_Marshal ¶
func (m *MultiSignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSignInfo) XXX_Merge ¶
func (m *MultiSignInfo) XXX_Merge(src proto.Message)
func (*MultiSignInfo) XXX_Size ¶
func (m *MultiSignInfo) XXX_Size() int
func (*MultiSignInfo) XXX_Unmarshal ¶
func (m *MultiSignInfo) XXX_Unmarshal(b []byte) error
type MultiSignStatus ¶
type MultiSignStatus int32
const ( MultiSignStatus_PROCESSING MultiSignStatus = 0 MultiSignStatus_ADOPTED MultiSignStatus = 1 MultiSignStatus_REFUSED MultiSignStatus = 2 MultiSignStatus_FAILED MultiSignStatus = 3 )
func (MultiSignStatus) EnumDescriptor ¶
func (MultiSignStatus) EnumDescriptor() ([]byte, []int)
func (MultiSignStatus) String ¶
func (x MultiSignStatus) String() string
type MultiSignVoteInfo ¶
type MultiSignVoteInfo struct { Vote VoteStatus `protobuf:"varint,1,opt,name=vote,proto3,enum=syscontract.VoteStatus" json:"vote,omitempty"` Endorsement *common.EndorsementEntry `protobuf:"bytes,2,opt,name=endorsement,proto3" json:"endorsement,omitempty"` }
func (*MultiSignVoteInfo) Descriptor ¶
func (*MultiSignVoteInfo) Descriptor() ([]byte, []int)
func (*MultiSignVoteInfo) GetEndorsement ¶
func (m *MultiSignVoteInfo) GetEndorsement() *common.EndorsementEntry
func (*MultiSignVoteInfo) GetVote ¶
func (m *MultiSignVoteInfo) GetVote() VoteStatus
func (*MultiSignVoteInfo) Marshal ¶
func (m *MultiSignVoteInfo) Marshal() (dAtA []byte, err error)
func (*MultiSignVoteInfo) MarshalTo ¶
func (m *MultiSignVoteInfo) MarshalTo(dAtA []byte) (int, error)
func (*MultiSignVoteInfo) MarshalToSizedBuffer ¶
func (m *MultiSignVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiSignVoteInfo) ProtoMessage ¶
func (*MultiSignVoteInfo) ProtoMessage()
func (*MultiSignVoteInfo) Reset ¶
func (m *MultiSignVoteInfo) Reset()
func (*MultiSignVoteInfo) Size ¶
func (m *MultiSignVoteInfo) Size() (n int)
func (*MultiSignVoteInfo) String ¶
func (m *MultiSignVoteInfo) String() string
func (*MultiSignVoteInfo) Unmarshal ¶
func (m *MultiSignVoteInfo) Unmarshal(dAtA []byte) error
func (*MultiSignVoteInfo) XXX_DiscardUnknown ¶
func (m *MultiSignVoteInfo) XXX_DiscardUnknown()
func (*MultiSignVoteInfo) XXX_Marshal ¶
func (m *MultiSignVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSignVoteInfo) XXX_Merge ¶
func (m *MultiSignVoteInfo) XXX_Merge(src proto.Message)
func (*MultiSignVoteInfo) XXX_Size ¶
func (m *MultiSignVoteInfo) XXX_Size() int
func (*MultiSignVoteInfo) XXX_Unmarshal ¶
func (m *MultiSignVoteInfo) XXX_Unmarshal(b []byte) error
type MultiVote ¶
type MultiVote struct { }
func (*MultiVote) Descriptor ¶
func (*MultiVote) MarshalToSizedBuffer ¶
func (*MultiVote) ProtoMessage ¶
func (*MultiVote) ProtoMessage()
func (*MultiVote) XXX_DiscardUnknown ¶
func (m *MultiVote) XXX_DiscardUnknown()
func (*MultiVote) XXX_Marshal ¶
func (*MultiVote) XXX_Unmarshal ¶
type MultiVote_Parameter ¶
type MultiVote_Parameter int32
const ( MultiVote_VOTE_INFO MultiVote_Parameter = 0 MultiVote_TX_ID MultiVote_Parameter = 1 )
func (MultiVote_Parameter) EnumDescriptor ¶
func (MultiVote_Parameter) EnumDescriptor() ([]byte, []int)
func (MultiVote_Parameter) String ¶
func (x MultiVote_Parameter) String() string
type PrivateComputeFunction ¶
type PrivateComputeFunction int32
私有计算合约的方法
const ( // 获取合约代码 PrivateComputeFunction_GET_CONTRACT PrivateComputeFunction = 0 // 获取私有数据 PrivateComputeFunction_GET_DATA PrivateComputeFunction = 1 // 保存 tee 的证书 PrivateComputeFunction_SAVE_CA_CERT PrivateComputeFunction = 2 // 保存私有数据目录 PrivateComputeFunction_SAVE_DIR PrivateComputeFunction = 3 // 保存私有计算结果的数据 PrivateComputeFunction_SAVE_DATA PrivateComputeFunction = 4 // 保存 Enclave 报告 PrivateComputeFunction_SAVE_ENCLAVE_REPORT PrivateComputeFunction = 5 // 获取 Enclave 证明 PrivateComputeFunction_GET_ENCLAVE_PROOF PrivateComputeFunction = 6 // 获取tee的证书 PrivateComputeFunction_GET_CA_CERT PrivateComputeFunction = 7 // 获取私有数据目录 PrivateComputeFunction_GET_DIR PrivateComputeFunction = 8 // 检查调用者证书身份验证 PrivateComputeFunction_CHECK_CALLER_CERT_AUTH PrivateComputeFunction = 9 PrivateComputeFunction_GET_ENCLAVE_ENCRYPT_PUB_KEY PrivateComputeFunction = 10 PrivateComputeFunction_GET_ENCLAVE_VERIFICATION_PUB_KEY PrivateComputeFunction = 11 PrivateComputeFunction_GET_ENCLAVE_REPORT PrivateComputeFunction = 12 PrivateComputeFunction_GET_ENCLAVE_CHALLENGE PrivateComputeFunction = 13 PrivateComputeFunction_GET_ENCLAVE_SIGNATURE PrivateComputeFunction = 14 PrivateComputeFunction_SAVE_REMOTE_ATTESTATION PrivateComputeFunction = 15 )
func (PrivateComputeFunction) EnumDescriptor ¶
func (PrivateComputeFunction) EnumDescriptor() ([]byte, []int)
func (PrivateComputeFunction) String ¶
func (x PrivateComputeFunction) String() string
type PrivateComputePayload ¶
type PrivateComputePayload struct { PrivateRlpData string `protobuf:"bytes,1,opt,name=private_rlp_data,json=privateRlpData,proto3" json:"private_rlp_data,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` SigAlgo string `protobuf:"bytes,3,opt,name=sig_algo,json=sigAlgo,proto3" json:"sig_algo,omitempty"` ContractName string `protobuf:"bytes,4,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` CodeHash string `protobuf:"bytes,5,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` OrgId []string `protobuf:"bytes,6,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` TimeStamp string `protobuf:"bytes,7,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` }
func (*PrivateComputePayload) Descriptor ¶
func (*PrivateComputePayload) Descriptor() ([]byte, []int)
func (*PrivateComputePayload) GetCodeHash ¶
func (m *PrivateComputePayload) GetCodeHash() string
func (*PrivateComputePayload) GetContractName ¶
func (m *PrivateComputePayload) GetContractName() string
func (*PrivateComputePayload) GetOrgId ¶
func (m *PrivateComputePayload) GetOrgId() []string
func (*PrivateComputePayload) GetPasswd ¶
func (m *PrivateComputePayload) GetPasswd() string
func (*PrivateComputePayload) GetPrivateRlpData ¶
func (m *PrivateComputePayload) GetPrivateRlpData() string
func (*PrivateComputePayload) GetSigAlgo ¶
func (m *PrivateComputePayload) GetSigAlgo() string
func (*PrivateComputePayload) GetTimeStamp ¶
func (m *PrivateComputePayload) GetTimeStamp() string
func (*PrivateComputePayload) Marshal ¶
func (m *PrivateComputePayload) Marshal() (dAtA []byte, err error)
func (*PrivateComputePayload) MarshalTo ¶
func (m *PrivateComputePayload) MarshalTo(dAtA []byte) (int, error)
func (*PrivateComputePayload) MarshalToSizedBuffer ¶
func (m *PrivateComputePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateComputePayload) ProtoMessage ¶
func (*PrivateComputePayload) ProtoMessage()
func (*PrivateComputePayload) Reset ¶
func (m *PrivateComputePayload) Reset()
func (*PrivateComputePayload) Size ¶
func (m *PrivateComputePayload) Size() (n int)
func (*PrivateComputePayload) String ¶
func (m *PrivateComputePayload) String() string
func (*PrivateComputePayload) Unmarshal ¶
func (m *PrivateComputePayload) Unmarshal(dAtA []byte) error
func (*PrivateComputePayload) XXX_DiscardUnknown ¶
func (m *PrivateComputePayload) XXX_DiscardUnknown()
func (*PrivateComputePayload) XXX_Marshal ¶
func (m *PrivateComputePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateComputePayload) XXX_Merge ¶
func (m *PrivateComputePayload) XXX_Merge(src proto.Message)
func (*PrivateComputePayload) XXX_Size ¶
func (m *PrivateComputePayload) XXX_Size() int
func (*PrivateComputePayload) XXX_Unmarshal ¶
func (m *PrivateComputePayload) XXX_Unmarshal(b []byte) error
type PrivateComputeRequest ¶
type PrivateComputeRequest struct { SignPair []*SignInfo `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"` Payload *PrivateComputePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` }
func (*PrivateComputeRequest) Descriptor ¶
func (*PrivateComputeRequest) Descriptor() ([]byte, []int)
func (*PrivateComputeRequest) GetPayload ¶
func (m *PrivateComputeRequest) GetPayload() *PrivateComputePayload
func (*PrivateComputeRequest) GetSignPair ¶
func (m *PrivateComputeRequest) GetSignPair() []*SignInfo
func (*PrivateComputeRequest) Marshal ¶
func (m *PrivateComputeRequest) Marshal() (dAtA []byte, err error)
func (*PrivateComputeRequest) MarshalTo ¶
func (m *PrivateComputeRequest) MarshalTo(dAtA []byte) (int, error)
func (*PrivateComputeRequest) MarshalToSizedBuffer ¶
func (m *PrivateComputeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateComputeRequest) ProtoMessage ¶
func (*PrivateComputeRequest) ProtoMessage()
func (*PrivateComputeRequest) Reset ¶
func (m *PrivateComputeRequest) Reset()
func (*PrivateComputeRequest) Size ¶
func (m *PrivateComputeRequest) Size() (n int)
func (*PrivateComputeRequest) String ¶
func (m *PrivateComputeRequest) String() string
func (*PrivateComputeRequest) Unmarshal ¶
func (m *PrivateComputeRequest) Unmarshal(dAtA []byte) error
func (*PrivateComputeRequest) XXX_DiscardUnknown ¶
func (m *PrivateComputeRequest) XXX_DiscardUnknown()
func (*PrivateComputeRequest) XXX_Marshal ¶
func (m *PrivateComputeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateComputeRequest) XXX_Merge ¶
func (m *PrivateComputeRequest) XXX_Merge(src proto.Message)
func (*PrivateComputeRequest) XXX_Size ¶
func (m *PrivateComputeRequest) XXX_Size() int
func (*PrivateComputeRequest) XXX_Unmarshal ¶
func (m *PrivateComputeRequest) XXX_Unmarshal(b []byte) error
type PrivateDeployPayload ¶
type PrivateDeployPayload struct { CodeBytes string `protobuf:"bytes,1,opt,name=code_bytes,json=codeBytes,proto3" json:"code_bytes,omitempty"` // 部署由 abi 打包的 args PrivateRlpData string `protobuf:"bytes,2,opt,name=private_rlp_data,json=privateRlpData,proto3" json:"private_rlp_data,omitempty"` Passwd string `protobuf:"bytes,3,opt,name=passwd,proto3" json:"passwd,omitempty"` SigAlgo string `protobuf:"bytes,4,opt,name=sig_algo,json=sigAlgo,proto3" json:"sig_algo,omitempty"` ContractName string `protobuf:"bytes,5,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` ContractVersion string `protobuf:"bytes,6,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"` CodeHash string `protobuf:"bytes,7,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` OrgId []string `protobuf:"bytes,8,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` TimeStamp string `protobuf:"bytes,9,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` }
func (*PrivateDeployPayload) Descriptor ¶
func (*PrivateDeployPayload) Descriptor() ([]byte, []int)
func (*PrivateDeployPayload) GetCodeBytes ¶
func (m *PrivateDeployPayload) GetCodeBytes() string
func (*PrivateDeployPayload) GetCodeHash ¶
func (m *PrivateDeployPayload) GetCodeHash() string
func (*PrivateDeployPayload) GetContractName ¶
func (m *PrivateDeployPayload) GetContractName() string
func (*PrivateDeployPayload) GetContractVersion ¶
func (m *PrivateDeployPayload) GetContractVersion() string
func (*PrivateDeployPayload) GetOrgId ¶
func (m *PrivateDeployPayload) GetOrgId() []string
func (*PrivateDeployPayload) GetPasswd ¶
func (m *PrivateDeployPayload) GetPasswd() string
func (*PrivateDeployPayload) GetPrivateRlpData ¶
func (m *PrivateDeployPayload) GetPrivateRlpData() string
func (*PrivateDeployPayload) GetSigAlgo ¶
func (m *PrivateDeployPayload) GetSigAlgo() string
func (*PrivateDeployPayload) GetTimeStamp ¶
func (m *PrivateDeployPayload) GetTimeStamp() string
func (*PrivateDeployPayload) Marshal ¶
func (m *PrivateDeployPayload) Marshal() (dAtA []byte, err error)
func (*PrivateDeployPayload) MarshalTo ¶
func (m *PrivateDeployPayload) MarshalTo(dAtA []byte) (int, error)
func (*PrivateDeployPayload) MarshalToSizedBuffer ¶
func (m *PrivateDeployPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateDeployPayload) ProtoMessage ¶
func (*PrivateDeployPayload) ProtoMessage()
func (*PrivateDeployPayload) Reset ¶
func (m *PrivateDeployPayload) Reset()
func (*PrivateDeployPayload) Size ¶
func (m *PrivateDeployPayload) Size() (n int)
func (*PrivateDeployPayload) String ¶
func (m *PrivateDeployPayload) String() string
func (*PrivateDeployPayload) Unmarshal ¶
func (m *PrivateDeployPayload) Unmarshal(dAtA []byte) error
func (*PrivateDeployPayload) XXX_DiscardUnknown ¶
func (m *PrivateDeployPayload) XXX_DiscardUnknown()
func (*PrivateDeployPayload) XXX_Marshal ¶
func (m *PrivateDeployPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateDeployPayload) XXX_Merge ¶
func (m *PrivateDeployPayload) XXX_Merge(src proto.Message)
func (*PrivateDeployPayload) XXX_Size ¶
func (m *PrivateDeployPayload) XXX_Size() int
func (*PrivateDeployPayload) XXX_Unmarshal ¶
func (m *PrivateDeployPayload) XXX_Unmarshal(b []byte) error
type PrivateDeployRequest ¶
type PrivateDeployRequest struct { SignPair []*SignInfo `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"` Payload *PrivateDeployPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` }
func (*PrivateDeployRequest) Descriptor ¶
func (*PrivateDeployRequest) Descriptor() ([]byte, []int)
func (*PrivateDeployRequest) GetPayload ¶
func (m *PrivateDeployRequest) GetPayload() *PrivateDeployPayload
func (*PrivateDeployRequest) GetSignPair ¶
func (m *PrivateDeployRequest) GetSignPair() []*SignInfo
func (*PrivateDeployRequest) Marshal ¶
func (m *PrivateDeployRequest) Marshal() (dAtA []byte, err error)
func (*PrivateDeployRequest) MarshalTo ¶
func (m *PrivateDeployRequest) MarshalTo(dAtA []byte) (int, error)
func (*PrivateDeployRequest) MarshalToSizedBuffer ¶
func (m *PrivateDeployRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateDeployRequest) ProtoMessage ¶
func (*PrivateDeployRequest) ProtoMessage()
func (*PrivateDeployRequest) Reset ¶
func (m *PrivateDeployRequest) Reset()
func (*PrivateDeployRequest) Size ¶
func (m *PrivateDeployRequest) Size() (n int)
func (*PrivateDeployRequest) String ¶
func (m *PrivateDeployRequest) String() string
func (*PrivateDeployRequest) Unmarshal ¶
func (m *PrivateDeployRequest) Unmarshal(dAtA []byte) error
func (*PrivateDeployRequest) XXX_DiscardUnknown ¶
func (m *PrivateDeployRequest) XXX_DiscardUnknown()
func (*PrivateDeployRequest) XXX_Marshal ¶
func (m *PrivateDeployRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateDeployRequest) XXX_Merge ¶
func (m *PrivateDeployRequest) XXX_Merge(src proto.Message)
func (*PrivateDeployRequest) XXX_Size ¶
func (m *PrivateDeployRequest) XXX_Size() int
func (*PrivateDeployRequest) XXX_Unmarshal ¶
func (m *PrivateDeployRequest) XXX_Unmarshal(b []byte) error
type PubkeyManageFunction ¶
type PubkeyManageFunction int32
公钥管理方法
const ( // 添加一个公钥 PubkeyManageFunction_PUBKEY_ADD PubkeyManageFunction = 0 // 删除公钥 PubkeyManageFunction_PUBKEY_DELETE PubkeyManageFunction = 1 // 查询公钥 PubkeyManageFunction_PUBKEY_QUERY PubkeyManageFunction = 2 )
func (PubkeyManageFunction) EnumDescriptor ¶
func (PubkeyManageFunction) EnumDescriptor() ([]byte, []int)
func (PubkeyManageFunction) String ¶
func (x PubkeyManageFunction) String() string
type RechargeGas ¶
type RechargeGas struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` GasAmount int64 `protobuf:"varint,2,opt,name=gas_amount,json=gasAmount,proto3" json:"gas_amount,omitempty"` }
func (*RechargeGas) Descriptor ¶
func (*RechargeGas) Descriptor() ([]byte, []int)
func (*RechargeGas) GetAddress ¶
func (m *RechargeGas) GetAddress() string
func (*RechargeGas) GetGasAmount ¶
func (m *RechargeGas) GetGasAmount() int64
func (*RechargeGas) Marshal ¶
func (m *RechargeGas) Marshal() (dAtA []byte, err error)
func (*RechargeGas) MarshalToSizedBuffer ¶
func (m *RechargeGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RechargeGas) ProtoMessage ¶
func (*RechargeGas) ProtoMessage()
func (*RechargeGas) Reset ¶
func (m *RechargeGas) Reset()
func (*RechargeGas) Size ¶
func (m *RechargeGas) Size() (n int)
func (*RechargeGas) String ¶
func (m *RechargeGas) String() string
func (*RechargeGas) Unmarshal ¶
func (m *RechargeGas) Unmarshal(dAtA []byte) error
func (*RechargeGas) XXX_DiscardUnknown ¶
func (m *RechargeGas) XXX_DiscardUnknown()
func (*RechargeGas) XXX_Marshal ¶
func (m *RechargeGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RechargeGas) XXX_Merge ¶
func (m *RechargeGas) XXX_Merge(src proto.Message)
func (*RechargeGas) XXX_Size ¶
func (m *RechargeGas) XXX_Size() int
func (*RechargeGas) XXX_Unmarshal ¶
func (m *RechargeGas) XXX_Unmarshal(b []byte) error
type RechargeGasRequest ¶
type RechargeGasRequest struct {
BatchRechargeGas []*RechargeGas `protobuf:"bytes,1,rep,name=batch_recharge_gas,json=batchRechargeGas,proto3" json:"batch_recharge_gas,omitempty"`
}
func (*RechargeGasRequest) Descriptor ¶
func (*RechargeGasRequest) Descriptor() ([]byte, []int)
func (*RechargeGasRequest) GetBatchRechargeGas ¶
func (m *RechargeGasRequest) GetBatchRechargeGas() []*RechargeGas
func (*RechargeGasRequest) Marshal ¶
func (m *RechargeGasRequest) Marshal() (dAtA []byte, err error)
func (*RechargeGasRequest) MarshalTo ¶
func (m *RechargeGasRequest) MarshalTo(dAtA []byte) (int, error)
func (*RechargeGasRequest) MarshalToSizedBuffer ¶
func (m *RechargeGasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RechargeGasRequest) ProtoMessage ¶
func (*RechargeGasRequest) ProtoMessage()
func (*RechargeGasRequest) Reset ¶
func (m *RechargeGasRequest) Reset()
func (*RechargeGasRequest) Size ¶
func (m *RechargeGasRequest) Size() (n int)
func (*RechargeGasRequest) String ¶
func (m *RechargeGasRequest) String() string
func (*RechargeGasRequest) Unmarshal ¶
func (m *RechargeGasRequest) Unmarshal(dAtA []byte) error
func (*RechargeGasRequest) XXX_DiscardUnknown ¶
func (m *RechargeGasRequest) XXX_DiscardUnknown()
func (*RechargeGasRequest) XXX_Marshal ¶
func (m *RechargeGasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RechargeGasRequest) XXX_Merge ¶
func (m *RechargeGasRequest) XXX_Merge(src proto.Message)
func (*RechargeGasRequest) XXX_Size ¶
func (m *RechargeGasRequest) XXX_Size() int
func (*RechargeGasRequest) XXX_Unmarshal ¶
func (m *RechargeGasRequest) XXX_Unmarshal(b []byte) error
type RemoteAttestationPayload ¶
type RemoteAttestationPayload struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` OrgId []string `protobuf:"bytes,2,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` }
func (*RemoteAttestationPayload) Descriptor ¶
func (*RemoteAttestationPayload) Descriptor() ([]byte, []int)
func (*RemoteAttestationPayload) GetChallenge ¶
func (m *RemoteAttestationPayload) GetChallenge() string
func (*RemoteAttestationPayload) GetOrgId ¶
func (m *RemoteAttestationPayload) GetOrgId() []string
func (*RemoteAttestationPayload) Marshal ¶
func (m *RemoteAttestationPayload) Marshal() (dAtA []byte, err error)
func (*RemoteAttestationPayload) MarshalTo ¶
func (m *RemoteAttestationPayload) MarshalTo(dAtA []byte) (int, error)
func (*RemoteAttestationPayload) MarshalToSizedBuffer ¶
func (m *RemoteAttestationPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoteAttestationPayload) ProtoMessage ¶
func (*RemoteAttestationPayload) ProtoMessage()
func (*RemoteAttestationPayload) Reset ¶
func (m *RemoteAttestationPayload) Reset()
func (*RemoteAttestationPayload) Size ¶
func (m *RemoteAttestationPayload) Size() (n int)
func (*RemoteAttestationPayload) String ¶
func (m *RemoteAttestationPayload) String() string
func (*RemoteAttestationPayload) Unmarshal ¶
func (m *RemoteAttestationPayload) Unmarshal(dAtA []byte) error
func (*RemoteAttestationPayload) XXX_DiscardUnknown ¶
func (m *RemoteAttestationPayload) XXX_DiscardUnknown()
func (*RemoteAttestationPayload) XXX_Marshal ¶
func (m *RemoteAttestationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoteAttestationPayload) XXX_Merge ¶
func (m *RemoteAttestationPayload) XXX_Merge(src proto.Message)
func (*RemoteAttestationPayload) XXX_Size ¶
func (m *RemoteAttestationPayload) XXX_Size() int
func (*RemoteAttestationPayload) XXX_Unmarshal ¶
func (m *RemoteAttestationPayload) XXX_Unmarshal(b []byte) error
type RemoteAttestationRequest ¶
type RemoteAttestationRequest struct { SignPair []*SignInfo `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"` Payload *RemoteAttestationPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` }
func (*RemoteAttestationRequest) Descriptor ¶
func (*RemoteAttestationRequest) Descriptor() ([]byte, []int)
func (*RemoteAttestationRequest) GetPayload ¶
func (m *RemoteAttestationRequest) GetPayload() *RemoteAttestationPayload
func (*RemoteAttestationRequest) GetSignPair ¶
func (m *RemoteAttestationRequest) GetSignPair() []*SignInfo
func (*RemoteAttestationRequest) Marshal ¶
func (m *RemoteAttestationRequest) Marshal() (dAtA []byte, err error)
func (*RemoteAttestationRequest) MarshalTo ¶
func (m *RemoteAttestationRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoteAttestationRequest) MarshalToSizedBuffer ¶
func (m *RemoteAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoteAttestationRequest) ProtoMessage ¶
func (*RemoteAttestationRequest) ProtoMessage()
func (*RemoteAttestationRequest) Reset ¶
func (m *RemoteAttestationRequest) Reset()
func (*RemoteAttestationRequest) Size ¶
func (m *RemoteAttestationRequest) Size() (n int)
func (*RemoteAttestationRequest) String ¶
func (m *RemoteAttestationRequest) String() string
func (*RemoteAttestationRequest) Unmarshal ¶
func (m *RemoteAttestationRequest) Unmarshal(dAtA []byte) error
func (*RemoteAttestationRequest) XXX_DiscardUnknown ¶
func (m *RemoteAttestationRequest) XXX_DiscardUnknown()
func (*RemoteAttestationRequest) XXX_Marshal ¶
func (m *RemoteAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoteAttestationRequest) XXX_Merge ¶
func (m *RemoteAttestationRequest) XXX_Merge(src proto.Message)
func (*RemoteAttestationRequest) XXX_Size ¶
func (m *RemoteAttestationRequest) XXX_Size() int
func (*RemoteAttestationRequest) XXX_Unmarshal ¶
func (m *RemoteAttestationRequest) XXX_Unmarshal(b []byte) error
type RestoreBlock ¶
type RestoreBlock struct { }
恢复块有效数据参数
func (*RestoreBlock) Descriptor ¶
func (*RestoreBlock) Descriptor() ([]byte, []int)
func (*RestoreBlock) Marshal ¶
func (m *RestoreBlock) Marshal() (dAtA []byte, err error)
func (*RestoreBlock) MarshalToSizedBuffer ¶
func (m *RestoreBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RestoreBlock) ProtoMessage ¶
func (*RestoreBlock) ProtoMessage()
func (*RestoreBlock) Reset ¶
func (m *RestoreBlock) Reset()
func (*RestoreBlock) Size ¶
func (m *RestoreBlock) Size() (n int)
func (*RestoreBlock) String ¶
func (m *RestoreBlock) String() string
func (*RestoreBlock) Unmarshal ¶
func (m *RestoreBlock) Unmarshal(dAtA []byte) error
func (*RestoreBlock) XXX_DiscardUnknown ¶
func (m *RestoreBlock) XXX_DiscardUnknown()
func (*RestoreBlock) XXX_Marshal ¶
func (m *RestoreBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreBlock) XXX_Merge ¶
func (m *RestoreBlock) XXX_Merge(src proto.Message)
func (*RestoreBlock) XXX_Size ¶
func (m *RestoreBlock) XXX_Size() int
func (*RestoreBlock) XXX_Unmarshal ¶
func (m *RestoreBlock) XXX_Unmarshal(b []byte) error
type RestoreBlock_Parameter ¶
type RestoreBlock_Parameter int32
const (
RestoreBlock_FULL_BLOCK RestoreBlock_Parameter = 0
)
func (RestoreBlock_Parameter) EnumDescriptor ¶
func (RestoreBlock_Parameter) EnumDescriptor() ([]byte, []int)
func (RestoreBlock_Parameter) String ¶
func (x RestoreBlock_Parameter) String() string
type RevokeContract ¶
type RevokeContract struct { }
解冻合约参数
func (*RevokeContract) Descriptor ¶
func (*RevokeContract) Descriptor() ([]byte, []int)
func (*RevokeContract) Marshal ¶
func (m *RevokeContract) Marshal() (dAtA []byte, err error)
func (*RevokeContract) MarshalToSizedBuffer ¶
func (m *RevokeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeContract) ProtoMessage ¶
func (*RevokeContract) ProtoMessage()
func (*RevokeContract) Reset ¶
func (m *RevokeContract) Reset()
func (*RevokeContract) Size ¶
func (m *RevokeContract) Size() (n int)
func (*RevokeContract) String ¶
func (m *RevokeContract) String() string
func (*RevokeContract) Unmarshal ¶
func (m *RevokeContract) Unmarshal(dAtA []byte) error
func (*RevokeContract) XXX_DiscardUnknown ¶
func (m *RevokeContract) XXX_DiscardUnknown()
func (*RevokeContract) XXX_Marshal ¶
func (m *RevokeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeContract) XXX_Merge ¶
func (m *RevokeContract) XXX_Merge(src proto.Message)
func (*RevokeContract) XXX_Size ¶
func (m *RevokeContract) XXX_Size() int
func (*RevokeContract) XXX_Unmarshal ¶
func (m *RevokeContract) XXX_Unmarshal(b []byte) error
type RevokeContract_Parameter ¶
type RevokeContract_Parameter int32
const (
RevokeContract_CONTRACT_NAME RevokeContract_Parameter = 0
)
func (RevokeContract_Parameter) EnumDescriptor ¶
func (RevokeContract_Parameter) EnumDescriptor() ([]byte, []int)
func (RevokeContract_Parameter) String ¶
func (x RevokeContract_Parameter) String() string
type SignInfo ¶
type SignInfo struct { ClientSign string `protobuf:"bytes,1,opt,name=client_sign,json=clientSign,proto3" json:"client_sign,omitempty"` Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` }
func (*SignInfo) Descriptor ¶
func (*SignInfo) GetClientSign ¶
func (*SignInfo) MarshalToSizedBuffer ¶
func (*SignInfo) ProtoMessage ¶
func (*SignInfo) ProtoMessage()
func (*SignInfo) XXX_DiscardUnknown ¶
func (m *SignInfo) XXX_DiscardUnknown()
func (*SignInfo) XXX_Marshal ¶
func (*SignInfo) XXX_Unmarshal ¶
type SubscribeBlock ¶
type SubscribeBlock struct { }
订阅块有效数据参数
func (*SubscribeBlock) Descriptor ¶
func (*SubscribeBlock) Descriptor() ([]byte, []int)
func (*SubscribeBlock) Marshal ¶
func (m *SubscribeBlock) Marshal() (dAtA []byte, err error)
func (*SubscribeBlock) MarshalToSizedBuffer ¶
func (m *SubscribeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubscribeBlock) ProtoMessage ¶
func (*SubscribeBlock) ProtoMessage()
func (*SubscribeBlock) Reset ¶
func (m *SubscribeBlock) Reset()
func (*SubscribeBlock) Size ¶
func (m *SubscribeBlock) Size() (n int)
func (*SubscribeBlock) String ¶
func (m *SubscribeBlock) String() string
func (*SubscribeBlock) Unmarshal ¶
func (m *SubscribeBlock) Unmarshal(dAtA []byte) error
func (*SubscribeBlock) XXX_DiscardUnknown ¶
func (m *SubscribeBlock) XXX_DiscardUnknown()
func (*SubscribeBlock) XXX_Marshal ¶
func (m *SubscribeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeBlock) XXX_Merge ¶
func (m *SubscribeBlock) XXX_Merge(src proto.Message)
func (*SubscribeBlock) XXX_Size ¶
func (m *SubscribeBlock) XXX_Size() int
func (*SubscribeBlock) XXX_Unmarshal ¶
func (m *SubscribeBlock) XXX_Unmarshal(b []byte) error
type SubscribeBlock_Parameter ¶
type SubscribeBlock_Parameter int32
const ( SubscribeBlock_START_BLOCK SubscribeBlock_Parameter = 0 SubscribeBlock_END_BLOCK SubscribeBlock_Parameter = 1 SubscribeBlock_WITH_RWSET SubscribeBlock_Parameter = 2 SubscribeBlock_ONLY_HEADER SubscribeBlock_Parameter = 3 )
func (SubscribeBlock_Parameter) EnumDescriptor ¶
func (SubscribeBlock_Parameter) EnumDescriptor() ([]byte, []int)
func (SubscribeBlock_Parameter) String ¶
func (x SubscribeBlock_Parameter) String() string
type SubscribeContractEvent ¶
type SubscribeContractEvent struct { }
订阅合约事件参数
func (*SubscribeContractEvent) Descriptor ¶
func (*SubscribeContractEvent) Descriptor() ([]byte, []int)
func (*SubscribeContractEvent) Marshal ¶
func (m *SubscribeContractEvent) Marshal() (dAtA []byte, err error)
func (*SubscribeContractEvent) MarshalTo ¶
func (m *SubscribeContractEvent) MarshalTo(dAtA []byte) (int, error)
func (*SubscribeContractEvent) MarshalToSizedBuffer ¶
func (m *SubscribeContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubscribeContractEvent) ProtoMessage ¶
func (*SubscribeContractEvent) ProtoMessage()
func (*SubscribeContractEvent) Reset ¶
func (m *SubscribeContractEvent) Reset()
func (*SubscribeContractEvent) Size ¶
func (m *SubscribeContractEvent) Size() (n int)
func (*SubscribeContractEvent) String ¶
func (m *SubscribeContractEvent) String() string
func (*SubscribeContractEvent) Unmarshal ¶
func (m *SubscribeContractEvent) Unmarshal(dAtA []byte) error
func (*SubscribeContractEvent) XXX_DiscardUnknown ¶
func (m *SubscribeContractEvent) XXX_DiscardUnknown()
func (*SubscribeContractEvent) XXX_Marshal ¶
func (m *SubscribeContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeContractEvent) XXX_Merge ¶
func (m *SubscribeContractEvent) XXX_Merge(src proto.Message)
func (*SubscribeContractEvent) XXX_Size ¶
func (m *SubscribeContractEvent) XXX_Size() int
func (*SubscribeContractEvent) XXX_Unmarshal ¶
func (m *SubscribeContractEvent) XXX_Unmarshal(b []byte) error
type SubscribeContractEvent_Parameter ¶
type SubscribeContractEvent_Parameter int32
const ( SubscribeContractEvent_TOPIC SubscribeContractEvent_Parameter = 0 SubscribeContractEvent_CONTRACT_NAME SubscribeContractEvent_Parameter = 1 SubscribeContractEvent_START_BLOCK SubscribeContractEvent_Parameter = 2 SubscribeContractEvent_END_BLOCK SubscribeContractEvent_Parameter = 3 )
func (SubscribeContractEvent_Parameter) EnumDescriptor ¶
func (SubscribeContractEvent_Parameter) EnumDescriptor() ([]byte, []int)
func (SubscribeContractEvent_Parameter) String ¶
func (x SubscribeContractEvent_Parameter) String() string
type SubscribeFunction ¶
type SubscribeFunction int32
订阅方法
const ( SubscribeFunction_SUBSCRIBE_BLOCK SubscribeFunction = 0 SubscribeFunction_SUBSCRIBE_TX SubscribeFunction = 1 SubscribeFunction_SUBSCRIBE_CONTRACT_EVENT SubscribeFunction = 2 )
func (SubscribeFunction) EnumDescriptor ¶
func (SubscribeFunction) EnumDescriptor() ([]byte, []int)
func (SubscribeFunction) String ¶
func (x SubscribeFunction) String() string
type SubscribeTx ¶
type SubscribeTx struct { }
订阅交易有效数据参数
func (*SubscribeTx) Descriptor ¶
func (*SubscribeTx) Descriptor() ([]byte, []int)
func (*SubscribeTx) Marshal ¶
func (m *SubscribeTx) Marshal() (dAtA []byte, err error)
func (*SubscribeTx) MarshalToSizedBuffer ¶
func (m *SubscribeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubscribeTx) ProtoMessage ¶
func (*SubscribeTx) ProtoMessage()
func (*SubscribeTx) Reset ¶
func (m *SubscribeTx) Reset()
func (*SubscribeTx) Size ¶
func (m *SubscribeTx) Size() (n int)
func (*SubscribeTx) String ¶
func (m *SubscribeTx) String() string
func (*SubscribeTx) Unmarshal ¶
func (m *SubscribeTx) Unmarshal(dAtA []byte) error
func (*SubscribeTx) XXX_DiscardUnknown ¶
func (m *SubscribeTx) XXX_DiscardUnknown()
func (*SubscribeTx) XXX_Marshal ¶
func (m *SubscribeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeTx) XXX_Merge ¶
func (m *SubscribeTx) XXX_Merge(src proto.Message)
func (*SubscribeTx) XXX_Size ¶
func (m *SubscribeTx) XXX_Size() int
func (*SubscribeTx) XXX_Unmarshal ¶
func (m *SubscribeTx) XXX_Unmarshal(b []byte) error
type SubscribeTx_Parameter ¶
type SubscribeTx_Parameter int32
const ( SubscribeTx_START_BLOCK SubscribeTx_Parameter = 0 SubscribeTx_END_BLOCK SubscribeTx_Parameter = 1 SubscribeTx_CONTRACT_NAME SubscribeTx_Parameter = 2 SubscribeTx_TX_IDS SubscribeTx_Parameter = 3 )
func (SubscribeTx_Parameter) EnumDescriptor ¶
func (SubscribeTx_Parameter) EnumDescriptor() ([]byte, []int)
func (SubscribeTx_Parameter) String ¶
func (x SubscribeTx_Parameter) String() string
type SystemContract ¶
type SystemContract int32
const ( // 系统链配置合约,用于添加、删除和更改链配置 SystemContract_CHAIN_CONFIG SystemContract = 0 // 系统链查询合约用于查询链上配置 SystemContract_CHAIN_QUERY SystemContract = 1 // 用于管理证书的系统证书存储合约 SystemContract_CERT_MANAGE SystemContract = 2 // 治理合约 SystemContract_GOVERNANCE SystemContract = 3 // 链上多重签名合约 SystemContract_MULTI_SIGN SystemContract = 4 // 管理用户合约 SystemContract_CONTRACT_MANAGE SystemContract = 5 // 隐私计算合约 SystemContract_PRIVATE_COMPUTE SystemContract = 6 // DPoS 的 erc20 合约 SystemContract_DPOS_ERC20 SystemContract = 7 // dpos 的质押合约 SystemContract_DPOS_STAKE SystemContract = 8 // 订阅区块信息、交易信息和合约信息 SystemContract_SUBSCRIBE_MANAGE SystemContract = 9 // 存档/恢复块 SystemContract_ARCHIVE_MANAGE SystemContract = 10 // 跨链交易系统合约 SystemContract_CROSS_TRANSACTION SystemContract = 11 // pubkey 管理系统合约 SystemContract_PUBKEY_MANAGE SystemContract = 12 // account 管理系统合约 SystemContract_ACCOUNT_MANAGER SystemContract = 13 // 用于测试或调试合约代码 SystemContract_T SystemContract = 99 )
func (SystemContract) EnumDescriptor ¶
func (SystemContract) EnumDescriptor() ([]byte, []int)
func (SystemContract) String ¶
func (x SystemContract) String() string
type TestContractFunction ¶
type TestContractFunction int32
链查询合约方法
const ( // 放数据,参数:k,v TestContractFunction_P TestContractFunction = 0 // 获取数据参数:k TestContractFunction_G TestContractFunction = 1 // 没事做 TestContractFunction_N TestContractFunction = 2 // 按键删除数据,参数:k TestContractFunction_D TestContractFunction = 3 )
func (TestContractFunction) EnumDescriptor ¶
func (TestContractFunction) EnumDescriptor() ([]byte, []int)
func (TestContractFunction) String ¶
func (x TestContractFunction) String() string
type UnbondingDelegation ¶
type UnbondingDelegation struct { // 纪元id EpochId string `protobuf:"bytes,1,opt,name=epoch_id,json=epochId,proto3" json:"epoch_id,omitempty"` // 委托人证书哈希 DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` // 验证者证书哈希 ValidatorAddress string `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // 解除绑定条目记录 Entries []*UnbondingDelegationEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"` }
func (*UnbondingDelegation) Descriptor ¶
func (*UnbondingDelegation) Descriptor() ([]byte, []int)
func (*UnbondingDelegation) GetDelegatorAddress ¶
func (m *UnbondingDelegation) GetDelegatorAddress() string
func (*UnbondingDelegation) GetEntries ¶
func (m *UnbondingDelegation) GetEntries() []*UnbondingDelegationEntry
func (*UnbondingDelegation) GetEpochId ¶
func (m *UnbondingDelegation) GetEpochId() string
func (*UnbondingDelegation) GetValidatorAddress ¶
func (m *UnbondingDelegation) GetValidatorAddress() string
func (*UnbondingDelegation) Marshal ¶
func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)
func (*UnbondingDelegation) MarshalTo ¶
func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingDelegation) MarshalToSizedBuffer ¶
func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingDelegation) ProtoMessage ¶
func (*UnbondingDelegation) ProtoMessage()
func (*UnbondingDelegation) Reset ¶
func (m *UnbondingDelegation) Reset()
func (*UnbondingDelegation) Size ¶
func (m *UnbondingDelegation) Size() (n int)
func (*UnbondingDelegation) String ¶
func (m *UnbondingDelegation) String() string
func (*UnbondingDelegation) Unmarshal ¶
func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error
func (*UnbondingDelegation) XXX_DiscardUnknown ¶
func (m *UnbondingDelegation) XXX_DiscardUnknown()
func (*UnbondingDelegation) XXX_Marshal ¶
func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingDelegation) XXX_Merge ¶
func (m *UnbondingDelegation) XXX_Merge(src proto.Message)
func (*UnbondingDelegation) XXX_Size ¶
func (m *UnbondingDelegation) XXX_Size() int
func (*UnbondingDelegation) XXX_Unmarshal ¶
func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error
type UnbondingDelegationEntry ¶
type UnbondingDelegationEntry struct { // 创建纪元 id CreationEpochId uint64 `protobuf:"varint,1,opt,name=creation_epoch_id,json=creationEpochId,proto3" json:"creation_epoch_id,omitempty"` // 完整的 epoch id CompletionEpochId uint64 `protobuf:"varint,2,opt,name=completion_epoch_id,json=completionEpochId,proto3" json:"completion_epoch_id,omitempty"` // 取消委托金额 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*UnbondingDelegationEntry) Descriptor ¶
func (*UnbondingDelegationEntry) Descriptor() ([]byte, []int)
func (*UnbondingDelegationEntry) GetAmount ¶
func (m *UnbondingDelegationEntry) GetAmount() string
func (*UnbondingDelegationEntry) GetCompletionEpochId ¶
func (m *UnbondingDelegationEntry) GetCompletionEpochId() uint64
func (*UnbondingDelegationEntry) GetCreationEpochId ¶
func (m *UnbondingDelegationEntry) GetCreationEpochId() uint64
func (*UnbondingDelegationEntry) Marshal ¶
func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)
func (*UnbondingDelegationEntry) MarshalTo ¶
func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)
func (*UnbondingDelegationEntry) MarshalToSizedBuffer ¶
func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnbondingDelegationEntry) ProtoMessage ¶
func (*UnbondingDelegationEntry) ProtoMessage()
func (*UnbondingDelegationEntry) Reset ¶
func (m *UnbondingDelegationEntry) Reset()
func (*UnbondingDelegationEntry) Size ¶
func (m *UnbondingDelegationEntry) Size() (n int)
func (*UnbondingDelegationEntry) String ¶
func (m *UnbondingDelegationEntry) String() string
func (*UnbondingDelegationEntry) Unmarshal ¶
func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error
func (*UnbondingDelegationEntry) XXX_DiscardUnknown ¶
func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()
func (*UnbondingDelegationEntry) XXX_Marshal ¶
func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnbondingDelegationEntry) XXX_Merge ¶
func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)
func (*UnbondingDelegationEntry) XXX_Size ¶
func (m *UnbondingDelegationEntry) XXX_Size() int
func (*UnbondingDelegationEntry) XXX_Unmarshal ¶
func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error
type UnfreezeContract ¶
type UnfreezeContract struct { }
冻结合约参数
func (*UnfreezeContract) Descriptor ¶
func (*UnfreezeContract) Descriptor() ([]byte, []int)
func (*UnfreezeContract) Marshal ¶
func (m *UnfreezeContract) Marshal() (dAtA []byte, err error)
func (*UnfreezeContract) MarshalToSizedBuffer ¶
func (m *UnfreezeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnfreezeContract) ProtoMessage ¶
func (*UnfreezeContract) ProtoMessage()
func (*UnfreezeContract) Reset ¶
func (m *UnfreezeContract) Reset()
func (*UnfreezeContract) Size ¶
func (m *UnfreezeContract) Size() (n int)
func (*UnfreezeContract) String ¶
func (m *UnfreezeContract) String() string
func (*UnfreezeContract) Unmarshal ¶
func (m *UnfreezeContract) Unmarshal(dAtA []byte) error
func (*UnfreezeContract) XXX_DiscardUnknown ¶
func (m *UnfreezeContract) XXX_DiscardUnknown()
func (*UnfreezeContract) XXX_Marshal ¶
func (m *UnfreezeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeContract) XXX_Merge ¶
func (m *UnfreezeContract) XXX_Merge(src proto.Message)
func (*UnfreezeContract) XXX_Size ¶
func (m *UnfreezeContract) XXX_Size() int
func (*UnfreezeContract) XXX_Unmarshal ¶
func (m *UnfreezeContract) XXX_Unmarshal(b []byte) error
type UnfreezeContract_Parameter ¶
type UnfreezeContract_Parameter int32
const (
UnfreezeContract_CONTRACT_NAME UnfreezeContract_Parameter = 0
)
func (UnfreezeContract_Parameter) EnumDescriptor ¶
func (UnfreezeContract_Parameter) EnumDescriptor() ([]byte, []int)
func (UnfreezeContract_Parameter) String ¶
func (x UnfreezeContract_Parameter) String() string
type UpgradeContract ¶
type UpgradeContract struct { }
升级合约参数
func (*UpgradeContract) Descriptor ¶
func (*UpgradeContract) Descriptor() ([]byte, []int)
func (*UpgradeContract) Marshal ¶
func (m *UpgradeContract) Marshal() (dAtA []byte, err error)
func (*UpgradeContract) MarshalToSizedBuffer ¶
func (m *UpgradeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpgradeContract) ProtoMessage ¶
func (*UpgradeContract) ProtoMessage()
func (*UpgradeContract) Reset ¶
func (m *UpgradeContract) Reset()
func (*UpgradeContract) Size ¶
func (m *UpgradeContract) Size() (n int)
func (*UpgradeContract) String ¶
func (m *UpgradeContract) String() string
func (*UpgradeContract) Unmarshal ¶
func (m *UpgradeContract) Unmarshal(dAtA []byte) error
func (*UpgradeContract) XXX_DiscardUnknown ¶
func (m *UpgradeContract) XXX_DiscardUnknown()
func (*UpgradeContract) XXX_Marshal ¶
func (m *UpgradeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeContract) XXX_Merge ¶
func (m *UpgradeContract) XXX_Merge(src proto.Message)
func (*UpgradeContract) XXX_Size ¶
func (m *UpgradeContract) XXX_Size() int
func (*UpgradeContract) XXX_Unmarshal ¶
func (m *UpgradeContract) XXX_Unmarshal(b []byte) error
type UpgradeContract_Parameter ¶
type UpgradeContract_Parameter int32
const ( UpgradeContract_CONTRACT_NAME UpgradeContract_Parameter = 0 UpgradeContract_CONTRACT_RUNTIME UpgradeContract_Parameter = 1 UpgradeContract_CONTRACT_VERSION UpgradeContract_Parameter = 2 UpgradeContract_CONTRACT_BYTECODE UpgradeContract_Parameter = 3 )
func (UpgradeContract_Parameter) EnumDescriptor ¶
func (UpgradeContract_Parameter) EnumDescriptor() ([]byte, []int)
func (UpgradeContract_Parameter) String ¶
func (x UpgradeContract_Parameter) String() string
type Validator ¶
type Validator struct { // 验证者地址:base58.Encode(sha256(pubkey)) ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // 主动惩罚标记验证者是否被监禁 Jailed bool `protobuf:"varint,2,opt,name=jailed,proto3" json:"jailed,omitempty"` // 验证者状态:绑定/解绑/解绑 Status BondStatus `protobuf:"varint,3,opt,name=status,proto3,enum=syscontract.BondStatus" json:"status,omitempty"` // 委托代币数量 Tokens string `protobuf:"bytes,4,opt,name=tokens,proto3" json:"tokens,omitempty"` DelegatorShares string `protobuf:"bytes,5,opt,name=delegator_shares,json=delegatorShares,proto3" json:"delegator_shares,omitempty"` // 取消委托条目 epoch id UnbondingEpochId uint64 `protobuf:"varint,6,opt,name=unbonding_epoch_id,json=unbondingEpochId,proto3" json:"unbonding_epoch_id,omitempty"` // 取消委托条目完成 epoch id UnbondingCompletionEpochId uint64 `` /* 144-byte string literal not displayed */ // 验证者自我委托代币数量 SelfDelegation string `protobuf:"bytes,8,opt,name=self_delegation,json=selfDelegation,proto3" json:"self_delegation,omitempty"` }
func (*Validator) Descriptor ¶
func (*Validator) GetDelegatorShares ¶
func (*Validator) GetSelfDelegation ¶
func (*Validator) GetStatus ¶
func (m *Validator) GetStatus() BondStatus
func (*Validator) GetUnbondingCompletionEpochId ¶
func (*Validator) GetUnbondingEpochId ¶
func (*Validator) GetValidatorAddress ¶
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorVector ¶
type ValidatorVector struct { // 验证者证书哈希向量 Vector []string `protobuf:"bytes,1,rep,name=vector,proto3" json:"vector,omitempty"` }
func (*ValidatorVector) Descriptor ¶
func (*ValidatorVector) Descriptor() ([]byte, []int)
func (*ValidatorVector) GetVector ¶
func (m *ValidatorVector) GetVector() []string
func (*ValidatorVector) Marshal ¶
func (m *ValidatorVector) Marshal() (dAtA []byte, err error)
func (*ValidatorVector) MarshalToSizedBuffer ¶
func (m *ValidatorVector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorVector) ProtoMessage ¶
func (*ValidatorVector) ProtoMessage()
func (*ValidatorVector) Reset ¶
func (m *ValidatorVector) Reset()
func (*ValidatorVector) Size ¶
func (m *ValidatorVector) Size() (n int)
func (*ValidatorVector) String ¶
func (m *ValidatorVector) String() string
func (*ValidatorVector) Unmarshal ¶
func (m *ValidatorVector) Unmarshal(dAtA []byte) error
func (*ValidatorVector) XXX_DiscardUnknown ¶
func (m *ValidatorVector) XXX_DiscardUnknown()
func (*ValidatorVector) XXX_Marshal ¶
func (m *ValidatorVector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorVector) XXX_Merge ¶
func (m *ValidatorVector) XXX_Merge(src proto.Message)
func (*ValidatorVector) XXX_Size ¶
func (m *ValidatorVector) XXX_Size() int
func (*ValidatorVector) XXX_Unmarshal ¶
func (m *ValidatorVector) XXX_Unmarshal(b []byte) error
type VoteStatus ¶
type VoteStatus int32
const ( VoteStatus_AGREE VoteStatus = 0 VoteStatus_REJECT VoteStatus = 1 )
func (VoteStatus) EnumDescriptor ¶
func (VoteStatus) EnumDescriptor() ([]byte, []int)
func (VoteStatus) String ¶
func (x VoteStatus) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.