Documentation
¶
Index ¶
- Variables
- type AccessTuple
- func (*AccessTuple) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTuple) GetAddress() string
- func (x *AccessTuple) GetStorageKeys() []string
- func (*AccessTuple) ProtoMessage()
- func (x *AccessTuple) ProtoReflect() protoreflect.Message
- func (x *AccessTuple) Reset()
- func (x *AccessTuple) String() string
- type AccountMeta
- func (*AccountMeta) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeta) GetAddress() string
- func (x *AccountMeta) GetBalance() string
- func (x *AccountMeta) GetContractByteCode() []byte
- func (x *AccountMeta) GetIsContract() bool
- func (x *AccountMeta) GetNonce() uint64
- func (x *AccountMeta) GetNumActions() uint64
- func (x *AccountMeta) GetPendingNonce() uint64
- func (*AccountMeta) ProtoMessage()
- func (x *AccountMeta) ProtoReflect() protoreflect.Message
- func (x *AccountMeta) Reset()
- func (x *AccountMeta) String() string
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetCore() *ActionCore
- func (x *Action) GetEncoding() Encoding
- func (x *Action) GetSenderPubKey() []byte
- func (x *Action) GetSignature() []byte
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionCore
- func (*ActionCore) Descriptor() ([]byte, []int)deprecated
- func (m *ActionCore) GetAction() isActionCore_Action
- func (x *ActionCore) GetCandidateRegister() *CandidateRegister
- func (x *ActionCore) GetCandidateUpdate() *CandidateBasicInfo
- func (x *ActionCore) GetChainID() uint32
- func (x *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
- func (x *ActionCore) GetCreateDeposit() *CreateDeposit
- func (x *ActionCore) GetCreatePlumChain() *CreatePlumChain
- func (x *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
- func (x *ActionCore) GetExecution() *Execution
- func (x *ActionCore) GetGasLimit() uint64
- func (x *ActionCore) GetGasPrice() string
- func (x *ActionCore) GetGrantReward() *GrantReward
- func (x *ActionCore) GetNonce() uint64
- func (x *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
- func (x *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
- func (x *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
- func (x *ActionCore) GetPlumPutBlock() *PlumPutBlock
- func (x *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
- func (x *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
- func (x *ActionCore) GetPlumStartExit() *PlumStartExit
- func (x *ActionCore) GetPlumTransfer() *PlumTransfer
- func (x *ActionCore) GetPutBlock() *PutBlock
- func (x *ActionCore) GetPutPollResult() *PutPollResult
- func (x *ActionCore) GetSettleDeposit() *SettleDeposit
- func (x *ActionCore) GetStakeAddDeposit() *StakeAddDeposit
- func (x *ActionCore) GetStakeChangeCandidate() *StakeChangeCandidate
- func (x *ActionCore) GetStakeCreate() *StakeCreate
- func (x *ActionCore) GetStakeRestake() *StakeRestake
- func (x *ActionCore) GetStakeTransferOwnership() *StakeTransferOwnership
- func (x *ActionCore) GetStakeUnstake() *StakeReclaim
- func (x *ActionCore) GetStakeWithdraw() *StakeReclaim
- func (x *ActionCore) GetStartSubChain() *StartSubChain
- func (x *ActionCore) GetStopSubChain() *StopSubChain
- func (x *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
- func (x *ActionCore) GetTransfer() *Transfer
- func (x *ActionCore) GetVersion() uint32
- func (*ActionCore) ProtoMessage()
- func (x *ActionCore) ProtoReflect() protoreflect.Message
- func (x *ActionCore) Reset()
- func (x *ActionCore) String() string
- 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)deprecated
- func (x *ActionEvmTransfer) GetActionHash() []byte
- func (x *ActionEvmTransfer) GetEvmTransfers() []*EvmTransfer
- func (x *ActionEvmTransfer) GetNumEvmTransfers() uint64
- func (*ActionEvmTransfer) ProtoMessage()
- func (x *ActionEvmTransfer) ProtoReflect() protoreflect.Message
- func (x *ActionEvmTransfer) Reset()
- func (x *ActionEvmTransfer) String() string
- type Actions
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBody() *BlockBody
- func (x *Block) GetFooter() *BlockFooter
- func (x *Block) GetHeader() *BlockHeader
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockBody
- type BlockEvmTransfer
- func (*BlockEvmTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *BlockEvmTransfer) GetActionEvmTransfers() []*ActionEvmTransfer
- func (x *BlockEvmTransfer) GetBlockHeight() uint64
- func (x *BlockEvmTransfer) GetNumEvmTransfers() uint64
- func (*BlockEvmTransfer) ProtoMessage()
- func (x *BlockEvmTransfer) ProtoReflect() protoreflect.Message
- func (x *BlockEvmTransfer) Reset()
- func (x *BlockEvmTransfer) String() string
- type BlockFooter
- func (*BlockFooter) Descriptor() ([]byte, []int)deprecated
- func (x *BlockFooter) GetEndorsements() []*Endorsement
- func (x *BlockFooter) GetTimestamp() *timestamppb.Timestamp
- func (*BlockFooter) ProtoMessage()
- func (x *BlockFooter) ProtoReflect() protoreflect.Message
- func (x *BlockFooter) Reset()
- func (x *BlockFooter) String() string
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeader) GetCore() *BlockHeaderCore
- func (x *BlockHeader) GetProducerPubkey() []byte
- func (x *BlockHeader) GetSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (x *BlockHeader) ProtoReflect() protoreflect.Message
- func (x *BlockHeader) Reset()
- func (x *BlockHeader) String() string
- type BlockHeaderCore
- func (*BlockHeaderCore) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeaderCore) GetDeltaStateDigest() []byte
- func (x *BlockHeaderCore) GetHeight() uint64
- func (x *BlockHeaderCore) GetLogsBloom() []byte
- func (x *BlockHeaderCore) GetPrevBlockHash() []byte
- func (x *BlockHeaderCore) GetReceiptRoot() []byte
- func (x *BlockHeaderCore) GetTimestamp() *timestamppb.Timestamp
- func (x *BlockHeaderCore) GetTxRoot() []byte
- func (x *BlockHeaderCore) GetVersion() uint32
- func (*BlockHeaderCore) ProtoMessage()
- func (x *BlockHeaderCore) ProtoReflect() protoreflect.Message
- func (x *BlockHeaderCore) Reset()
- func (x *BlockHeaderCore) String() string
- type BlockIdentifier
- func (*BlockIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *BlockIdentifier) GetHash() string
- func (x *BlockIdentifier) GetHeight() uint64
- func (*BlockIdentifier) ProtoMessage()
- func (x *BlockIdentifier) ProtoReflect() protoreflect.Message
- func (x *BlockIdentifier) Reset()
- func (x *BlockIdentifier) String() string
- type BlockMeta
- func (*BlockMeta) Descriptor() ([]byte, []int)deprecated
- func (x *BlockMeta) GetDeltaStateDigest() string
- func (x *BlockMeta) GetGasLimit() uint64
- func (x *BlockMeta) GetGasUsed() uint64
- func (x *BlockMeta) GetHash() string
- func (x *BlockMeta) GetHeight() uint64
- func (x *BlockMeta) GetLogsBloom() string
- func (x *BlockMeta) GetNumActions() int64
- func (x *BlockMeta) GetPreviousBlockHash() string
- func (x *BlockMeta) GetProducerAddress() string
- func (x *BlockMeta) GetReceiptRoot() string
- func (x *BlockMeta) GetTimestamp() *timestamppb.Timestamp
- func (x *BlockMeta) GetTransferAmount() string
- func (x *BlockMeta) GetTxRoot() string
- func (*BlockMeta) ProtoMessage()
- func (x *BlockMeta) ProtoReflect() protoreflect.Message
- func (x *BlockMeta) Reset()
- func (x *BlockMeta) String() string
- type BlockProposal
- func (*BlockProposal) Descriptor() ([]byte, []int)deprecated
- func (x *BlockProposal) GetBlock() *Block
- func (x *BlockProposal) GetEndorsements() []*Endorsement
- func (*BlockProposal) ProtoMessage()
- func (x *BlockProposal) ProtoReflect() protoreflect.Message
- func (x *BlockProposal) Reset()
- func (x *BlockProposal) String() string
- type BlockStore
- type BlockStores
- type BucketsCount
- func (*BucketsCount) Descriptor() ([]byte, []int)deprecated
- func (x *BucketsCount) GetActive() uint64
- func (x *BucketsCount) GetTotal() uint64
- func (*BucketsCount) ProtoMessage()
- func (x *BucketsCount) ProtoReflect() protoreflect.Message
- func (x *BucketsCount) Reset()
- func (x *BucketsCount) String() string
- type Candidate
- func (*Candidate) Descriptor() ([]byte, []int)deprecated
- func (x *Candidate) GetAddress() string
- func (x *Candidate) GetPubKey() []byte
- func (x *Candidate) GetRewardAddress() string
- func (x *Candidate) GetVotes() []byte
- func (*Candidate) ProtoMessage()
- func (x *Candidate) ProtoReflect() protoreflect.Message
- func (x *Candidate) Reset()
- func (x *Candidate) String() string
- type CandidateBasicInfo
- func (*CandidateBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateBasicInfo) GetName() string
- func (x *CandidateBasicInfo) GetOperatorAddress() string
- func (x *CandidateBasicInfo) GetRewardAddress() string
- func (*CandidateBasicInfo) ProtoMessage()
- func (x *CandidateBasicInfo) ProtoReflect() protoreflect.Message
- func (x *CandidateBasicInfo) Reset()
- func (x *CandidateBasicInfo) String() string
- type CandidateList
- type CandidateListV2
- type CandidateRegister
- func (*CandidateRegister) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateRegister) GetAutoStake() bool
- func (x *CandidateRegister) GetCandidate() *CandidateBasicInfo
- func (x *CandidateRegister) GetOwnerAddress() string
- func (x *CandidateRegister) GetPayload() []byte
- func (x *CandidateRegister) GetStakedAmount() string
- func (x *CandidateRegister) GetStakedDuration() uint32
- func (*CandidateRegister) ProtoMessage()
- func (x *CandidateRegister) ProtoReflect() protoreflect.Message
- func (x *CandidateRegister) Reset()
- func (x *CandidateRegister) String() string
- type CandidateV2
- func (*CandidateV2) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateV2) GetName() string
- func (x *CandidateV2) GetOperatorAddress() string
- func (x *CandidateV2) GetOwnerAddress() string
- func (x *CandidateV2) GetRewardAddress() string
- func (x *CandidateV2) GetSelfStakeBucketIdx() uint64
- func (x *CandidateV2) GetSelfStakingTokens() string
- func (x *CandidateV2) GetTotalWeightedVotes() string
- func (*CandidateV2) ProtoMessage()
- func (x *CandidateV2) ProtoReflect() protoreflect.Message
- func (x *CandidateV2) Reset()
- func (x *CandidateV2) String() string
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ChainMeta) GetChainID() uint32
- func (x *ChainMeta) GetEpoch() *EpochData
- func (x *ChainMeta) GetHeight() uint64
- func (x *ChainMeta) GetNumActions() int64
- func (x *ChainMeta) GetTps() int64
- func (x *ChainMeta) GetTpsFloat() float32
- func (*ChainMeta) ProtoMessage()
- func (x *ChainMeta) ProtoReflect() protoreflect.Message
- func (x *ChainMeta) Reset()
- func (x *ChainMeta) String() string
- type ClaimFromRewardingFund
- func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimFromRewardingFund) GetAmount() string
- func (x *ClaimFromRewardingFund) GetData() []byte
- func (*ClaimFromRewardingFund) ProtoMessage()
- func (x *ClaimFromRewardingFund) ProtoReflect() protoreflect.Message
- func (x *ClaimFromRewardingFund) Reset()
- func (x *ClaimFromRewardingFund) String() string
- type ConsensusMessage
- func (*ConsensusMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusMessage) GetBlockProposal() *BlockProposal
- func (x *ConsensusMessage) GetEndorsement() *Endorsement
- func (x *ConsensusMessage) GetHeight() uint64
- func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
- func (x *ConsensusMessage) GetVote() *ConsensusVote
- func (*ConsensusMessage) ProtoMessage()
- func (x *ConsensusMessage) ProtoReflect() protoreflect.Message
- func (x *ConsensusMessage) Reset()
- func (x *ConsensusMessage) String() string
- type ConsensusMessage_BlockProposal
- type ConsensusMessage_Vote
- type ConsensusVote
- func (*ConsensusVote) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusVote) GetBlockHash() []byte
- func (x *ConsensusVote) GetTopic() ConsensusVote_Topic
- func (*ConsensusVote) ProtoMessage()
- func (x *ConsensusVote) ProtoReflect() protoreflect.Message
- func (x *ConsensusVote) Reset()
- func (x *ConsensusVote) String() string
- type ConsensusVote_Topic
- func (ConsensusVote_Topic) Descriptor() protoreflect.EnumDescriptor
- func (x ConsensusVote_Topic) Enum() *ConsensusVote_Topic
- func (ConsensusVote_Topic) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConsensusVote_Topic) Number() protoreflect.EnumNumber
- func (x ConsensusVote_Topic) String() string
- func (ConsensusVote_Topic) Type() protoreflect.EnumType
- type ContractStakingBucketType
- func (*ContractStakingBucketType) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStakingBucketType) GetStakedAmount() string
- func (x *ContractStakingBucketType) GetStakedDuration() uint32
- func (*ContractStakingBucketType) ProtoMessage()
- func (x *ContractStakingBucketType) ProtoReflect() protoreflect.Message
- func (x *ContractStakingBucketType) Reset()
- func (x *ContractStakingBucketType) String() string
- type ContractStakingBucketTypeList
- func (*ContractStakingBucketTypeList) Descriptor() ([]byte, []int)deprecated
- func (x *ContractStakingBucketTypeList) GetBucketTypes() []*ContractStakingBucketType
- func (*ContractStakingBucketTypeList) ProtoMessage()
- func (x *ContractStakingBucketTypeList) ProtoReflect() protoreflect.Message
- func (x *ContractStakingBucketTypeList) Reset()
- func (x *ContractStakingBucketTypeList) String() string
- type CreateDeposit
- func (*CreateDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeposit) GetAmount() string
- func (x *CreateDeposit) GetChainID() uint32
- func (x *CreateDeposit) GetRecipient() string
- func (*CreateDeposit) ProtoMessage()
- func (x *CreateDeposit) ProtoReflect() protoreflect.Message
- func (x *CreateDeposit) Reset()
- func (x *CreateDeposit) String() string
- type CreatePlumChain
- type DepositToRewardingFund
- func (*DepositToRewardingFund) Descriptor() ([]byte, []int)deprecated
- func (x *DepositToRewardingFund) GetAmount() string
- func (x *DepositToRewardingFund) GetData() []byte
- func (*DepositToRewardingFund) ProtoMessage()
- func (x *DepositToRewardingFund) ProtoReflect() protoreflect.Message
- func (x *DepositToRewardingFund) Reset()
- func (x *DepositToRewardingFund) String() string
- type ElectionBucket
- func (*ElectionBucket) Descriptor() ([]byte, []int)deprecated
- func (x *ElectionBucket) GetAmount() []byte
- func (x *ElectionBucket) GetCandidate() []byte
- func (x *ElectionBucket) GetDecay() bool
- func (x *ElectionBucket) GetDuration() *durationpb.Duration
- func (x *ElectionBucket) GetStartTime() *timestamppb.Timestamp
- func (x *ElectionBucket) GetVoter() []byte
- func (*ElectionBucket) ProtoMessage()
- func (x *ElectionBucket) ProtoReflect() protoreflect.Message
- func (x *ElectionBucket) Reset()
- func (x *ElectionBucket) String() string
- type Encoding
- type Endorsement
- func (*Endorsement) Descriptor() ([]byte, []int)deprecated
- func (x *Endorsement) GetEndorser() []byte
- func (x *Endorsement) GetSignature() []byte
- func (x *Endorsement) GetTimestamp() *timestamppb.Timestamp
- func (*Endorsement) ProtoMessage()
- func (x *Endorsement) ProtoReflect() protoreflect.Message
- func (x *Endorsement) Reset()
- func (x *Endorsement) String() string
- type EpochData
- func (*EpochData) Descriptor() ([]byte, []int)deprecated
- func (x *EpochData) GetGravityChainStartHeight() uint64
- func (x *EpochData) GetHeight() uint64
- func (x *EpochData) GetNum() uint64
- func (*EpochData) ProtoMessage()
- func (x *EpochData) ProtoReflect() protoreflect.Message
- func (x *EpochData) Reset()
- func (x *EpochData) String() string
- type EvmTransfer
- func (*EvmTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *EvmTransfer) GetAmount() []byte
- func (x *EvmTransfer) GetFrom() string
- func (x *EvmTransfer) GetTo() string
- func (*EvmTransfer) ProtoMessage()
- func (x *EvmTransfer) ProtoReflect() protoreflect.Message
- func (x *EvmTransfer) Reset()
- func (x *EvmTransfer) String() string
- type EvmTransferList
- type Execution
- func (*Execution) Descriptor() ([]byte, []int)deprecated
- func (x *Execution) GetAccessList() []*AccessTuple
- func (x *Execution) GetAmount() string
- func (x *Execution) GetContract() string
- func (x *Execution) GetData() []byte
- func (*Execution) ProtoMessage()
- func (x *Execution) ProtoReflect() protoreflect.Message
- func (x *Execution) Reset()
- func (x *Execution) String() string
- type Genesis
- func (*Genesis) Descriptor() ([]byte, []int)deprecated
- func (x *Genesis) GetAccount() *GenesisAccount
- func (x *Genesis) GetBlockchain() *GenesisBlockchain
- func (x *Genesis) GetPoll() *GenesisPoll
- func (x *Genesis) GetRewarding() *GenesisRewarding
- func (*Genesis) ProtoMessage()
- func (x *Genesis) ProtoReflect() protoreflect.Message
- func (x *Genesis) Reset()
- func (x *Genesis) String() string
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisAccount) GetInitBalanceAddrs() []string
- func (x *GenesisAccount) GetInitBalances() []string
- func (*GenesisAccount) ProtoMessage()
- func (x *GenesisAccount) ProtoReflect() protoreflect.Message
- func (x *GenesisAccount) Reset()
- func (x *GenesisAccount) String() string
- type GenesisBlockchain
- func (*GenesisBlockchain) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisBlockchain) GetActionGasLimit() uint64
- func (x *GenesisBlockchain) GetBlockGasLimit() uint64
- func (x *GenesisBlockchain) GetBlockInterval() int64
- func (x *GenesisBlockchain) GetNumCandidateDelegates() uint64
- func (x *GenesisBlockchain) GetNumDelegates() uint64
- func (x *GenesisBlockchain) GetNumSubEpochs() uint64
- func (x *GenesisBlockchain) GetTimeBasedRotation() bool
- func (x *GenesisBlockchain) GetTimestamp() int64
- func (*GenesisBlockchain) ProtoMessage()
- func (x *GenesisBlockchain) ProtoReflect() protoreflect.Message
- func (x *GenesisBlockchain) Reset()
- func (x *GenesisBlockchain) String() string
- type GenesisDelegate
- func (*GenesisDelegate) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisDelegate) GetOperatorAddr() string
- func (x *GenesisDelegate) GetRewardAddr() string
- func (x *GenesisDelegate) GetVotes() string
- func (*GenesisDelegate) ProtoMessage()
- func (x *GenesisDelegate) ProtoReflect() protoreflect.Message
- func (x *GenesisDelegate) Reset()
- func (x *GenesisDelegate) String() string
- type GenesisPoll
- func (*GenesisPoll) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisPoll) GetDelegates() []*GenesisDelegate
- func (x *GenesisPoll) GetEnableGravityChainVoting() bool
- func (x *GenesisPoll) GetGravityChainStartHeight() uint64
- func (x *GenesisPoll) GetRegisterContractAddress() string
- func (x *GenesisPoll) GetScoreThreshold() string
- func (x *GenesisPoll) GetSelfStakingThreshold() string
- func (x *GenesisPoll) GetStakingContractAddress() string
- func (x *GenesisPoll) GetVoteThreshold() string
- func (*GenesisPoll) ProtoMessage()
- func (x *GenesisPoll) ProtoReflect() protoreflect.Message
- func (x *GenesisPoll) Reset()
- func (x *GenesisPoll) String() string
- type GenesisRewarding
- func (*GenesisRewarding) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisRewarding) GetBlockReward() string
- func (x *GenesisRewarding) GetEpochReward() string
- func (x *GenesisRewarding) GetFoundationBonus() string
- func (x *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
- func (x *GenesisRewarding) GetInitAdminAddr() string
- func (x *GenesisRewarding) GetInitBalance() string
- func (x *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
- func (x *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
- func (x *GenesisRewarding) GetProductivityThreshold() uint64
- func (*GenesisRewarding) ProtoMessage()
- func (x *GenesisRewarding) ProtoReflect() protoreflect.Message
- func (x *GenesisRewarding) Reset()
- func (x *GenesisRewarding) String() string
- type GrantReward
- func (*GrantReward) Descriptor() ([]byte, []int)deprecated
- func (x *GrantReward) GetHeight() uint64
- func (x *GrantReward) GetType() RewardType
- func (*GrantReward) ProtoMessage()
- func (x *GrantReward) ProtoReflect() protoreflect.Message
- func (x *GrantReward) Reset()
- func (x *GrantReward) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetActHash() []byte
- func (x *Log) GetBlkHash() []byte
- func (x *Log) GetBlkHeight() uint64
- func (x *Log) GetContractAddress() string
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint32
- func (x *Log) GetTopics() [][]byte
- func (x *Log) GetTxIndex() uint32
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type Logs
- type MerkleRoot
- type NodeInfo
- type NodeInfoCore
- func (*NodeInfoCore) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoCore) GetAddress() string
- func (x *NodeInfoCore) GetHeight() uint64
- func (x *NodeInfoCore) GetTimestamp() *timestamppb.Timestamp
- func (x *NodeInfoCore) GetVersion() string
- func (*NodeInfoCore) ProtoMessage()
- func (x *NodeInfoCore) ProtoReflect() protoreflect.Message
- func (x *NodeInfoCore) Reset()
- func (x *NodeInfoCore) String() string
- type NodeInfoRequest
- type PlumChallengeExit
- func (*PlumChallengeExit) Descriptor() ([]byte, []int)deprecated
- func (x *PlumChallengeExit) GetChallengeTransfer() []byte
- func (x *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
- func (x *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
- func (x *PlumChallengeExit) GetCoinID() uint64
- func (x *PlumChallengeExit) GetSubChainAddress() string
- func (*PlumChallengeExit) ProtoMessage()
- func (x *PlumChallengeExit) ProtoReflect() protoreflect.Message
- func (x *PlumChallengeExit) Reset()
- func (x *PlumChallengeExit) String() string
- type PlumCreateDeposit
- func (*PlumCreateDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *PlumCreateDeposit) GetAmount() string
- func (x *PlumCreateDeposit) GetRecipient() string
- func (x *PlumCreateDeposit) GetSubChainAddress() string
- func (*PlumCreateDeposit) ProtoMessage()
- func (x *PlumCreateDeposit) ProtoReflect() protoreflect.Message
- func (x *PlumCreateDeposit) Reset()
- func (x *PlumCreateDeposit) String() string
- type PlumFinalizeExit
- func (*PlumFinalizeExit) Descriptor() ([]byte, []int)deprecated
- func (x *PlumFinalizeExit) GetCoinID() uint64
- func (x *PlumFinalizeExit) GetSubChainAddress() string
- func (*PlumFinalizeExit) ProtoMessage()
- func (x *PlumFinalizeExit) ProtoReflect() protoreflect.Message
- func (x *PlumFinalizeExit) Reset()
- func (x *PlumFinalizeExit) String() string
- type PlumPutBlock
- func (*PlumPutBlock) Descriptor() ([]byte, []int)deprecated
- func (x *PlumPutBlock) GetHeight() uint64
- func (x *PlumPutBlock) GetRoots() map[string][]byte
- func (x *PlumPutBlock) GetSubChainAddress() string
- func (*PlumPutBlock) ProtoMessage()
- func (x *PlumPutBlock) ProtoReflect() protoreflect.Message
- func (x *PlumPutBlock) Reset()
- func (x *PlumPutBlock) String() string
- type PlumResponseChallengeExit
- func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)deprecated
- func (x *PlumResponseChallengeExit) GetChallengeTransfer() []byte
- func (x *PlumResponseChallengeExit) GetCoinID() uint64
- func (x *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
- func (x *PlumResponseChallengeExit) GetResponseTransfer() []byte
- func (x *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
- func (x *PlumResponseChallengeExit) GetSubChainAddress() string
- func (*PlumResponseChallengeExit) ProtoMessage()
- func (x *PlumResponseChallengeExit) ProtoReflect() protoreflect.Message
- func (x *PlumResponseChallengeExit) Reset()
- func (x *PlumResponseChallengeExit) String() string
- type PlumSettleDeposit
- type PlumStartExit
- func (*PlumStartExit) Descriptor() ([]byte, []int)deprecated
- func (x *PlumStartExit) GetExitTransfer() []byte
- func (x *PlumStartExit) GetExitTransferBlockHeight() uint64
- func (x *PlumStartExit) GetExitTransferBlockProof() []byte
- func (x *PlumStartExit) GetPreviousTransfer() []byte
- func (x *PlumStartExit) GetPreviousTransferBlockHeight() uint64
- func (x *PlumStartExit) GetPreviousTransferBlockProof() []byte
- func (x *PlumStartExit) GetSubChainAddress() string
- func (*PlumStartExit) ProtoMessage()
- func (x *PlumStartExit) ProtoReflect() protoreflect.Message
- func (x *PlumStartExit) Reset()
- func (x *PlumStartExit) String() string
- type PlumTransfer
- func (*PlumTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *PlumTransfer) GetCoinID() uint64
- func (x *PlumTransfer) GetDenomination() []byte
- func (x *PlumTransfer) GetOwner() string
- func (x *PlumTransfer) GetRecipient() string
- func (*PlumTransfer) ProtoMessage()
- func (x *PlumTransfer) ProtoReflect() protoreflect.Message
- func (x *PlumTransfer) Reset()
- func (x *PlumTransfer) String() string
- type ProbationCandidateList
- func (*ProbationCandidateList) Descriptor() ([]byte, []int)deprecated
- func (x *ProbationCandidateList) GetIntensityRate() uint32
- func (x *ProbationCandidateList) GetProbationList() []*ProbationCandidateList_Info
- func (*ProbationCandidateList) ProtoMessage()
- func (x *ProbationCandidateList) ProtoReflect() protoreflect.Message
- func (x *ProbationCandidateList) Reset()
- func (x *ProbationCandidateList) String() string
- type ProbationCandidateList_Info
- func (*ProbationCandidateList_Info) Descriptor() ([]byte, []int)deprecated
- func (x *ProbationCandidateList_Info) GetAddress() string
- func (x *ProbationCandidateList_Info) GetCount() uint32
- func (*ProbationCandidateList_Info) ProtoMessage()
- func (x *ProbationCandidateList_Info) ProtoReflect() protoreflect.Message
- func (x *ProbationCandidateList_Info) Reset()
- func (x *ProbationCandidateList_Info) String() string
- type PutBlock
- func (*PutBlock) Descriptor() ([]byte, []int)deprecated
- func (x *PutBlock) GetHeight() uint64
- func (x *PutBlock) GetRoots() []*MerkleRoot
- func (x *PutBlock) GetSubChainAddress() string
- func (*PutBlock) ProtoMessage()
- func (x *PutBlock) ProtoReflect() protoreflect.Message
- func (x *PutBlock) Reset()
- func (x *PutBlock) String() string
- type PutPollResult
- func (*PutPollResult) Descriptor() ([]byte, []int)deprecated
- func (x *PutPollResult) GetCandidates() *CandidateList
- func (x *PutPollResult) GetHeight() uint64
- func (*PutPollResult) ProtoMessage()
- func (x *PutPollResult) ProtoReflect() protoreflect.Message
- func (x *PutPollResult) Reset()
- func (x *PutPollResult) String() string
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)deprecated
- func (x *Receipt) GetActHash() []byte
- func (x *Receipt) GetBlkHeight() uint64
- func (x *Receipt) GetContractAddress() string
- func (x *Receipt) GetExecutionRevertMsg() string
- func (x *Receipt) GetGasConsumed() uint64
- func (x *Receipt) GetLogs() []*Log
- func (x *Receipt) GetStatus() uint64
- func (x *Receipt) GetTxIndex() uint32
- func (*Receipt) ProtoMessage()
- func (x *Receipt) ProtoReflect() protoreflect.Message
- func (x *Receipt) Reset()
- func (x *Receipt) String() string
- type ReceiptStatus
- func (ReceiptStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ReceiptStatus) Enum() *ReceiptStatus
- func (ReceiptStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReceiptStatus) Number() protoreflect.EnumNumber
- func (x ReceiptStatus) String() string
- func (ReceiptStatus) Type() protoreflect.EnumType
- type Receipts
- type RewardType
- type ServerMeta
- func (*ServerMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMeta) GetBuildTime() string
- func (x *ServerMeta) GetGitStatus() string
- func (x *ServerMeta) GetGoVersion() string
- func (x *ServerMeta) GetPackageCommitID() string
- func (x *ServerMeta) GetPackageVersion() string
- func (*ServerMeta) ProtoMessage()
- func (x *ServerMeta) ProtoReflect() protoreflect.Message
- func (x *ServerMeta) Reset()
- func (x *ServerMeta) String() string
- type SettleDeposit
- func (*SettleDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *SettleDeposit) GetAmount() string
- func (x *SettleDeposit) GetIndex() uint64
- func (x *SettleDeposit) GetRecipient() string
- func (*SettleDeposit) ProtoMessage()
- func (x *SettleDeposit) ProtoReflect() protoreflect.Message
- func (x *SettleDeposit) Reset()
- func (x *SettleDeposit) String() string
- type StakeAddDeposit
- func (*StakeAddDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *StakeAddDeposit) GetAmount() string
- func (x *StakeAddDeposit) GetBucketIndex() uint64
- func (x *StakeAddDeposit) GetPayload() []byte
- func (*StakeAddDeposit) ProtoMessage()
- func (x *StakeAddDeposit) ProtoReflect() protoreflect.Message
- func (x *StakeAddDeposit) Reset()
- func (x *StakeAddDeposit) String() string
- type StakeChangeCandidate
- func (*StakeChangeCandidate) Descriptor() ([]byte, []int)deprecated
- func (x *StakeChangeCandidate) GetBucketIndex() uint64
- func (x *StakeChangeCandidate) GetCandidateName() string
- func (x *StakeChangeCandidate) GetPayload() []byte
- func (*StakeChangeCandidate) ProtoMessage()
- func (x *StakeChangeCandidate) ProtoReflect() protoreflect.Message
- func (x *StakeChangeCandidate) Reset()
- func (x *StakeChangeCandidate) String() string
- type StakeCreate
- func (*StakeCreate) Descriptor() ([]byte, []int)deprecated
- func (x *StakeCreate) GetAutoStake() bool
- func (x *StakeCreate) GetCandidateName() string
- func (x *StakeCreate) GetPayload() []byte
- func (x *StakeCreate) GetStakedAmount() string
- func (x *StakeCreate) GetStakedDuration() uint32
- func (*StakeCreate) ProtoMessage()
- func (x *StakeCreate) ProtoReflect() protoreflect.Message
- func (x *StakeCreate) Reset()
- func (x *StakeCreate) String() string
- type StakeReclaim
- func (*StakeReclaim) Descriptor() ([]byte, []int)deprecated
- func (x *StakeReclaim) GetBucketIndex() uint64
- func (x *StakeReclaim) GetPayload() []byte
- func (*StakeReclaim) ProtoMessage()
- func (x *StakeReclaim) ProtoReflect() protoreflect.Message
- func (x *StakeReclaim) Reset()
- func (x *StakeReclaim) String() string
- type StakeRestake
- func (*StakeRestake) Descriptor() ([]byte, []int)deprecated
- func (x *StakeRestake) GetAutoStake() bool
- func (x *StakeRestake) GetBucketIndex() uint64
- func (x *StakeRestake) GetPayload() []byte
- func (x *StakeRestake) GetStakedDuration() uint32
- func (*StakeRestake) ProtoMessage()
- func (x *StakeRestake) ProtoReflect() protoreflect.Message
- func (x *StakeRestake) Reset()
- func (x *StakeRestake) String() string
- type StakeTransferOwnership
- func (*StakeTransferOwnership) Descriptor() ([]byte, []int)deprecated
- func (x *StakeTransferOwnership) GetBucketIndex() uint64
- func (x *StakeTransferOwnership) GetPayload() []byte
- func (x *StakeTransferOwnership) GetVoterAddress() string
- func (*StakeTransferOwnership) ProtoMessage()
- func (x *StakeTransferOwnership) ProtoReflect() protoreflect.Message
- func (x *StakeTransferOwnership) Reset()
- func (x *StakeTransferOwnership) String() string
- type StartSubChain
- func (*StartSubChain) Descriptor() ([]byte, []int)deprecated
- func (x *StartSubChain) GetChainID() uint32
- func (x *StartSubChain) GetOperationDeposit() string
- func (x *StartSubChain) GetParentHeightOffset() uint64
- func (x *StartSubChain) GetSecurityDeposit() string
- func (x *StartSubChain) GetStartHeight() uint64
- func (*StartSubChain) ProtoMessage()
- func (x *StartSubChain) ProtoReflect() protoreflect.Message
- func (x *StartSubChain) Reset()
- func (x *StartSubChain) String() string
- type StopSubChain
- func (*StopSubChain) Descriptor() ([]byte, []int)deprecated
- func (x *StopSubChain) GetChainID() uint32
- func (x *StopSubChain) GetStopHeight() uint64
- func (x *StopSubChain) GetSubChainAddress() string
- func (*StopSubChain) ProtoMessage()
- func (x *StopSubChain) ProtoReflect() protoreflect.Message
- func (x *StopSubChain) Reset()
- func (x *StopSubChain) String() string
- type TerminatePlumChain
- func (*TerminatePlumChain) Descriptor() ([]byte, []int)deprecated
- func (x *TerminatePlumChain) GetSubChainAddress() string
- func (*TerminatePlumChain) ProtoMessage()
- func (x *TerminatePlumChain) ProtoReflect() protoreflect.Message
- func (x *TerminatePlumChain) Reset()
- func (x *TerminatePlumChain) String() string
- type TransactionLog
- func (*TransactionLog) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionLog) GetActionHash() []byte
- func (x *TransactionLog) GetNumTransactions() uint64
- func (x *TransactionLog) GetTransactions() []*TransactionLog_Transaction
- func (*TransactionLog) ProtoMessage()
- func (x *TransactionLog) ProtoReflect() protoreflect.Message
- func (x *TransactionLog) Reset()
- func (x *TransactionLog) String() string
- type TransactionLogType
- func (TransactionLogType) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionLogType) Enum() *TransactionLogType
- func (TransactionLogType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionLogType) Number() protoreflect.EnumNumber
- func (x TransactionLogType) String() string
- func (TransactionLogType) Type() protoreflect.EnumType
- type TransactionLog_Transaction
- func (*TransactionLog_Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionLog_Transaction) GetAmount() string
- func (x *TransactionLog_Transaction) GetRecipient() string
- func (x *TransactionLog_Transaction) GetSender() string
- func (x *TransactionLog_Transaction) GetTopic() []byte
- func (x *TransactionLog_Transaction) GetType() TransactionLogType
- func (*TransactionLog_Transaction) ProtoMessage()
- func (x *TransactionLog_Transaction) ProtoReflect() protoreflect.Message
- func (x *TransactionLog_Transaction) Reset()
- func (x *TransactionLog_Transaction) String() string
- type TransactionLogs
- type TransactionStructLog
- func (*TransactionStructLog) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionStructLog) GetDepth() int32
- func (x *TransactionStructLog) GetError() string
- func (x *TransactionStructLog) GetGas() uint64
- func (x *TransactionStructLog) GetGasCost() uint64
- func (x *TransactionStructLog) GetMemSize() int32
- func (x *TransactionStructLog) GetMemory() string
- func (x *TransactionStructLog) GetOp() uint64
- func (x *TransactionStructLog) GetOpName() string
- func (x *TransactionStructLog) GetPc() uint64
- func (x *TransactionStructLog) GetRefund() uint64
- func (x *TransactionStructLog) GetReturnData() string
- func (x *TransactionStructLog) GetStack() []string
- func (*TransactionStructLog) ProtoMessage()
- func (x *TransactionStructLog) ProtoReflect() protoreflect.Message
- func (x *TransactionStructLog) Reset()
- func (x *TransactionStructLog) String() string
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAmount() string
- func (x *Transfer) GetPayload() []byte
- func (x *Transfer) GetRecipient() string
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type VoteBucket
- func (*VoteBucket) Descriptor() ([]byte, []int)deprecated
- func (x *VoteBucket) GetAutoStake() bool
- func (x *VoteBucket) GetCandidateAddress() string
- func (x *VoteBucket) GetContractAddress() string
- func (x *VoteBucket) GetCreateBlockHeight() uint64
- func (x *VoteBucket) GetCreateTime() *timestamppb.Timestamp
- func (x *VoteBucket) GetIndex() uint64
- func (x *VoteBucket) GetOwner() string
- func (x *VoteBucket) GetStakeStartBlockHeight() uint64
- func (x *VoteBucket) GetStakeStartTime() *timestamppb.Timestamp
- func (x *VoteBucket) GetStakedAmount() string
- func (x *VoteBucket) GetStakedDuration() uint32
- func (x *VoteBucket) GetStakedDurationBlockNumber() uint64
- func (x *VoteBucket) GetUnstakeStartBlockHeight() uint64
- func (x *VoteBucket) GetUnstakeStartTime() *timestamppb.Timestamp
- func (*VoteBucket) ProtoMessage()
- func (x *VoteBucket) ProtoReflect() protoreflect.Message
- func (x *VoteBucket) Reset()
- func (x *VoteBucket) String() string
- type VoteBucketList
Constants ¶
This section is empty.
Variables ¶
var ( Encoding_name = map[int32]string{ 0: "IOTEX_PROTOBUF", 1: "ETHEREUM_RLP", } Encoding_value = map[string]int32{ "IOTEX_PROTOBUF": 0, "ETHEREUM_RLP": 1, } )
Enum value maps for Encoding.
var ( RewardType_name = map[int32]string{ 0: "BlockReward", 1: "EpochReward", } RewardType_value = map[string]int32{ "BlockReward": 0, "EpochReward": 1, } )
Enum value maps for RewardType.
var ( ConsensusVote_Topic_name = map[int32]string{ 0: "PROPOSAL", 1: "LOCK", 2: "COMMIT", } ConsensusVote_Topic_value = map[string]int32{ "PROPOSAL": 0, "LOCK": 1, "COMMIT": 2, } )
Enum value maps for ConsensusVote_Topic.
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", 109: "ErrInvalidSubroutineEntry", 110: "ErrInsufficientBalance", 111: "ErrInvalidJump", 112: "ErrReturnDataOutOfBounds", 113: "ErrGasUintOverflow", 114: "ErrInvalidRetsub", 115: "ErrReturnStackExceeded", 116: "ErrInvalidCode", 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", } 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, "ErrInvalidSubroutineEntry": 109, "ErrInsufficientBalance": 110, "ErrInvalidJump": 111, "ErrReturnDataOutOfBounds": 112, "ErrGasUintOverflow": 113, "ErrInvalidRetsub": 114, "ErrReturnStackExceeded": 115, "ErrInvalidCode": 116, "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, } )
Enum value maps for ReceiptStatus.
var ( TransactionLogType_name = map[int32]string{ 0: "IN_CONTRACT_TRANSFER", 1: "WITHDRAW_BUCKET", 2: "CREATE_BUCKET", 3: "DEPOSIT_TO_BUCKET", 4: "CANDIDATE_SELF_STAKE", 5: "CANDIDATE_REGISTRATION_FEE", 6: "GAS_FEE", 7: "NATIVE_TRANSFER", 8: "DEPOSIT_TO_REWARDING_FUND", 9: "CLAIM_FROM_REWARDING_FUND", } TransactionLogType_value = map[string]int32{ "IN_CONTRACT_TRANSFER": 0, "WITHDRAW_BUCKET": 1, "CREATE_BUCKET": 2, "DEPOSIT_TO_BUCKET": 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, } )
Enum value maps for TransactionLogType.
var File_proto_types_action_proto protoreflect.FileDescriptor
var File_proto_types_blockchain_proto protoreflect.FileDescriptor
var File_proto_types_consensus_proto protoreflect.FileDescriptor
var File_proto_types_election_proto protoreflect.FileDescriptor
var File_proto_types_endorsement_proto protoreflect.FileDescriptor
var File_proto_types_genesis_proto protoreflect.FileDescriptor
var File_proto_types_node_proto protoreflect.FileDescriptor
var File_proto_types_receiptstatus_proto protoreflect.FileDescriptor
var File_proto_types_state_data_proto protoreflect.FileDescriptor
var File_proto_types_transaction_log_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessTuple ¶ added in v0.5.9
type AccessTuple struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` StorageKeys []string `protobuf:"bytes,2,rep,name=storageKeys,proto3" json:"storageKeys,omitempty"` // contains filtered or unexported fields }
func (*AccessTuple) Descriptor
deprecated
added in
v0.5.9
func (*AccessTuple) Descriptor() ([]byte, []int)
Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.
func (*AccessTuple) GetAddress ¶ added in v0.5.9
func (x *AccessTuple) GetAddress() string
func (*AccessTuple) GetStorageKeys ¶ added in v0.5.9
func (x *AccessTuple) GetStorageKeys() []string
func (*AccessTuple) ProtoMessage ¶ added in v0.5.9
func (*AccessTuple) ProtoMessage()
func (*AccessTuple) ProtoReflect ¶ added in v0.5.9
func (x *AccessTuple) ProtoReflect() protoreflect.Message
func (*AccessTuple) Reset ¶ added in v0.5.9
func (x *AccessTuple) Reset()
func (*AccessTuple) String ¶ added in v0.5.9
func (x *AccessTuple) String() string
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"` IsContract bool `protobuf:"varint,6,opt,name=isContract,proto3" json:"isContract,omitempty"` ContractByteCode []byte `protobuf:"bytes,7,opt,name=contractByteCode,proto3" json:"contractByteCode,omitempty"` // contains filtered or unexported fields }
Account Metadata
func (*AccountMeta) Descriptor
deprecated
func (*AccountMeta) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeta.ProtoReflect.Descriptor instead.
func (*AccountMeta) GetAddress ¶
func (x *AccountMeta) GetAddress() string
func (*AccountMeta) GetBalance ¶
func (x *AccountMeta) GetBalance() string
func (*AccountMeta) GetContractByteCode ¶ added in v0.5.0
func (x *AccountMeta) GetContractByteCode() []byte
func (*AccountMeta) GetIsContract ¶ added in v0.4.3
func (x *AccountMeta) GetIsContract() bool
func (*AccountMeta) GetNonce ¶
func (x *AccountMeta) GetNonce() uint64
func (*AccountMeta) GetNumActions ¶
func (x *AccountMeta) GetNumActions() uint64
func (*AccountMeta) GetPendingNonce ¶
func (x *AccountMeta) GetPendingNonce() uint64
func (*AccountMeta) ProtoMessage ¶
func (*AccountMeta) ProtoMessage()
func (*AccountMeta) ProtoReflect ¶ added in v0.4.0
func (x *AccountMeta) ProtoReflect() protoreflect.Message
func (*AccountMeta) Reset ¶
func (x *AccountMeta) Reset()
func (*AccountMeta) String ¶
func (x *AccountMeta) String() string
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"` Encoding Encoding `protobuf:"varint,4,opt,name=encoding,proto3,enum=iotextypes.Encoding" json:"encoding,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetCore ¶
func (x *Action) GetCore() *ActionCore
func (*Action) GetEncoding ¶ added in v0.4.8
func (*Action) GetSenderPubKey ¶
func (*Action) GetSignature ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶ added in v0.4.0
func (x *Action) ProtoReflect() protoreflect.Message
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"` ChainID uint32 `protobuf:"varint,5,opt,name=chainID,proto3" json:"chainID,omitempty"` // Types that are assignable 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"` // contains filtered or unexported fields }
func (*ActionCore) Descriptor
deprecated
func (*ActionCore) Descriptor() ([]byte, []int)
Deprecated: Use ActionCore.ProtoReflect.Descriptor instead.
func (*ActionCore) GetAction ¶
func (m *ActionCore) GetAction() isActionCore_Action
func (*ActionCore) GetCandidateRegister ¶ added in v0.3.0
func (x *ActionCore) GetCandidateRegister() *CandidateRegister
func (*ActionCore) GetCandidateUpdate ¶ added in v0.3.0
func (x *ActionCore) GetCandidateUpdate() *CandidateBasicInfo
func (*ActionCore) GetChainID ¶ added in v0.4.8
func (x *ActionCore) GetChainID() uint32
func (*ActionCore) GetClaimFromRewardingFund ¶
func (x *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
func (*ActionCore) GetCreateDeposit ¶
func (x *ActionCore) GetCreateDeposit() *CreateDeposit
func (*ActionCore) GetCreatePlumChain ¶
func (x *ActionCore) GetCreatePlumChain() *CreatePlumChain
func (*ActionCore) GetDepositToRewardingFund ¶
func (x *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
func (*ActionCore) GetExecution ¶
func (x *ActionCore) GetExecution() *Execution
func (*ActionCore) GetGasLimit ¶
func (x *ActionCore) GetGasLimit() uint64
func (*ActionCore) GetGasPrice ¶
func (x *ActionCore) GetGasPrice() string
func (*ActionCore) GetGrantReward ¶
func (x *ActionCore) GetGrantReward() *GrantReward
func (*ActionCore) GetNonce ¶
func (x *ActionCore) GetNonce() uint64
func (*ActionCore) GetPlumChallengeExit ¶
func (x *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
func (*ActionCore) GetPlumCreateDeposit ¶
func (x *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
func (*ActionCore) GetPlumFinalizeExit ¶
func (x *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
func (*ActionCore) GetPlumPutBlock ¶
func (x *ActionCore) GetPlumPutBlock() *PlumPutBlock
func (*ActionCore) GetPlumResponseChallengeExit ¶
func (x *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
func (*ActionCore) GetPlumSettleDeposit ¶
func (x *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
func (*ActionCore) GetPlumStartExit ¶
func (x *ActionCore) GetPlumStartExit() *PlumStartExit
func (*ActionCore) GetPlumTransfer ¶
func (x *ActionCore) GetPlumTransfer() *PlumTransfer
func (*ActionCore) GetPutBlock ¶
func (x *ActionCore) GetPutBlock() *PutBlock
func (*ActionCore) GetPutPollResult ¶
func (x *ActionCore) GetPutPollResult() *PutPollResult
func (*ActionCore) GetSettleDeposit ¶
func (x *ActionCore) GetSettleDeposit() *SettleDeposit
func (*ActionCore) GetStakeAddDeposit ¶ added in v0.3.0
func (x *ActionCore) GetStakeAddDeposit() *StakeAddDeposit
func (*ActionCore) GetStakeChangeCandidate ¶ added in v0.3.0
func (x *ActionCore) GetStakeChangeCandidate() *StakeChangeCandidate
func (*ActionCore) GetStakeCreate ¶ added in v0.3.0
func (x *ActionCore) GetStakeCreate() *StakeCreate
func (*ActionCore) GetStakeRestake ¶ added in v0.3.0
func (x *ActionCore) GetStakeRestake() *StakeRestake
func (*ActionCore) GetStakeTransferOwnership ¶ added in v0.3.0
func (x *ActionCore) GetStakeTransferOwnership() *StakeTransferOwnership
func (*ActionCore) GetStakeUnstake ¶ added in v0.3.0
func (x *ActionCore) GetStakeUnstake() *StakeReclaim
func (*ActionCore) GetStakeWithdraw ¶ added in v0.3.0
func (x *ActionCore) GetStakeWithdraw() *StakeReclaim
func (*ActionCore) GetStartSubChain ¶
func (x *ActionCore) GetStartSubChain() *StartSubChain
func (*ActionCore) GetStopSubChain ¶
func (x *ActionCore) GetStopSubChain() *StopSubChain
func (*ActionCore) GetTerminatePlumChain ¶
func (x *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
func (*ActionCore) GetTransfer ¶
func (x *ActionCore) GetTransfer() *Transfer
func (*ActionCore) GetVersion ¶
func (x *ActionCore) GetVersion() uint32
func (*ActionCore) ProtoMessage ¶
func (*ActionCore) ProtoMessage()
func (*ActionCore) ProtoReflect ¶ added in v0.4.0
func (x *ActionCore) ProtoReflect() protoreflect.Message
func (*ActionCore) Reset ¶
func (x *ActionCore) Reset()
func (*ActionCore) String ¶
func (x *ActionCore) String() string
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 { // PlumChain CreatePlumChain *CreatePlumChain `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"` }
type ActionCore_DepositToRewardingFund ¶
type ActionCore_DepositToRewardingFund struct { // Rewarding protocol actions 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 { // Native staking 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 { // FedChain 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"` // contains filtered or unexported fields }
Deprecated
func (*ActionEvmTransfer) Descriptor
deprecated
added in
v0.3.0
func (*ActionEvmTransfer) Descriptor() ([]byte, []int)
Deprecated: Use ActionEvmTransfer.ProtoReflect.Descriptor instead.
func (*ActionEvmTransfer) GetActionHash ¶ added in v0.3.0
func (x *ActionEvmTransfer) GetActionHash() []byte
func (*ActionEvmTransfer) GetEvmTransfers ¶ added in v0.3.0
func (x *ActionEvmTransfer) GetEvmTransfers() []*EvmTransfer
func (*ActionEvmTransfer) GetNumEvmTransfers ¶ added in v0.3.0
func (x *ActionEvmTransfer) GetNumEvmTransfers() uint64
func (*ActionEvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*ActionEvmTransfer) ProtoMessage()
func (*ActionEvmTransfer) ProtoReflect ¶ added in v0.4.0
func (x *ActionEvmTransfer) ProtoReflect() protoreflect.Message
func (*ActionEvmTransfer) Reset ¶ added in v0.3.0
func (x *ActionEvmTransfer) Reset()
func (*ActionEvmTransfer) String ¶ added in v0.3.0
func (x *ActionEvmTransfer) String() string
type Actions ¶ added in v0.5.12
type Actions struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
a pack of actions
func (*Actions) Descriptor
deprecated
added in
v0.5.12
func (*Actions) GetActions ¶ added in v0.5.12
func (*Actions) ProtoMessage ¶ added in v0.5.12
func (*Actions) ProtoMessage()
func (*Actions) ProtoReflect ¶ added in v0.5.12
func (x *Actions) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
block consists of header followed by transactions hash of current block can be computed from header hence not stored
func (*Block) Descriptor
deprecated
func (*Block) GetFooter ¶
func (x *Block) GetFooter() *BlockFooter
func (*Block) GetHeader ¶
func (x *Block) GetHeader() *BlockHeader
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶ added in v0.4.0
func (x *Block) ProtoReflect() protoreflect.Message
type BlockBody ¶
type BlockBody struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
body of a block
func (*BlockBody) Descriptor
deprecated
func (*BlockBody) GetActions ¶
func (*BlockBody) ProtoMessage ¶
func (*BlockBody) ProtoMessage()
func (*BlockBody) ProtoReflect ¶ added in v0.4.0
func (x *BlockBody) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Deprecated
func (*BlockEvmTransfer) Descriptor
deprecated
added in
v0.3.0
func (*BlockEvmTransfer) Descriptor() ([]byte, []int)
Deprecated: Use BlockEvmTransfer.ProtoReflect.Descriptor instead.
func (*BlockEvmTransfer) GetActionEvmTransfers ¶ added in v0.3.0
func (x *BlockEvmTransfer) GetActionEvmTransfers() []*ActionEvmTransfer
func (*BlockEvmTransfer) GetBlockHeight ¶ added in v0.3.0
func (x *BlockEvmTransfer) GetBlockHeight() uint64
func (*BlockEvmTransfer) GetNumEvmTransfers ¶ added in v0.3.0
func (x *BlockEvmTransfer) GetNumEvmTransfers() uint64
func (*BlockEvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*BlockEvmTransfer) ProtoMessage()
func (*BlockEvmTransfer) ProtoReflect ¶ added in v0.4.0
func (x *BlockEvmTransfer) ProtoReflect() protoreflect.Message
func (*BlockEvmTransfer) Reset ¶ added in v0.3.0
func (x *BlockEvmTransfer) Reset()
func (*BlockEvmTransfer) String ¶ added in v0.3.0
func (x *BlockEvmTransfer) String() string
type BlockFooter ¶
type BlockFooter struct { // contains filtered or unexported fields }
footer of a block
func (*BlockFooter) Descriptor
deprecated
func (*BlockFooter) Descriptor() ([]byte, []int)
Deprecated: Use BlockFooter.ProtoReflect.Descriptor instead.
func (*BlockFooter) GetEndorsements ¶
func (x *BlockFooter) GetEndorsements() []*Endorsement
func (*BlockFooter) GetTimestamp ¶
func (x *BlockFooter) GetTimestamp() *timestamppb.Timestamp
func (*BlockFooter) ProtoMessage ¶
func (*BlockFooter) ProtoMessage()
func (*BlockFooter) ProtoReflect ¶ added in v0.4.0
func (x *BlockFooter) ProtoReflect() protoreflect.Message
func (*BlockFooter) Reset ¶
func (x *BlockFooter) Reset()
func (*BlockFooter) String ¶
func (x *BlockFooter) String() string
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"` // contains filtered or unexported fields }
header of a block
func (*BlockHeader) Descriptor
deprecated
func (*BlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.
func (*BlockHeader) GetCore ¶
func (x *BlockHeader) GetCore() *BlockHeaderCore
func (*BlockHeader) GetProducerPubkey ¶
func (x *BlockHeader) GetProducerPubkey() []byte
func (*BlockHeader) GetSignature ¶
func (x *BlockHeader) GetSignature() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) ProtoReflect ¶ added in v0.4.0
func (x *BlockHeader) ProtoReflect() protoreflect.Message
func (*BlockHeader) Reset ¶
func (x *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (x *BlockHeader) String() string
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 *timestamppb.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"` // contains filtered or unexported fields }
func (*BlockHeaderCore) Descriptor
deprecated
func (*BlockHeaderCore) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeaderCore.ProtoReflect.Descriptor instead.
func (*BlockHeaderCore) GetDeltaStateDigest ¶
func (x *BlockHeaderCore) GetDeltaStateDigest() []byte
func (*BlockHeaderCore) GetHeight ¶
func (x *BlockHeaderCore) GetHeight() uint64
func (*BlockHeaderCore) GetLogsBloom ¶ added in v0.2.5
func (x *BlockHeaderCore) GetLogsBloom() []byte
func (*BlockHeaderCore) GetPrevBlockHash ¶
func (x *BlockHeaderCore) GetPrevBlockHash() []byte
func (*BlockHeaderCore) GetReceiptRoot ¶
func (x *BlockHeaderCore) GetReceiptRoot() []byte
func (*BlockHeaderCore) GetTimestamp ¶
func (x *BlockHeaderCore) GetTimestamp() *timestamppb.Timestamp
func (*BlockHeaderCore) GetTxRoot ¶
func (x *BlockHeaderCore) GetTxRoot() []byte
func (*BlockHeaderCore) GetVersion ¶
func (x *BlockHeaderCore) GetVersion() uint32
func (*BlockHeaderCore) ProtoMessage ¶
func (*BlockHeaderCore) ProtoMessage()
func (*BlockHeaderCore) ProtoReflect ¶ added in v0.4.0
func (x *BlockHeaderCore) ProtoReflect() protoreflect.Message
func (*BlockHeaderCore) Reset ¶
func (x *BlockHeaderCore) Reset()
func (*BlockHeaderCore) String ¶
func (x *BlockHeaderCore) String() string
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"` // contains filtered or unexported fields }
BlockIdentifier Metadata
func (*BlockIdentifier) Descriptor
deprecated
added in
v0.3.1
func (*BlockIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use BlockIdentifier.ProtoReflect.Descriptor instead.
func (*BlockIdentifier) GetHash ¶ added in v0.3.1
func (x *BlockIdentifier) GetHash() string
func (*BlockIdentifier) GetHeight ¶ added in v0.3.1
func (x *BlockIdentifier) GetHeight() uint64
func (*BlockIdentifier) ProtoMessage ¶ added in v0.3.1
func (*BlockIdentifier) ProtoMessage()
func (*BlockIdentifier) ProtoReflect ¶ added in v0.4.0
func (x *BlockIdentifier) ProtoReflect() protoreflect.Message
func (*BlockIdentifier) Reset ¶ added in v0.3.1
func (x *BlockIdentifier) Reset()
func (*BlockIdentifier) String ¶ added in v0.3.1
func (x *BlockIdentifier) String() string
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 *timestamppb.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"` PreviousBlockHash string `protobuf:"bytes,11,opt,name=previousBlockHash,proto3" json:"previousBlockHash,omitempty"` GasLimit uint64 `protobuf:"varint,12,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasUsed uint64 `protobuf:"varint,13,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"` // contains filtered or unexported fields }
Block Metadata
func (*BlockMeta) Descriptor
deprecated
func (*BlockMeta) GetDeltaStateDigest ¶
func (*BlockMeta) GetGasLimit ¶ added in v0.5.0
func (*BlockMeta) GetGasUsed ¶ added in v0.5.0
func (*BlockMeta) GetLogsBloom ¶ added in v0.2.5
func (*BlockMeta) GetNumActions ¶
func (*BlockMeta) GetPreviousBlockHash ¶ added in v0.4.5
func (*BlockMeta) GetProducerAddress ¶
func (*BlockMeta) GetReceiptRoot ¶
func (*BlockMeta) GetTimestamp ¶
func (x *BlockMeta) GetTimestamp() *timestamppb.Timestamp
func (*BlockMeta) GetTransferAmount ¶
func (*BlockMeta) ProtoMessage ¶
func (*BlockMeta) ProtoMessage()
func (*BlockMeta) ProtoReflect ¶ added in v0.4.0
func (x *BlockMeta) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*BlockProposal) Descriptor
deprecated
func (*BlockProposal) Descriptor() ([]byte, []int)
Deprecated: Use BlockProposal.ProtoReflect.Descriptor instead.
func (*BlockProposal) GetBlock ¶
func (x *BlockProposal) GetBlock() *Block
func (*BlockProposal) GetEndorsements ¶
func (x *BlockProposal) GetEndorsements() []*Endorsement
func (*BlockProposal) ProtoMessage ¶
func (*BlockProposal) ProtoMessage()
func (*BlockProposal) ProtoReflect ¶ added in v0.4.0
func (x *BlockProposal) ProtoReflect() protoreflect.Message
func (*BlockProposal) Reset ¶
func (x *BlockProposal) Reset()
func (*BlockProposal) String ¶
func (x *BlockProposal) String() string
type BlockStore ¶ added in v0.4.5
type BlockStore struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Receipts []*Receipt `protobuf:"bytes,2,rep,name=receipts,proto3" json:"receipts,omitempty"` // contains filtered or unexported fields }
func (*BlockStore) Descriptor
deprecated
added in
v0.4.5
func (*BlockStore) Descriptor() ([]byte, []int)
Deprecated: Use BlockStore.ProtoReflect.Descriptor instead.
func (*BlockStore) GetBlock ¶ added in v0.4.5
func (x *BlockStore) GetBlock() *Block
func (*BlockStore) GetReceipts ¶ added in v0.4.5
func (x *BlockStore) GetReceipts() []*Receipt
func (*BlockStore) ProtoMessage ¶ added in v0.4.5
func (*BlockStore) ProtoMessage()
func (*BlockStore) ProtoReflect ¶ added in v0.4.5
func (x *BlockStore) ProtoReflect() protoreflect.Message
func (*BlockStore) Reset ¶ added in v0.4.5
func (x *BlockStore) Reset()
func (*BlockStore) String ¶ added in v0.4.5
func (x *BlockStore) String() string
type BlockStores ¶ added in v0.4.5
type BlockStores struct { BlockStores []*BlockStore `protobuf:"bytes,1,rep,name=blockStores,proto3" json:"blockStores,omitempty"` // contains filtered or unexported fields }
func (*BlockStores) Descriptor
deprecated
added in
v0.4.5
func (*BlockStores) Descriptor() ([]byte, []int)
Deprecated: Use BlockStores.ProtoReflect.Descriptor instead.
func (*BlockStores) GetBlockStores ¶ added in v0.4.5
func (x *BlockStores) GetBlockStores() []*BlockStore
func (*BlockStores) ProtoMessage ¶ added in v0.4.5
func (*BlockStores) ProtoMessage()
func (*BlockStores) ProtoReflect ¶ added in v0.4.5
func (x *BlockStores) ProtoReflect() protoreflect.Message
func (*BlockStores) Reset ¶ added in v0.4.5
func (x *BlockStores) Reset()
func (*BlockStores) String ¶ added in v0.4.5
func (x *BlockStores) String() string
type BucketsCount ¶ added in v0.3.2
type BucketsCount struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Active uint64 `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*BucketsCount) Descriptor
deprecated
added in
v0.3.2
func (*BucketsCount) Descriptor() ([]byte, []int)
Deprecated: Use BucketsCount.ProtoReflect.Descriptor instead.
func (*BucketsCount) GetActive ¶ added in v0.3.2
func (x *BucketsCount) GetActive() uint64
func (*BucketsCount) GetTotal ¶ added in v0.3.2
func (x *BucketsCount) GetTotal() uint64
func (*BucketsCount) ProtoMessage ¶ added in v0.3.2
func (*BucketsCount) ProtoMessage()
func (*BucketsCount) ProtoReflect ¶ added in v0.4.0
func (x *BucketsCount) ProtoReflect() protoreflect.Message
func (*BucketsCount) Reset ¶ added in v0.3.2
func (x *BucketsCount) Reset()
func (*BucketsCount) String ¶ added in v0.3.2
func (x *BucketsCount) String() string
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"` // contains filtered or unexported fields }
Candidates and list of candidates
func (*Candidate) Descriptor
deprecated
func (*Candidate) GetAddress ¶
func (*Candidate) GetRewardAddress ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) ProtoReflect ¶ added in v0.4.0
func (x *Candidate) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*CandidateBasicInfo) Descriptor
deprecated
added in
v0.3.0
func (*CandidateBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use CandidateBasicInfo.ProtoReflect.Descriptor instead.
func (*CandidateBasicInfo) GetName ¶ added in v0.3.0
func (x *CandidateBasicInfo) GetName() string
func (*CandidateBasicInfo) GetOperatorAddress ¶ added in v0.3.0
func (x *CandidateBasicInfo) GetOperatorAddress() string
func (*CandidateBasicInfo) GetRewardAddress ¶ added in v0.3.0
func (x *CandidateBasicInfo) GetRewardAddress() string
func (*CandidateBasicInfo) ProtoMessage ¶ added in v0.3.0
func (*CandidateBasicInfo) ProtoMessage()
func (*CandidateBasicInfo) ProtoReflect ¶ added in v0.4.0
func (x *CandidateBasicInfo) ProtoReflect() protoreflect.Message
func (*CandidateBasicInfo) Reset ¶ added in v0.3.0
func (x *CandidateBasicInfo) Reset()
func (*CandidateBasicInfo) String ¶ added in v0.3.0
func (x *CandidateBasicInfo) String() string
type CandidateList ¶
type CandidateList struct { Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` // contains filtered or unexported fields }
func (*CandidateList) Descriptor
deprecated
func (*CandidateList) Descriptor() ([]byte, []int)
Deprecated: Use CandidateList.ProtoReflect.Descriptor instead.
func (*CandidateList) GetCandidates ¶
func (x *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶
func (*CandidateList) ProtoMessage()
func (*CandidateList) ProtoReflect ¶ added in v0.4.0
func (x *CandidateList) ProtoReflect() protoreflect.Message
func (*CandidateList) Reset ¶
func (x *CandidateList) Reset()
func (*CandidateList) String ¶
func (x *CandidateList) String() string
type CandidateListV2 ¶ added in v0.3.0
type CandidateListV2 struct { Candidates []*CandidateV2 `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` // contains filtered or unexported fields }
func (*CandidateListV2) Descriptor
deprecated
added in
v0.3.0
func (*CandidateListV2) Descriptor() ([]byte, []int)
Deprecated: Use CandidateListV2.ProtoReflect.Descriptor instead.
func (*CandidateListV2) GetCandidates ¶ added in v0.3.0
func (x *CandidateListV2) GetCandidates() []*CandidateV2
func (*CandidateListV2) ProtoMessage ¶ added in v0.3.0
func (*CandidateListV2) ProtoMessage()
func (*CandidateListV2) ProtoReflect ¶ added in v0.4.0
func (x *CandidateListV2) ProtoReflect() protoreflect.Message
func (*CandidateListV2) Reset ¶ added in v0.3.0
func (x *CandidateListV2) Reset()
func (*CandidateListV2) String ¶ added in v0.3.0
func (x *CandidateListV2) String() string
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"` // if ownerAddress is absent, owner of candidate is the sender Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*CandidateRegister) Descriptor
deprecated
added in
v0.3.0
func (*CandidateRegister) Descriptor() ([]byte, []int)
Deprecated: Use CandidateRegister.ProtoReflect.Descriptor instead.
func (*CandidateRegister) GetAutoStake ¶ added in v0.3.0
func (x *CandidateRegister) GetAutoStake() bool
func (*CandidateRegister) GetCandidate ¶ added in v0.3.0
func (x *CandidateRegister) GetCandidate() *CandidateBasicInfo
func (*CandidateRegister) GetOwnerAddress ¶ added in v0.3.0
func (x *CandidateRegister) GetOwnerAddress() string
func (*CandidateRegister) GetPayload ¶ added in v0.3.0
func (x *CandidateRegister) GetPayload() []byte
func (*CandidateRegister) GetStakedAmount ¶ added in v0.3.0
func (x *CandidateRegister) GetStakedAmount() string
func (*CandidateRegister) GetStakedDuration ¶ added in v0.3.0
func (x *CandidateRegister) GetStakedDuration() uint32
func (*CandidateRegister) ProtoMessage ¶ added in v0.3.0
func (*CandidateRegister) ProtoMessage()
func (*CandidateRegister) ProtoReflect ¶ added in v0.4.0
func (x *CandidateRegister) ProtoReflect() protoreflect.Message
func (*CandidateRegister) Reset ¶ added in v0.3.0
func (x *CandidateRegister) Reset()
func (*CandidateRegister) String ¶ added in v0.3.0
func (x *CandidateRegister) String() string
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"` // contains filtered or unexported fields }
func (*CandidateV2) Descriptor
deprecated
added in
v0.3.0
func (*CandidateV2) Descriptor() ([]byte, []int)
Deprecated: Use CandidateV2.ProtoReflect.Descriptor instead.
func (*CandidateV2) GetName ¶ added in v0.3.0
func (x *CandidateV2) GetName() string
func (*CandidateV2) GetOperatorAddress ¶ added in v0.3.0
func (x *CandidateV2) GetOperatorAddress() string
func (*CandidateV2) GetOwnerAddress ¶ added in v0.3.0
func (x *CandidateV2) GetOwnerAddress() string
func (*CandidateV2) GetRewardAddress ¶ added in v0.3.0
func (x *CandidateV2) GetRewardAddress() string
func (*CandidateV2) GetSelfStakeBucketIdx ¶ added in v0.3.0
func (x *CandidateV2) GetSelfStakeBucketIdx() uint64
func (*CandidateV2) GetSelfStakingTokens ¶ added in v0.3.0
func (x *CandidateV2) GetSelfStakingTokens() string
func (*CandidateV2) GetTotalWeightedVotes ¶ added in v0.3.0
func (x *CandidateV2) GetTotalWeightedVotes() string
func (*CandidateV2) ProtoMessage ¶ added in v0.3.0
func (*CandidateV2) ProtoMessage()
func (*CandidateV2) ProtoReflect ¶ added in v0.4.0
func (x *CandidateV2) ProtoReflect() protoreflect.Message
func (*CandidateV2) Reset ¶ added in v0.3.0
func (x *CandidateV2) Reset()
func (*CandidateV2) String ¶ added in v0.3.0
func (x *CandidateV2) String() string
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"` ChainID uint32 `protobuf:"varint,6,opt,name=chainID,proto3" json:"chainID,omitempty"` // contains filtered or unexported fields }
Blockchain Metadata
func (*ChainMeta) Descriptor
deprecated
func (*ChainMeta) GetChainID ¶ added in v0.4.8
func (*ChainMeta) GetNumActions ¶
func (*ChainMeta) GetTpsFloat ¶ added in v0.2.5
func (*ChainMeta) ProtoMessage ¶
func (*ChainMeta) ProtoMessage()
func (*ChainMeta) ProtoReflect ¶ added in v0.4.0
func (x *ChainMeta) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*ClaimFromRewardingFund) Descriptor
deprecated
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
Deprecated: Use ClaimFromRewardingFund.ProtoReflect.Descriptor instead.
func (*ClaimFromRewardingFund) GetAmount ¶
func (x *ClaimFromRewardingFund) GetAmount() string
func (*ClaimFromRewardingFund) GetData ¶
func (x *ClaimFromRewardingFund) GetData() []byte
func (*ClaimFromRewardingFund) ProtoMessage ¶
func (*ClaimFromRewardingFund) ProtoMessage()
func (*ClaimFromRewardingFund) ProtoReflect ¶ added in v0.4.0
func (x *ClaimFromRewardingFund) ProtoReflect() protoreflect.Message
func (*ClaimFromRewardingFund) Reset ¶
func (x *ClaimFromRewardingFund) Reset()
func (*ClaimFromRewardingFund) String ¶
func (x *ClaimFromRewardingFund) String() string
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 assignable to Msg: // // *ConsensusMessage_BlockProposal // *ConsensusMessage_Vote Msg isConsensusMessage_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ConsensusMessage) Descriptor
deprecated
func (*ConsensusMessage) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusMessage.ProtoReflect.Descriptor instead.
func (*ConsensusMessage) GetBlockProposal ¶
func (x *ConsensusMessage) GetBlockProposal() *BlockProposal
func (*ConsensusMessage) GetEndorsement ¶
func (x *ConsensusMessage) GetEndorsement() *Endorsement
func (*ConsensusMessage) GetHeight ¶
func (x *ConsensusMessage) GetHeight() uint64
func (*ConsensusMessage) GetMsg ¶
func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
func (*ConsensusMessage) GetVote ¶
func (x *ConsensusMessage) GetVote() *ConsensusVote
func (*ConsensusMessage) ProtoMessage ¶
func (*ConsensusMessage) ProtoMessage()
func (*ConsensusMessage) ProtoReflect ¶ added in v0.4.0
func (x *ConsensusMessage) ProtoReflect() protoreflect.Message
func (*ConsensusMessage) Reset ¶
func (x *ConsensusMessage) Reset()
func (*ConsensusMessage) String ¶
func (x *ConsensusMessage) String() string
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"` // contains filtered or unexported fields }
func (*ConsensusVote) Descriptor
deprecated
func (*ConsensusVote) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusVote.ProtoReflect.Descriptor instead.
func (*ConsensusVote) GetBlockHash ¶
func (x *ConsensusVote) GetBlockHash() []byte
func (*ConsensusVote) GetTopic ¶
func (x *ConsensusVote) GetTopic() ConsensusVote_Topic
func (*ConsensusVote) ProtoMessage ¶
func (*ConsensusVote) ProtoMessage()
func (*ConsensusVote) ProtoReflect ¶ added in v0.4.0
func (x *ConsensusVote) ProtoReflect() protoreflect.Message
func (*ConsensusVote) Reset ¶
func (x *ConsensusVote) Reset()
func (*ConsensusVote) String ¶
func (x *ConsensusVote) String() string
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) Descriptor ¶ added in v0.4.0
func (ConsensusVote_Topic) Descriptor() protoreflect.EnumDescriptor
func (ConsensusVote_Topic) Enum ¶ added in v0.4.0
func (x ConsensusVote_Topic) Enum() *ConsensusVote_Topic
func (ConsensusVote_Topic) EnumDescriptor
deprecated
func (ConsensusVote_Topic) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConsensusVote_Topic.Descriptor instead.
func (ConsensusVote_Topic) Number ¶ added in v0.4.0
func (x ConsensusVote_Topic) Number() protoreflect.EnumNumber
func (ConsensusVote_Topic) String ¶
func (x ConsensusVote_Topic) String() string
func (ConsensusVote_Topic) Type ¶ added in v0.4.0
func (ConsensusVote_Topic) Type() protoreflect.EnumType
type ContractStakingBucketType ¶ added in v0.5.14
type ContractStakingBucketType struct { StakedAmount string `protobuf:"bytes,1,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"` StakedDuration uint32 `protobuf:"varint,2,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"` // contains filtered or unexported fields }
func (*ContractStakingBucketType) Descriptor
deprecated
added in
v0.5.14
func (*ContractStakingBucketType) Descriptor() ([]byte, []int)
Deprecated: Use ContractStakingBucketType.ProtoReflect.Descriptor instead.
func (*ContractStakingBucketType) GetStakedAmount ¶ added in v0.5.14
func (x *ContractStakingBucketType) GetStakedAmount() string
func (*ContractStakingBucketType) GetStakedDuration ¶ added in v0.5.14
func (x *ContractStakingBucketType) GetStakedDuration() uint32
func (*ContractStakingBucketType) ProtoMessage ¶ added in v0.5.14
func (*ContractStakingBucketType) ProtoMessage()
func (*ContractStakingBucketType) ProtoReflect ¶ added in v0.5.14
func (x *ContractStakingBucketType) ProtoReflect() protoreflect.Message
func (*ContractStakingBucketType) Reset ¶ added in v0.5.14
func (x *ContractStakingBucketType) Reset()
func (*ContractStakingBucketType) String ¶ added in v0.5.14
func (x *ContractStakingBucketType) String() string
type ContractStakingBucketTypeList ¶ added in v0.5.14
type ContractStakingBucketTypeList struct { BucketTypes []*ContractStakingBucketType `protobuf:"bytes,1,rep,name=bucketTypes,proto3" json:"bucketTypes,omitempty"` // contains filtered or unexported fields }
func (*ContractStakingBucketTypeList) Descriptor
deprecated
added in
v0.5.14
func (*ContractStakingBucketTypeList) Descriptor() ([]byte, []int)
Deprecated: Use ContractStakingBucketTypeList.ProtoReflect.Descriptor instead.
func (*ContractStakingBucketTypeList) GetBucketTypes ¶ added in v0.5.14
func (x *ContractStakingBucketTypeList) GetBucketTypes() []*ContractStakingBucketType
func (*ContractStakingBucketTypeList) ProtoMessage ¶ added in v0.5.14
func (*ContractStakingBucketTypeList) ProtoMessage()
func (*ContractStakingBucketTypeList) ProtoReflect ¶ added in v0.5.14
func (x *ContractStakingBucketTypeList) ProtoReflect() protoreflect.Message
func (*ContractStakingBucketTypeList) Reset ¶ added in v0.5.14
func (x *ContractStakingBucketTypeList) Reset()
func (*ContractStakingBucketTypeList) String ¶ added in v0.5.14
func (x *ContractStakingBucketTypeList) 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"` // contains filtered or unexported fields }
func (*CreateDeposit) Descriptor
deprecated
func (*CreateDeposit) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeposit.ProtoReflect.Descriptor instead.
func (*CreateDeposit) GetAmount ¶
func (x *CreateDeposit) GetAmount() string
func (*CreateDeposit) GetChainID ¶
func (x *CreateDeposit) GetChainID() uint32
func (*CreateDeposit) GetRecipient ¶
func (x *CreateDeposit) GetRecipient() string
func (*CreateDeposit) ProtoMessage ¶
func (*CreateDeposit) ProtoMessage()
func (*CreateDeposit) ProtoReflect ¶ added in v0.4.0
func (x *CreateDeposit) ProtoReflect() protoreflect.Message
func (*CreateDeposit) Reset ¶
func (x *CreateDeposit) Reset()
func (*CreateDeposit) String ¶
func (x *CreateDeposit) String() string
type CreatePlumChain ¶
type CreatePlumChain struct {
// contains filtered or unexported fields
}
plum main chain APIs
func (*CreatePlumChain) Descriptor
deprecated
func (*CreatePlumChain) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlumChain.ProtoReflect.Descriptor instead.
func (*CreatePlumChain) ProtoMessage ¶
func (*CreatePlumChain) ProtoMessage()
func (*CreatePlumChain) ProtoReflect ¶ added in v0.4.0
func (x *CreatePlumChain) ProtoReflect() protoreflect.Message
func (*CreatePlumChain) Reset ¶
func (x *CreatePlumChain) Reset()
func (*CreatePlumChain) String ¶
func (x *CreatePlumChain) String() string
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"` // contains filtered or unexported fields }
func (*DepositToRewardingFund) Descriptor
deprecated
func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
Deprecated: Use DepositToRewardingFund.ProtoReflect.Descriptor instead.
func (*DepositToRewardingFund) GetAmount ¶
func (x *DepositToRewardingFund) GetAmount() string
func (*DepositToRewardingFund) GetData ¶
func (x *DepositToRewardingFund) GetData() []byte
func (*DepositToRewardingFund) ProtoMessage ¶
func (*DepositToRewardingFund) ProtoMessage()
func (*DepositToRewardingFund) ProtoReflect ¶ added in v0.4.0
func (x *DepositToRewardingFund) ProtoReflect() protoreflect.Message
func (*DepositToRewardingFund) Reset ¶
func (x *DepositToRewardingFund) Reset()
func (*DepositToRewardingFund) String ¶
func (x *DepositToRewardingFund) String() string
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 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=startTime,proto3" json:"startTime,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` Decay bool `protobuf:"varint,6,opt,name=decay,proto3" json:"decay,omitempty"` // contains filtered or unexported fields }
func (*ElectionBucket) Descriptor
deprecated
added in
v0.2.5
func (*ElectionBucket) Descriptor() ([]byte, []int)
Deprecated: Use ElectionBucket.ProtoReflect.Descriptor instead.
func (*ElectionBucket) GetAmount ¶ added in v0.2.5
func (x *ElectionBucket) GetAmount() []byte
func (*ElectionBucket) GetCandidate ¶ added in v0.2.5
func (x *ElectionBucket) GetCandidate() []byte
func (*ElectionBucket) GetDecay ¶ added in v0.2.5
func (x *ElectionBucket) GetDecay() bool
func (*ElectionBucket) GetDuration ¶ added in v0.2.5
func (x *ElectionBucket) GetDuration() *durationpb.Duration
func (*ElectionBucket) GetStartTime ¶ added in v0.2.5
func (x *ElectionBucket) GetStartTime() *timestamppb.Timestamp
func (*ElectionBucket) GetVoter ¶ added in v0.2.5
func (x *ElectionBucket) GetVoter() []byte
func (*ElectionBucket) ProtoMessage ¶ added in v0.2.5
func (*ElectionBucket) ProtoMessage()
func (*ElectionBucket) ProtoReflect ¶ added in v0.4.0
func (x *ElectionBucket) ProtoReflect() protoreflect.Message
func (*ElectionBucket) Reset ¶ added in v0.2.5
func (x *ElectionBucket) Reset()
func (*ElectionBucket) String ¶ added in v0.2.5
func (x *ElectionBucket) String() string
type Encoding ¶ added in v0.4.8
type Encoding int32
func (Encoding) Descriptor ¶ added in v0.4.8
func (Encoding) Descriptor() protoreflect.EnumDescriptor
func (Encoding) EnumDescriptor
deprecated
added in
v0.4.8
func (Encoding) Number ¶ added in v0.4.8
func (x Encoding) Number() protoreflect.EnumNumber
func (Encoding) Type ¶ added in v0.4.8
func (Encoding) Type() protoreflect.EnumType
type Endorsement ¶
type Endorsement struct { Timestamp *timestamppb.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"` // contains filtered or unexported fields }
func (*Endorsement) Descriptor
deprecated
func (*Endorsement) Descriptor() ([]byte, []int)
Deprecated: Use Endorsement.ProtoReflect.Descriptor instead.
func (*Endorsement) GetEndorser ¶
func (x *Endorsement) GetEndorser() []byte
func (*Endorsement) GetSignature ¶
func (x *Endorsement) GetSignature() []byte
func (*Endorsement) GetTimestamp ¶
func (x *Endorsement) GetTimestamp() *timestamppb.Timestamp
func (*Endorsement) ProtoMessage ¶
func (*Endorsement) ProtoMessage()
func (*Endorsement) ProtoReflect ¶ added in v0.4.0
func (x *Endorsement) ProtoReflect() protoreflect.Message
func (*Endorsement) Reset ¶
func (x *Endorsement) Reset()
func (*Endorsement) String ¶
func (x *Endorsement) String() string
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"` // contains filtered or unexported fields }
func (*EpochData) Descriptor
deprecated
func (*EpochData) GetGravityChainStartHeight ¶
func (*EpochData) ProtoMessage ¶
func (*EpochData) ProtoMessage()
func (*EpochData) ProtoReflect ¶ added in v0.4.0
func (x *EpochData) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Deprecated
func (*EvmTransfer) Descriptor
deprecated
added in
v0.3.0
func (*EvmTransfer) Descriptor() ([]byte, []int)
Deprecated: Use EvmTransfer.ProtoReflect.Descriptor instead.
func (*EvmTransfer) GetAmount ¶ added in v0.3.0
func (x *EvmTransfer) GetAmount() []byte
func (*EvmTransfer) GetFrom ¶ added in v0.3.0
func (x *EvmTransfer) GetFrom() string
func (*EvmTransfer) GetTo ¶ added in v0.3.0
func (x *EvmTransfer) GetTo() string
func (*EvmTransfer) ProtoMessage ¶ added in v0.3.0
func (*EvmTransfer) ProtoMessage()
func (*EvmTransfer) ProtoReflect ¶ added in v0.4.0
func (x *EvmTransfer) ProtoReflect() protoreflect.Message
func (*EvmTransfer) Reset ¶ added in v0.3.0
func (x *EvmTransfer) Reset()
func (*EvmTransfer) String ¶ added in v0.3.0
func (x *EvmTransfer) String() string
type EvmTransferList ¶ added in v0.3.0
type EvmTransferList struct { EvmTransfers []*EvmTransfer `protobuf:"bytes,1,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*EvmTransferList) Descriptor
deprecated
added in
v0.3.0
func (*EvmTransferList) Descriptor() ([]byte, []int)
Deprecated: Use EvmTransferList.ProtoReflect.Descriptor instead.
func (*EvmTransferList) GetEvmTransfers ¶ added in v0.3.0
func (x *EvmTransferList) GetEvmTransfers() []*EvmTransfer
func (*EvmTransferList) ProtoMessage ¶ added in v0.3.0
func (*EvmTransferList) ProtoMessage()
func (*EvmTransferList) ProtoReflect ¶ added in v0.4.0
func (x *EvmTransferList) ProtoReflect() protoreflect.Message
func (*EvmTransferList) Reset ¶ added in v0.3.0
func (x *EvmTransferList) Reset()
func (*EvmTransferList) String ¶ added in v0.3.0
func (x *EvmTransferList) String() string
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"` AccessList []*AccessTuple `protobuf:"bytes,4,rep,name=accessList,proto3" json:"accessList,omitempty"` // contains filtered or unexported fields }
func (*Execution) Descriptor
deprecated
func (*Execution) GetAccessList ¶ added in v0.5.9
func (x *Execution) GetAccessList() []*AccessTuple
func (*Execution) GetContract ¶
func (*Execution) ProtoMessage ¶
func (*Execution) ProtoMessage()
func (*Execution) ProtoReflect ¶ added in v0.4.0
func (x *Execution) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*Genesis) Descriptor
deprecated
func (*Genesis) GetAccount ¶
func (x *Genesis) GetAccount() *GenesisAccount
func (*Genesis) GetBlockchain ¶
func (x *Genesis) GetBlockchain() *GenesisBlockchain
func (*Genesis) GetPoll ¶
func (x *Genesis) GetPoll() *GenesisPoll
func (*Genesis) GetRewarding ¶
func (x *Genesis) GetRewarding() *GenesisRewarding
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) ProtoReflect ¶ added in v0.4.0
func (x *Genesis) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*GenesisAccount) Descriptor
deprecated
func (*GenesisAccount) Descriptor() ([]byte, []int)
Deprecated: Use GenesisAccount.ProtoReflect.Descriptor instead.
func (*GenesisAccount) GetInitBalanceAddrs ¶
func (x *GenesisAccount) GetInitBalanceAddrs() []string
func (*GenesisAccount) GetInitBalances ¶
func (x *GenesisAccount) GetInitBalances() []string
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) ProtoReflect ¶ added in v0.4.0
func (x *GenesisAccount) ProtoReflect() protoreflect.Message
func (*GenesisAccount) Reset ¶
func (x *GenesisAccount) Reset()
func (*GenesisAccount) String ¶
func (x *GenesisAccount) String() string
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"` // contains filtered or unexported fields }
func (*GenesisBlockchain) Descriptor
deprecated
func (*GenesisBlockchain) Descriptor() ([]byte, []int)
Deprecated: Use GenesisBlockchain.ProtoReflect.Descriptor instead.
func (*GenesisBlockchain) GetActionGasLimit ¶
func (x *GenesisBlockchain) GetActionGasLimit() uint64
func (*GenesisBlockchain) GetBlockGasLimit ¶
func (x *GenesisBlockchain) GetBlockGasLimit() uint64
func (*GenesisBlockchain) GetBlockInterval ¶
func (x *GenesisBlockchain) GetBlockInterval() int64
func (*GenesisBlockchain) GetNumCandidateDelegates ¶
func (x *GenesisBlockchain) GetNumCandidateDelegates() uint64
func (*GenesisBlockchain) GetNumDelegates ¶
func (x *GenesisBlockchain) GetNumDelegates() uint64
func (*GenesisBlockchain) GetNumSubEpochs ¶
func (x *GenesisBlockchain) GetNumSubEpochs() uint64
func (*GenesisBlockchain) GetTimeBasedRotation ¶
func (x *GenesisBlockchain) GetTimeBasedRotation() bool
func (*GenesisBlockchain) GetTimestamp ¶
func (x *GenesisBlockchain) GetTimestamp() int64
func (*GenesisBlockchain) ProtoMessage ¶
func (*GenesisBlockchain) ProtoMessage()
func (*GenesisBlockchain) ProtoReflect ¶ added in v0.4.0
func (x *GenesisBlockchain) ProtoReflect() protoreflect.Message
func (*GenesisBlockchain) Reset ¶
func (x *GenesisBlockchain) Reset()
func (*GenesisBlockchain) String ¶
func (x *GenesisBlockchain) String() string
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"` // contains filtered or unexported fields }
func (*GenesisDelegate) Descriptor
deprecated
func (*GenesisDelegate) Descriptor() ([]byte, []int)
Deprecated: Use GenesisDelegate.ProtoReflect.Descriptor instead.
func (*GenesisDelegate) GetOperatorAddr ¶
func (x *GenesisDelegate) GetOperatorAddr() string
func (*GenesisDelegate) GetRewardAddr ¶
func (x *GenesisDelegate) GetRewardAddr() string
func (*GenesisDelegate) GetVotes ¶
func (x *GenesisDelegate) GetVotes() string
func (*GenesisDelegate) ProtoMessage ¶
func (*GenesisDelegate) ProtoMessage()
func (*GenesisDelegate) ProtoReflect ¶ added in v0.4.0
func (x *GenesisDelegate) ProtoReflect() protoreflect.Message
func (*GenesisDelegate) Reset ¶
func (x *GenesisDelegate) Reset()
func (*GenesisDelegate) String ¶
func (x *GenesisDelegate) String() string
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"` // contains filtered or unexported fields }
func (*GenesisPoll) Descriptor
deprecated
func (*GenesisPoll) Descriptor() ([]byte, []int)
Deprecated: Use GenesisPoll.ProtoReflect.Descriptor instead.
func (*GenesisPoll) GetDelegates ¶
func (x *GenesisPoll) GetDelegates() []*GenesisDelegate
func (*GenesisPoll) GetEnableGravityChainVoting ¶
func (x *GenesisPoll) GetEnableGravityChainVoting() bool
func (*GenesisPoll) GetGravityChainStartHeight ¶
func (x *GenesisPoll) GetGravityChainStartHeight() uint64
func (*GenesisPoll) GetRegisterContractAddress ¶
func (x *GenesisPoll) GetRegisterContractAddress() string
func (*GenesisPoll) GetScoreThreshold ¶
func (x *GenesisPoll) GetScoreThreshold() string
func (*GenesisPoll) GetSelfStakingThreshold ¶
func (x *GenesisPoll) GetSelfStakingThreshold() string
func (*GenesisPoll) GetStakingContractAddress ¶
func (x *GenesisPoll) GetStakingContractAddress() string
func (*GenesisPoll) GetVoteThreshold ¶
func (x *GenesisPoll) GetVoteThreshold() string
func (*GenesisPoll) ProtoMessage ¶
func (*GenesisPoll) ProtoMessage()
func (*GenesisPoll) ProtoReflect ¶ added in v0.4.0
func (x *GenesisPoll) ProtoReflect() protoreflect.Message
func (*GenesisPoll) Reset ¶
func (x *GenesisPoll) Reset()
func (*GenesisPoll) String ¶
func (x *GenesisPoll) String() string
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"` // contains filtered or unexported fields }
func (*GenesisRewarding) Descriptor
deprecated
func (*GenesisRewarding) Descriptor() ([]byte, []int)
Deprecated: Use GenesisRewarding.ProtoReflect.Descriptor instead.
func (*GenesisRewarding) GetBlockReward ¶
func (x *GenesisRewarding) GetBlockReward() string
func (*GenesisRewarding) GetEpochReward ¶
func (x *GenesisRewarding) GetEpochReward() string
func (*GenesisRewarding) GetFoundationBonus ¶
func (x *GenesisRewarding) GetFoundationBonus() string
func (*GenesisRewarding) GetFoundationBonusLastEpoch ¶
func (x *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
func (*GenesisRewarding) GetInitAdminAddr ¶
func (x *GenesisRewarding) GetInitAdminAddr() string
func (*GenesisRewarding) GetInitBalance ¶
func (x *GenesisRewarding) GetInitBalance() string
func (*GenesisRewarding) GetNumDelegatesForEpochReward ¶
func (x *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
func (*GenesisRewarding) GetNumDelegatesForFoundationBonus ¶
func (x *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
func (*GenesisRewarding) GetProductivityThreshold ¶
func (x *GenesisRewarding) GetProductivityThreshold() uint64
func (*GenesisRewarding) ProtoMessage ¶
func (*GenesisRewarding) ProtoMessage()
func (*GenesisRewarding) ProtoReflect ¶ added in v0.4.0
func (x *GenesisRewarding) ProtoReflect() protoreflect.Message
func (*GenesisRewarding) Reset ¶
func (x *GenesisRewarding) Reset()
func (*GenesisRewarding) String ¶
func (x *GenesisRewarding) String() string
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"` // contains filtered or unexported fields }
func (*GrantReward) Descriptor
deprecated
func (*GrantReward) Descriptor() ([]byte, []int)
Deprecated: Use GrantReward.ProtoReflect.Descriptor instead.
func (*GrantReward) GetHeight ¶
func (x *GrantReward) GetHeight() uint64
func (*GrantReward) GetType ¶
func (x *GrantReward) GetType() RewardType
func (*GrantReward) ProtoMessage ¶
func (*GrantReward) ProtoMessage()
func (*GrantReward) ProtoReflect ¶ added in v0.4.0
func (x *GrantReward) ProtoReflect() protoreflect.Message
func (*GrantReward) Reset ¶
func (x *GrantReward) Reset()
func (*GrantReward) String ¶
func (x *GrantReward) String() string
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"` BlkHash []byte `protobuf:"bytes,7,opt,name=blkHash,proto3" json:"blkHash,omitempty"` TxIndex uint32 `protobuf:"varint,8,opt,name=txIndex,proto3" json:"txIndex,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetActHash ¶
func (*Log) GetBlkHash ¶ added in v0.4.8
func (*Log) GetBlkHeight ¶
func (*Log) GetContractAddress ¶
func (*Log) GetTxIndex ¶ added in v0.5.6
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶ added in v0.4.0
func (x *Log) ProtoReflect() protoreflect.Message
type Logs ¶ added in v0.3.1
type Logs struct { Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*Logs) Descriptor
deprecated
added in
v0.3.1
func (*Logs) ProtoMessage ¶ added in v0.3.1
func (*Logs) ProtoMessage()
func (*Logs) ProtoReflect ¶ added in v0.4.0
func (x *Logs) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*MerkleRoot) Descriptor
deprecated
func (*MerkleRoot) Descriptor() ([]byte, []int)
Deprecated: Use MerkleRoot.ProtoReflect.Descriptor instead.
func (*MerkleRoot) GetName ¶
func (x *MerkleRoot) GetName() string
func (*MerkleRoot) GetValue ¶
func (x *MerkleRoot) GetValue() []byte
func (*MerkleRoot) ProtoMessage ¶
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) ProtoReflect ¶ added in v0.4.0
func (x *MerkleRoot) ProtoReflect() protoreflect.Message
func (*MerkleRoot) Reset ¶
func (x *MerkleRoot) Reset()
func (*MerkleRoot) String ¶
func (x *MerkleRoot) String() string
type NodeInfo ¶ added in v0.5.11
type NodeInfo struct { Info *NodeInfoCore `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
added in
v0.5.11
func (*NodeInfo) GetInfo ¶ added in v0.5.12
func (x *NodeInfo) GetInfo() *NodeInfoCore
func (*NodeInfo) GetSignature ¶ added in v0.5.12
func (*NodeInfo) ProtoMessage ¶ added in v0.5.11
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶ added in v0.5.11
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfoCore ¶ added in v0.5.12
type NodeInfoCore struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoCore) Descriptor
deprecated
added in
v0.5.12
func (*NodeInfoCore) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoCore.ProtoReflect.Descriptor instead.
func (*NodeInfoCore) GetAddress ¶ added in v0.5.12
func (x *NodeInfoCore) GetAddress() string
func (*NodeInfoCore) GetHeight ¶ added in v0.5.12
func (x *NodeInfoCore) GetHeight() uint64
func (*NodeInfoCore) GetTimestamp ¶ added in v0.5.12
func (x *NodeInfoCore) GetTimestamp() *timestamppb.Timestamp
func (*NodeInfoCore) GetVersion ¶ added in v0.5.12
func (x *NodeInfoCore) GetVersion() string
func (*NodeInfoCore) ProtoMessage ¶ added in v0.5.12
func (*NodeInfoCore) ProtoMessage()
func (*NodeInfoCore) ProtoReflect ¶ added in v0.5.12
func (x *NodeInfoCore) ProtoReflect() protoreflect.Message
func (*NodeInfoCore) Reset ¶ added in v0.5.12
func (x *NodeInfoCore) Reset()
func (*NodeInfoCore) String ¶ added in v0.5.12
func (x *NodeInfoCore) String() string
type NodeInfoRequest ¶ added in v0.5.12
type NodeInfoRequest struct {
// contains filtered or unexported fields
}
func (*NodeInfoRequest) Descriptor
deprecated
added in
v0.5.12
func (*NodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoRequest.ProtoReflect.Descriptor instead.
func (*NodeInfoRequest) ProtoMessage ¶ added in v0.5.12
func (*NodeInfoRequest) ProtoMessage()
func (*NodeInfoRequest) ProtoReflect ¶ added in v0.5.12
func (x *NodeInfoRequest) ProtoReflect() protoreflect.Message
func (*NodeInfoRequest) Reset ¶ added in v0.5.12
func (x *NodeInfoRequest) Reset()
func (*NodeInfoRequest) String ¶ added in v0.5.12
func (x *NodeInfoRequest) String() string
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"` // contains filtered or unexported fields }
func (*PlumChallengeExit) Descriptor
deprecated
func (*PlumChallengeExit) Descriptor() ([]byte, []int)
Deprecated: Use PlumChallengeExit.ProtoReflect.Descriptor instead.
func (*PlumChallengeExit) GetChallengeTransfer ¶
func (x *PlumChallengeExit) GetChallengeTransfer() []byte
func (*PlumChallengeExit) GetChallengeTransferBlockHeight ¶
func (x *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
func (*PlumChallengeExit) GetChallengeTransferBlockProof ¶
func (x *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
func (*PlumChallengeExit) GetCoinID ¶
func (x *PlumChallengeExit) GetCoinID() uint64
func (*PlumChallengeExit) GetSubChainAddress ¶
func (x *PlumChallengeExit) GetSubChainAddress() string
func (*PlumChallengeExit) ProtoMessage ¶
func (*PlumChallengeExit) ProtoMessage()
func (*PlumChallengeExit) ProtoReflect ¶ added in v0.4.0
func (x *PlumChallengeExit) ProtoReflect() protoreflect.Message
func (*PlumChallengeExit) Reset ¶
func (x *PlumChallengeExit) Reset()
func (*PlumChallengeExit) String ¶
func (x *PlumChallengeExit) String() string
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"` // contains filtered or unexported fields }
func (*PlumCreateDeposit) Descriptor
deprecated
func (*PlumCreateDeposit) Descriptor() ([]byte, []int)
Deprecated: Use PlumCreateDeposit.ProtoReflect.Descriptor instead.
func (*PlumCreateDeposit) GetAmount ¶
func (x *PlumCreateDeposit) GetAmount() string
func (*PlumCreateDeposit) GetRecipient ¶
func (x *PlumCreateDeposit) GetRecipient() string
func (*PlumCreateDeposit) GetSubChainAddress ¶
func (x *PlumCreateDeposit) GetSubChainAddress() string
func (*PlumCreateDeposit) ProtoMessage ¶
func (*PlumCreateDeposit) ProtoMessage()
func (*PlumCreateDeposit) ProtoReflect ¶ added in v0.4.0
func (x *PlumCreateDeposit) ProtoReflect() protoreflect.Message
func (*PlumCreateDeposit) Reset ¶
func (x *PlumCreateDeposit) Reset()
func (*PlumCreateDeposit) String ¶
func (x *PlumCreateDeposit) String() string
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"` // contains filtered or unexported fields }
func (*PlumFinalizeExit) Descriptor
deprecated
func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
Deprecated: Use PlumFinalizeExit.ProtoReflect.Descriptor instead.
func (*PlumFinalizeExit) GetCoinID ¶
func (x *PlumFinalizeExit) GetCoinID() uint64
func (*PlumFinalizeExit) GetSubChainAddress ¶
func (x *PlumFinalizeExit) GetSubChainAddress() string
func (*PlumFinalizeExit) ProtoMessage ¶
func (*PlumFinalizeExit) ProtoMessage()
func (*PlumFinalizeExit) ProtoReflect ¶ added in v0.4.0
func (x *PlumFinalizeExit) ProtoReflect() protoreflect.Message
func (*PlumFinalizeExit) Reset ¶
func (x *PlumFinalizeExit) Reset()
func (*PlumFinalizeExit) String ¶
func (x *PlumFinalizeExit) String() string
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 */ // contains filtered or unexported fields }
func (*PlumPutBlock) Descriptor
deprecated
func (*PlumPutBlock) Descriptor() ([]byte, []int)
Deprecated: Use PlumPutBlock.ProtoReflect.Descriptor instead.
func (*PlumPutBlock) GetHeight ¶
func (x *PlumPutBlock) GetHeight() uint64
func (*PlumPutBlock) GetRoots ¶
func (x *PlumPutBlock) GetRoots() map[string][]byte
func (*PlumPutBlock) GetSubChainAddress ¶
func (x *PlumPutBlock) GetSubChainAddress() string
func (*PlumPutBlock) ProtoMessage ¶
func (*PlumPutBlock) ProtoMessage()
func (*PlumPutBlock) ProtoReflect ¶ added in v0.4.0
func (x *PlumPutBlock) ProtoReflect() protoreflect.Message
func (*PlumPutBlock) Reset ¶
func (x *PlumPutBlock) Reset()
func (*PlumPutBlock) String ¶
func (x *PlumPutBlock) String() string
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"` // contains filtered or unexported fields }
func (*PlumResponseChallengeExit) Descriptor
deprecated
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
Deprecated: Use PlumResponseChallengeExit.ProtoReflect.Descriptor instead.
func (*PlumResponseChallengeExit) GetChallengeTransfer ¶
func (x *PlumResponseChallengeExit) GetChallengeTransfer() []byte
func (*PlumResponseChallengeExit) GetCoinID ¶
func (x *PlumResponseChallengeExit) GetCoinID() uint64
func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight ¶
func (x *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
func (*PlumResponseChallengeExit) GetResponseTransfer ¶
func (x *PlumResponseChallengeExit) GetResponseTransfer() []byte
func (*PlumResponseChallengeExit) GetResponseTransferBlockProof ¶
func (x *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
func (*PlumResponseChallengeExit) GetSubChainAddress ¶
func (x *PlumResponseChallengeExit) GetSubChainAddress() string
func (*PlumResponseChallengeExit) ProtoMessage ¶
func (*PlumResponseChallengeExit) ProtoMessage()
func (*PlumResponseChallengeExit) ProtoReflect ¶ added in v0.4.0
func (x *PlumResponseChallengeExit) ProtoReflect() protoreflect.Message
func (*PlumResponseChallengeExit) Reset ¶
func (x *PlumResponseChallengeExit) Reset()
func (*PlumResponseChallengeExit) String ¶
func (x *PlumResponseChallengeExit) String() string
type PlumSettleDeposit ¶
type PlumSettleDeposit struct { CoinID uint64 `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"` // contains filtered or unexported fields }
plum sub chain APIs
func (*PlumSettleDeposit) Descriptor
deprecated
func (*PlumSettleDeposit) Descriptor() ([]byte, []int)
Deprecated: Use PlumSettleDeposit.ProtoReflect.Descriptor instead.
func (*PlumSettleDeposit) GetCoinID ¶
func (x *PlumSettleDeposit) GetCoinID() uint64
func (*PlumSettleDeposit) ProtoMessage ¶
func (*PlumSettleDeposit) ProtoMessage()
func (*PlumSettleDeposit) ProtoReflect ¶ added in v0.4.0
func (x *PlumSettleDeposit) ProtoReflect() protoreflect.Message
func (*PlumSettleDeposit) Reset ¶
func (x *PlumSettleDeposit) Reset()
func (*PlumSettleDeposit) String ¶
func (x *PlumSettleDeposit) String() string
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"` // contains filtered or unexported fields }
func (*PlumStartExit) Descriptor
deprecated
func (*PlumStartExit) Descriptor() ([]byte, []int)
Deprecated: Use PlumStartExit.ProtoReflect.Descriptor instead.
func (*PlumStartExit) GetExitTransfer ¶
func (x *PlumStartExit) GetExitTransfer() []byte
func (*PlumStartExit) GetExitTransferBlockHeight ¶
func (x *PlumStartExit) GetExitTransferBlockHeight() uint64
func (*PlumStartExit) GetExitTransferBlockProof ¶
func (x *PlumStartExit) GetExitTransferBlockProof() []byte
func (*PlumStartExit) GetPreviousTransfer ¶
func (x *PlumStartExit) GetPreviousTransfer() []byte
func (*PlumStartExit) GetPreviousTransferBlockHeight ¶
func (x *PlumStartExit) GetPreviousTransferBlockHeight() uint64
func (*PlumStartExit) GetPreviousTransferBlockProof ¶
func (x *PlumStartExit) GetPreviousTransferBlockProof() []byte
func (*PlumStartExit) GetSubChainAddress ¶
func (x *PlumStartExit) GetSubChainAddress() string
func (*PlumStartExit) ProtoMessage ¶
func (*PlumStartExit) ProtoMessage()
func (*PlumStartExit) ProtoReflect ¶ added in v0.4.0
func (x *PlumStartExit) ProtoReflect() protoreflect.Message
func (*PlumStartExit) Reset ¶
func (x *PlumStartExit) Reset()
func (*PlumStartExit) String ¶
func (x *PlumStartExit) String() string
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"` // contains filtered or unexported fields }
func (*PlumTransfer) Descriptor
deprecated
func (*PlumTransfer) Descriptor() ([]byte, []int)
Deprecated: Use PlumTransfer.ProtoReflect.Descriptor instead.
func (*PlumTransfer) GetCoinID ¶
func (x *PlumTransfer) GetCoinID() uint64
func (*PlumTransfer) GetDenomination ¶
func (x *PlumTransfer) GetDenomination() []byte
func (*PlumTransfer) GetOwner ¶
func (x *PlumTransfer) GetOwner() string
func (*PlumTransfer) GetRecipient ¶
func (x *PlumTransfer) GetRecipient() string
func (*PlumTransfer) ProtoMessage ¶
func (*PlumTransfer) ProtoMessage()
func (*PlumTransfer) ProtoReflect ¶ added in v0.4.0
func (x *PlumTransfer) ProtoReflect() protoreflect.Message
func (*PlumTransfer) Reset ¶
func (x *PlumTransfer) Reset()
func (*PlumTransfer) String ¶
func (x *PlumTransfer) String() string
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"` // contains filtered or unexported fields }
ProbationCandidateList (slashing #1)
func (*ProbationCandidateList) Descriptor
deprecated
added in
v0.3.0
func (*ProbationCandidateList) Descriptor() ([]byte, []int)
Deprecated: Use ProbationCandidateList.ProtoReflect.Descriptor instead.
func (*ProbationCandidateList) GetIntensityRate ¶ added in v0.3.0
func (x *ProbationCandidateList) GetIntensityRate() uint32
func (*ProbationCandidateList) GetProbationList ¶ added in v0.3.0
func (x *ProbationCandidateList) GetProbationList() []*ProbationCandidateList_Info
func (*ProbationCandidateList) ProtoMessage ¶ added in v0.3.0
func (*ProbationCandidateList) ProtoMessage()
func (*ProbationCandidateList) ProtoReflect ¶ added in v0.4.0
func (x *ProbationCandidateList) ProtoReflect() protoreflect.Message
func (*ProbationCandidateList) Reset ¶ added in v0.3.0
func (x *ProbationCandidateList) Reset()
func (*ProbationCandidateList) String ¶ added in v0.3.0
func (x *ProbationCandidateList) String() string
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"` // contains filtered or unexported fields }
func (*ProbationCandidateList_Info) Descriptor
deprecated
added in
v0.3.0
func (*ProbationCandidateList_Info) Descriptor() ([]byte, []int)
Deprecated: Use ProbationCandidateList_Info.ProtoReflect.Descriptor instead.
func (*ProbationCandidateList_Info) GetAddress ¶ added in v0.3.0
func (x *ProbationCandidateList_Info) GetAddress() string
func (*ProbationCandidateList_Info) GetCount ¶ added in v0.3.0
func (x *ProbationCandidateList_Info) GetCount() uint32
func (*ProbationCandidateList_Info) ProtoMessage ¶ added in v0.3.0
func (*ProbationCandidateList_Info) ProtoMessage()
func (*ProbationCandidateList_Info) ProtoReflect ¶ added in v0.4.0
func (x *ProbationCandidateList_Info) ProtoReflect() protoreflect.Message
func (*ProbationCandidateList_Info) Reset ¶ added in v0.3.0
func (x *ProbationCandidateList_Info) Reset()
func (*ProbationCandidateList_Info) String ¶ added in v0.3.0
func (x *ProbationCandidateList_Info) String() string
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"` // contains filtered or unexported fields }
func (*PutBlock) Descriptor
deprecated
func (*PutBlock) GetRoots ¶
func (x *PutBlock) GetRoots() []*MerkleRoot
func (*PutBlock) GetSubChainAddress ¶
func (*PutBlock) ProtoMessage ¶
func (*PutBlock) ProtoMessage()
func (*PutBlock) ProtoReflect ¶ added in v0.4.0
func (x *PutBlock) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*PutPollResult) Descriptor
deprecated
func (*PutPollResult) Descriptor() ([]byte, []int)
Deprecated: Use PutPollResult.ProtoReflect.Descriptor instead.
func (*PutPollResult) GetCandidates ¶
func (x *PutPollResult) GetCandidates() *CandidateList
func (*PutPollResult) GetHeight ¶
func (x *PutPollResult) GetHeight() uint64
func (*PutPollResult) ProtoMessage ¶
func (*PutPollResult) ProtoMessage()
func (*PutPollResult) ProtoReflect ¶ added in v0.4.0
func (x *PutPollResult) ProtoReflect() protoreflect.Message
func (*PutPollResult) Reset ¶
func (x *PutPollResult) Reset()
func (*PutPollResult) String ¶
func (x *PutPollResult) String() string
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"` ExecutionRevertMsg string `protobuf:"bytes,7,opt,name=executionRevertMsg,proto3" json:"executionRevertMsg,omitempty"` TxIndex uint32 `protobuf:"varint,8,opt,name=txIndex,proto3" json:"txIndex,omitempty"` // contains filtered or unexported fields }
func (*Receipt) Descriptor
deprecated
func (*Receipt) GetActHash ¶
func (*Receipt) GetBlkHeight ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetExecutionRevertMsg ¶ added in v0.4.6
func (*Receipt) GetGasConsumed ¶
func (*Receipt) GetTxIndex ¶ added in v0.5.8
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) ProtoReflect ¶ added in v0.4.0
func (x *Receipt) ProtoReflect() protoreflect.Message
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 ReceiptStatus_ErrInvalidSubroutineEntry ReceiptStatus = 109 ReceiptStatus_ErrInsufficientBalance ReceiptStatus = 110 ReceiptStatus_ErrInvalidJump ReceiptStatus = 111 ReceiptStatus_ErrReturnDataOutOfBounds ReceiptStatus = 112 ReceiptStatus_ErrGasUintOverflow ReceiptStatus = 113 ReceiptStatus_ErrInvalidRetsub ReceiptStatus = 114 ReceiptStatus_ErrReturnStackExceeded ReceiptStatus = 115 ReceiptStatus_ErrInvalidCode ReceiptStatus = 116 // 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) Descriptor ¶ added in v0.4.0
func (ReceiptStatus) Descriptor() protoreflect.EnumDescriptor
func (ReceiptStatus) Enum ¶ added in v0.4.0
func (x ReceiptStatus) Enum() *ReceiptStatus
func (ReceiptStatus) EnumDescriptor
deprecated
added in
v0.2.5
func (ReceiptStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReceiptStatus.Descriptor instead.
func (ReceiptStatus) Number ¶ added in v0.4.0
func (x ReceiptStatus) Number() protoreflect.EnumNumber
func (ReceiptStatus) String ¶ added in v0.2.5
func (x ReceiptStatus) String() string
func (ReceiptStatus) Type ¶ added in v0.4.0
func (ReceiptStatus) Type() protoreflect.EnumType
type Receipts ¶
type Receipts struct { Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` // contains filtered or unexported fields }
Receipts consists of a collection of recepit
func (*Receipts) Descriptor
deprecated
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) ProtoReflect ¶ added in v0.4.0
func (x *Receipts) ProtoReflect() protoreflect.Message
type RewardType ¶
type RewardType int32
const ( RewardType_BlockReward RewardType = 0 RewardType_EpochReward RewardType = 1 )
func (RewardType) Descriptor ¶ added in v0.4.0
func (RewardType) Descriptor() protoreflect.EnumDescriptor
func (RewardType) Enum ¶ added in v0.4.0
func (x RewardType) Enum() *RewardType
func (RewardType) EnumDescriptor
deprecated
func (RewardType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RewardType.Descriptor instead.
func (RewardType) Number ¶ added in v0.4.0
func (x RewardType) Number() protoreflect.EnumNumber
func (RewardType) String ¶
func (x RewardType) String() string
func (RewardType) Type ¶ added in v0.4.0
func (RewardType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
Server Metadata
func (*ServerMeta) Descriptor
deprecated
func (*ServerMeta) Descriptor() ([]byte, []int)
Deprecated: Use ServerMeta.ProtoReflect.Descriptor instead.
func (*ServerMeta) GetBuildTime ¶
func (x *ServerMeta) GetBuildTime() string
func (*ServerMeta) GetGitStatus ¶
func (x *ServerMeta) GetGitStatus() string
func (*ServerMeta) GetGoVersion ¶
func (x *ServerMeta) GetGoVersion() string
func (*ServerMeta) GetPackageCommitID ¶
func (x *ServerMeta) GetPackageCommitID() string
func (*ServerMeta) GetPackageVersion ¶
func (x *ServerMeta) GetPackageVersion() string
func (*ServerMeta) ProtoMessage ¶
func (*ServerMeta) ProtoMessage()
func (*ServerMeta) ProtoReflect ¶ added in v0.4.0
func (x *ServerMeta) ProtoReflect() protoreflect.Message
func (*ServerMeta) Reset ¶
func (x *ServerMeta) Reset()
func (*ServerMeta) String ¶
func (x *ServerMeta) String() string
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"` // contains filtered or unexported fields }