Documentation
¶
Index ¶
- Variables
- type AccountMeta
- func (*AccountMeta) Descriptor() ([]byte, []int)
- func (m *AccountMeta) GetAddress() string
- func (m *AccountMeta) GetBalance() string
- func (m *AccountMeta) GetNonce() uint64
- func (m *AccountMeta) GetNumActions() uint64
- func (m *AccountMeta) GetPendingNonce() uint64
- func (*AccountMeta) ProtoMessage()
- func (m *AccountMeta) Reset()
- func (m *AccountMeta) String() string
- func (m *AccountMeta) XXX_DiscardUnknown()
- func (m *AccountMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountMeta) XXX_Merge(src proto.Message)
- func (m *AccountMeta) XXX_Size() int
- func (m *AccountMeta) XXX_Unmarshal(b []byte) error
- type Action
- func (*Action) Descriptor() ([]byte, []int)
- func (m *Action) GetCore() *ActionCore
- func (m *Action) GetSenderPubKey() []byte
- func (m *Action) GetSignature() []byte
- func (*Action) ProtoMessage()
- func (m *Action) Reset()
- func (m *Action) String() string
- func (m *Action) XXX_DiscardUnknown()
- func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Action) XXX_Merge(src proto.Message)
- func (m *Action) XXX_Size() int
- func (m *Action) XXX_Unmarshal(b []byte) error
- type ActionCore
- func (*ActionCore) Descriptor() ([]byte, []int)
- func (m *ActionCore) GetAction() isActionCore_Action
- func (m *ActionCore) GetCandidateRegister() *CandidateRegister
- func (m *ActionCore) GetCandidateUpdate() *CandidateBasicInfo
- func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
- func (m *ActionCore) GetCreateDeposit() *CreateDeposit
- func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain
- func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
- func (m *ActionCore) GetExecution() *Execution
- func (m *ActionCore) GetGasLimit() uint64
- func (m *ActionCore) GetGasPrice() string
- func (m *ActionCore) GetGrantReward() *GrantReward
- func (m *ActionCore) GetNonce() uint64
- func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
- func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
- func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
- func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock
- func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
- func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
- func (m *ActionCore) GetPlumStartExit() *PlumStartExit
- func (m *ActionCore) GetPlumTransfer() *PlumTransfer
- func (m *ActionCore) GetPutBlock() *PutBlock
- func (m *ActionCore) GetPutPollResult() *PutPollResult
- func (m *ActionCore) GetSettleDeposit() *SettleDeposit
- func (m *ActionCore) GetStakeAddDeposit() *StakeAddDeposit
- func (m *ActionCore) GetStakeChangeCandidate() *StakeChangeCandidate
- func (m *ActionCore) GetStakeCreate() *StakeCreate
- func (m *ActionCore) GetStakeRestake() *StakeRestake
- func (m *ActionCore) GetStakeTransferOwnership() *StakeTransferOwnership
- func (m *ActionCore) GetStakeUnstake() *StakeReclaim
- func (m *ActionCore) GetStakeWithdraw() *StakeReclaim
- func (m *ActionCore) GetStartSubChain() *StartSubChain
- func (m *ActionCore) GetStopSubChain() *StopSubChain
- func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
- func (m *ActionCore) GetTransfer() *Transfer
- func (m *ActionCore) GetVersion() uint32
- func (*ActionCore) ProtoMessage()
- func (m *ActionCore) Reset()
- func (m *ActionCore) String() string
- func (m *ActionCore) XXX_DiscardUnknown()
- func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionCore) XXX_Merge(src proto.Message)
- func (*ActionCore) XXX_OneofWrappers() []interface{}
- func (m *ActionCore) XXX_Size() int
- func (m *ActionCore) XXX_Unmarshal(b []byte) error
- type ActionCore_CandidateRegister
- type ActionCore_CandidateUpdate
- type ActionCore_ClaimFromRewardingFund
- type ActionCore_CreateDeposit
- type ActionCore_CreatePlumChain
- type ActionCore_DepositToRewardingFund
- type ActionCore_Execution
- type ActionCore_GrantReward
- type ActionCore_PlumChallengeExit
- type ActionCore_PlumCreateDeposit
- type ActionCore_PlumFinalizeExit
- type ActionCore_PlumPutBlock
- type ActionCore_PlumResponseChallengeExit
- type ActionCore_PlumSettleDeposit
- type ActionCore_PlumStartExit
- type ActionCore_PlumTransfer
- type ActionCore_PutBlock
- type ActionCore_PutPollResult
- type ActionCore_SettleDeposit
- type ActionCore_StakeAddDeposit
- type ActionCore_StakeChangeCandidate
- type ActionCore_StakeCreate
- type ActionCore_StakeRestake
- type ActionCore_StakeTransferOwnership
- type ActionCore_StakeUnstake
- type ActionCore_StakeWithdraw
- type ActionCore_StartSubChain
- type ActionCore_StopSubChain
- type ActionCore_TerminatePlumChain
- type ActionCore_Transfer
- type ActionEvmTransfer
- func (*ActionEvmTransfer) Descriptor() ([]byte, []int)
- func (m *ActionEvmTransfer) GetActionHash() []byte
- func (m *ActionEvmTransfer) GetEvmTransfers() []*EvmTransfer
- func (m *ActionEvmTransfer) GetNumEvmTransfers() uint64
- func (*ActionEvmTransfer) ProtoMessage()
- func (m *ActionEvmTransfer) Reset()
- func (m *ActionEvmTransfer) String() string
- func (m *ActionEvmTransfer) XXX_DiscardUnknown()
- func (m *ActionEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionEvmTransfer) XXX_Merge(src proto.Message)
- func (m *ActionEvmTransfer) XXX_Size() int
- func (m *ActionEvmTransfer) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBody() *BlockBody
- func (m *Block) GetFooter() *BlockFooter
- func (m *Block) GetHeader() *BlockHeader
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockBody
- func (*BlockBody) Descriptor() ([]byte, []int)
- func (m *BlockBody) GetActions() []*Action
- func (*BlockBody) ProtoMessage()
- func (m *BlockBody) Reset()
- func (m *BlockBody) String() string
- func (m *BlockBody) XXX_DiscardUnknown()
- func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockBody) XXX_Merge(src proto.Message)
- func (m *BlockBody) XXX_Size() int
- func (m *BlockBody) XXX_Unmarshal(b []byte) error
- type BlockEvmTransfer
- func (*BlockEvmTransfer) Descriptor() ([]byte, []int)
- func (m *BlockEvmTransfer) GetActionEvmTransfers() []*ActionEvmTransfer
- func (m *BlockEvmTransfer) GetBlockHeight() uint64
- func (m *BlockEvmTransfer) GetNumEvmTransfers() uint64
- func (*BlockEvmTransfer) ProtoMessage()
- func (m *BlockEvmTransfer) Reset()
- func (m *BlockEvmTransfer) String() string
- func (m *BlockEvmTransfer) XXX_DiscardUnknown()
- func (m *BlockEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockEvmTransfer) XXX_Merge(src proto.Message)
- func (m *BlockEvmTransfer) XXX_Size() int
- func (m *BlockEvmTransfer) XXX_Unmarshal(b []byte) error
- type BlockFooter
- func (*BlockFooter) Descriptor() ([]byte, []int)
- func (m *BlockFooter) GetEndorsements() []*Endorsement
- func (m *BlockFooter) GetTimestamp() *timestamp.Timestamp
- func (*BlockFooter) ProtoMessage()
- func (m *BlockFooter) Reset()
- func (m *BlockFooter) String() string
- func (m *BlockFooter) XXX_DiscardUnknown()
- func (m *BlockFooter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockFooter) XXX_Merge(src proto.Message)
- func (m *BlockFooter) XXX_Size() int
- func (m *BlockFooter) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetCore() *BlockHeaderCore
- func (m *BlockHeader) GetProducerPubkey() []byte
- func (m *BlockHeader) GetSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) String() string
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BlockHeaderCore
- func (*BlockHeaderCore) Descriptor() ([]byte, []int)
- func (m *BlockHeaderCore) GetDeltaStateDigest() []byte
- func (m *BlockHeaderCore) GetHeight() uint64
- func (m *BlockHeaderCore) GetLogsBloom() []byte
- func (m *BlockHeaderCore) GetPrevBlockHash() []byte
- func (m *BlockHeaderCore) GetReceiptRoot() []byte
- func (m *BlockHeaderCore) GetTimestamp() *timestamp.Timestamp
- func (m *BlockHeaderCore) GetTxRoot() []byte
- func (m *BlockHeaderCore) GetVersion() uint32
- func (*BlockHeaderCore) ProtoMessage()
- func (m *BlockHeaderCore) Reset()
- func (m *BlockHeaderCore) String() string
- func (m *BlockHeaderCore) XXX_DiscardUnknown()
- func (m *BlockHeaderCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeaderCore) XXX_Merge(src proto.Message)
- func (m *BlockHeaderCore) XXX_Size() int
- func (m *BlockHeaderCore) XXX_Unmarshal(b []byte) error
- type BlockIdentifier
- func (*BlockIdentifier) Descriptor() ([]byte, []int)
- func (m *BlockIdentifier) GetHash() string
- func (m *BlockIdentifier) GetHeight() uint64
- func (*BlockIdentifier) ProtoMessage()
- func (m *BlockIdentifier) Reset()
- func (m *BlockIdentifier) String() string
- func (m *BlockIdentifier) XXX_DiscardUnknown()
- func (m *BlockIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockIdentifier) XXX_Merge(src proto.Message)
- func (m *BlockIdentifier) XXX_Size() int
- func (m *BlockIdentifier) XXX_Unmarshal(b []byte) error
- type BlockMeta
- func (*BlockMeta) Descriptor() ([]byte, []int)
- func (m *BlockMeta) GetDeltaStateDigest() string
- func (m *BlockMeta) GetHash() string
- func (m *BlockMeta) GetHeight() uint64
- func (m *BlockMeta) GetLogsBloom() string
- func (m *BlockMeta) GetNumActions() int64
- func (m *BlockMeta) GetProducerAddress() string
- func (m *BlockMeta) GetReceiptRoot() string
- func (m *BlockMeta) GetTimestamp() *timestamp.Timestamp
- func (m *BlockMeta) GetTransferAmount() string
- func (m *BlockMeta) GetTxRoot() string
- func (*BlockMeta) ProtoMessage()
- func (m *BlockMeta) Reset()
- func (m *BlockMeta) String() string
- func (m *BlockMeta) XXX_DiscardUnknown()
- func (m *BlockMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockMeta) XXX_Merge(src proto.Message)
- func (m *BlockMeta) XXX_Size() int
- func (m *BlockMeta) XXX_Unmarshal(b []byte) error
- type BlockProposal
- func (*BlockProposal) Descriptor() ([]byte, []int)
- func (m *BlockProposal) GetBlock() *Block
- func (m *BlockProposal) GetEndorsements() []*Endorsement
- func (*BlockProposal) ProtoMessage()
- func (m *BlockProposal) Reset()
- func (m *BlockProposal) String() string
- func (m *BlockProposal) XXX_DiscardUnknown()
- func (m *BlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockProposal) XXX_Merge(src proto.Message)
- func (m *BlockProposal) XXX_Size() int
- func (m *BlockProposal) XXX_Unmarshal(b []byte) error
- type BlockTransactionLog
- func (*BlockTransactionLog) Descriptor() ([]byte, []int)
- func (m *BlockTransactionLog) GetNumTransactions() uint64
- func (m *BlockTransactionLog) GetTransactionLog() []*TransactionLog
- func (*BlockTransactionLog) ProtoMessage()
- func (m *BlockTransactionLog) Reset()
- func (m *BlockTransactionLog) String() string
- func (m *BlockTransactionLog) XXX_DiscardUnknown()
- func (m *BlockTransactionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockTransactionLog) XXX_Merge(src proto.Message)
- func (m *BlockTransactionLog) XXX_Size() int
- func (m *BlockTransactionLog) XXX_Unmarshal(b []byte) error
- type Candidate
- func (*Candidate) Descriptor() ([]byte, []int)
- func (m *Candidate) GetAddress() string
- func (m *Candidate) GetPubKey() []byte
- func (m *Candidate) GetRewardAddress() string
- func (m *Candidate) GetVotes() []byte
- func (*Candidate) ProtoMessage()
- func (m *Candidate) Reset()
- func (m *Candidate) String() string
- func (m *Candidate) XXX_DiscardUnknown()
- func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Candidate) XXX_Merge(src proto.Message)
- func (m *Candidate) XXX_Size() int
- func (m *Candidate) XXX_Unmarshal(b []byte) error
- type CandidateBasicInfo
- func (*CandidateBasicInfo) Descriptor() ([]byte, []int)
- func (m *CandidateBasicInfo) GetName() string
- func (m *CandidateBasicInfo) GetOperatorAddress() string
- func (m *CandidateBasicInfo) GetRewardAddress() string
- func (*CandidateBasicInfo) ProtoMessage()
- func (m *CandidateBasicInfo) Reset()
- func (m *CandidateBasicInfo) String() string
- func (m *CandidateBasicInfo) XXX_DiscardUnknown()
- func (m *CandidateBasicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidateBasicInfo) XXX_Merge(src proto.Message)
- func (m *CandidateBasicInfo) XXX_Size() int
- func (m *CandidateBasicInfo) XXX_Unmarshal(b []byte) error
- type CandidateList
- func (*CandidateList) Descriptor() ([]byte, []int)
- func (m *CandidateList) GetCandidates() []*Candidate
- func (*CandidateList) ProtoMessage()
- func (m *CandidateList) Reset()
- func (m *CandidateList) String() string
- func (m *CandidateList) XXX_DiscardUnknown()
- func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidateList) XXX_Merge(src proto.Message)
- func (m *CandidateList) XXX_Size() int
- func (m *CandidateList) XXX_Unmarshal(b []byte) error
- type CandidateListV2
- func (*CandidateListV2) Descriptor() ([]byte, []int)
- func (m *CandidateListV2) GetCandidates() []*CandidateV2
- func (*CandidateListV2) ProtoMessage()
- func (m *CandidateListV2) Reset()
- func (m *CandidateListV2) String() string
- func (m *CandidateListV2) XXX_DiscardUnknown()
- func (m *CandidateListV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidateListV2) XXX_Merge(src proto.Message)
- func (m *CandidateListV2) XXX_Size() int
- func (m *CandidateListV2) XXX_Unmarshal(b []byte) error
- type CandidateRegister
- func (*CandidateRegister) Descriptor() ([]byte, []int)
- func (m *CandidateRegister) GetAutoStake() bool
- func (m *CandidateRegister) GetCandidate() *CandidateBasicInfo
- func (m *CandidateRegister) GetOwnerAddress() string
- func (m *CandidateRegister) GetPayload() []byte
- func (m *CandidateRegister) GetStakedAmount() string
- func (m *CandidateRegister) GetStakedDuration() uint32
- func (*CandidateRegister) ProtoMessage()
- func (m *CandidateRegister) Reset()
- func (m *CandidateRegister) String() string
- func (m *CandidateRegister) XXX_DiscardUnknown()
- func (m *CandidateRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidateRegister) XXX_Merge(src proto.Message)
- func (m *CandidateRegister) XXX_Size() int
- func (m *CandidateRegister) XXX_Unmarshal(b []byte) error
- type CandidateV2
- func (*CandidateV2) Descriptor() ([]byte, []int)
- func (m *CandidateV2) GetName() string
- func (m *CandidateV2) GetOperatorAddress() string
- func (m *CandidateV2) GetOwnerAddress() string
- func (m *CandidateV2) GetRewardAddress() string
- func (m *CandidateV2) GetSelfStakeBucketIdx() uint64
- func (m *CandidateV2) GetSelfStakingTokens() string
- func (m *CandidateV2) GetTotalWeightedVotes() string
- func (*CandidateV2) ProtoMessage()
- func (m *CandidateV2) Reset()
- func (m *CandidateV2) String() string
- func (m *CandidateV2) XXX_DiscardUnknown()
- func (m *CandidateV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CandidateV2) XXX_Merge(src proto.Message)
- func (m *CandidateV2) XXX_Size() int
- func (m *CandidateV2) XXX_Unmarshal(b []byte) error
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)
- func (m *ChainMeta) GetEpoch() *EpochData
- func (m *ChainMeta) GetHeight() uint64
- func (m *ChainMeta) GetNumActions() int64
- func (m *ChainMeta) GetTps() int64
- func (m *ChainMeta) GetTpsFloat() float32
- func (*ChainMeta) ProtoMessage()
- func (m *ChainMeta) Reset()
- func (m *ChainMeta) String() string
- func (m *ChainMeta) XXX_DiscardUnknown()
- func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMeta) XXX_Merge(src proto.Message)
- func (m *ChainMeta) XXX_Size() int
- func (m *ChainMeta) XXX_Unmarshal(b []byte) error
- type ClaimFromRewardingFund
- func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
- func (m *ClaimFromRewardingFund) GetAmount() string
- func (m *ClaimFromRewardingFund) GetData() []byte
- func (*ClaimFromRewardingFund) ProtoMessage()
- func (m *ClaimFromRewardingFund) Reset()
- func (m *ClaimFromRewardingFund) String() string
- func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
- func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
- func (m *ClaimFromRewardingFund) XXX_Size() int
- func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
- type ConsensusMessage
- func (*ConsensusMessage) Descriptor() ([]byte, []int)
- func (m *ConsensusMessage) GetBlockProposal() *BlockProposal
- func (m *ConsensusMessage) GetEndorsement() *Endorsement
- func (m *ConsensusMessage) GetHeight() uint64
- func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
- func (m *ConsensusMessage) GetVote() *ConsensusVote
- func (*ConsensusMessage) ProtoMessage()
- func (m *ConsensusMessage) Reset()
- func (m *ConsensusMessage) String() string
- func (m *ConsensusMessage) XXX_DiscardUnknown()
- func (m *ConsensusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusMessage) XXX_Merge(src proto.Message)
- func (*ConsensusMessage) XXX_OneofWrappers() []interface{}
- func (m *ConsensusMessage) XXX_Size() int
- func (m *ConsensusMessage) XXX_Unmarshal(b []byte) error
- type ConsensusMessage_BlockProposal
- type ConsensusMessage_Vote
- type ConsensusVote
- func (*ConsensusVote) Descriptor() ([]byte, []int)
- func (m *ConsensusVote) GetBlockHash() []byte
- func (m *ConsensusVote) GetTopic() ConsensusVote_Topic
- func (*ConsensusVote) ProtoMessage()
- func (m *ConsensusVote) Reset()
- func (m *ConsensusVote) String() string
- func (m *ConsensusVote) XXX_DiscardUnknown()
- func (m *ConsensusVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusVote) XXX_Merge(src proto.Message)
- func (m *ConsensusVote) XXX_Size() int
- func (m *ConsensusVote) XXX_Unmarshal(b []byte) error
- type ConsensusVote_Topic
- type CreateDeposit
- func (*CreateDeposit) Descriptor() ([]byte, []int)
- func (m *CreateDeposit) GetAmount() string
- func (m *CreateDeposit) GetChainID() uint32
- func (m *CreateDeposit) GetRecipient() string
- func (*CreateDeposit) ProtoMessage()
- func (m *CreateDeposit) Reset()
- func (m *CreateDeposit) String() string
- func (m *CreateDeposit) XXX_DiscardUnknown()
- func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeposit) XXX_Merge(src proto.Message)
- func (m *CreateDeposit) XXX_Size() int
- func (m *CreateDeposit) XXX_Unmarshal(b []byte) error
- type CreatePlumChain
- func (*CreatePlumChain) Descriptor() ([]byte, []int)
- func (*CreatePlumChain) ProtoMessage()
- func (m *CreatePlumChain) Reset()
- func (m *CreatePlumChain) String() string
- func (m *CreatePlumChain) XXX_DiscardUnknown()
- func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePlumChain) XXX_Merge(src proto.Message)
- func (m *CreatePlumChain) XXX_Size() int
- func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error
- type DepositToRewardingFund
- func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
- func (m *DepositToRewardingFund) GetAmount() string
- func (m *DepositToRewardingFund) GetData() []byte
- func (*DepositToRewardingFund) ProtoMessage()
- func (m *DepositToRewardingFund) Reset()
- func (m *DepositToRewardingFund) String() string
- func (m *DepositToRewardingFund) XXX_DiscardUnknown()
- func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositToRewardingFund) XXX_Merge(src proto.Message)
- func (m *DepositToRewardingFund) XXX_Size() int
- func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
- type ElectionBucket
- func (*ElectionBucket) Descriptor() ([]byte, []int)
- func (m *ElectionBucket) GetAmount() []byte
- func (m *ElectionBucket) GetCandidate() []byte
- func (m *ElectionBucket) GetDecay() bool
- func (m *ElectionBucket) GetDuration() *duration.Duration
- func (m *ElectionBucket) GetStartTime() *timestamp.Timestamp
- func (m *ElectionBucket) GetVoter() []byte
- func (*ElectionBucket) ProtoMessage()
- func (m *ElectionBucket) Reset()
- func (m *ElectionBucket) String() string
- func (m *ElectionBucket) XXX_DiscardUnknown()
- func (m *ElectionBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ElectionBucket) XXX_Merge(src proto.Message)
- func (m *ElectionBucket) XXX_Size() int
- func (m *ElectionBucket) XXX_Unmarshal(b []byte) error
- type Endorsement
- func (*Endorsement) Descriptor() ([]byte, []int)
- func (m *Endorsement) GetEndorser() []byte
- func (m *Endorsement) GetSignature() []byte
- func (m *Endorsement) GetTimestamp() *timestamp.Timestamp
- func (*Endorsement) ProtoMessage()
- func (m *Endorsement) Reset()
- func (m *Endorsement) String() string
- func (m *Endorsement) XXX_DiscardUnknown()
- func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endorsement) XXX_Merge(src proto.Message)
- func (m *Endorsement) XXX_Size() int
- func (m *Endorsement) XXX_Unmarshal(b []byte) error
- type EpochData
- func (*EpochData) Descriptor() ([]byte, []int)
- func (m *EpochData) GetGravityChainStartHeight() uint64
- func (m *EpochData) GetHeight() uint64
- func (m *EpochData) GetNum() uint64
- func (*EpochData) ProtoMessage()
- func (m *EpochData) Reset()
- func (m *EpochData) String() string
- func (m *EpochData) XXX_DiscardUnknown()
- func (m *EpochData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochData) XXX_Merge(src proto.Message)
- func (m *EpochData) XXX_Size() int
- func (m *EpochData) XXX_Unmarshal(b []byte) error
- type EvmTransfer
- func (*EvmTransfer) Descriptor() ([]byte, []int)
- func (m *EvmTransfer) GetAmount() []byte
- func (m *EvmTransfer) GetFrom() string
- func (m *EvmTransfer) GetTo() string
- func (*EvmTransfer) ProtoMessage()
- func (m *EvmTransfer) Reset()
- func (m *EvmTransfer) String() string
- func (m *EvmTransfer) XXX_DiscardUnknown()
- func (m *EvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvmTransfer) XXX_Merge(src proto.Message)
- func (m *EvmTransfer) XXX_Size() int
- func (m *EvmTransfer) XXX_Unmarshal(b []byte) error
- type EvmTransferList
- func (*EvmTransferList) Descriptor() ([]byte, []int)
- func (m *EvmTransferList) GetEvmTransfers() []*EvmTransfer
- func (*EvmTransferList) ProtoMessage()
- func (m *EvmTransferList) Reset()
- func (m *EvmTransferList) String() string
- func (m *EvmTransferList) XXX_DiscardUnknown()
- func (m *EvmTransferList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvmTransferList) XXX_Merge(src proto.Message)
- func (m *EvmTransferList) XXX_Size() int
- func (m *EvmTransferList) XXX_Unmarshal(b []byte) error
- type Execution
- func (*Execution) Descriptor() ([]byte, []int)
- func (m *Execution) GetAmount() string
- func (m *Execution) GetContract() string
- func (m *Execution) GetData() []byte
- func (*Execution) ProtoMessage()
- func (m *Execution) Reset()
- func (m *Execution) String() string
- func (m *Execution) XXX_DiscardUnknown()
- func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Execution) XXX_Merge(src proto.Message)
- func (m *Execution) XXX_Size() int
- func (m *Execution) XXX_Unmarshal(b []byte) error
- type Genesis
- func (*Genesis) Descriptor() ([]byte, []int)
- func (m *Genesis) GetAccount() *GenesisAccount
- func (m *Genesis) GetBlockchain() *GenesisBlockchain
- func (m *Genesis) GetPoll() *GenesisPoll
- func (m *Genesis) GetRewarding() *GenesisRewarding
- func (*Genesis) ProtoMessage()
- func (m *Genesis) Reset()
- func (m *Genesis) String() string
- func (m *Genesis) XXX_DiscardUnknown()
- func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Genesis) XXX_Merge(src proto.Message)
- func (m *Genesis) XXX_Size() int
- func (m *Genesis) XXX_Unmarshal(b []byte) error
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetInitBalanceAddrs() []string
- func (m *GenesisAccount) GetInitBalances() []string
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisBlockchain
- func (*GenesisBlockchain) Descriptor() ([]byte, []int)
- func (m *GenesisBlockchain) GetActionGasLimit() uint64
- func (m *GenesisBlockchain) GetBlockGasLimit() uint64
- func (m *GenesisBlockchain) GetBlockInterval() int64
- func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64
- func (m *GenesisBlockchain) GetNumDelegates() uint64
- func (m *GenesisBlockchain) GetNumSubEpochs() uint64
- func (m *GenesisBlockchain) GetTimeBasedRotation() bool
- func (m *GenesisBlockchain) GetTimestamp() int64
- func (*GenesisBlockchain) ProtoMessage()
- func (m *GenesisBlockchain) Reset()
- func (m *GenesisBlockchain) String() string
- func (m *GenesisBlockchain) XXX_DiscardUnknown()
- func (m *GenesisBlockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisBlockchain) XXX_Merge(src proto.Message)
- func (m *GenesisBlockchain) XXX_Size() int
- func (m *GenesisBlockchain) XXX_Unmarshal(b []byte) error
- type GenesisDelegate
- func (*GenesisDelegate) Descriptor() ([]byte, []int)
- func (m *GenesisDelegate) GetOperatorAddr() string
- func (m *GenesisDelegate) GetRewardAddr() string
- func (m *GenesisDelegate) GetVotes() string
- func (*GenesisDelegate) ProtoMessage()
- func (m *GenesisDelegate) Reset()
- func (m *GenesisDelegate) String() string
- func (m *GenesisDelegate) XXX_DiscardUnknown()
- func (m *GenesisDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisDelegate) XXX_Merge(src proto.Message)
- func (m *GenesisDelegate) XXX_Size() int
- func (m *GenesisDelegate) XXX_Unmarshal(b []byte) error
- type GenesisPoll
- func (*GenesisPoll) Descriptor() ([]byte, []int)
- func (m *GenesisPoll) GetDelegates() []*GenesisDelegate
- func (m *GenesisPoll) GetEnableGravityChainVoting() bool
- func (m *GenesisPoll) GetGravityChainStartHeight() uint64
- func (m *GenesisPoll) GetRegisterContractAddress() string
- func (m *GenesisPoll) GetScoreThreshold() string
- func (m *GenesisPoll) GetSelfStakingThreshold() string
- func (m *GenesisPoll) GetStakingContractAddress() string
- func (m *GenesisPoll) GetVoteThreshold() string
- func (*GenesisPoll) ProtoMessage()
- func (m *GenesisPoll) Reset()
- func (m *GenesisPoll) String() string
- func (m *GenesisPoll) XXX_DiscardUnknown()
- func (m *GenesisPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisPoll) XXX_Merge(src proto.Message)
- func (m *GenesisPoll) XXX_Size() int
- func (m *GenesisPoll) XXX_Unmarshal(b []byte) error
- type GenesisRewarding
- func (*GenesisRewarding) Descriptor() ([]byte, []int)
- func (m *GenesisRewarding) GetBlockReward() string
- func (m *GenesisRewarding) GetEpochReward() string
- func (m *GenesisRewarding) GetFoundationBonus() string
- func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
- func (m *GenesisRewarding) GetInitAdminAddr() string
- func (m *GenesisRewarding) GetInitBalance() string
- func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
- func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
- func (m *GenesisRewarding) GetProductivityThreshold() uint64
- func (*GenesisRewarding) ProtoMessage()
- func (m *GenesisRewarding) Reset()
- func (m *GenesisRewarding) String() string
- func (m *GenesisRewarding) XXX_DiscardUnknown()
- func (m *GenesisRewarding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisRewarding) XXX_Merge(src proto.Message)
- func (m *GenesisRewarding) XXX_Size() int
- func (m *GenesisRewarding) XXX_Unmarshal(b []byte) error
- type GrantReward
- func (*GrantReward) Descriptor() ([]byte, []int)
- func (m *GrantReward) GetHeight() uint64
- func (m *GrantReward) GetType() RewardType
- func (*GrantReward) ProtoMessage()
- func (m *GrantReward) Reset()
- func (m *GrantReward) String() string
- func (m *GrantReward) XXX_DiscardUnknown()
- func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantReward) XXX_Merge(src proto.Message)
- func (m *GrantReward) XXX_Size() int
- func (m *GrantReward) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetActHash() []byte
- func (m *Log) GetBlkHeight() uint64
- func (m *Log) GetContractAddress() string
- func (m *Log) GetData() []byte
- func (m *Log) GetIndex() uint32
- func (m *Log) GetTopics() [][]byte
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) String() string
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type Logs
- func (*Logs) Descriptor() ([]byte, []int)
- func (m *Logs) GetLogs() []*Log
- func (*Logs) ProtoMessage()
- func (m *Logs) Reset()
- func (m *Logs) String() string
- func (m *Logs) XXX_DiscardUnknown()
- func (m *Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Logs) XXX_Merge(src proto.Message)
- func (m *Logs) XXX_Size() int
- func (m *Logs) XXX_Unmarshal(b []byte) error
- type MerkleRoot
- func (*MerkleRoot) Descriptor() ([]byte, []int)
- func (m *MerkleRoot) GetName() string
- func (m *MerkleRoot) GetValue() []byte
- func (*MerkleRoot) ProtoMessage()
- func (m *MerkleRoot) Reset()
- func (m *MerkleRoot) String() string
- func (m *MerkleRoot) XXX_DiscardUnknown()
- func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleRoot) XXX_Merge(src proto.Message)
- func (m *MerkleRoot) XXX_Size() int
- func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
- type PlumChallengeExit
- func (*PlumChallengeExit) Descriptor() ([]byte, []int)
- func (m *PlumChallengeExit) GetChallengeTransfer() []byte
- func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
- func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
- func (m *PlumChallengeExit) GetCoinID() uint64
- func (m *PlumChallengeExit) GetSubChainAddress() string
- func (*PlumChallengeExit) ProtoMessage()
- func (m *PlumChallengeExit) Reset()
- func (m *PlumChallengeExit) String() string
- func (m *PlumChallengeExit) XXX_DiscardUnknown()
- func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumChallengeExit) XXX_Size() int
- func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumCreateDeposit
- func (*PlumCreateDeposit) Descriptor() ([]byte, []int)
- func (m *PlumCreateDeposit) GetAmount() string
- func (m *PlumCreateDeposit) GetRecipient() string
- func (m *PlumCreateDeposit) GetSubChainAddress() string
- func (*PlumCreateDeposit) ProtoMessage()
- func (m *PlumCreateDeposit) Reset()
- func (m *PlumCreateDeposit) String() string
- func (m *PlumCreateDeposit) XXX_DiscardUnknown()
- func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumCreateDeposit) XXX_Merge(src proto.Message)
- func (m *PlumCreateDeposit) XXX_Size() int
- func (m *PlumCreateDeposit) XXX_Unmarshal(b []byte) error
- type PlumFinalizeExit
- func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
- func (m *PlumFinalizeExit) GetCoinID() uint64
- func (m *PlumFinalizeExit) GetSubChainAddress() string
- func (*PlumFinalizeExit) ProtoMessage()
- func (m *PlumFinalizeExit) Reset()
- func (m *PlumFinalizeExit) String() string
- func (m *PlumFinalizeExit) XXX_DiscardUnknown()
- func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumFinalizeExit) XXX_Merge(src proto.Message)
- func (m *PlumFinalizeExit) XXX_Size() int
- func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
- type PlumPutBlock
- func (*PlumPutBlock) Descriptor() ([]byte, []int)
- func (m *PlumPutBlock) GetHeight() uint64
- func (m *PlumPutBlock) GetRoots() map[string][]byte
- func (m *PlumPutBlock) GetSubChainAddress() string
- func (*PlumPutBlock) ProtoMessage()
- func (m *PlumPutBlock) Reset()
- func (m *PlumPutBlock) String() string
- func (m *PlumPutBlock) XXX_DiscardUnknown()
- func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumPutBlock) XXX_Merge(src proto.Message)
- func (m *PlumPutBlock) XXX_Size() int
- func (m *PlumPutBlock) XXX_Unmarshal(b []byte) error
- type PlumResponseChallengeExit
- func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
- func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
- func (m *PlumResponseChallengeExit) GetCoinID() uint64
- func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
- func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
- func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
- func (m *PlumResponseChallengeExit) GetSubChainAddress() string
- func (*PlumResponseChallengeExit) ProtoMessage()
- func (m *PlumResponseChallengeExit) Reset()
- func (m *PlumResponseChallengeExit) String() string
- func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
- func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumResponseChallengeExit) XXX_Size() int
- func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumSettleDeposit
- func (*PlumSettleDeposit) Descriptor() ([]byte, []int)
- func (m *PlumSettleDeposit) GetCoinID() uint64
- func (*PlumSettleDeposit) ProtoMessage()
- func (m *PlumSettleDeposit) Reset()
- func (m *PlumSettleDeposit) String() string
- func (m *PlumSettleDeposit) XXX_DiscardUnknown()
- func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumSettleDeposit) XXX_Merge(src proto.Message)
- func (m *PlumSettleDeposit) XXX_Size() int
- func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error
- type PlumStartExit
- func (*PlumStartExit) Descriptor() ([]byte, []int)
- func (m *PlumStartExit) GetExitTransfer() []byte
- func (m *PlumStartExit) GetExitTransferBlockHeight() uint64
- func (m *PlumStartExit) GetExitTransferBlockProof() []byte
- func (m *PlumStartExit) GetPreviousTransfer() []byte
- func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64
- func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte
- func (m *PlumStartExit) GetSubChainAddress() string
- func (*PlumStartExit) ProtoMessage()
- func (m *PlumStartExit) Reset()
- func (m *PlumStartExit) String() string
- func (m *PlumStartExit) XXX_DiscardUnknown()
- func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumStartExit) XXX_Merge(src proto.Message)
- func (m *PlumStartExit) XXX_Size() int
- func (m *PlumStartExit) XXX_Unmarshal(b []byte) error
- type PlumTransfer
- func (*PlumTransfer) Descriptor() ([]byte, []int)
- func (m *PlumTransfer) GetCoinID() uint64
- func (m *PlumTransfer) GetDenomination() []byte
- func (m *PlumTransfer) GetOwner() string
- func (m *PlumTransfer) GetRecipient() string
- func (*PlumTransfer) ProtoMessage()
- func (m *PlumTransfer) Reset()
- func (m *PlumTransfer) String() string
- func (m *PlumTransfer) XXX_DiscardUnknown()
- func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumTransfer) XXX_Merge(src proto.Message)
- func (m *PlumTransfer) XXX_Size() int
- func (m *PlumTransfer) XXX_Unmarshal(b []byte) error
- type ProbationCandidateList
- func (*ProbationCandidateList) Descriptor() ([]byte, []int)
- func (m *ProbationCandidateList) GetIntensityRate() uint32
- func (m *ProbationCandidateList) GetProbationList() []*ProbationCandidateList_Info
- func (*ProbationCandidateList) ProtoMessage()
- func (m *ProbationCandidateList) Reset()
- func (m *ProbationCandidateList) String() string
- func (m *ProbationCandidateList) XXX_DiscardUnknown()
- func (m *ProbationCandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProbationCandidateList) XXX_Merge(src proto.Message)
- func (m *ProbationCandidateList) XXX_Size() int
- func (m *ProbationCandidateList) XXX_Unmarshal(b []byte) error
- type ProbationCandidateList_Info
- func (*ProbationCandidateList_Info) Descriptor() ([]byte, []int)
- func (m *ProbationCandidateList_Info) GetAddress() string
- func (m *ProbationCandidateList_Info) GetCount() uint32
- func (*ProbationCandidateList_Info) ProtoMessage()
- func (m *ProbationCandidateList_Info) Reset()
- func (m *ProbationCandidateList_Info) String() string
- func (m *ProbationCandidateList_Info) XXX_DiscardUnknown()
- func (m *ProbationCandidateList_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProbationCandidateList_Info) XXX_Merge(src proto.Message)
- func (m *ProbationCandidateList_Info) XXX_Size() int
- func (m *ProbationCandidateList_Info) XXX_Unmarshal(b []byte) error
- type PutBlock
- func (*PutBlock) Descriptor() ([]byte, []int)
- func (m *PutBlock) GetHeight() uint64
- func (m *PutBlock) GetRoots() []*MerkleRoot
- func (m *PutBlock) GetSubChainAddress() string
- func (*PutBlock) ProtoMessage()
- func (m *PutBlock) Reset()
- func (m *PutBlock) String() string
- func (m *PutBlock) XXX_DiscardUnknown()
- func (m *PutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutBlock) XXX_Merge(src proto.Message)
- func (m *PutBlock) XXX_Size() int
- func (m *PutBlock) XXX_Unmarshal(b []byte) error
- type PutPollResult
- func (*PutPollResult) Descriptor() ([]byte, []int)
- func (m *PutPollResult) GetCandidates() *CandidateList
- func (m *PutPollResult) GetHeight() uint64
- func (*PutPollResult) ProtoMessage()
- func (m *PutPollResult) Reset()
- func (m *PutPollResult) String() string
- func (m *PutPollResult) XXX_DiscardUnknown()
- func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutPollResult) XXX_Merge(src proto.Message)
- func (m *PutPollResult) XXX_Size() int
- func (m *PutPollResult) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetActHash() []byte
- func (m *Receipt) GetBlkHeight() uint64
- func (m *Receipt) GetContractAddress() string
- func (m *Receipt) GetGasConsumed() uint64
- func (m *Receipt) GetLogs() []*Log
- func (m *Receipt) GetStatus() uint64
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) String() string
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type ReceiptStatus
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*Receipt
- func (*Receipts) ProtoMessage()
- func (m *Receipts) Reset()
- func (m *Receipts) String() string
- func (m *Receipts) XXX_DiscardUnknown()
- func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type RewardType
- type ServerMeta
- func (*ServerMeta) Descriptor() ([]byte, []int)
- func (m *ServerMeta) GetBuildTime() string
- func (m *ServerMeta) GetGitStatus() string
- func (m *ServerMeta) GetGoVersion() string
- func (m *ServerMeta) GetPackageCommitID() string
- func (m *ServerMeta) GetPackageVersion() string
- func (*ServerMeta) ProtoMessage()
- func (m *ServerMeta) Reset()
- func (m *ServerMeta) String() string
- func (m *ServerMeta) XXX_DiscardUnknown()
- func (m *ServerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerMeta) XXX_Merge(src proto.Message)
- func (m *ServerMeta) XXX_Size() int
- func (m *ServerMeta) XXX_Unmarshal(b []byte) error
- type SettleDeposit
- func (*SettleDeposit) Descriptor() ([]byte, []int)
- func (m *SettleDeposit) GetAmount() string
- func (m *SettleDeposit) GetIndex() uint64
- func (m *SettleDeposit) GetRecipient() string
- func (*SettleDeposit) ProtoMessage()
- func (m *SettleDeposit) Reset()
- func (m *SettleDeposit) String() string
- func (m *SettleDeposit) XXX_DiscardUnknown()
- func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleDeposit) XXX_Merge(src proto.Message)
- func (m *SettleDeposit) XXX_Size() int
- func (m *SettleDeposit) XXX_Unmarshal(b []byte) error
- type StakeAddDeposit
- func (*StakeAddDeposit) Descriptor() ([]byte, []int)
- func (m *StakeAddDeposit) GetAmount() string
- func (m *StakeAddDeposit) GetBucketIndex() uint64
- func (m *StakeAddDeposit) GetPayload() []byte
- func (*StakeAddDeposit) ProtoMessage()
- func (m *StakeAddDeposit) Reset()
- func (m *StakeAddDeposit) String() string
- func (m *StakeAddDeposit) XXX_DiscardUnknown()
- func (m *StakeAddDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeAddDeposit) XXX_Merge(src proto.Message)
- func (m *StakeAddDeposit) XXX_Size() int
- func (m *StakeAddDeposit) XXX_Unmarshal(b []byte) error
- type StakeChangeCandidate
- func (*StakeChangeCandidate) Descriptor() ([]byte, []int)
- func (m *StakeChangeCandidate) GetBucketIndex() uint64
- func (m *StakeChangeCandidate) GetCandidateName() string
- func (m *StakeChangeCandidate) GetPayload() []byte
- func (*StakeChangeCandidate) ProtoMessage()
- func (m *StakeChangeCandidate) Reset()
- func (m *StakeChangeCandidate) String() string
- func (m *StakeChangeCandidate) XXX_DiscardUnknown()
- func (m *StakeChangeCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeChangeCandidate) XXX_Merge(src proto.Message)
- func (m *StakeChangeCandidate) XXX_Size() int
- func (m *StakeChangeCandidate) XXX_Unmarshal(b []byte) error
- type StakeCreate
- func (*StakeCreate) Descriptor() ([]byte, []int)
- func (m *StakeCreate) GetAutoStake() bool
- func (m *StakeCreate) GetCandidateName() string
- func (m *StakeCreate) GetPayload() []byte
- func (m *StakeCreate) GetStakedAmount() string
- func (m *StakeCreate) GetStakedDuration() uint32
- func (*StakeCreate) ProtoMessage()
- func (m *StakeCreate) Reset()
- func (m *StakeCreate) String() string
- func (m *StakeCreate) XXX_DiscardUnknown()
- func (m *StakeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeCreate) XXX_Merge(src proto.Message)
- func (m *StakeCreate) XXX_Size() int
- func (m *StakeCreate) XXX_Unmarshal(b []byte) error
- type StakeReclaim
- func (*StakeReclaim) Descriptor() ([]byte, []int)
- func (m *StakeReclaim) GetBucketIndex() uint64
- func (m *StakeReclaim) GetPayload() []byte
- func (*StakeReclaim) ProtoMessage()
- func (m *StakeReclaim) Reset()
- func (m *StakeReclaim) String() string
- func (m *StakeReclaim) XXX_DiscardUnknown()
- func (m *StakeReclaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeReclaim) XXX_Merge(src proto.Message)
- func (m *StakeReclaim) XXX_Size() int
- func (m *StakeReclaim) XXX_Unmarshal(b []byte) error
- type StakeRestake
- func (*StakeRestake) Descriptor() ([]byte, []int)
- func (m *StakeRestake) GetAutoStake() bool
- func (m *StakeRestake) GetBucketIndex() uint64
- func (m *StakeRestake) GetPayload() []byte
- func (m *StakeRestake) GetStakedDuration() uint32
- func (*StakeRestake) ProtoMessage()
- func (m *StakeRestake) Reset()
- func (m *StakeRestake) String() string
- func (m *StakeRestake) XXX_DiscardUnknown()
- func (m *StakeRestake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeRestake) XXX_Merge(src proto.Message)
- func (m *StakeRestake) XXX_Size() int
- func (m *StakeRestake) XXX_Unmarshal(b []byte) error
- type StakeTransferOwnership
- func (*StakeTransferOwnership) Descriptor() ([]byte, []int)
- func (m *StakeTransferOwnership) GetBucketIndex() uint64
- func (m *StakeTransferOwnership) GetPayload() []byte
- func (m *StakeTransferOwnership) GetVoterAddress() string
- func (*StakeTransferOwnership) ProtoMessage()
- func (m *StakeTransferOwnership) Reset()
- func (m *StakeTransferOwnership) String() string
- func (m *StakeTransferOwnership) XXX_DiscardUnknown()
- func (m *StakeTransferOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeTransferOwnership) XXX_Merge(src proto.Message)
- func (m *StakeTransferOwnership) XXX_Size() int
- func (m *StakeTransferOwnership) XXX_Unmarshal(b []byte) error
- type StartSubChain
- func (*StartSubChain) Descriptor() ([]byte, []int)
- func (m *StartSubChain) GetChainID() uint32
- func (m *StartSubChain) GetOperationDeposit() string
- func (m *StartSubChain) GetParentHeightOffset() uint64
- func (m *StartSubChain) GetSecurityDeposit() string
- func (m *StartSubChain) GetStartHeight() uint64
- func (*StartSubChain) ProtoMessage()
- func (m *StartSubChain) Reset()
- func (m *StartSubChain) String() string
- func (m *StartSubChain) XXX_DiscardUnknown()
- func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartSubChain) XXX_Merge(src proto.Message)
- func (m *StartSubChain) XXX_Size() int
- func (m *StartSubChain) XXX_Unmarshal(b []byte) error
- type StopSubChain
- func (*StopSubChain) Descriptor() ([]byte, []int)
- func (m *StopSubChain) GetChainID() uint32
- func (m *StopSubChain) GetStopHeight() uint64
- func (m *StopSubChain) GetSubChainAddress() string
- func (*StopSubChain) ProtoMessage()
- func (m *StopSubChain) Reset()
- func (m *StopSubChain) String() string
- func (m *StopSubChain) XXX_DiscardUnknown()
- func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopSubChain) XXX_Merge(src proto.Message)
- func (m *StopSubChain) XXX_Size() int
- func (m *StopSubChain) XXX_Unmarshal(b []byte) error
- type TerminatePlumChain
- func (*TerminatePlumChain) Descriptor() ([]byte, []int)
- func (m *TerminatePlumChain) GetSubChainAddress() string
- func (*TerminatePlumChain) ProtoMessage()
- func (m *TerminatePlumChain) Reset()
- func (m *TerminatePlumChain) String() string
- func (m *TerminatePlumChain) XXX_DiscardUnknown()
- func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TerminatePlumChain) XXX_Merge(src proto.Message)
- func (m *TerminatePlumChain) XXX_Size() int
- func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error
- type TransactionLog
- func (*TransactionLog) Descriptor() ([]byte, []int)
- func (m *TransactionLog) GetActionHash() []byte
- func (m *TransactionLog) GetNumTransactions() uint64
- func (m *TransactionLog) GetTransactions() []*TransactionLog_Transaction
- func (*TransactionLog) ProtoMessage()
- func (m *TransactionLog) Reset()
- func (m *TransactionLog) String() string
- func (m *TransactionLog) XXX_DiscardUnknown()
- func (m *TransactionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionLog) XXX_Merge(src proto.Message)
- func (m *TransactionLog) XXX_Size() int
- func (m *TransactionLog) XXX_Unmarshal(b []byte) error
- type TransactionLogType
- type TransactionLog_Transaction
- func (*TransactionLog_Transaction) Descriptor() ([]byte, []int)
- func (m *TransactionLog_Transaction) GetAmount() string
- func (m *TransactionLog_Transaction) GetRecipient() string
- func (m *TransactionLog_Transaction) GetSender() string
- func (m *TransactionLog_Transaction) GetTopic() []byte
- func (*TransactionLog_Transaction) ProtoMessage()
- func (m *TransactionLog_Transaction) Reset()
- func (m *TransactionLog_Transaction) String() string
- func (m *TransactionLog_Transaction) XXX_DiscardUnknown()
- func (m *TransactionLog_Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionLog_Transaction) XXX_Merge(src proto.Message)
- func (m *TransactionLog_Transaction) XXX_Size() int
- func (m *TransactionLog_Transaction) XXX_Unmarshal(b []byte) error
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetAmount() string
- func (m *Transfer) GetPayload() []byte
- func (m *Transfer) GetRecipient() string
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) String() string
- func (m *Transfer) XXX_DiscardUnknown()
- func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transfer) XXX_Merge(src proto.Message)
- func (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type VoteBucket
- func (*VoteBucket) Descriptor() ([]byte, []int)
- func (m *VoteBucket) GetAutoStake() bool
- func (m *VoteBucket) GetCandidateAddress() string
- func (m *VoteBucket) GetCreateTime() *timestamp.Timestamp
- func (m *VoteBucket) GetIndex() uint64
- func (m *VoteBucket) GetOwner() string
- func (m *VoteBucket) GetStakeStartTime() *timestamp.Timestamp
- func (m *VoteBucket) GetStakedAmount() string
- func (m *VoteBucket) GetStakedDuration() uint32
- func (m *VoteBucket) GetUnstakeStartTime() *timestamp.Timestamp
- func (*VoteBucket) ProtoMessage()
- func (m *VoteBucket) Reset()
- func (m *VoteBucket) String() string
- func (m *VoteBucket) XXX_DiscardUnknown()
- func (m *VoteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteBucket) XXX_Merge(src proto.Message)
- func (m *VoteBucket) XXX_Size() int
- func (m *VoteBucket) XXX_Unmarshal(b []byte) error
- type VoteBucketList
- func (*VoteBucketList) Descriptor() ([]byte, []int)
- func (m *VoteBucketList) GetBuckets() []*VoteBucket
- func (*VoteBucketList) ProtoMessage()
- func (m *VoteBucketList) Reset()
- func (m *VoteBucketList) String() string
- func (m *VoteBucketList) XXX_DiscardUnknown()
- func (m *VoteBucketList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteBucketList) XXX_Merge(src proto.Message)
- func (m *VoteBucketList) XXX_Size() int
- func (m *VoteBucketList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ConsensusVote_Topic_name = map[int32]string{
0: "PROPOSAL",
1: "LOCK",
2: "COMMIT",
}
var ConsensusVote_Topic_value = map[string]int32{
"PROPOSAL": 0,
"LOCK": 1,
"COMMIT": 2,
}
var ReceiptStatus_name = map[int32]string{
0: "Failure",
1: "Success",
100: "ErrUnknown",
101: "ErrOutOfGas",
102: "ErrCodeStoreOutOfGas",
103: "ErrDepth",
104: "ErrContractAddressCollision",
105: "ErrNoCompatibleInterpreter",
106: "ErrExecutionReverted",
107: "ErrMaxCodeSizeExceeded",
108: "ErrWriteProtection",
200: "ErrLoadAccount",
201: "ErrNotEnoughBalance",
202: "ErrInvalidBucketIndex",
203: "ErrUnauthorizedOperator",
204: "ErrInvalidBucketType",
205: "ErrCandidateNotExist",
206: "ErrReduceDurationBeforeMaturity",
207: "ErrUnstakeBeforeMaturity",
208: "ErrWithdrawBeforeUnstake",
209: "ErrWithdrawBeforeMaturity",
210: "ErrCandidateAlreadyExist",
211: "ErrCandidateConflict",
212: "ErrInvalidBucketAmount",
213: "ErrWriteAccount",
214: "ErrWriteBucket",
215: "ErrWriteCandidate",
}
var ReceiptStatus_value = map[string]int32{
"Failure": 0,
"Success": 1,
"ErrUnknown": 100,
"ErrOutOfGas": 101,
"ErrCodeStoreOutOfGas": 102,
"ErrDepth": 103,
"ErrContractAddressCollision": 104,
"ErrNoCompatibleInterpreter": 105,
"ErrExecutionReverted": 106,
"ErrMaxCodeSizeExceeded": 107,
"ErrWriteProtection": 108,
"ErrLoadAccount": 200,
"ErrNotEnoughBalance": 201,
"ErrInvalidBucketIndex": 202,
"ErrUnauthorizedOperator": 203,
"ErrInvalidBucketType": 204,
"ErrCandidateNotExist": 205,
"ErrReduceDurationBeforeMaturity": 206,
"ErrUnstakeBeforeMaturity": 207,
"ErrWithdrawBeforeUnstake": 208,
"ErrWithdrawBeforeMaturity": 209,
"ErrCandidateAlreadyExist": 210,
"ErrCandidateConflict": 211,
"ErrInvalidBucketAmount": 212,
"ErrWriteAccount": 213,
"ErrWriteBucket": 214,
"ErrWriteCandidate": 215,
}
var RewardType_name = map[int32]string{
0: "BlockReward",
1: "EpochReward",
}
var RewardType_value = map[string]int32{
"BlockReward": 0,
"EpochReward": 1,
}
var TransactionLogType_name = map[int32]string{
0: "IN_CONTRACT_TRANSFER",
1: "BUCKET_WITHDRAW_AMOUNT",
2: "BUCKET_CREATE_AMOUNT",
3: "BUCKET_DEPOSIT_AMOUNT",
4: "CANDIDATE_SELF_STAKE",
5: "CANDIDATE_REGISTRATION_FEE",
6: "GAS_FEE",
7: "NATIVE_TRANSFER",
8: "DEPOSIT_TO_REWARDING_FUND",
9: "CLAIM_FROM_REWARDING_FUND",
}
var TransactionLogType_value = map[string]int32{
"IN_CONTRACT_TRANSFER": 0,
"BUCKET_WITHDRAW_AMOUNT": 1,
"BUCKET_CREATE_AMOUNT": 2,
"BUCKET_DEPOSIT_AMOUNT": 3,
"CANDIDATE_SELF_STAKE": 4,
"CANDIDATE_REGISTRATION_FEE": 5,
"GAS_FEE": 6,
"NATIVE_TRANSFER": 7,
"DEPOSIT_TO_REWARDING_FUND": 8,
"CLAIM_FROM_REWARDING_FUND": 9,
}
Functions ¶
This section is empty.
Types ¶
type AccountMeta ¶
type AccountMeta struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
PendingNonce uint64 `protobuf:"varint,4,opt,name=pendingNonce,proto3" json:"pendingNonce,omitempty"`
NumActions uint64 `protobuf:"varint,5,opt,name=numActions,proto3" json:"numActions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Account Metadata
func (*AccountMeta) Descriptor ¶
func (*AccountMeta) Descriptor() ([]byte, []int)
func (*AccountMeta) GetAddress ¶
func (m *AccountMeta) GetAddress() string
func (*AccountMeta) GetBalance ¶
func (m *AccountMeta) GetBalance() string
func (*AccountMeta) GetNonce ¶
func (m *AccountMeta) GetNonce() uint64
func (*AccountMeta) GetNumActions ¶
func (m *AccountMeta) GetNumActions() uint64
func (*AccountMeta) GetPendingNonce ¶
func (m *AccountMeta) GetPendingNonce() uint64
func (*AccountMeta) ProtoMessage ¶
func (*AccountMeta) ProtoMessage()
func (*AccountMeta) Reset ¶
func (m *AccountMeta) Reset()
func (*AccountMeta) String ¶
func (m *AccountMeta) String() string
func (*AccountMeta) XXX_DiscardUnknown ¶
func (m *AccountMeta) XXX_DiscardUnknown()
func (*AccountMeta) XXX_Marshal ¶
func (m *AccountMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountMeta) XXX_Merge ¶
func (m *AccountMeta) XXX_Merge(src proto.Message)
func (*AccountMeta) XXX_Size ¶
func (m *AccountMeta) XXX_Size() int
func (*AccountMeta) XXX_Unmarshal ¶
func (m *AccountMeta) XXX_Unmarshal(b []byte) error
type Action ¶
type Action struct {
Core *ActionCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"`
SenderPubKey []byte `protobuf:"bytes,2,opt,name=senderPubKey,proto3" json:"senderPubKey,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Action) Descriptor ¶
func (*Action) GetCore ¶
func (m *Action) GetCore() *ActionCore
func (*Action) GetSenderPubKey ¶
func (*Action) GetSignature ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) XXX_DiscardUnknown ¶
func (m *Action) XXX_DiscardUnknown()
func (*Action) XXX_Marshal ¶
func (*Action) XXX_Unmarshal ¶
type ActionCore ¶
type ActionCore struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
GasLimit uint64 `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
GasPrice string `protobuf:"bytes,4,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
// Types that are valid to be assigned to Action:
// *ActionCore_Transfer
// *ActionCore_Execution
// *ActionCore_StartSubChain
// *ActionCore_StopSubChain
// *ActionCore_PutBlock
// *ActionCore_CreateDeposit
// *ActionCore_SettleDeposit
// *ActionCore_CreatePlumChain
// *ActionCore_TerminatePlumChain
// *ActionCore_PlumPutBlock
// *ActionCore_PlumCreateDeposit
// *ActionCore_PlumStartExit
// *ActionCore_PlumChallengeExit
// *ActionCore_PlumResponseChallengeExit
// *ActionCore_PlumFinalizeExit
// *ActionCore_PlumSettleDeposit
// *ActionCore_PlumTransfer
// *ActionCore_DepositToRewardingFund
// *ActionCore_ClaimFromRewardingFund
// *ActionCore_GrantReward
// *ActionCore_StakeCreate
// *ActionCore_StakeUnstake
// *ActionCore_StakeWithdraw
// *ActionCore_StakeAddDeposit
// *ActionCore_StakeRestake
// *ActionCore_StakeChangeCandidate
// *ActionCore_StakeTransferOwnership
// *ActionCore_CandidateRegister
// *ActionCore_CandidateUpdate
// *ActionCore_PutPollResult
Action isActionCore_Action `protobuf_oneof:"action"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ActionCore) Descriptor ¶
func (*ActionCore) Descriptor() ([]byte, []int)
func (*ActionCore) GetAction ¶
func (m *ActionCore) GetAction() isActionCore_Action
func (*ActionCore) GetCandidateRegister ¶ added in v0.3.0
func (m *ActionCore) GetCandidateRegister() *CandidateRegister
func (*ActionCore) GetCandidateUpdate ¶ added in v0.3.0
func (m *ActionCore) GetCandidateUpdate() *CandidateBasicInfo
func (*ActionCore) GetClaimFromRewardingFund ¶
func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
func (*ActionCore) GetCreateDeposit ¶
func (m *ActionCore) GetCreateDeposit() *CreateDeposit
func (*ActionCore) GetCreatePlumChain ¶
func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain
func (*ActionCore) GetDepositToRewardingFund ¶
func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
func (*ActionCore) GetExecution ¶
func (m *ActionCore) GetExecution() *Execution
func (*ActionCore) GetGasLimit ¶
func (m *ActionCore) GetGasLimit() uint64
func (*ActionCore) GetGasPrice ¶
func (m *ActionCore) GetGasPrice() string
func (*ActionCore) GetGrantReward ¶
func (m *ActionCore) GetGrantReward() *GrantReward
func (*ActionCore) GetNonce ¶
func (m *ActionCore) GetNonce() uint64
func (*ActionCore) GetPlumChallengeExit ¶
func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
func (*ActionCore) GetPlumCreateDeposit ¶
func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
func (*ActionCore) GetPlumFinalizeExit ¶
func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
func (*ActionCore) GetPlumPutBlock ¶
func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock
func (*ActionCore) GetPlumResponseChallengeExit ¶
func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
func (*ActionCore) GetPlumSettleDeposit ¶
func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
func (*ActionCore) GetPlumStartExit ¶
func (m *ActionCore) GetPlumStartExit() *PlumStartExit
func (*ActionCore) GetPlumTransfer ¶
func (m *ActionCore) GetPlumTransfer() *PlumTransfer
func (*ActionCore) GetPutBlock ¶
func (m *ActionCore) GetPutBlock() *PutBlock
func (*ActionCore) GetPutPollResult ¶
func (m *ActionCore) GetPutPollResult() *PutPollResult
func (*ActionCore) GetSettleDeposit ¶
func (m *ActionCore) GetSettleDeposit() *SettleDeposit
func (*ActionCore) GetStakeAddDeposit ¶ added in v0.3.0
func (m *ActionCore) GetStakeAddDeposit() *StakeAddDeposit
func (*ActionCore) GetStakeChangeCandidate ¶ added in v0.3.0
func (m *ActionCore) GetStakeChangeCandidate() *StakeChangeCandidate
func (*ActionCore) GetStakeCreate ¶ added in v0.3.0
func (m *ActionCore) GetStakeCreate() *StakeCreate
func (*ActionCore) GetStakeRestake ¶ added in v0.3.0
func (m *ActionCore) GetStakeRestake() *StakeRestake
func (*ActionCore) GetStakeTransferOwnership ¶ added in v0.3.0
func (m *ActionCore) GetStakeTransferOwnership() *StakeTransferOwnership
func (*ActionCore) GetStakeUnstake ¶ added in v0.3.0
func (m *ActionCore) GetStakeUnstake() *StakeReclaim
func (*ActionCore) GetStakeWithdraw ¶ added in v0.3.0
func (m *ActionCore) GetStakeWithdraw() *StakeReclaim
func (*ActionCore) GetStartSubChain ¶
func (m *ActionCore) GetStartSubChain() *StartSubChain
func (*ActionCore) GetStopSubChain ¶
func (m *ActionCore) GetStopSubChain() *StopSubChain
func (*ActionCore) GetTerminatePlumChain ¶
func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
func (*ActionCore) GetTransfer ¶
func (m *ActionCore) GetTransfer() *Transfer
func (*ActionCore) GetVersion ¶
func (m *ActionCore) GetVersion() uint32
func (*ActionCore) ProtoMessage ¶
func (*ActionCore) ProtoMessage()
func (*ActionCore) Reset ¶
func (m *ActionCore) Reset()
func (*ActionCore) String ¶
func (m *ActionCore) String() string
func (*ActionCore) XXX_DiscardUnknown ¶
func (m *ActionCore) XXX_DiscardUnknown()
func (*ActionCore) XXX_Marshal ¶
func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionCore) XXX_Merge ¶
func (m *ActionCore) XXX_Merge(src proto.Message)
func (*ActionCore) XXX_OneofWrappers ¶
func (*ActionCore) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ActionCore) XXX_Size ¶
func (m *ActionCore) XXX_Size() int
func (*ActionCore) XXX_Unmarshal ¶
func (m *ActionCore) XXX_Unmarshal(b []byte) error
type ActionCore_CandidateRegister ¶ added in v0.3.0
type ActionCore_CandidateRegister struct {
CandidateRegister *CandidateRegister `protobuf:"bytes,47,opt,name=candidateRegister,proto3,oneof"`
}
type ActionCore_CandidateUpdate ¶ added in v0.3.0
type ActionCore_CandidateUpdate struct {
CandidateUpdate *CandidateBasicInfo `protobuf:"bytes,48,opt,name=candidateUpdate,proto3,oneof"`
}
type ActionCore_ClaimFromRewardingFund ¶
type ActionCore_ClaimFromRewardingFund struct {
ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}
type ActionCore_CreateDeposit ¶
type ActionCore_CreateDeposit struct {
CreateDeposit *CreateDeposit `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}
type ActionCore_CreatePlumChain ¶
type ActionCore_CreatePlumChain struct {
CreatePlumChain *CreatePlumChain `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}
type ActionCore_DepositToRewardingFund ¶
type ActionCore_DepositToRewardingFund struct {
DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}
type ActionCore_Execution ¶
type ActionCore_Execution struct {
Execution *Execution `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}
type ActionCore_GrantReward ¶
type ActionCore_GrantReward struct {
GrantReward *GrantReward `protobuf:"bytes,32,opt,name=grantReward,proto3,oneof"`
}
type ActionCore_PlumChallengeExit ¶
type ActionCore_PlumChallengeExit struct {
PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}
type ActionCore_PlumCreateDeposit ¶
type ActionCore_PlumCreateDeposit struct {
PlumCreateDeposit *PlumCreateDeposit `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}
type ActionCore_PlumFinalizeExit ¶
type ActionCore_PlumFinalizeExit struct {
PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}
type ActionCore_PlumPutBlock ¶
type ActionCore_PlumPutBlock struct {
PlumPutBlock *PlumPutBlock `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}
type ActionCore_PlumResponseChallengeExit ¶
type ActionCore_PlumResponseChallengeExit struct {
PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}
type ActionCore_PlumSettleDeposit ¶
type ActionCore_PlumSettleDeposit struct {
PlumSettleDeposit *PlumSettleDeposit `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}
type ActionCore_PlumStartExit ¶
type ActionCore_PlumStartExit struct {
PlumStartExit *PlumStartExit `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}
type ActionCore_PlumTransfer ¶
type ActionCore_PlumTransfer struct {
PlumTransfer *PlumTransfer `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}
type ActionCore_PutBlock ¶
type ActionCore_PutBlock struct {
PutBlock *PutBlock `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}
type ActionCore_PutPollResult ¶
type ActionCore_PutPollResult struct {
PutPollResult *PutPollResult `protobuf:"bytes,50,opt,name=putPollResult,proto3,oneof"`
}
type ActionCore_SettleDeposit ¶
type ActionCore_SettleDeposit struct {
SettleDeposit *SettleDeposit `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}
type ActionCore_StakeAddDeposit ¶ added in v0.3.0
type ActionCore_StakeAddDeposit struct {
StakeAddDeposit *StakeAddDeposit `protobuf:"bytes,43,opt,name=stakeAddDeposit,proto3,oneof"`
}
type ActionCore_StakeChangeCandidate ¶ added in v0.3.0
type ActionCore_StakeChangeCandidate struct {
StakeChangeCandidate *StakeChangeCandidate `protobuf:"bytes,45,opt,name=stakeChangeCandidate,proto3,oneof"`
}
type ActionCore_StakeCreate ¶ added in v0.3.0
type ActionCore_StakeCreate struct {
StakeCreate *StakeCreate `protobuf:"bytes,40,opt,name=stakeCreate,proto3,oneof"`
}
type ActionCore_StakeRestake ¶ added in v0.3.0
type ActionCore_StakeRestake struct {
StakeRestake *StakeRestake `protobuf:"bytes,44,opt,name=stakeRestake,proto3,oneof"`
}
type ActionCore_StakeTransferOwnership ¶ added in v0.3.0
type ActionCore_StakeTransferOwnership struct {
StakeTransferOwnership *StakeTransferOwnership `protobuf:"bytes,46,opt,name=stakeTransferOwnership,proto3,oneof"`
}
type ActionCore_StakeUnstake ¶ added in v0.3.0
type ActionCore_StakeUnstake struct {
StakeUnstake *StakeReclaim `protobuf:"bytes,41,opt,name=stakeUnstake,proto3,oneof"`
}
type ActionCore_StakeWithdraw ¶ added in v0.3.0
type ActionCore_StakeWithdraw struct {
StakeWithdraw *StakeReclaim `protobuf:"bytes,42,opt,name=stakeWithdraw,proto3,oneof"`
}
type ActionCore_StartSubChain ¶
type ActionCore_StartSubChain struct {
StartSubChain *StartSubChain `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}
type ActionCore_StopSubChain ¶
type ActionCore_StopSubChain struct {
StopSubChain *StopSubChain `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}
type ActionCore_TerminatePlumChain ¶
type ActionCore_TerminatePlumChain struct {
TerminatePlumChain *TerminatePlumChain `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}
type ActionCore_Transfer ¶
type ActionCore_Transfer struct {
Transfer *Transfer `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}
type ActionEvmTransfer ¶ added in v0.3.0
type ActionEvmTransfer struct {
ActionHash []byte `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
NumEvmTransfers uint64 `protobuf:"varint,2,opt,name=numEvmTransfers,proto3" json:"numEvmTransfers,omitempty"`
EvmTransfers []*EvmTransfer `protobuf:"bytes,3,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Deprecated
func (*ActionEvmTransfer) Descriptor ¶ added in v0.3.0
func (*ActionEvmTransfer) Descriptor() ([]byte, []int)
func (*ActionEvmTransfer) GetActionHash ¶ added in v0.3.0
func (m *ActionEvmTransfer) GetActionHash() []byte
func (*ActionEvmTransfer) GetEvmTransfers ¶ added in v0.3.0
func (m *ActionEvmTransfer) GetEvmTransfers() []*EvmTransfer
func (*ActionEvmTransfer) GetNumEvmTransfers ¶ added in v0.3.0
func (m *ActionEvmTransfer) GetNumEvmTransfers() uint64
func (*ActionEvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*ActionEvmTransfer) ProtoMessage()
func (*ActionEvmTransfer) Reset ¶ added in v0.3.0
func (m *ActionEvmTransfer) Reset()
func (*ActionEvmTransfer) String ¶ added in v0.3.0
func (m *ActionEvmTransfer) String() string
func (*ActionEvmTransfer) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ActionEvmTransfer) XXX_DiscardUnknown()
func (*ActionEvmTransfer) XXX_Marshal ¶ added in v0.3.0
func (m *ActionEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionEvmTransfer) XXX_Merge ¶ added in v0.3.0
func (m *ActionEvmTransfer) XXX_Merge(src proto.Message)
func (*ActionEvmTransfer) XXX_Size ¶ added in v0.3.0
func (m *ActionEvmTransfer) XXX_Size() int
func (*ActionEvmTransfer) XXX_Unmarshal ¶ added in v0.3.0
func (m *ActionEvmTransfer) XXX_Unmarshal(b []byte) error
type Block ¶
type Block struct {
Header *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Body *BlockBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
block consists of header followed by transactions hash of current block can be computed from header hence not stored
func (*Block) Descriptor ¶
func (*Block) GetFooter ¶
func (m *Block) GetFooter() *BlockFooter
func (*Block) GetHeader ¶
func (m *Block) GetHeader() *BlockHeader
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockBody ¶
type BlockBody struct {
Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
body of a block
func (*BlockBody) Descriptor ¶
func (*BlockBody) GetActions ¶
func (*BlockBody) ProtoMessage ¶
func (*BlockBody) ProtoMessage()
func (*BlockBody) XXX_DiscardUnknown ¶
func (m *BlockBody) XXX_DiscardUnknown()
func (*BlockBody) XXX_Marshal ¶
func (*BlockBody) XXX_Unmarshal ¶
type BlockEvmTransfer ¶ added in v0.3.0
type BlockEvmTransfer struct {
BlockHeight uint64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
NumEvmTransfers uint64 `protobuf:"varint,2,opt,name=numEvmTransfers,proto3" json:"numEvmTransfers,omitempty"`
ActionEvmTransfers []*ActionEvmTransfer `protobuf:"bytes,3,rep,name=actionEvmTransfers,proto3" json:"actionEvmTransfers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Deprecated
func (*BlockEvmTransfer) Descriptor ¶ added in v0.3.0
func (*BlockEvmTransfer) Descriptor() ([]byte, []int)
func (*BlockEvmTransfer) GetActionEvmTransfers ¶ added in v0.3.0
func (m *BlockEvmTransfer) GetActionEvmTransfers() []*ActionEvmTransfer
func (*BlockEvmTransfer) GetBlockHeight ¶ added in v0.3.0
func (m *BlockEvmTransfer) GetBlockHeight() uint64
func (*BlockEvmTransfer) GetNumEvmTransfers ¶ added in v0.3.0
func (m *BlockEvmTransfer) GetNumEvmTransfers() uint64
func (*BlockEvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*BlockEvmTransfer) ProtoMessage()
func (*BlockEvmTransfer) Reset ¶ added in v0.3.0
func (m *BlockEvmTransfer) Reset()
func (*BlockEvmTransfer) String ¶ added in v0.3.0
func (m *BlockEvmTransfer) String() string
func (*BlockEvmTransfer) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *BlockEvmTransfer) XXX_DiscardUnknown()
func (*BlockEvmTransfer) XXX_Marshal ¶ added in v0.3.0
func (m *BlockEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockEvmTransfer) XXX_Merge ¶ added in v0.3.0
func (m *BlockEvmTransfer) XXX_Merge(src proto.Message)
func (*BlockEvmTransfer) XXX_Size ¶ added in v0.3.0
func (m *BlockEvmTransfer) XXX_Size() int
func (*BlockEvmTransfer) XXX_Unmarshal ¶ added in v0.3.0
func (m *BlockEvmTransfer) XXX_Unmarshal(b []byte) error
type BlockFooter ¶
type BlockFooter struct {
}
footer of a block
func (*BlockFooter) Descriptor ¶
func (*BlockFooter) Descriptor() ([]byte, []int)
func (*BlockFooter) GetEndorsements ¶
func (m *BlockFooter) GetEndorsements() []*Endorsement
func (*BlockFooter) GetTimestamp ¶
func (m *BlockFooter) GetTimestamp() *timestamp.Timestamp
func (*BlockFooter) ProtoMessage ¶
func (*BlockFooter) ProtoMessage()
func (*BlockFooter) Reset ¶
func (m *BlockFooter) Reset()
func (*BlockFooter) String ¶
func (m *BlockFooter) String() string
func (*BlockFooter) XXX_DiscardUnknown ¶
func (m *BlockFooter) XXX_DiscardUnknown()
func (*BlockFooter) XXX_Marshal ¶
func (m *BlockFooter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockFooter) XXX_Merge ¶
func (m *BlockFooter) XXX_Merge(src proto.Message)
func (*BlockFooter) XXX_Size ¶
func (m *BlockFooter) XXX_Size() int
func (*BlockFooter) XXX_Unmarshal ¶
func (m *BlockFooter) XXX_Unmarshal(b []byte) error
type BlockHeader ¶
type BlockHeader struct {
Core *BlockHeaderCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"`
ProducerPubkey []byte `protobuf:"bytes,2,opt,name=producerPubkey,proto3" json:"producerPubkey,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
header of a block
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetCore ¶
func (m *BlockHeader) GetCore() *BlockHeaderCore
func (*BlockHeader) GetProducerPubkey ¶
func (m *BlockHeader) GetProducerPubkey() []byte
func (*BlockHeader) GetSignature ¶
func (m *BlockHeader) GetSignature() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (m *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BlockHeaderCore ¶
type BlockHeaderCore struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PrevBlockHash []byte `protobuf:"bytes,4,opt,name=prevBlockHash,proto3" json:"prevBlockHash,omitempty"`
TxRoot []byte `protobuf:"bytes,5,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
DeltaStateDigest []byte `protobuf:"bytes,6,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"`
ReceiptRoot []byte `protobuf:"bytes,7,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
LogsBloom []byte `protobuf:"bytes,8,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockHeaderCore) Descriptor ¶
func (*BlockHeaderCore) Descriptor() ([]byte, []int)
func (*BlockHeaderCore) GetDeltaStateDigest ¶
func (m *BlockHeaderCore) GetDeltaStateDigest() []byte
func (*BlockHeaderCore) GetHeight ¶
func (m *BlockHeaderCore) GetHeight() uint64
func (*BlockHeaderCore) GetLogsBloom ¶ added in v0.2.5
func (m *BlockHeaderCore) GetLogsBloom() []byte
func (*BlockHeaderCore) GetPrevBlockHash ¶
func (m *BlockHeaderCore) GetPrevBlockHash() []byte
func (*BlockHeaderCore) GetReceiptRoot ¶
func (m *BlockHeaderCore) GetReceiptRoot() []byte
func (*BlockHeaderCore) GetTimestamp ¶
func (m *BlockHeaderCore) GetTimestamp() *timestamp.Timestamp
func (*BlockHeaderCore) GetTxRoot ¶
func (m *BlockHeaderCore) GetTxRoot() []byte
func (*BlockHeaderCore) GetVersion ¶
func (m *BlockHeaderCore) GetVersion() uint32
func (*BlockHeaderCore) ProtoMessage ¶
func (*BlockHeaderCore) ProtoMessage()
func (*BlockHeaderCore) Reset ¶
func (m *BlockHeaderCore) Reset()
func (*BlockHeaderCore) String ¶
func (m *BlockHeaderCore) String() string
func (*BlockHeaderCore) XXX_DiscardUnknown ¶
func (m *BlockHeaderCore) XXX_DiscardUnknown()
func (*BlockHeaderCore) XXX_Marshal ¶
func (m *BlockHeaderCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeaderCore) XXX_Merge ¶
func (m *BlockHeaderCore) XXX_Merge(src proto.Message)
func (*BlockHeaderCore) XXX_Size ¶
func (m *BlockHeaderCore) XXX_Size() int
func (*BlockHeaderCore) XXX_Unmarshal ¶
func (m *BlockHeaderCore) XXX_Unmarshal(b []byte) error
type BlockIdentifier ¶ added in v0.3.1
type BlockIdentifier struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
BlockIdentifier Metadata
func (*BlockIdentifier) Descriptor ¶ added in v0.3.1
func (*BlockIdentifier) Descriptor() ([]byte, []int)
func (*BlockIdentifier) GetHash ¶ added in v0.3.1
func (m *BlockIdentifier) GetHash() string
func (*BlockIdentifier) GetHeight ¶ added in v0.3.1
func (m *BlockIdentifier) GetHeight() uint64
func (*BlockIdentifier) ProtoMessage ¶ added in v0.3.1
func (*BlockIdentifier) ProtoMessage()
func (*BlockIdentifier) Reset ¶ added in v0.3.1
func (m *BlockIdentifier) Reset()
func (*BlockIdentifier) String ¶ added in v0.3.1
func (m *BlockIdentifier) String() string
func (*BlockIdentifier) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *BlockIdentifier) XXX_DiscardUnknown()
func (*BlockIdentifier) XXX_Marshal ¶ added in v0.3.1
func (m *BlockIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockIdentifier) XXX_Merge ¶ added in v0.3.1
func (m *BlockIdentifier) XXX_Merge(src proto.Message)
func (*BlockIdentifier) XXX_Size ¶ added in v0.3.1
func (m *BlockIdentifier) XXX_Size() int
func (*BlockIdentifier) XXX_Unmarshal ¶ added in v0.3.1
func (m *BlockIdentifier) XXX_Unmarshal(b []byte) error
type BlockMeta ¶
type BlockMeta struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
NumActions int64 `protobuf:"varint,4,opt,name=numActions,proto3" json:"numActions,omitempty"`
ProducerAddress string `protobuf:"bytes,5,opt,name=producerAddress,proto3" json:"producerAddress,omitempty"`
TransferAmount string `protobuf:"bytes,6,opt,name=transferAmount,proto3" json:"transferAmount,omitempty"`
TxRoot string `protobuf:"bytes,7,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
ReceiptRoot string `protobuf:"bytes,8,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
DeltaStateDigest string `protobuf:"bytes,9,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"`
LogsBloom string `protobuf:"bytes,10,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Block Metadata
func (*BlockMeta) Descriptor ¶
func (*BlockMeta) GetDeltaStateDigest ¶
func (*BlockMeta) GetLogsBloom ¶ added in v0.2.5
func (*BlockMeta) GetNumActions ¶
func (*BlockMeta) GetProducerAddress ¶
func (*BlockMeta) GetReceiptRoot ¶
func (*BlockMeta) GetTimestamp ¶
func (*BlockMeta) GetTransferAmount ¶
func (*BlockMeta) ProtoMessage ¶
func (*BlockMeta) ProtoMessage()
func (*BlockMeta) XXX_DiscardUnknown ¶
func (m *BlockMeta) XXX_DiscardUnknown()
func (*BlockMeta) XXX_Marshal ¶
func (*BlockMeta) XXX_Unmarshal ¶
type BlockProposal ¶
type BlockProposal struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
Endorsements []*Endorsement `protobuf:"bytes,2,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockProposal) Descriptor ¶
func (*BlockProposal) Descriptor() ([]byte, []int)
func (*BlockProposal) GetBlock ¶
func (m *BlockProposal) GetBlock() *Block
func (*BlockProposal) GetEndorsements ¶
func (m *BlockProposal) GetEndorsements() []*Endorsement
func (*BlockProposal) ProtoMessage ¶
func (*BlockProposal) ProtoMessage()
func (*BlockProposal) Reset ¶
func (m *BlockProposal) Reset()
func (*BlockProposal) String ¶
func (m *BlockProposal) String() string
func (*BlockProposal) XXX_DiscardUnknown ¶
func (m *BlockProposal) XXX_DiscardUnknown()
func (*BlockProposal) XXX_Marshal ¶
func (m *BlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockProposal) XXX_Merge ¶
func (m *BlockProposal) XXX_Merge(src proto.Message)
func (*BlockProposal) XXX_Size ¶
func (m *BlockProposal) XXX_Size() int
func (*BlockProposal) XXX_Unmarshal ¶
func (m *BlockProposal) XXX_Unmarshal(b []byte) error
type BlockTransactionLog ¶ added in v0.3.1
type BlockTransactionLog struct {
NumTransactions uint64 `protobuf:"varint,1,opt,name=numTransactions,proto3" json:"numTransactions,omitempty"`
TransactionLog []*TransactionLog `protobuf:"bytes,2,rep,name=transactionLog,proto3" json:"transactionLog,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockTransactionLog) Descriptor ¶ added in v0.3.1
func (*BlockTransactionLog) Descriptor() ([]byte, []int)
func (*BlockTransactionLog) GetNumTransactions ¶ added in v0.3.1
func (m *BlockTransactionLog) GetNumTransactions() uint64
func (*BlockTransactionLog) GetTransactionLog ¶ added in v0.3.1
func (m *BlockTransactionLog) GetTransactionLog() []*TransactionLog
func (*BlockTransactionLog) ProtoMessage ¶ added in v0.3.1
func (*BlockTransactionLog) ProtoMessage()
func (*BlockTransactionLog) Reset ¶ added in v0.3.1
func (m *BlockTransactionLog) Reset()
func (*BlockTransactionLog) String ¶ added in v0.3.1
func (m *BlockTransactionLog) String() string
func (*BlockTransactionLog) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *BlockTransactionLog) XXX_DiscardUnknown()
func (*BlockTransactionLog) XXX_Marshal ¶ added in v0.3.1
func (m *BlockTransactionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockTransactionLog) XXX_Merge ¶ added in v0.3.1
func (m *BlockTransactionLog) XXX_Merge(src proto.Message)
func (*BlockTransactionLog) XXX_Size ¶ added in v0.3.1
func (m *BlockTransactionLog) XXX_Size() int
func (*BlockTransactionLog) XXX_Unmarshal ¶ added in v0.3.1
func (m *BlockTransactionLog) XXX_Unmarshal(b []byte) error
type Candidate ¶
type Candidate struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Votes []byte `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
RewardAddress string `protobuf:"bytes,4,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Candidates and list of candidates
func (*Candidate) Descriptor ¶
func (*Candidate) GetAddress ¶
func (*Candidate) GetRewardAddress ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) XXX_DiscardUnknown ¶
func (m *Candidate) XXX_DiscardUnknown()
func (*Candidate) XXX_Marshal ¶
func (*Candidate) XXX_Unmarshal ¶
type CandidateBasicInfo ¶ added in v0.3.0
type CandidateBasicInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
OperatorAddress string `protobuf:"bytes,2,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"`
RewardAddress string `protobuf:"bytes,3,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CandidateBasicInfo) Descriptor ¶ added in v0.3.0
func (*CandidateBasicInfo) Descriptor() ([]byte, []int)
func (*CandidateBasicInfo) GetName ¶ added in v0.3.0
func (m *CandidateBasicInfo) GetName() string
func (*CandidateBasicInfo) GetOperatorAddress ¶ added in v0.3.0
func (m *CandidateBasicInfo) GetOperatorAddress() string
func (*CandidateBasicInfo) GetRewardAddress ¶ added in v0.3.0
func (m *CandidateBasicInfo) GetRewardAddress() string
func (*CandidateBasicInfo) ProtoMessage ¶ added in v0.3.0
func (*CandidateBasicInfo) ProtoMessage()
func (*CandidateBasicInfo) Reset ¶ added in v0.3.0
func (m *CandidateBasicInfo) Reset()
func (*CandidateBasicInfo) String ¶ added in v0.3.0
func (m *CandidateBasicInfo) String() string
func (*CandidateBasicInfo) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *CandidateBasicInfo) XXX_DiscardUnknown()
func (*CandidateBasicInfo) XXX_Marshal ¶ added in v0.3.0
func (m *CandidateBasicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateBasicInfo) XXX_Merge ¶ added in v0.3.0
func (m *CandidateBasicInfo) XXX_Merge(src proto.Message)
func (*CandidateBasicInfo) XXX_Size ¶ added in v0.3.0
func (m *CandidateBasicInfo) XXX_Size() int
func (*CandidateBasicInfo) XXX_Unmarshal ¶ added in v0.3.0
func (m *CandidateBasicInfo) XXX_Unmarshal(b []byte) error
type CandidateList ¶
type CandidateList struct {
Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CandidateList) Descriptor ¶
func (*CandidateList) Descriptor() ([]byte, []int)
func (*CandidateList) GetCandidates ¶
func (m *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶
func (*CandidateList) ProtoMessage()
func (*CandidateList) Reset ¶
func (m *CandidateList) Reset()
func (*CandidateList) String ¶
func (m *CandidateList) String() string
func (*CandidateList) XXX_DiscardUnknown ¶
func (m *CandidateList) XXX_DiscardUnknown()
func (*CandidateList) XXX_Marshal ¶
func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateList) XXX_Merge ¶
func (m *CandidateList) XXX_Merge(src proto.Message)
func (*CandidateList) XXX_Size ¶
func (m *CandidateList) XXX_Size() int
func (*CandidateList) XXX_Unmarshal ¶
func (m *CandidateList) XXX_Unmarshal(b []byte) error
type CandidateListV2 ¶ added in v0.3.0
type CandidateListV2 struct {
Candidates []*CandidateV2 `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CandidateListV2) Descriptor ¶ added in v0.3.0
func (*CandidateListV2) Descriptor() ([]byte, []int)
func (*CandidateListV2) GetCandidates ¶ added in v0.3.0
func (m *CandidateListV2) GetCandidates() []*CandidateV2
func (*CandidateListV2) ProtoMessage ¶ added in v0.3.0
func (*CandidateListV2) ProtoMessage()
func (*CandidateListV2) Reset ¶ added in v0.3.0
func (m *CandidateListV2) Reset()
func (*CandidateListV2) String ¶ added in v0.3.0
func (m *CandidateListV2) String() string
func (*CandidateListV2) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *CandidateListV2) XXX_DiscardUnknown()
func (*CandidateListV2) XXX_Marshal ¶ added in v0.3.0
func (m *CandidateListV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateListV2) XXX_Merge ¶ added in v0.3.0
func (m *CandidateListV2) XXX_Merge(src proto.Message)
func (*CandidateListV2) XXX_Size ¶ added in v0.3.0
func (m *CandidateListV2) XXX_Size() int
func (*CandidateListV2) XXX_Unmarshal ¶ added in v0.3.0
func (m *CandidateListV2) XXX_Unmarshal(b []byte) error
type CandidateRegister ¶ added in v0.3.0
type CandidateRegister struct {
Candidate *CandidateBasicInfo `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"`
StakedAmount string `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
StakedDuration uint32 `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
AutoStake bool `protobuf:"varint,4,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
OwnerAddress string `protobuf:"bytes,5,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"`
Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CandidateRegister) Descriptor ¶ added in v0.3.0
func (*CandidateRegister) Descriptor() ([]byte, []int)
func (*CandidateRegister) GetAutoStake ¶ added in v0.3.0
func (m *CandidateRegister) GetAutoStake() bool
func (*CandidateRegister) GetCandidate ¶ added in v0.3.0
func (m *CandidateRegister) GetCandidate() *CandidateBasicInfo
func (*CandidateRegister) GetOwnerAddress ¶ added in v0.3.0
func (m *CandidateRegister) GetOwnerAddress() string
func (*CandidateRegister) GetPayload ¶ added in v0.3.0
func (m *CandidateRegister) GetPayload() []byte
func (*CandidateRegister) GetStakedAmount ¶ added in v0.3.0
func (m *CandidateRegister) GetStakedAmount() string
func (*CandidateRegister) GetStakedDuration ¶ added in v0.3.0
func (m *CandidateRegister) GetStakedDuration() uint32
func (*CandidateRegister) ProtoMessage ¶ added in v0.3.0
func (*CandidateRegister) ProtoMessage()
func (*CandidateRegister) Reset ¶ added in v0.3.0
func (m *CandidateRegister) Reset()
func (*CandidateRegister) String ¶ added in v0.3.0
func (m *CandidateRegister) String() string
func (*CandidateRegister) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *CandidateRegister) XXX_DiscardUnknown()
func (*CandidateRegister) XXX_Marshal ¶ added in v0.3.0
func (m *CandidateRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateRegister) XXX_Merge ¶ added in v0.3.0
func (m *CandidateRegister) XXX_Merge(src proto.Message)
func (*CandidateRegister) XXX_Size ¶ added in v0.3.0
func (m *CandidateRegister) XXX_Size() int
func (*CandidateRegister) XXX_Unmarshal ¶ added in v0.3.0
func (m *CandidateRegister) XXX_Unmarshal(b []byte) error
type CandidateV2 ¶ added in v0.3.0
type CandidateV2 struct {
OwnerAddress string `protobuf:"bytes,1,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"`
OperatorAddress string `protobuf:"bytes,2,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"`
RewardAddress string `protobuf:"bytes,3,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
TotalWeightedVotes string `protobuf:"bytes,5,opt,name=totalWeightedVotes,proto3" json:"totalWeightedVotes,omitempty"`
SelfStakeBucketIdx uint64 `protobuf:"varint,6,opt,name=selfStakeBucketIdx,proto3" json:"selfStakeBucketIdx,omitempty"`
SelfStakingTokens string `protobuf:"bytes,7,opt,name=selfStakingTokens,proto3" json:"selfStakingTokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CandidateV2) Descriptor ¶ added in v0.3.0
func (*CandidateV2) Descriptor() ([]byte, []int)
func (*CandidateV2) GetName ¶ added in v0.3.0
func (m *CandidateV2) GetName() string
func (*CandidateV2) GetOperatorAddress ¶ added in v0.3.0
func (m *CandidateV2) GetOperatorAddress() string
func (*CandidateV2) GetOwnerAddress ¶ added in v0.3.0
func (m *CandidateV2) GetOwnerAddress() string
func (*CandidateV2) GetRewardAddress ¶ added in v0.3.0
func (m *CandidateV2) GetRewardAddress() string
func (*CandidateV2) GetSelfStakeBucketIdx ¶ added in v0.3.0
func (m *CandidateV2) GetSelfStakeBucketIdx() uint64
func (*CandidateV2) GetSelfStakingTokens ¶ added in v0.3.0
func (m *CandidateV2) GetSelfStakingTokens() string
func (*CandidateV2) GetTotalWeightedVotes ¶ added in v0.3.0
func (m *CandidateV2) GetTotalWeightedVotes() string
func (*CandidateV2) ProtoMessage ¶ added in v0.3.0
func (*CandidateV2) ProtoMessage()
func (*CandidateV2) Reset ¶ added in v0.3.0
func (m *CandidateV2) Reset()
func (*CandidateV2) String ¶ added in v0.3.0
func (m *CandidateV2) String() string
func (*CandidateV2) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *CandidateV2) XXX_DiscardUnknown()
func (*CandidateV2) XXX_Marshal ¶ added in v0.3.0
func (m *CandidateV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateV2) XXX_Merge ¶ added in v0.3.0
func (m *CandidateV2) XXX_Merge(src proto.Message)
func (*CandidateV2) XXX_Size ¶ added in v0.3.0
func (m *CandidateV2) XXX_Size() int
func (*CandidateV2) XXX_Unmarshal ¶ added in v0.3.0
func (m *CandidateV2) XXX_Unmarshal(b []byte) error
type ChainMeta ¶
type ChainMeta struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
NumActions int64 `protobuf:"varint,2,opt,name=numActions,proto3" json:"numActions,omitempty"`
Tps int64 `protobuf:"varint,3,opt,name=tps,proto3" json:"tps,omitempty"`
Epoch *EpochData `protobuf:"bytes,4,opt,name=epoch,proto3" json:"epoch,omitempty"`
TpsFloat float32 `protobuf:"fixed32,5,opt,name=tpsFloat,proto3" json:"tpsFloat,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Blockchain Metadata
func (*ChainMeta) Descriptor ¶
func (*ChainMeta) GetNumActions ¶
func (*ChainMeta) GetTpsFloat ¶ added in v0.2.5
func (*ChainMeta) ProtoMessage ¶
func (*ChainMeta) ProtoMessage()
func (*ChainMeta) XXX_DiscardUnknown ¶
func (m *ChainMeta) XXX_DiscardUnknown()
func (*ChainMeta) XXX_Marshal ¶
func (*ChainMeta) XXX_Unmarshal ¶
type ClaimFromRewardingFund ¶
type ClaimFromRewardingFund struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ClaimFromRewardingFund) Descriptor ¶
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
func (*ClaimFromRewardingFund) GetAmount ¶
func (m *ClaimFromRewardingFund) GetAmount() string
func (*ClaimFromRewardingFund) GetData ¶
func (m *ClaimFromRewardingFund) GetData() []byte
func (*ClaimFromRewardingFund) ProtoMessage ¶
func (*ClaimFromRewardingFund) ProtoMessage()
func (*ClaimFromRewardingFund) Reset ¶
func (m *ClaimFromRewardingFund) Reset()
func (*ClaimFromRewardingFund) String ¶
func (m *ClaimFromRewardingFund) String() string
func (*ClaimFromRewardingFund) XXX_DiscardUnknown ¶
func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
func (*ClaimFromRewardingFund) XXX_Marshal ¶
func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimFromRewardingFund) XXX_Merge ¶
func (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
func (*ClaimFromRewardingFund) XXX_Size ¶
func (m *ClaimFromRewardingFund) XXX_Size() int
func (*ClaimFromRewardingFund) XXX_Unmarshal ¶
func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
type ConsensusMessage ¶
type ConsensusMessage struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Endorsement *Endorsement `protobuf:"bytes,2,opt,name=endorsement,proto3" json:"endorsement,omitempty"`
// Types that are valid to be assigned to Msg:
// *ConsensusMessage_BlockProposal
// *ConsensusMessage_Vote
Msg isConsensusMessage_Msg `protobuf_oneof:"msg"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ConsensusMessage) Descriptor ¶
func (*ConsensusMessage) Descriptor() ([]byte, []int)
func (*ConsensusMessage) GetBlockProposal ¶
func (m *ConsensusMessage) GetBlockProposal() *BlockProposal
func (*ConsensusMessage) GetEndorsement ¶
func (m *ConsensusMessage) GetEndorsement() *Endorsement
func (*ConsensusMessage) GetHeight ¶
func (m *ConsensusMessage) GetHeight() uint64
func (*ConsensusMessage) GetMsg ¶
func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
func (*ConsensusMessage) GetVote ¶
func (m *ConsensusMessage) GetVote() *ConsensusVote
func (*ConsensusMessage) ProtoMessage ¶
func (*ConsensusMessage) ProtoMessage()
func (*ConsensusMessage) Reset ¶
func (m *ConsensusMessage) Reset()
func (*ConsensusMessage) String ¶
func (m *ConsensusMessage) String() string
func (*ConsensusMessage) XXX_DiscardUnknown ¶
func (m *ConsensusMessage) XXX_DiscardUnknown()
func (*ConsensusMessage) XXX_Marshal ¶
func (m *ConsensusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusMessage) XXX_Merge ¶
func (m *ConsensusMessage) XXX_Merge(src proto.Message)
func (*ConsensusMessage) XXX_OneofWrappers ¶
func (*ConsensusMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConsensusMessage) XXX_Size ¶
func (m *ConsensusMessage) XXX_Size() int
func (*ConsensusMessage) XXX_Unmarshal ¶
func (m *ConsensusMessage) XXX_Unmarshal(b []byte) error
type ConsensusMessage_BlockProposal ¶
type ConsensusMessage_BlockProposal struct {
BlockProposal *BlockProposal `protobuf:"bytes,100,opt,name=blockProposal,proto3,oneof"`
}
type ConsensusMessage_Vote ¶
type ConsensusMessage_Vote struct {
Vote *ConsensusVote `protobuf:"bytes,101,opt,name=vote,proto3,oneof"`
}
type ConsensusVote ¶
type ConsensusVote struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
Topic ConsensusVote_Topic `protobuf:"varint,2,opt,name=topic,proto3,enum=iotextypes.ConsensusVote_Topic" json:"topic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ConsensusVote) Descriptor ¶
func (*ConsensusVote) Descriptor() ([]byte, []int)
func (*ConsensusVote) GetBlockHash ¶
func (m *ConsensusVote) GetBlockHash() []byte
func (*ConsensusVote) GetTopic ¶
func (m *ConsensusVote) GetTopic() ConsensusVote_Topic
func (*ConsensusVote) ProtoMessage ¶
func (*ConsensusVote) ProtoMessage()
func (*ConsensusVote) Reset ¶
func (m *ConsensusVote) Reset()
func (*ConsensusVote) String ¶
func (m *ConsensusVote) String() string
func (*ConsensusVote) XXX_DiscardUnknown ¶
func (m *ConsensusVote) XXX_DiscardUnknown()
func (*ConsensusVote) XXX_Marshal ¶
func (m *ConsensusVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusVote) XXX_Merge ¶
func (m *ConsensusVote) XXX_Merge(src proto.Message)
func (*ConsensusVote) XXX_Size ¶
func (m *ConsensusVote) XXX_Size() int
func (*ConsensusVote) XXX_Unmarshal ¶
func (m *ConsensusVote) XXX_Unmarshal(b []byte) error
type ConsensusVote_Topic ¶
type ConsensusVote_Topic int32
const ( ConsensusVote_PROPOSAL ConsensusVote_Topic = 0 ConsensusVote_LOCK ConsensusVote_Topic = 1 ConsensusVote_COMMIT ConsensusVote_Topic = 2 )
func (ConsensusVote_Topic) EnumDescriptor ¶
func (ConsensusVote_Topic) EnumDescriptor() ([]byte, []int)
func (ConsensusVote_Topic) String ¶
func (x ConsensusVote_Topic) String() string
type CreateDeposit ¶
type CreateDeposit struct {
ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateDeposit) Descriptor ¶
func (*CreateDeposit) Descriptor() ([]byte, []int)
func (*CreateDeposit) GetAmount ¶
func (m *CreateDeposit) GetAmount() string
func (*CreateDeposit) GetChainID ¶
func (m *CreateDeposit) GetChainID() uint32
func (*CreateDeposit) GetRecipient ¶
func (m *CreateDeposit) GetRecipient() string
func (*CreateDeposit) ProtoMessage ¶
func (*CreateDeposit) ProtoMessage()
func (*CreateDeposit) Reset ¶
func (m *CreateDeposit) Reset()
func (*CreateDeposit) String ¶
func (m *CreateDeposit) String() string
func (*CreateDeposit) XXX_DiscardUnknown ¶
func (m *CreateDeposit) XXX_DiscardUnknown()
func (*CreateDeposit) XXX_Marshal ¶
func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeposit) XXX_Merge ¶
func (m *CreateDeposit) XXX_Merge(src proto.Message)
func (*CreateDeposit) XXX_Size ¶
func (m *CreateDeposit) XXX_Size() int
func (*CreateDeposit) XXX_Unmarshal ¶
func (m *CreateDeposit) XXX_Unmarshal(b []byte) error
type CreatePlumChain ¶
type CreatePlumChain struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
plum main chain APIs
func (*CreatePlumChain) Descriptor ¶
func (*CreatePlumChain) Descriptor() ([]byte, []int)
func (*CreatePlumChain) ProtoMessage ¶
func (*CreatePlumChain) ProtoMessage()
func (*CreatePlumChain) Reset ¶
func (m *CreatePlumChain) Reset()
func (*CreatePlumChain) String ¶
func (m *CreatePlumChain) String() string
func (*CreatePlumChain) XXX_DiscardUnknown ¶
func (m *CreatePlumChain) XXX_DiscardUnknown()
func (*CreatePlumChain) XXX_Marshal ¶
func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePlumChain) XXX_Merge ¶
func (m *CreatePlumChain) XXX_Merge(src proto.Message)
func (*CreatePlumChain) XXX_Size ¶
func (m *CreatePlumChain) XXX_Size() int
func (*CreatePlumChain) XXX_Unmarshal ¶
func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error
type DepositToRewardingFund ¶
type DepositToRewardingFund struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DepositToRewardingFund) Descriptor ¶
func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
func (*DepositToRewardingFund) GetAmount ¶
func (m *DepositToRewardingFund) GetAmount() string
func (*DepositToRewardingFund) GetData ¶
func (m *DepositToRewardingFund) GetData() []byte
func (*DepositToRewardingFund) ProtoMessage ¶
func (*DepositToRewardingFund) ProtoMessage()
func (*DepositToRewardingFund) Reset ¶
func (m *DepositToRewardingFund) Reset()
func (*DepositToRewardingFund) String ¶
func (m *DepositToRewardingFund) String() string
func (*DepositToRewardingFund) XXX_DiscardUnknown ¶
func (m *DepositToRewardingFund) XXX_DiscardUnknown()
func (*DepositToRewardingFund) XXX_Marshal ¶
func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositToRewardingFund) XXX_Merge ¶
func (m *DepositToRewardingFund) XXX_Merge(src proto.Message)
func (*DepositToRewardingFund) XXX_Size ¶
func (m *DepositToRewardingFund) XXX_Size() int
func (*DepositToRewardingFund) XXX_Unmarshal ¶
func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
type ElectionBucket ¶ added in v0.2.5
type ElectionBucket struct {
Voter []byte `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Candidate []byte `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
Amount []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=startTime,proto3" json:"startTime,omitempty"`
Duration *duration.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
Decay bool `protobuf:"varint,6,opt,name=decay,proto3" json:"decay,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ElectionBucket) Descriptor ¶ added in v0.2.5
func (*ElectionBucket) Descriptor() ([]byte, []int)
func (*ElectionBucket) GetAmount ¶ added in v0.2.5
func (m *ElectionBucket) GetAmount() []byte
func (*ElectionBucket) GetCandidate ¶ added in v0.2.5
func (m *ElectionBucket) GetCandidate() []byte
func (*ElectionBucket) GetDecay ¶ added in v0.2.5
func (m *ElectionBucket) GetDecay() bool
func (*ElectionBucket) GetDuration ¶ added in v0.2.5
func (m *ElectionBucket) GetDuration() *duration.Duration
func (*ElectionBucket) GetStartTime ¶ added in v0.2.5
func (m *ElectionBucket) GetStartTime() *timestamp.Timestamp
func (*ElectionBucket) GetVoter ¶ added in v0.2.5
func (m *ElectionBucket) GetVoter() []byte
func (*ElectionBucket) ProtoMessage ¶ added in v0.2.5
func (*ElectionBucket) ProtoMessage()
func (*ElectionBucket) Reset ¶ added in v0.2.5
func (m *ElectionBucket) Reset()
func (*ElectionBucket) String ¶ added in v0.2.5
func (m *ElectionBucket) String() string
func (*ElectionBucket) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *ElectionBucket) XXX_DiscardUnknown()
func (*ElectionBucket) XXX_Marshal ¶ added in v0.2.5
func (m *ElectionBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ElectionBucket) XXX_Merge ¶ added in v0.2.5
func (m *ElectionBucket) XXX_Merge(src proto.Message)
func (*ElectionBucket) XXX_Size ¶ added in v0.2.5
func (m *ElectionBucket) XXX_Size() int
func (*ElectionBucket) XXX_Unmarshal ¶ added in v0.2.5
func (m *ElectionBucket) XXX_Unmarshal(b []byte) error
type Endorsement ¶
type Endorsement struct {
Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Endorser []byte `protobuf:"bytes,2,opt,name=endorser,proto3" json:"endorser,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Endorsement) Descriptor ¶
func (*Endorsement) Descriptor() ([]byte, []int)
func (*Endorsement) GetEndorser ¶
func (m *Endorsement) GetEndorser() []byte
func (*Endorsement) GetSignature ¶
func (m *Endorsement) GetSignature() []byte
func (*Endorsement) GetTimestamp ¶
func (m *Endorsement) GetTimestamp() *timestamp.Timestamp
func (*Endorsement) ProtoMessage ¶
func (*Endorsement) ProtoMessage()
func (*Endorsement) Reset ¶
func (m *Endorsement) Reset()
func (*Endorsement) String ¶
func (m *Endorsement) String() string
func (*Endorsement) XXX_DiscardUnknown ¶
func (m *Endorsement) XXX_DiscardUnknown()
func (*Endorsement) XXX_Marshal ¶
func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Endorsement) XXX_Merge ¶
func (m *Endorsement) XXX_Merge(src proto.Message)
func (*Endorsement) XXX_Size ¶
func (m *Endorsement) XXX_Size() int
func (*Endorsement) XXX_Unmarshal ¶
func (m *Endorsement) XXX_Unmarshal(b []byte) error
type EpochData ¶
type EpochData struct {
Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
GravityChainStartHeight uint64 `protobuf:"varint,3,opt,name=gravityChainStartHeight,proto3" json:"gravityChainStartHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EpochData) Descriptor ¶
func (*EpochData) GetGravityChainStartHeight ¶
func (*EpochData) ProtoMessage ¶
func (*EpochData) ProtoMessage()
func (*EpochData) XXX_DiscardUnknown ¶
func (m *EpochData) XXX_DiscardUnknown()
func (*EpochData) XXX_Marshal ¶
func (*EpochData) XXX_Unmarshal ¶
type EvmTransfer ¶ added in v0.3.0
type EvmTransfer struct {
Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Deprecated
func (*EvmTransfer) Descriptor ¶ added in v0.3.0
func (*EvmTransfer) Descriptor() ([]byte, []int)
func (*EvmTransfer) GetAmount ¶ added in v0.3.0
func (m *EvmTransfer) GetAmount() []byte
func (*EvmTransfer) GetFrom ¶ added in v0.3.0
func (m *EvmTransfer) GetFrom() string
func (*EvmTransfer) GetTo ¶ added in v0.3.0
func (m *EvmTransfer) GetTo() string
func (*EvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*EvmTransfer) ProtoMessage()
func (*EvmTransfer) Reset ¶ added in v0.3.0
func (m *EvmTransfer) Reset()
func (*EvmTransfer) String ¶ added in v0.3.0
func (m *EvmTransfer) String() string
func (*EvmTransfer) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *EvmTransfer) XXX_DiscardUnknown()
func (*EvmTransfer) XXX_Marshal ¶ added in v0.3.0
func (m *EvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EvmTransfer) XXX_Merge ¶ added in v0.3.0
func (m *EvmTransfer) XXX_Merge(src proto.Message)
func (*EvmTransfer) XXX_Size ¶ added in v0.3.0
func (m *EvmTransfer) XXX_Size() int
func (*EvmTransfer) XXX_Unmarshal ¶ added in v0.3.0
func (m *EvmTransfer) XXX_Unmarshal(b []byte) error
type EvmTransferList ¶ added in v0.3.0
type EvmTransferList struct {
EvmTransfers []*EvmTransfer `protobuf:"bytes,1,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Deprecated
func (*EvmTransferList) Descriptor ¶ added in v0.3.0
func (*EvmTransferList) Descriptor() ([]byte, []int)
func (*EvmTransferList) GetEvmTransfers ¶ added in v0.3.0
func (m *EvmTransferList) GetEvmTransfers() []*EvmTransfer
func (*EvmTransferList) ProtoMessage ¶ added in v0.3.0
func (*EvmTransferList) ProtoMessage()
func (*EvmTransferList) Reset ¶ added in v0.3.0
func (m *EvmTransferList) Reset()
func (*EvmTransferList) String ¶ added in v0.3.0
func (m *EvmTransferList) String() string
func (*EvmTransferList) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *EvmTransferList) XXX_DiscardUnknown()
func (*EvmTransferList) XXX_Marshal ¶ added in v0.3.0
func (m *EvmTransferList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EvmTransferList) XXX_Merge ¶ added in v0.3.0
func (m *EvmTransferList) XXX_Merge(src proto.Message)
func (*EvmTransferList) XXX_Size ¶ added in v0.3.0
func (m *EvmTransferList) XXX_Size() int
func (*EvmTransferList) XXX_Unmarshal ¶ added in v0.3.0
func (m *EvmTransferList) XXX_Unmarshal(b []byte) error
type Execution ¶
type Execution struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Execution) Descriptor ¶
func (*Execution) GetContract ¶
func (*Execution) ProtoMessage ¶
func (*Execution) ProtoMessage()
func (*Execution) XXX_DiscardUnknown ¶
func (m *Execution) XXX_DiscardUnknown()
func (*Execution) XXX_Marshal ¶
func (*Execution) XXX_Unmarshal ¶
type Genesis ¶
type Genesis struct {
Blockchain *GenesisBlockchain `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
Account *GenesisAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
Poll *GenesisPoll `protobuf:"bytes,3,opt,name=poll,proto3" json:"poll,omitempty"`
Rewarding *GenesisRewarding `protobuf:"bytes,4,opt,name=rewarding,proto3" json:"rewarding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Genesis) Descriptor ¶
func (*Genesis) GetAccount ¶
func (m *Genesis) GetAccount() *GenesisAccount
func (*Genesis) GetBlockchain ¶
func (m *Genesis) GetBlockchain() *GenesisBlockchain
func (*Genesis) GetPoll ¶
func (m *Genesis) GetPoll() *GenesisPoll
func (*Genesis) GetRewarding ¶
func (m *Genesis) GetRewarding() *GenesisRewarding
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) XXX_DiscardUnknown ¶
func (m *Genesis) XXX_DiscardUnknown()
func (*Genesis) XXX_Marshal ¶
func (*Genesis) XXX_Unmarshal ¶
type GenesisAccount ¶
type GenesisAccount struct {
InitBalanceAddrs []string `protobuf:"bytes,1,rep,name=initBalanceAddrs,proto3" json:"initBalanceAddrs,omitempty"`
InitBalances []string `protobuf:"bytes,2,rep,name=initBalances,proto3" json:"initBalances,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GenesisAccount) Descriptor ¶
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) GetInitBalanceAddrs ¶
func (m *GenesisAccount) GetInitBalanceAddrs() []string
func (*GenesisAccount) GetInitBalances ¶
func (m *GenesisAccount) GetInitBalances() []string
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶
func (m *GenesisAccount) Reset()
func (*GenesisAccount) String ¶
func (m *GenesisAccount) String() string
func (*GenesisAccount) XXX_DiscardUnknown ¶
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶
func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
type GenesisBlockchain ¶
type GenesisBlockchain struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
BlockGasLimit uint64 `protobuf:"varint,2,opt,name=blockGasLimit,proto3" json:"blockGasLimit,omitempty"`
ActionGasLimit uint64 `protobuf:"varint,3,opt,name=actionGasLimit,proto3" json:"actionGasLimit,omitempty"`
BlockInterval int64 `protobuf:"varint,4,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
NumSubEpochs uint64 `protobuf:"varint,5,opt,name=numSubEpochs,proto3" json:"numSubEpochs,omitempty"`
NumDelegates uint64 `protobuf:"varint,6,opt,name=numDelegates,proto3" json:"numDelegates,omitempty"`
NumCandidateDelegates uint64 `protobuf:"varint,7,opt,name=numCandidateDelegates,proto3" json:"numCandidateDelegates,omitempty"`
TimeBasedRotation bool `protobuf:"varint,8,opt,name=timeBasedRotation,proto3" json:"timeBasedRotation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GenesisBlockchain) Descriptor ¶
func (*GenesisBlockchain) Descriptor() ([]byte, []int)
func (*GenesisBlockchain) GetActionGasLimit ¶
func (m *GenesisBlockchain) GetActionGasLimit() uint64
func (*GenesisBlockchain) GetBlockGasLimit ¶
func (m *GenesisBlockchain) GetBlockGasLimit() uint64
func (*GenesisBlockchain) GetBlockInterval ¶
func (m *GenesisBlockchain) GetBlockInterval() int64
func (*GenesisBlockchain) GetNumCandidateDelegates ¶
func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64
func (*GenesisBlockchain) GetNumDelegates ¶
func (m *GenesisBlockchain) GetNumDelegates() uint64
func (*GenesisBlockchain) GetNumSubEpochs ¶
func (m *GenesisBlockchain) GetNumSubEpochs() uint64
func (*GenesisBlockchain) GetTimeBasedRotation ¶
func (m *GenesisBlockchain) GetTimeBasedRotation() bool
func (*GenesisBlockchain) GetTimestamp ¶
func (m *GenesisBlockchain) GetTimestamp() int64
func (*GenesisBlockchain) ProtoMessage ¶
func (*GenesisBlockchain) ProtoMessage()
func (*GenesisBlockchain) Reset ¶
func (m *GenesisBlockchain) Reset()
func (*GenesisBlockchain) String ¶
func (m *GenesisBlockchain) String() string
func (*GenesisBlockchain) XXX_DiscardUnknown ¶
func (m *GenesisBlockchain) XXX_DiscardUnknown()
func (*GenesisBlockchain) XXX_Marshal ¶
func (m *GenesisBlockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisBlockchain) XXX_Merge ¶
func (m *GenesisBlockchain) XXX_Merge(src proto.Message)
func (*GenesisBlockchain) XXX_Size ¶
func (m *GenesisBlockchain) XXX_Size() int
func (*GenesisBlockchain) XXX_Unmarshal ¶
func (m *GenesisBlockchain) XXX_Unmarshal(b []byte) error
type GenesisDelegate ¶
type GenesisDelegate struct {
OperatorAddr string `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"`
RewardAddr string `protobuf:"bytes,2,opt,name=rewardAddr,proto3" json:"rewardAddr,omitempty"`
Votes string `protobuf:"bytes,3,opt,name=votes,proto3" json:"votes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GenesisDelegate) Descriptor ¶
func (*GenesisDelegate) Descriptor() ([]byte, []int)
func (*GenesisDelegate) GetOperatorAddr ¶
func (m *GenesisDelegate) GetOperatorAddr() string
func (*GenesisDelegate) GetRewardAddr ¶
func (m *GenesisDelegate) GetRewardAddr() string
func (*GenesisDelegate) GetVotes ¶
func (m *GenesisDelegate) GetVotes() string
func (*GenesisDelegate) ProtoMessage ¶
func (*GenesisDelegate) ProtoMessage()
func (*GenesisDelegate) Reset ¶
func (m *GenesisDelegate) Reset()
func (*GenesisDelegate) String ¶
func (m *GenesisDelegate) String() string
func (*GenesisDelegate) XXX_DiscardUnknown ¶
func (m *GenesisDelegate) XXX_DiscardUnknown()
func (*GenesisDelegate) XXX_Marshal ¶
func (m *GenesisDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisDelegate) XXX_Merge ¶
func (m *GenesisDelegate) XXX_Merge(src proto.Message)
func (*GenesisDelegate) XXX_Size ¶
func (m *GenesisDelegate) XXX_Size() int
func (*GenesisDelegate) XXX_Unmarshal ¶
func (m *GenesisDelegate) XXX_Unmarshal(b []byte) error
type GenesisPoll ¶
type GenesisPoll struct {
EnableGravityChainVoting bool `protobuf:"varint,1,opt,name=enableGravityChainVoting,proto3" json:"enableGravityChainVoting,omitempty"`
GravityChainStartHeight uint64 `protobuf:"varint,2,opt,name=gravityChainStartHeight,proto3" json:"gravityChainStartHeight,omitempty"`
RegisterContractAddress string `protobuf:"bytes,3,opt,name=registerContractAddress,proto3" json:"registerContractAddress,omitempty"`
StakingContractAddress string `protobuf:"bytes,4,opt,name=stakingContractAddress,proto3" json:"stakingContractAddress,omitempty"`
VoteThreshold string `protobuf:"bytes,5,opt,name=voteThreshold,proto3" json:"voteThreshold,omitempty"`
ScoreThreshold string `protobuf:"bytes,6,opt,name=scoreThreshold,proto3" json:"scoreThreshold,omitempty"`
SelfStakingThreshold string `protobuf:"bytes,7,opt,name=selfStakingThreshold,proto3" json:"selfStakingThreshold,omitempty"`
Delegates []*GenesisDelegate `protobuf:"bytes,8,rep,name=delegates,proto3" json:"delegates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GenesisPoll) Descriptor ¶
func (*GenesisPoll) Descriptor() ([]byte, []int)
func (*GenesisPoll) GetDelegates ¶
func (m *GenesisPoll) GetDelegates() []*GenesisDelegate
func (*GenesisPoll) GetEnableGravityChainVoting ¶
func (m *GenesisPoll) GetEnableGravityChainVoting() bool
func (*GenesisPoll) GetGravityChainStartHeight ¶
func (m *GenesisPoll) GetGravityChainStartHeight() uint64
func (*GenesisPoll) GetRegisterContractAddress ¶
func (m *GenesisPoll) GetRegisterContractAddress() string
func (*GenesisPoll) GetScoreThreshold ¶
func (m *GenesisPoll) GetScoreThreshold() string
func (*GenesisPoll) GetSelfStakingThreshold ¶
func (m *GenesisPoll) GetSelfStakingThreshold() string
func (*GenesisPoll) GetStakingContractAddress ¶
func (m *GenesisPoll) GetStakingContractAddress() string
func (*GenesisPoll) GetVoteThreshold ¶
func (m *GenesisPoll) GetVoteThreshold() string
func (*GenesisPoll) ProtoMessage ¶
func (*GenesisPoll) ProtoMessage()
func (*GenesisPoll) Reset ¶
func (m *GenesisPoll) Reset()
func (*GenesisPoll) String ¶
func (m *GenesisPoll) String() string
func (*GenesisPoll) XXX_DiscardUnknown ¶
func (m *GenesisPoll) XXX_DiscardUnknown()
func (*GenesisPoll) XXX_Marshal ¶
func (m *GenesisPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisPoll) XXX_Merge ¶
func (m *GenesisPoll) XXX_Merge(src proto.Message)
func (*GenesisPoll) XXX_Size ¶
func (m *GenesisPoll) XXX_Size() int
func (*GenesisPoll) XXX_Unmarshal ¶
func (m *GenesisPoll) XXX_Unmarshal(b []byte) error
type GenesisRewarding ¶
type GenesisRewarding struct {
InitAdminAddr string `protobuf:"bytes,1,opt,name=initAdminAddr,proto3" json:"initAdminAddr,omitempty"`
InitBalance string `protobuf:"bytes,2,opt,name=initBalance,proto3" json:"initBalance,omitempty"`
BlockReward string `protobuf:"bytes,3,opt,name=blockReward,proto3" json:"blockReward,omitempty"`
EpochReward string `protobuf:"bytes,4,opt,name=epochReward,proto3" json:"epochReward,omitempty"`
NumDelegatesForEpochReward uint64 `protobuf:"varint,5,opt,name=numDelegatesForEpochReward,proto3" json:"numDelegatesForEpochReward,omitempty"`
FoundationBonus string `protobuf:"bytes,6,opt,name=foundationBonus,proto3" json:"foundationBonus,omitempty"`
NumDelegatesForFoundationBonus uint64 `protobuf:"varint,7,opt,name=numDelegatesForFoundationBonus,proto3" json:"numDelegatesForFoundationBonus,omitempty"`
FoundationBonusLastEpoch uint64 `protobuf:"varint,8,opt,name=foundationBonusLastEpoch,proto3" json:"foundationBonusLastEpoch,omitempty"`
ProductivityThreshold uint64 `protobuf:"varint,9,opt,name=productivityThreshold,proto3" json:"productivityThreshold,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GenesisRewarding) Descriptor ¶
func (*GenesisRewarding) Descriptor() ([]byte, []int)
func (*GenesisRewarding) GetBlockReward ¶
func (m *GenesisRewarding) GetBlockReward() string
func (*GenesisRewarding) GetEpochReward ¶
func (m *GenesisRewarding) GetEpochReward() string
func (*GenesisRewarding) GetFoundationBonus ¶
func (m *GenesisRewarding) GetFoundationBonus() string
func (*GenesisRewarding) GetFoundationBonusLastEpoch ¶
func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
func (*GenesisRewarding) GetInitAdminAddr ¶
func (m *GenesisRewarding) GetInitAdminAddr() string
func (*GenesisRewarding) GetInitBalance ¶
func (m *GenesisRewarding) GetInitBalance() string
func (*GenesisRewarding) GetNumDelegatesForEpochReward ¶
func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
func (*GenesisRewarding) GetNumDelegatesForFoundationBonus ¶
func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
func (*GenesisRewarding) GetProductivityThreshold ¶
func (m *GenesisRewarding) GetProductivityThreshold() uint64
func (*GenesisRewarding) ProtoMessage ¶
func (*GenesisRewarding) ProtoMessage()
func (*GenesisRewarding) Reset ¶
func (m *GenesisRewarding) Reset()
func (*GenesisRewarding) String ¶
func (m *GenesisRewarding) String() string
func (*GenesisRewarding) XXX_DiscardUnknown ¶
func (m *GenesisRewarding) XXX_DiscardUnknown()
func (*GenesisRewarding) XXX_Marshal ¶
func (m *GenesisRewarding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisRewarding) XXX_Merge ¶
func (m *GenesisRewarding) XXX_Merge(src proto.Message)
func (*GenesisRewarding) XXX_Size ¶
func (m *GenesisRewarding) XXX_Size() int
func (*GenesisRewarding) XXX_Unmarshal ¶
func (m *GenesisRewarding) XXX_Unmarshal(b []byte) error
type GrantReward ¶
type GrantReward struct {
Type RewardType `protobuf:"varint,1,opt,name=type,proto3,enum=iotextypes.RewardType" json:"type,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GrantReward) Descriptor ¶
func (*GrantReward) Descriptor() ([]byte, []int)
func (*GrantReward) GetHeight ¶
func (m *GrantReward) GetHeight() uint64
func (*GrantReward) GetType ¶
func (m *GrantReward) GetType() RewardType
func (*GrantReward) ProtoMessage ¶
func (*GrantReward) ProtoMessage()
func (*GrantReward) Reset ¶
func (m *GrantReward) Reset()
func (*GrantReward) String ¶
func (m *GrantReward) String() string
func (*GrantReward) XXX_DiscardUnknown ¶
func (m *GrantReward) XXX_DiscardUnknown()
func (*GrantReward) XXX_Marshal ¶
func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantReward) XXX_Merge ¶
func (m *GrantReward) XXX_Merge(src proto.Message)
func (*GrantReward) XXX_Size ¶
func (m *GrantReward) XXX_Size() int
func (*GrantReward) XXX_Unmarshal ¶
func (m *GrantReward) XXX_Unmarshal(b []byte) error
type Log ¶
type Log struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
BlkHeight uint64 `protobuf:"varint,4,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
ActHash []byte `protobuf:"bytes,5,opt,name=actHash,proto3" json:"actHash,omitempty"`
Index uint32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Log) Descriptor ¶
func (*Log) GetActHash ¶
func (*Log) GetBlkHeight ¶
func (*Log) GetContractAddress ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type Logs ¶ added in v0.3.1
type Logs struct {
Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Logs) Descriptor ¶ added in v0.3.1
func (*Logs) ProtoMessage ¶ added in v0.3.1
func (*Logs) ProtoMessage()
func (*Logs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Logs) XXX_DiscardUnknown()
func (*Logs) XXX_Marshal ¶ added in v0.3.1
func (*Logs) XXX_Unmarshal ¶ added in v0.3.1
type MerkleRoot ¶
type MerkleRoot struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MerkleRoot) Descriptor ¶
func (*MerkleRoot) Descriptor() ([]byte, []int)
func (*MerkleRoot) GetName ¶
func (m *MerkleRoot) GetName() string
func (*MerkleRoot) GetValue ¶
func (m *MerkleRoot) GetValue() []byte
func (*MerkleRoot) ProtoMessage ¶
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) Reset ¶
func (m *MerkleRoot) Reset()
func (*MerkleRoot) String ¶
func (m *MerkleRoot) String() string
func (*MerkleRoot) XXX_DiscardUnknown ¶
func (m *MerkleRoot) XXX_DiscardUnknown()
func (*MerkleRoot) XXX_Marshal ¶
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleRoot) XXX_Merge ¶
func (m *MerkleRoot) XXX_Merge(src proto.Message)
func (*MerkleRoot) XXX_Size ¶
func (m *MerkleRoot) XXX_Size() int
func (*MerkleRoot) XXX_Unmarshal ¶
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
type PlumChallengeExit ¶
type PlumChallengeExit struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
ChallengeTransferBlockProof []byte `protobuf:"bytes,4,opt,name=challengeTransferBlockProof,proto3" json:"challengeTransferBlockProof,omitempty"`
ChallengeTransferBlockHeight uint64 `protobuf:"varint,5,opt,name=challengeTransferBlockHeight,proto3" json:"challengeTransferBlockHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumChallengeExit) Descriptor ¶
func (*PlumChallengeExit) Descriptor() ([]byte, []int)
func (*PlumChallengeExit) GetChallengeTransfer ¶
func (m *PlumChallengeExit) GetChallengeTransfer() []byte
func (*PlumChallengeExit) GetChallengeTransferBlockHeight ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
func (*PlumChallengeExit) GetChallengeTransferBlockProof ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
func (*PlumChallengeExit) GetCoinID ¶
func (m *PlumChallengeExit) GetCoinID() uint64
func (*PlumChallengeExit) GetSubChainAddress ¶
func (m *PlumChallengeExit) GetSubChainAddress() string
func (*PlumChallengeExit) ProtoMessage ¶
func (*PlumChallengeExit) ProtoMessage()
func (*PlumChallengeExit) Reset ¶
func (m *PlumChallengeExit) Reset()
func (*PlumChallengeExit) String ¶
func (m *PlumChallengeExit) String() string
func (*PlumChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumChallengeExit) XXX_DiscardUnknown()
func (*PlumChallengeExit) XXX_Marshal ¶
func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumChallengeExit) XXX_Merge ¶
func (m *PlumChallengeExit) XXX_Merge(src proto.Message)
func (*PlumChallengeExit) XXX_Size ¶
func (m *PlumChallengeExit) XXX_Size() int
func (*PlumChallengeExit) XXX_Unmarshal ¶
func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
type PlumCreateDeposit ¶
type PlumCreateDeposit struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumCreateDeposit) Descriptor ¶
func (*PlumCreateDeposit) Descriptor() ([]byte, []int)
func (*PlumCreateDeposit) GetAmount ¶
func (m *PlumCreateDeposit) GetAmount() string
func (*PlumCreateDeposit) GetRecipient ¶
func (m *PlumCreateDeposit) GetRecipient() string
func (*PlumCreateDeposit) GetSubChainAddress ¶
func (m *PlumCreateDeposit) GetSubChainAddress() string
func (*PlumCreateDeposit) ProtoMessage ¶
func (*PlumCreateDeposit) ProtoMessage()
func (*PlumCreateDeposit) Reset ¶
func (m *PlumCreateDeposit) Reset()
func (*PlumCreateDeposit) String ¶
func (m *PlumCreateDeposit) String() string
func (*PlumCreateDeposit) XXX_DiscardUnknown ¶
func (m *PlumCreateDeposit) XXX_DiscardUnknown()
func (*PlumCreateDeposit) XXX_Marshal ¶
func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumCreateDeposit) XXX_Merge ¶
func (m *PlumCreateDeposit) XXX_Merge(src proto.Message)
func (*PlumCreateDeposit) XXX_Size ¶
func (m *PlumCreateDeposit) XXX_Size() int
func (*PlumCreateDeposit) XXX_Unmarshal ¶
func (m *PlumCreateDeposit) XXX_Unmarshal(b []byte) error
type PlumFinalizeExit ¶
type PlumFinalizeExit struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumFinalizeExit) Descriptor ¶
func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
func (*PlumFinalizeExit) GetCoinID ¶
func (m *PlumFinalizeExit) GetCoinID() uint64
func (*PlumFinalizeExit) GetSubChainAddress ¶
func (m *PlumFinalizeExit) GetSubChainAddress() string
func (*PlumFinalizeExit) ProtoMessage ¶
func (*PlumFinalizeExit) ProtoMessage()
func (*PlumFinalizeExit) Reset ¶
func (m *PlumFinalizeExit) Reset()
func (*PlumFinalizeExit) String ¶
func (m *PlumFinalizeExit) String() string
func (*PlumFinalizeExit) XXX_DiscardUnknown ¶
func (m *PlumFinalizeExit) XXX_DiscardUnknown()
func (*PlumFinalizeExit) XXX_Marshal ¶
func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumFinalizeExit) XXX_Merge ¶
func (m *PlumFinalizeExit) XXX_Merge(src proto.Message)
func (*PlumFinalizeExit) XXX_Size ¶
func (m *PlumFinalizeExit) XXX_Size() int
func (*PlumFinalizeExit) XXX_Unmarshal ¶
func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
type PlumPutBlock ¶
type PlumPutBlock struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Roots map[string][]byte `` /* 151-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumPutBlock) Descriptor ¶
func (*PlumPutBlock) Descriptor() ([]byte, []int)
func (*PlumPutBlock) GetHeight ¶
func (m *PlumPutBlock) GetHeight() uint64
func (*PlumPutBlock) GetRoots ¶
func (m *PlumPutBlock) GetRoots() map[string][]byte
func (*PlumPutBlock) GetSubChainAddress ¶
func (m *PlumPutBlock) GetSubChainAddress() string
func (*PlumPutBlock) ProtoMessage ¶
func (*PlumPutBlock) ProtoMessage()
func (*PlumPutBlock) Reset ¶
func (m *PlumPutBlock) Reset()
func (*PlumPutBlock) String ¶
func (m *PlumPutBlock) String() string
func (*PlumPutBlock) XXX_DiscardUnknown ¶
func (m *PlumPutBlock) XXX_DiscardUnknown()
func (*PlumPutBlock) XXX_Marshal ¶
func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumPutBlock) XXX_Merge ¶
func (m *PlumPutBlock) XXX_Merge(src proto.Message)
func (*PlumPutBlock) XXX_Size ¶
func (m *PlumPutBlock) XXX_Size() int
func (*PlumPutBlock) XXX_Unmarshal ¶
func (m *PlumPutBlock) XXX_Unmarshal(b []byte) error
type PlumResponseChallengeExit ¶
type PlumResponseChallengeExit struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
ResponseTransfer []byte `protobuf:"bytes,4,opt,name=responseTransfer,proto3" json:"responseTransfer,omitempty"`
ResponseTransferBlockProof []byte `protobuf:"bytes,5,opt,name=responseTransferBlockProof,proto3" json:"responseTransferBlockProof,omitempty"`
PreviousTransferBlockHeight uint64 `protobuf:"varint,6,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumResponseChallengeExit) Descriptor ¶
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
func (*PlumResponseChallengeExit) GetChallengeTransfer ¶
func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
func (*PlumResponseChallengeExit) GetCoinID ¶
func (m *PlumResponseChallengeExit) GetCoinID() uint64
func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight ¶
func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
func (*PlumResponseChallengeExit) GetResponseTransfer ¶
func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
func (*PlumResponseChallengeExit) GetResponseTransferBlockProof ¶
func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
func (*PlumResponseChallengeExit) GetSubChainAddress ¶
func (m *PlumResponseChallengeExit) GetSubChainAddress() string
func (*PlumResponseChallengeExit) ProtoMessage ¶
func (*PlumResponseChallengeExit) ProtoMessage()
func (*PlumResponseChallengeExit) Reset ¶
func (m *PlumResponseChallengeExit) Reset()
func (*PlumResponseChallengeExit) String ¶
func (m *PlumResponseChallengeExit) String() string
func (*PlumResponseChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
func (*PlumResponseChallengeExit) XXX_Marshal ¶
func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumResponseChallengeExit) XXX_Merge ¶
func (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
func (*PlumResponseChallengeExit) XXX_Size ¶
func (m *PlumResponseChallengeExit) XXX_Size() int
func (*PlumResponseChallengeExit) XXX_Unmarshal ¶
func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
type PlumSettleDeposit ¶
type PlumSettleDeposit struct {
CoinID uint64 `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
plum sub chain APIs
func (*PlumSettleDeposit) Descriptor ¶
func (*PlumSettleDeposit) Descriptor() ([]byte, []int)
func (*PlumSettleDeposit) GetCoinID ¶
func (m *PlumSettleDeposit) GetCoinID() uint64
func (*PlumSettleDeposit) ProtoMessage ¶
func (*PlumSettleDeposit) ProtoMessage()
func (*PlumSettleDeposit) Reset ¶
func (m *PlumSettleDeposit) Reset()
func (*PlumSettleDeposit) String ¶
func (m *PlumSettleDeposit) String() string
func (*PlumSettleDeposit) XXX_DiscardUnknown ¶
func (m *PlumSettleDeposit) XXX_DiscardUnknown()
func (*PlumSettleDeposit) XXX_Marshal ¶
func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumSettleDeposit) XXX_Merge ¶
func (m *PlumSettleDeposit) XXX_Merge(src proto.Message)
func (*PlumSettleDeposit) XXX_Size ¶
func (m *PlumSettleDeposit) XXX_Size() int
func (*PlumSettleDeposit) XXX_Unmarshal ¶
func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error
type PlumStartExit ¶
type PlumStartExit struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
PreviousTransfer []byte `protobuf:"bytes,2,opt,name=previousTransfer,proto3" json:"previousTransfer,omitempty"`
PreviousTransferBlockProof []byte `protobuf:"bytes,3,opt,name=previousTransferBlockProof,proto3" json:"previousTransferBlockProof,omitempty"`
PreviousTransferBlockHeight uint64 `protobuf:"varint,4,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
ExitTransfer []byte `protobuf:"bytes,5,opt,name=exitTransfer,proto3" json:"exitTransfer,omitempty"`
ExitTransferBlockProof []byte `protobuf:"bytes,6,opt,name=exitTransferBlockProof,proto3" json:"exitTransferBlockProof,omitempty"`
ExitTransferBlockHeight uint64 `protobuf:"varint,7,opt,name=exitTransferBlockHeight,proto3" json:"exitTransferBlockHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumStartExit) Descriptor ¶
func (*PlumStartExit) Descriptor() ([]byte, []int)
func (*PlumStartExit) GetExitTransfer ¶
func (m *PlumStartExit) GetExitTransfer() []byte
func (*PlumStartExit) GetExitTransferBlockHeight ¶
func (m *PlumStartExit) GetExitTransferBlockHeight() uint64
func (*PlumStartExit) GetExitTransferBlockProof ¶
func (m *PlumStartExit) GetExitTransferBlockProof() []byte
func (*PlumStartExit) GetPreviousTransfer ¶
func (m *PlumStartExit) GetPreviousTransfer() []byte
func (*PlumStartExit) GetPreviousTransferBlockHeight ¶
func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64
func (*PlumStartExit) GetPreviousTransferBlockProof ¶
func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte
func (*PlumStartExit) GetSubChainAddress ¶
func (m *PlumStartExit) GetSubChainAddress() string
func (*PlumStartExit) ProtoMessage ¶
func (*PlumStartExit) ProtoMessage()
func (*PlumStartExit) Reset ¶
func (m *PlumStartExit) Reset()
func (*PlumStartExit) String ¶
func (m *PlumStartExit) String() string
func (*PlumStartExit) XXX_DiscardUnknown ¶
func (m *PlumStartExit) XXX_DiscardUnknown()
func (*PlumStartExit) XXX_Marshal ¶
func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumStartExit) XXX_Merge ¶
func (m *PlumStartExit) XXX_Merge(src proto.Message)
func (*PlumStartExit) XXX_Size ¶
func (m *PlumStartExit) XXX_Size() int
func (*PlumStartExit) XXX_Unmarshal ¶
func (m *PlumStartExit) XXX_Unmarshal(b []byte) error
type PlumTransfer ¶
type PlumTransfer struct {
CoinID uint64 `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
Denomination []byte `protobuf:"bytes,2,opt,name=denomination,proto3" json:"denomination,omitempty"`
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlumTransfer) Descriptor ¶
func (*PlumTransfer) Descriptor() ([]byte, []int)
func (*PlumTransfer) GetCoinID ¶
func (m *PlumTransfer) GetCoinID() uint64
func (*PlumTransfer) GetDenomination ¶
func (m *PlumTransfer) GetDenomination() []byte
func (*PlumTransfer) GetOwner ¶
func (m *PlumTransfer) GetOwner() string
func (*PlumTransfer) GetRecipient ¶
func (m *PlumTransfer) GetRecipient() string
func (*PlumTransfer) ProtoMessage ¶
func (*PlumTransfer) ProtoMessage()
func (*PlumTransfer) Reset ¶
func (m *PlumTransfer) Reset()
func (*PlumTransfer) String ¶
func (m *PlumTransfer) String() string
func (*PlumTransfer) XXX_DiscardUnknown ¶
func (m *PlumTransfer) XXX_DiscardUnknown()
func (*PlumTransfer) XXX_Marshal ¶
func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumTransfer) XXX_Merge ¶
func (m *PlumTransfer) XXX_Merge(src proto.Message)
func (*PlumTransfer) XXX_Size ¶
func (m *PlumTransfer) XXX_Size() int
func (*PlumTransfer) XXX_Unmarshal ¶
func (m *PlumTransfer) XXX_Unmarshal(b []byte) error
type ProbationCandidateList ¶ added in v0.3.0
type ProbationCandidateList struct {
ProbationList []*ProbationCandidateList_Info `protobuf:"bytes,1,rep,name=probationList,proto3" json:"probationList,omitempty"`
IntensityRate uint32 `protobuf:"varint,2,opt,name=intensityRate,proto3" json:"intensityRate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ProbationCandidateList (slashing #1)
func (*ProbationCandidateList) Descriptor ¶ added in v0.3.0
func (*ProbationCandidateList) Descriptor() ([]byte, []int)
func (*ProbationCandidateList) GetIntensityRate ¶ added in v0.3.0
func (m *ProbationCandidateList) GetIntensityRate() uint32
func (*ProbationCandidateList) GetProbationList ¶ added in v0.3.0
func (m *ProbationCandidateList) GetProbationList() []*ProbationCandidateList_Info
func (*ProbationCandidateList) ProtoMessage ¶ added in v0.3.0
func (*ProbationCandidateList) ProtoMessage()
func (*ProbationCandidateList) Reset ¶ added in v0.3.0
func (m *ProbationCandidateList) Reset()
func (*ProbationCandidateList) String ¶ added in v0.3.0
func (m *ProbationCandidateList) String() string
func (*ProbationCandidateList) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ProbationCandidateList) XXX_DiscardUnknown()
func (*ProbationCandidateList) XXX_Marshal ¶ added in v0.3.0
func (m *ProbationCandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProbationCandidateList) XXX_Merge ¶ added in v0.3.0
func (m *ProbationCandidateList) XXX_Merge(src proto.Message)
func (*ProbationCandidateList) XXX_Size ¶ added in v0.3.0
func (m *ProbationCandidateList) XXX_Size() int
func (*ProbationCandidateList) XXX_Unmarshal ¶ added in v0.3.0
func (m *ProbationCandidateList) XXX_Unmarshal(b []byte) error
type ProbationCandidateList_Info ¶ added in v0.3.0
type ProbationCandidateList_Info struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ProbationCandidateList_Info) Descriptor ¶ added in v0.3.0
func (*ProbationCandidateList_Info) Descriptor() ([]byte, []int)
func (*ProbationCandidateList_Info) GetAddress ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) GetAddress() string
func (*ProbationCandidateList_Info) GetCount ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) GetCount() uint32
func (*ProbationCandidateList_Info) ProtoMessage ¶ added in v0.3.0
func (*ProbationCandidateList_Info) ProtoMessage()
func (*ProbationCandidateList_Info) Reset ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) Reset()
func (*ProbationCandidateList_Info) String ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) String() string
func (*ProbationCandidateList_Info) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) XXX_DiscardUnknown()
func (*ProbationCandidateList_Info) XXX_Marshal ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProbationCandidateList_Info) XXX_Merge ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) XXX_Merge(src proto.Message)
func (*ProbationCandidateList_Info) XXX_Size ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) XXX_Size() int
func (*ProbationCandidateList_Info) XXX_Unmarshal ¶ added in v0.3.0
func (m *ProbationCandidateList_Info) XXX_Unmarshal(b []byte) error
type PutBlock ¶
type PutBlock struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Roots []*MerkleRoot `protobuf:"bytes,3,rep,name=roots,proto3" json:"roots,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PutBlock) Descriptor ¶
func (*PutBlock) GetRoots ¶
func (m *PutBlock) GetRoots() []*MerkleRoot
func (*PutBlock) GetSubChainAddress ¶
func (*PutBlock) ProtoMessage ¶
func (*PutBlock) ProtoMessage()
func (*PutBlock) XXX_DiscardUnknown ¶
func (m *PutBlock) XXX_DiscardUnknown()
func (*PutBlock) XXX_Marshal ¶
func (*PutBlock) XXX_Unmarshal ¶
type PutPollResult ¶
type PutPollResult struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Candidates *CandidateList `protobuf:"bytes,2,opt,name=candidates,proto3" json:"candidates,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PutPollResult) Descriptor ¶
func (*PutPollResult) Descriptor() ([]byte, []int)
func (*PutPollResult) GetCandidates ¶
func (m *PutPollResult) GetCandidates() *CandidateList
func (*PutPollResult) GetHeight ¶
func (m *PutPollResult) GetHeight() uint64
func (*PutPollResult) ProtoMessage ¶
func (*PutPollResult) ProtoMessage()
func (*PutPollResult) Reset ¶
func (m *PutPollResult) Reset()
func (*PutPollResult) String ¶
func (m *PutPollResult) String() string
func (*PutPollResult) XXX_DiscardUnknown ¶
func (m *PutPollResult) XXX_DiscardUnknown()
func (*PutPollResult) XXX_Marshal ¶
func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutPollResult) XXX_Merge ¶
func (m *PutPollResult) XXX_Merge(src proto.Message)
func (*PutPollResult) XXX_Size ¶
func (m *PutPollResult) XXX_Size() int
func (*PutPollResult) XXX_Unmarshal ¶
func (m *PutPollResult) XXX_Unmarshal(b []byte) error
type Receipt ¶
type Receipt struct {
Status uint64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
BlkHeight uint64 `protobuf:"varint,2,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
ActHash []byte `protobuf:"bytes,3,opt,name=actHash,proto3" json:"actHash,omitempty"`
GasConsumed uint64 `protobuf:"varint,4,opt,name=gasConsumed,proto3" json:"gasConsumed,omitempty"`
ContractAddress string `protobuf:"bytes,5,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
Logs []*Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Receipt) Descriptor ¶
func (*Receipt) GetActHash ¶
func (*Receipt) GetBlkHeight ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetGasConsumed ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type ReceiptStatus ¶ added in v0.2.5
type ReceiptStatus int32
BELOW ARE DEFINITIONS FOR EVM ERROR CLASSIFICATION IN RECEIPT STATUS
const ( ReceiptStatus_Failure ReceiptStatus = 0 ReceiptStatus_Success ReceiptStatus = 1 //1xx for EVM ErrorCode ReceiptStatus_ErrUnknown ReceiptStatus = 100 ReceiptStatus_ErrOutOfGas ReceiptStatus = 101 ReceiptStatus_ErrCodeStoreOutOfGas ReceiptStatus = 102 ReceiptStatus_ErrDepth ReceiptStatus = 103 ReceiptStatus_ErrContractAddressCollision ReceiptStatus = 104 ReceiptStatus_ErrNoCompatibleInterpreter ReceiptStatus = 105 ReceiptStatus_ErrExecutionReverted ReceiptStatus = 106 ReceiptStatus_ErrMaxCodeSizeExceeded ReceiptStatus = 107 ReceiptStatus_ErrWriteProtection ReceiptStatus = 108 //2xx for Staking ErrorCode ReceiptStatus_ErrLoadAccount ReceiptStatus = 200 ReceiptStatus_ErrNotEnoughBalance ReceiptStatus = 201 ReceiptStatus_ErrInvalidBucketIndex ReceiptStatus = 202 ReceiptStatus_ErrInvalidBucketType ReceiptStatus = 204 ReceiptStatus_ErrCandidateNotExist ReceiptStatus = 205 ReceiptStatus_ErrReduceDurationBeforeMaturity ReceiptStatus = 206 ReceiptStatus_ErrUnstakeBeforeMaturity ReceiptStatus = 207 ReceiptStatus_ErrWithdrawBeforeUnstake ReceiptStatus = 208 ReceiptStatus_ErrWithdrawBeforeMaturity ReceiptStatus = 209 ReceiptStatus_ErrCandidateAlreadyExist ReceiptStatus = 210 ReceiptStatus_ErrCandidateConflict ReceiptStatus = 211 ReceiptStatus_ErrInvalidBucketAmount ReceiptStatus = 212 ReceiptStatus_ErrWriteAccount ReceiptStatus = 213 ReceiptStatus_ErrWriteBucket ReceiptStatus = 214 ReceiptStatus_ErrWriteCandidate ReceiptStatus = 215 )
func (ReceiptStatus) EnumDescriptor ¶ added in v0.2.5
func (ReceiptStatus) EnumDescriptor() ([]byte, []int)
func (ReceiptStatus) String ¶ added in v0.2.5
func (x ReceiptStatus) String() string
type Receipts ¶
type Receipts struct {
Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Receipts consists of a collection of recepit
func (*Receipts) Descriptor ¶
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶
func (*Receipts) XXX_Unmarshal ¶
type RewardType ¶
type RewardType int32
const ( RewardType_BlockReward RewardType = 0 RewardType_EpochReward RewardType = 1 )
func (RewardType) EnumDescriptor ¶
func (RewardType) EnumDescriptor() ([]byte, []int)
func (RewardType) String ¶
func (x RewardType) String() string
type ServerMeta ¶
type ServerMeta struct {
PackageVersion string `protobuf:"bytes,1,opt,name=packageVersion,proto3" json:"packageVersion,omitempty"`
PackageCommitID string `protobuf:"bytes,2,opt,name=packageCommitID,proto3" json:"packageCommitID,omitempty"`
GitStatus string `protobuf:"bytes,3,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
GoVersion string `protobuf:"bytes,4,opt,name=goVersion,proto3" json:"goVersion,omitempty"`
BuildTime string `protobuf:"bytes,5,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Server Metadata
func (*ServerMeta) Descriptor ¶
func (*ServerMeta) Descriptor() ([]byte, []int)
func (*ServerMeta) GetBuildTime ¶
func (m *ServerMeta) GetBuildTime() string
func (*ServerMeta) GetGitStatus ¶
func (m *ServerMeta) GetGitStatus() string
func (*ServerMeta) GetGoVersion ¶
func (m *ServerMeta) GetGoVersion() string
func (*ServerMeta) GetPackageCommitID ¶
func (m *ServerMeta) GetPackageCommitID() string
func (*ServerMeta) GetPackageVersion ¶
func (m *ServerMeta) GetPackageVersion() string
func (*ServerMeta) ProtoMessage ¶
func (*ServerMeta) ProtoMessage()
func (*ServerMeta) Reset ¶
func (m *ServerMeta) Reset()
func (*ServerMeta) String ¶
func (m *ServerMeta) String() string
func (*ServerMeta) XXX_DiscardUnknown ¶
func (m *ServerMeta) XXX_DiscardUnknown()
func (*ServerMeta) XXX_Marshal ¶
func (m *ServerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerMeta) XXX_Merge ¶
func (m *ServerMeta) XXX_Merge(src proto.Message)
func (*ServerMeta) XXX_Size ¶
func (m *ServerMeta) XXX_Size() int
func (*ServerMeta) XXX_Unmarshal ¶
func (m *ServerMeta) XXX_Unmarshal(b []byte) error
type SettleDeposit ¶
type SettleDeposit struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SettleDeposit) Descriptor ¶
func (*SettleDeposit) Descriptor() ([]byte, []int)
func (*SettleDeposit) GetAmount ¶
func (m *SettleDeposit) GetAmount() string
func (*SettleDeposit) GetIndex ¶
func (m *SettleDeposit) GetIndex() uint64
func (*SettleDeposit) GetRecipient ¶
func (m *SettleDeposit) GetRecipient() string
func (*SettleDeposit) ProtoMessage ¶
func (*SettleDeposit) ProtoMessage()
func (*SettleDeposit) Reset ¶
func (m *SettleDeposit) Reset()
func (*SettleDeposit) String ¶
func (m *SettleDeposit) String() string
func (*SettleDeposit) XXX_DiscardUnknown ¶
func (m *SettleDeposit) XXX_DiscardUnknown()
func (*SettleDeposit) XXX_Marshal ¶
func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleDeposit) XXX_Merge ¶
func (m *SettleDeposit) XXX_Merge(src proto.Message)
func (*SettleDeposit) XXX_Size ¶
func (m *SettleDeposit) XXX_Size() int
func (*SettleDeposit) XXX_Unmarshal ¶
func (m *SettleDeposit) XXX_Unmarshal(b []byte) error
type StakeAddDeposit ¶ added in v0.3.0
type StakeAddDeposit struct {
BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
add the amount of bucket
func (*StakeAddDeposit) Descriptor ¶ added in v0.3.0
func (*StakeAddDeposit) Descriptor() ([]byte, []int)
func (*StakeAddDeposit) GetAmount ¶ added in v0.3.0
func (m *StakeAddDeposit) GetAmount() string
func (*StakeAddDeposit) GetBucketIndex ¶ added in v0.3.0
func (m *StakeAddDeposit) GetBucketIndex() uint64
func (*StakeAddDeposit) GetPayload ¶ added in v0.3.0
func (m *StakeAddDeposit) GetPayload() []byte
func (*StakeAddDeposit) ProtoMessage ¶ added in v0.3.0
func (*StakeAddDeposit) ProtoMessage()
func (*StakeAddDeposit) Reset ¶ added in v0.3.0
func (m *StakeAddDeposit) Reset()
func (*StakeAddDeposit) String ¶ added in v0.3.0
func (m *StakeAddDeposit) String() string
func (*StakeAddDeposit) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeAddDeposit) XXX_DiscardUnknown()
func (*StakeAddDeposit) XXX_Marshal ¶ added in v0.3.0
func (m *StakeAddDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeAddDeposit) XXX_Merge ¶ added in v0.3.0
func (m *StakeAddDeposit) XXX_Merge(src proto.Message)
func (*StakeAddDeposit) XXX_Size ¶ added in v0.3.0
func (m *StakeAddDeposit) XXX_Size() int
func (*StakeAddDeposit) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeAddDeposit) XXX_Unmarshal(b []byte) error
type StakeChangeCandidate ¶ added in v0.3.0
type StakeChangeCandidate struct {
BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
CandidateName string `protobuf:"bytes,2,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
move the bucket to vote for another candidate or transfer the ownership of bucket to another voters
func (*StakeChangeCandidate) Descriptor ¶ added in v0.3.0
func (*StakeChangeCandidate) Descriptor() ([]byte, []int)
func (*StakeChangeCandidate) GetBucketIndex ¶ added in v0.3.0
func (m *StakeChangeCandidate) GetBucketIndex() uint64
func (*StakeChangeCandidate) GetCandidateName ¶ added in v0.3.0
func (m *StakeChangeCandidate) GetCandidateName() string
func (*StakeChangeCandidate) GetPayload ¶ added in v0.3.0
func (m *StakeChangeCandidate) GetPayload() []byte
func (*StakeChangeCandidate) ProtoMessage ¶ added in v0.3.0
func (*StakeChangeCandidate) ProtoMessage()
func (*StakeChangeCandidate) Reset ¶ added in v0.3.0
func (m *StakeChangeCandidate) Reset()
func (*StakeChangeCandidate) String ¶ added in v0.3.0
func (m *StakeChangeCandidate) String() string
func (*StakeChangeCandidate) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeChangeCandidate) XXX_DiscardUnknown()
func (*StakeChangeCandidate) XXX_Marshal ¶ added in v0.3.0
func (m *StakeChangeCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeChangeCandidate) XXX_Merge ¶ added in v0.3.0
func (m *StakeChangeCandidate) XXX_Merge(src proto.Message)
func (*StakeChangeCandidate) XXX_Size ¶ added in v0.3.0
func (m *StakeChangeCandidate) XXX_Size() int
func (*StakeChangeCandidate) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeChangeCandidate) XXX_Unmarshal(b []byte) error
type StakeCreate ¶ added in v0.3.0
type StakeCreate struct {
CandidateName string `protobuf:"bytes,1,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
StakedAmount string `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
StakedDuration uint32 `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
AutoStake bool `protobuf:"varint,4,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
create stake
func (*StakeCreate) Descriptor ¶ added in v0.3.0
func (*StakeCreate) Descriptor() ([]byte, []int)
func (*StakeCreate) GetAutoStake ¶ added in v0.3.0
func (m *StakeCreate) GetAutoStake() bool
func (*StakeCreate) GetCandidateName ¶ added in v0.3.0
func (m *StakeCreate) GetCandidateName() string
func (*StakeCreate) GetPayload ¶ added in v0.3.0
func (m *StakeCreate) GetPayload() []byte
func (*StakeCreate) GetStakedAmount ¶ added in v0.3.0
func (m *StakeCreate) GetStakedAmount() string
func (*StakeCreate) GetStakedDuration ¶ added in v0.3.0
func (m *StakeCreate) GetStakedDuration() uint32
func (*StakeCreate) ProtoMessage ¶ added in v0.3.0
func (*StakeCreate) ProtoMessage()
func (*StakeCreate) Reset ¶ added in v0.3.0
func (m *StakeCreate) Reset()
func (*StakeCreate) String ¶ added in v0.3.0
func (m *StakeCreate) String() string
func (*StakeCreate) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeCreate) XXX_DiscardUnknown()
func (*StakeCreate) XXX_Marshal ¶ added in v0.3.0
func (m *StakeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeCreate) XXX_Merge ¶ added in v0.3.0
func (m *StakeCreate) XXX_Merge(src proto.Message)
func (*StakeCreate) XXX_Size ¶ added in v0.3.0
func (m *StakeCreate) XXX_Size() int
func (*StakeCreate) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeCreate) XXX_Unmarshal(b []byte) error
type StakeReclaim ¶ added in v0.3.0
type StakeReclaim struct {
BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
unstake or withdraw
func (*StakeReclaim) Descriptor ¶ added in v0.3.0
func (*StakeReclaim) Descriptor() ([]byte, []int)
func (*StakeReclaim) GetBucketIndex ¶ added in v0.3.0
func (m *StakeReclaim) GetBucketIndex() uint64
func (*StakeReclaim) GetPayload ¶ added in v0.3.0
func (m *StakeReclaim) GetPayload() []byte
func (*StakeReclaim) ProtoMessage ¶ added in v0.3.0
func (*StakeReclaim) ProtoMessage()
func (*StakeReclaim) Reset ¶ added in v0.3.0
func (m *StakeReclaim) Reset()
func (*StakeReclaim) String ¶ added in v0.3.0
func (m *StakeReclaim) String() string
func (*StakeReclaim) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeReclaim) XXX_DiscardUnknown()
func (*StakeReclaim) XXX_Marshal ¶ added in v0.3.0
func (m *StakeReclaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeReclaim) XXX_Merge ¶ added in v0.3.0
func (m *StakeReclaim) XXX_Merge(src proto.Message)
func (*StakeReclaim) XXX_Size ¶ added in v0.3.0
func (m *StakeReclaim) XXX_Size() int
func (*StakeReclaim) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeReclaim) XXX_Unmarshal(b []byte) error
type StakeRestake ¶ added in v0.3.0
type StakeRestake struct {
BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
StakedDuration uint32 `protobuf:"varint,2,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
AutoStake bool `protobuf:"varint,3,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
restake the duration and autoStake flag of bucket
func (*StakeRestake) Descriptor ¶ added in v0.3.0
func (*StakeRestake) Descriptor() ([]byte, []int)
func (*StakeRestake) GetAutoStake ¶ added in v0.3.0
func (m *StakeRestake) GetAutoStake() bool
func (*StakeRestake) GetBucketIndex ¶ added in v0.3.0
func (m *StakeRestake) GetBucketIndex() uint64
func (*StakeRestake) GetPayload ¶ added in v0.3.0
func (m *StakeRestake) GetPayload() []byte
func (*StakeRestake) GetStakedDuration ¶ added in v0.3.0
func (m *StakeRestake) GetStakedDuration() uint32
func (*StakeRestake) ProtoMessage ¶ added in v0.3.0
func (*StakeRestake) ProtoMessage()
func (*StakeRestake) Reset ¶ added in v0.3.0
func (m *StakeRestake) Reset()
func (*StakeRestake) String ¶ added in v0.3.0
func (m *StakeRestake) String() string
func (*StakeRestake) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeRestake) XXX_DiscardUnknown()
func (*StakeRestake) XXX_Marshal ¶ added in v0.3.0
func (m *StakeRestake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeRestake) XXX_Merge ¶ added in v0.3.0
func (m *StakeRestake) XXX_Merge(src proto.Message)
func (*StakeRestake) XXX_Size ¶ added in v0.3.0
func (m *StakeRestake) XXX_Size() int
func (*StakeRestake) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeRestake) XXX_Unmarshal(b []byte) error
type StakeTransferOwnership ¶ added in v0.3.0
type StakeTransferOwnership struct {
BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
VoterAddress string `protobuf:"bytes,2,opt,name=voterAddress,proto3" json:"voterAddress,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StakeTransferOwnership) Descriptor ¶ added in v0.3.0
func (*StakeTransferOwnership) Descriptor() ([]byte, []int)
func (*StakeTransferOwnership) GetBucketIndex ¶ added in v0.3.0
func (m *StakeTransferOwnership) GetBucketIndex() uint64
func (*StakeTransferOwnership) GetPayload ¶ added in v0.3.0
func (m *StakeTransferOwnership) GetPayload() []byte
func (*StakeTransferOwnership) GetVoterAddress ¶ added in v0.3.0
func (m *StakeTransferOwnership) GetVoterAddress() string
func (*StakeTransferOwnership) ProtoMessage ¶ added in v0.3.0
func (*StakeTransferOwnership) ProtoMessage()
func (*StakeTransferOwnership) Reset ¶ added in v0.3.0
func (m *StakeTransferOwnership) Reset()
func (*StakeTransferOwnership) String ¶ added in v0.3.0
func (m *StakeTransferOwnership) String() string
func (*StakeTransferOwnership) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *StakeTransferOwnership) XXX_DiscardUnknown()
func (*StakeTransferOwnership) XXX_Marshal ¶ added in v0.3.0
func (m *StakeTransferOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeTransferOwnership) XXX_Merge ¶ added in v0.3.0
func (m *StakeTransferOwnership) XXX_Merge(src proto.Message)
func (*StakeTransferOwnership) XXX_Size ¶ added in v0.3.0
func (m *StakeTransferOwnership) XXX_Size() int
func (*StakeTransferOwnership) XXX_Unmarshal ¶ added in v0.3.0
func (m *StakeTransferOwnership) XXX_Unmarshal(b []byte) error
type StartSubChain ¶
type StartSubChain struct {
// TODO: chainID chould be assigned by system and returned via a receipt
ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
SecurityDeposit string `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"`
OperationDeposit string `protobuf:"bytes,3,opt,name=operationDeposit,proto3" json:"operationDeposit,omitempty"`
StartHeight uint64 `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
ParentHeightOffset uint64 `protobuf:"varint,5,opt,name=parentHeightOffset,proto3" json:"parentHeightOffset,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StartSubChain) Descriptor ¶
func (*StartSubChain) Descriptor() ([]byte, []int)
func (*StartSubChain) GetChainID ¶
func (m *StartSubChain) GetChainID() uint32
func (*StartSubChain) GetOperationDeposit ¶
func (m *StartSubChain) GetOperationDeposit() string
func (*StartSubChain) GetParentHeightOffset ¶
func (m *StartSubChain) GetParentHeightOffset() uint64
func (*StartSubChain) GetSecurityDeposit ¶
func (m *StartSubChain) GetSecurityDeposit() string
func (*StartSubChain) GetStartHeight ¶
func (m *StartSubChain) GetStartHeight() uint64
func (*StartSubChain) ProtoMessage ¶
func (*StartSubChain) ProtoMessage()
func (*StartSubChain) Reset ¶
func (m *StartSubChain) Reset()
func (*StartSubChain) String ¶
func (m *StartSubChain) String() string
func (*StartSubChain) XXX_DiscardUnknown ¶
func (m *StartSubChain) XXX_DiscardUnknown()
func (*StartSubChain) XXX_Marshal ¶
func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartSubChain) XXX_Merge ¶
func (m *StartSubChain) XXX_Merge(src proto.Message)
func (*StartSubChain) XXX_Size ¶
func (m *StartSubChain) XXX_Size() int
func (*StartSubChain) XXX_Unmarshal ¶
func (m *StartSubChain) XXX_Unmarshal(b []byte) error
type StopSubChain ¶
type StopSubChain struct {
ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
StopHeight uint64 `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"`
SubChainAddress string `protobuf:"bytes,3,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StopSubChain) Descriptor ¶
func (*StopSubChain) Descriptor() ([]byte, []int)
func (*StopSubChain) GetChainID ¶
func (m *StopSubChain) GetChainID() uint32
func (*StopSubChain) GetStopHeight ¶
func (m *StopSubChain) GetStopHeight() uint64
func (*StopSubChain) GetSubChainAddress ¶
func (m *StopSubChain) GetSubChainAddress() string
func (*StopSubChain) ProtoMessage ¶
func (*StopSubChain) ProtoMessage()
func (*StopSubChain) Reset ¶
func (m *StopSubChain) Reset()
func (*StopSubChain) String ¶
func (m *StopSubChain) String() string
func (*StopSubChain) XXX_DiscardUnknown ¶
func (m *StopSubChain) XXX_DiscardUnknown()
func (*StopSubChain) XXX_Marshal ¶
func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopSubChain) XXX_Merge ¶
func (m *StopSubChain) XXX_Merge(src proto.Message)
func (*StopSubChain) XXX_Size ¶
func (m *StopSubChain) XXX_Size() int
func (*StopSubChain) XXX_Unmarshal ¶
func (m *StopSubChain) XXX_Unmarshal(b []byte) error
type TerminatePlumChain ¶
type TerminatePlumChain struct {
SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TerminatePlumChain) Descriptor ¶
func (*TerminatePlumChain) Descriptor() ([]byte, []int)
func (*TerminatePlumChain) GetSubChainAddress ¶
func (m *TerminatePlumChain) GetSubChainAddress() string
func (*TerminatePlumChain) ProtoMessage ¶
func (*TerminatePlumChain) ProtoMessage()
func (*TerminatePlumChain) Reset ¶
func (m *TerminatePlumChain) Reset()
func (*TerminatePlumChain) String ¶
func (m *TerminatePlumChain) String() string
func (*TerminatePlumChain) XXX_DiscardUnknown ¶
func (m *TerminatePlumChain) XXX_DiscardUnknown()
func (*TerminatePlumChain) XXX_Marshal ¶
func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TerminatePlumChain) XXX_Merge ¶
func (m *TerminatePlumChain) XXX_Merge(src proto.Message)
func (*TerminatePlumChain) XXX_Size ¶
func (m *TerminatePlumChain) XXX_Size() int
func (*TerminatePlumChain) XXX_Unmarshal ¶
func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error
type TransactionLog ¶ added in v0.3.1
type TransactionLog struct {
ActionHash []byte `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
NumTransactions uint64 `protobuf:"varint,2,opt,name=numTransactions,proto3" json:"numTransactions,omitempty"`
Transactions []*TransactionLog_Transaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransactionLog) Descriptor ¶ added in v0.3.1
func (*TransactionLog) Descriptor() ([]byte, []int)
func (*TransactionLog) GetActionHash ¶ added in v0.3.1
func (m *TransactionLog) GetActionHash() []byte
func (*TransactionLog) GetNumTransactions ¶ added in v0.3.1
func (m *TransactionLog) GetNumTransactions() uint64
func (*TransactionLog) GetTransactions ¶ added in v0.3.1
func (m *TransactionLog) GetTransactions() []*TransactionLog_Transaction
func (*TransactionLog) ProtoMessage ¶ added in v0.3.1
func (*TransactionLog) ProtoMessage()
func (*TransactionLog) Reset ¶ added in v0.3.1
func (m *TransactionLog) Reset()
func (*TransactionLog) String ¶ added in v0.3.1
func (m *TransactionLog) String() string
func (*TransactionLog) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *TransactionLog) XXX_DiscardUnknown()
func (*TransactionLog) XXX_Marshal ¶ added in v0.3.1
func (m *TransactionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionLog) XXX_Merge ¶ added in v0.3.1
func (m *TransactionLog) XXX_Merge(src proto.Message)
func (*TransactionLog) XXX_Size ¶ added in v0.3.1
func (m *TransactionLog) XXX_Size() int
func (*TransactionLog) XXX_Unmarshal ¶ added in v0.3.1
func (m *TransactionLog) XXX_Unmarshal(b []byte) error
type TransactionLogType ¶ added in v0.3.1
type TransactionLogType int32
const ( TransactionLogType_IN_CONTRACT_TRANSFER TransactionLogType = 0 TransactionLogType_BUCKET_WITHDRAW_AMOUNT TransactionLogType = 1 TransactionLogType_BUCKET_CREATE_AMOUNT TransactionLogType = 2 TransactionLogType_BUCKET_DEPOSIT_AMOUNT TransactionLogType = 3 TransactionLogType_CANDIDATE_SELF_STAKE TransactionLogType = 4 TransactionLogType_CANDIDATE_REGISTRATION_FEE TransactionLogType = 5 TransactionLogType_GAS_FEE TransactionLogType = 6 TransactionLogType_NATIVE_TRANSFER TransactionLogType = 7 TransactionLogType_DEPOSIT_TO_REWARDING_FUND TransactionLogType = 8 TransactionLogType_CLAIM_FROM_REWARDING_FUND TransactionLogType = 9 )
func (TransactionLogType) EnumDescriptor ¶ added in v0.3.1
func (TransactionLogType) EnumDescriptor() ([]byte, []int)
func (TransactionLogType) String ¶ added in v0.3.1
func (x TransactionLogType) String() string
type TransactionLog_Transaction ¶ added in v0.3.1
type TransactionLog_Transaction struct {
Topic []byte `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TransactionLog_Transaction) Descriptor ¶ added in v0.3.1
func (*TransactionLog_Transaction) Descriptor() ([]byte, []int)
func (*TransactionLog_Transaction) GetAmount ¶ added in v0.3.1
func (m *TransactionLog_Transaction) GetAmount() string
func (*TransactionLog_Transaction) GetRecipient ¶ added in v0.3.1
func (m *TransactionLog_Transaction) GetRecipient() string
func (*TransactionLog_Transaction) GetSender ¶ added in v0.3.1
func (m *TransactionLog_Transaction) GetSender() string
func (*TransactionLog_Transaction) GetTopic ¶ added in v0.3.1
func (m *TransactionLog_Transaction) GetTopic() []byte
func (*TransactionLog_Transaction) ProtoMessage ¶ added in v0.3.1
func (*TransactionLog_Transaction) ProtoMessage()
func (*TransactionLog_Transaction) Reset ¶ added in v0.3.1
func (m *TransactionLog_Transaction) Reset()
func (*TransactionLog_Transaction) String ¶ added in v0.3.1
func (m *TransactionLog_Transaction) String() string
func (*TransactionLog_Transaction) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *TransactionLog_Transaction) XXX_DiscardUnknown()
func (*TransactionLog_Transaction) XXX_Marshal ¶ added in v0.3.1
func (m *TransactionLog_Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionLog_Transaction) XXX_Merge ¶ added in v0.3.1
func (m *TransactionLog_Transaction) XXX_Merge(src proto.Message)
func (*TransactionLog_Transaction) XXX_Size ¶ added in v0.3.1
func (m *TransactionLog_Transaction) XXX_Size() int
func (*TransactionLog_Transaction) XXX_Unmarshal ¶ added in v0.3.1
func (m *TransactionLog_Transaction) XXX_Unmarshal(b []byte) error
type Transfer ¶
type Transfer struct {
// used by state-based model
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Transfer) Descriptor ¶
func (*Transfer) GetPayload ¶
func (*Transfer) GetRecipient ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶
func (*Transfer) XXX_Unmarshal ¶
type VoteBucket ¶ added in v0.3.0
type VoteBucket struct {
Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
CandidateAddress string `protobuf:"bytes,2,opt,name=candidateAddress,proto3" json:"candidateAddress,omitempty"`
StakedAmount string `protobuf:"bytes,3,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
StakedDuration uint32 `protobuf:"varint,4,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"`
StakeStartTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=stakeStartTime,proto3" json:"stakeStartTime,omitempty"`
UnstakeStartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=unstakeStartTime,proto3" json:"unstakeStartTime,omitempty"`
AutoStake bool `protobuf:"varint,8,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoteBucket) Descriptor ¶ added in v0.3.0
func (*VoteBucket) Descriptor() ([]byte, []int)
func (*VoteBucket) GetAutoStake ¶ added in v0.3.0
func (m *VoteBucket) GetAutoStake() bool
func (*VoteBucket) GetCandidateAddress ¶ added in v0.3.0
func (m *VoteBucket) GetCandidateAddress() string
func (*VoteBucket) GetCreateTime ¶ added in v0.3.0
func (m *VoteBucket) GetCreateTime() *timestamp.Timestamp
func (*VoteBucket) GetIndex ¶ added in v0.3.0
func (m *VoteBucket) GetIndex() uint64
func (*VoteBucket) GetOwner ¶ added in v0.3.0
func (m *VoteBucket) GetOwner() string
func (*VoteBucket) GetStakeStartTime ¶ added in v0.3.0
func (m *VoteBucket) GetStakeStartTime() *timestamp.Timestamp
func (*VoteBucket) GetStakedAmount ¶ added in v0.3.0
func (m *VoteBucket) GetStakedAmount() string
func (*VoteBucket) GetStakedDuration ¶ added in v0.3.0
func (m *VoteBucket) GetStakedDuration() uint32
func (*VoteBucket) GetUnstakeStartTime ¶ added in v0.3.0
func (m *VoteBucket) GetUnstakeStartTime() *timestamp.Timestamp
func (*VoteBucket) ProtoMessage ¶ added in v0.3.0
func (*VoteBucket) ProtoMessage()
func (*VoteBucket) Reset ¶ added in v0.3.0
func (m *VoteBucket) Reset()
func (*VoteBucket) String ¶ added in v0.3.0
func (m *VoteBucket) String() string
func (*VoteBucket) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *VoteBucket) XXX_DiscardUnknown()
func (*VoteBucket) XXX_Marshal ¶ added in v0.3.0
func (m *VoteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteBucket) XXX_Merge ¶ added in v0.3.0
func (m *VoteBucket) XXX_Merge(src proto.Message)
func (*VoteBucket) XXX_Size ¶ added in v0.3.0
func (m *VoteBucket) XXX_Size() int
func (*VoteBucket) XXX_Unmarshal ¶ added in v0.3.0
func (m *VoteBucket) XXX_Unmarshal(b []byte) error
type VoteBucketList ¶ added in v0.3.0
type VoteBucketList struct {
Buckets []*VoteBucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoteBucketList) Descriptor ¶ added in v0.3.0
func (*VoteBucketList) Descriptor() ([]byte, []int)
func (*VoteBucketList) GetBuckets ¶ added in v0.3.0
func (m *VoteBucketList) GetBuckets() []*VoteBucket
func (*VoteBucketList) ProtoMessage ¶ added in v0.3.0
func (*VoteBucketList) ProtoMessage()
func (*VoteBucketList) Reset ¶ added in v0.3.0
func (m *VoteBucketList) Reset()
func (*VoteBucketList) String ¶ added in v0.3.0
func (m *VoteBucketList) String() string
func (*VoteBucketList) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *VoteBucketList) XXX_DiscardUnknown()
func (*VoteBucketList) XXX_Marshal ¶ added in v0.3.0
func (m *VoteBucketList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteBucketList) XXX_Merge ¶ added in v0.3.0
func (m *VoteBucketList) XXX_Merge(src proto.Message)
func (*VoteBucketList) XXX_Size ¶ added in v0.3.0
func (m *VoteBucketList) XXX_Size() int
func (*VoteBucketList) XXX_Unmarshal ¶ added in v0.3.0
func (m *VoteBucketList) XXX_Unmarshal(b []byte) error