iotextypes

package
Version: v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 52

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var (
	RewardType_name = map[int32]string{
		0: "BlockReward",
		1: "EpochReward",
	}
	RewardType_value = map[string]int32{
		"BlockReward": 0,
		"EpochReward": 1,
	}
)

Enum value maps for RewardType.

View Source
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.

View Source
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",
		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,
		"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.

View Source
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.

View Source
var File_proto_types_action_proto protoreflect.FileDescriptor
View Source
var File_proto_types_blockchain_proto protoreflect.FileDescriptor
View Source
var File_proto_types_consensus_proto protoreflect.FileDescriptor
View Source
var File_proto_types_election_proto protoreflect.FileDescriptor
View Source
var File_proto_types_endorsement_proto protoreflect.FileDescriptor
View Source
var File_proto_types_genesis_proto protoreflect.FileDescriptor
View Source
var File_proto_types_node_proto protoreflect.FileDescriptor
View Source
var File_proto_types_receiptstatus_proto protoreflect.FileDescriptor
View Source
var File_proto_types_state_data_proto protoreflect.FileDescriptor
View Source
var File_proto_types_transaction_log_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountMeta

type AccountMeta struct {
	Address          string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance          string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce            uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	PendingNonce     uint64 `protobuf:"varint,4,opt,name=pendingNonce,proto3" json:"pendingNonce,omitempty"`
	NumActions       uint64 `protobuf:"varint,5,opt,name=numActions,proto3" json:"numActions,omitempty"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetCore

func (x *Action) GetCore() *ActionCore

func (*Action) GetEncoding added in v0.4.8

func (x *Action) GetEncoding() Encoding

func (*Action) GetSenderPubKey

func (x *Action) GetSenderPubKey() []byte

func (*Action) GetSignature

func (x *Action) GetSignature() []byte

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect added in v0.4.0

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

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 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"`
	Footer *BlockFooter `protobuf:"bytes,3,opt,name=footer,proto3" json:"footer,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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBody

func (x *Block) GetBody() *BlockBody

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BlockBody.ProtoReflect.Descriptor instead.

func (*BlockBody) GetActions

func (x *BlockBody) GetActions() []*Action

func (*BlockBody) ProtoMessage

func (*BlockBody) ProtoMessage()

func (*BlockBody) ProtoReflect added in v0.4.0

func (x *BlockBody) ProtoReflect() protoreflect.Message

func (*BlockBody) Reset

func (x *BlockBody) Reset()

func (*BlockBody) String

func (x *BlockBody) String() string

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 {
	Endorsements []*Endorsement         `protobuf:"bytes,1,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// 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) Descriptor() ([]byte, []int)

Deprecated: Use BlockMeta.ProtoReflect.Descriptor instead.

func (*BlockMeta) GetDeltaStateDigest

func (x *BlockMeta) GetDeltaStateDigest() string

func (*BlockMeta) GetGasLimit added in v0.5.0

func (x *BlockMeta) GetGasLimit() uint64

func (*BlockMeta) GetGasUsed added in v0.5.0

func (x *BlockMeta) GetGasUsed() uint64

func (*BlockMeta) GetHash

func (x *BlockMeta) GetHash() string

func (*BlockMeta) GetHeight

func (x *BlockMeta) GetHeight() uint64

func (*BlockMeta) GetLogsBloom added in v0.2.5

func (x *BlockMeta) GetLogsBloom() string

func (*BlockMeta) GetNumActions

func (x *BlockMeta) GetNumActions() int64

func (*BlockMeta) GetPreviousBlockHash added in v0.4.5

func (x *BlockMeta) GetPreviousBlockHash() string

func (*BlockMeta) GetProducerAddress

func (x *BlockMeta) GetProducerAddress() string

func (*BlockMeta) GetReceiptRoot

func (x *BlockMeta) GetReceiptRoot() string

func (*BlockMeta) GetTimestamp

func (x *BlockMeta) GetTimestamp() *timestamppb.Timestamp

func (*BlockMeta) GetTransferAmount

func (x *BlockMeta) GetTransferAmount() string

func (*BlockMeta) GetTxRoot

func (x *BlockMeta) GetTxRoot() string

func (*BlockMeta) ProtoMessage

func (*BlockMeta) ProtoMessage()

func (*BlockMeta) ProtoReflect added in v0.4.0

func (x *BlockMeta) ProtoReflect() protoreflect.Message

func (*BlockMeta) Reset

func (x *BlockMeta) Reset()

func (*BlockMeta) String

func (x *BlockMeta) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Candidate.ProtoReflect.Descriptor instead.

func (*Candidate) GetAddress

func (x *Candidate) GetAddress() string

func (*Candidate) GetPubKey

func (x *Candidate) GetPubKey() []byte

func (*Candidate) GetRewardAddress

func (x *Candidate) GetRewardAddress() string

func (*Candidate) GetVotes

func (x *Candidate) GetVotes() []byte

func (*Candidate) ProtoMessage

func (*Candidate) ProtoMessage()

func (*Candidate) ProtoReflect added in v0.4.0

func (x *Candidate) ProtoReflect() protoreflect.Message

func (*Candidate) Reset

func (x *Candidate) Reset()

func (*Candidate) String

func (x *Candidate) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ChainMeta.ProtoReflect.Descriptor instead.

func (*ChainMeta) GetChainID added in v0.4.8

func (x *ChainMeta) GetChainID() uint32

func (*ChainMeta) GetEpoch

func (x *ChainMeta) GetEpoch() *EpochData

func (*ChainMeta) GetHeight

func (x *ChainMeta) GetHeight() uint64

func (*ChainMeta) GetNumActions

func (x *ChainMeta) GetNumActions() int64

func (*ChainMeta) GetTps

func (x *ChainMeta) GetTps() int64

func (*ChainMeta) GetTpsFloat added in v0.2.5

func (x *ChainMeta) GetTpsFloat() float32

func (*ChainMeta) ProtoMessage

func (*ChainMeta) ProtoMessage()

func (*ChainMeta) ProtoReflect added in v0.4.0

func (x *ChainMeta) ProtoReflect() protoreflect.Message

func (*ChainMeta) Reset

func (x *ChainMeta) Reset()

func (*ChainMeta) String

func (x *ChainMeta) String() string

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) Enum added in v0.4.0

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 (ConsensusVote_Topic) String

func (x ConsensusVote_Topic) String() string

func (ConsensusVote_Topic) Type added in v0.4.0

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
const (
	Encoding_IOTEX_PROTOBUF Encoding = 0
	Encoding_ETHEREUM_RLP   Encoding = 1
)

func (Encoding) Descriptor added in v0.4.8

func (Encoding) Descriptor() protoreflect.EnumDescriptor

func (Encoding) Enum added in v0.4.8

func (x Encoding) Enum() *Encoding

func (Encoding) EnumDescriptor deprecated added in v0.4.8

func (Encoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use Encoding.Descriptor instead.

func (Encoding) Number added in v0.4.8

func (x Encoding) Number() protoreflect.EnumNumber

func (Encoding) String added in v0.4.8

func (x Encoding) String() string

func (Encoding) Type added in v0.4.8

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) Descriptor() ([]byte, []int)

Deprecated: Use EpochData.ProtoReflect.Descriptor instead.

func (*EpochData) GetGravityChainStartHeight

func (x *EpochData) GetGravityChainStartHeight() uint64

func (*EpochData) GetHeight

func (x *EpochData) GetHeight() uint64

func (*EpochData) GetNum

func (x *EpochData) GetNum() uint64

func (*EpochData) ProtoMessage

func (*EpochData) ProtoMessage()

func (*EpochData) ProtoReflect added in v0.4.0

func (x *EpochData) ProtoReflect() protoreflect.Message

func (*EpochData) Reset

func (x *EpochData) Reset()

func (*EpochData) String

func (x *EpochData) String() string

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"`
	// contains filtered or unexported fields
}

func (*Execution) Descriptor deprecated

func (*Execution) Descriptor() ([]byte, []int)

Deprecated: Use Execution.ProtoReflect.Descriptor instead.

func (*Execution) GetAmount

func (x *Execution) GetAmount() string

func (*Execution) GetContract

func (x *Execution) GetContract() string

func (*Execution) GetData

func (x *Execution) GetData() []byte

func (*Execution) ProtoMessage

func (*Execution) ProtoMessage()

func (*Execution) ProtoReflect added in v0.4.0

func (x *Execution) ProtoReflect() protoreflect.Message

func (*Execution) Reset

func (x *Execution) Reset()

func (*Execution) String

func (x *Execution) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Genesis.ProtoReflect.Descriptor instead.

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

func (*Genesis) Reset

func (x *Genesis) Reset()

func (*Genesis) String

func (x *Genesis) String() string

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"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

func (*Log) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetActHash

func (x *Log) GetActHash() []byte

func (*Log) GetBlkHash added in v0.4.8

func (x *Log) GetBlkHash() []byte

func (*Log) GetBlkHeight

func (x *Log) GetBlkHeight() uint64

func (*Log) GetContractAddress

func (x *Log) GetContractAddress() string

func (*Log) GetData

func (x *Log) GetData() []byte

func (*Log) GetIndex

func (x *Log) GetIndex() uint32

func (*Log) GetTopics

func (x *Log) GetTopics() [][]byte

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect added in v0.4.0

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Logs.ProtoReflect.Descriptor instead.

func (*Logs) GetLogs added in v0.3.1

func (x *Logs) GetLogs() []*Log

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

func (*Logs) Reset added in v0.3.1

func (x *Logs) Reset()

func (*Logs) String added in v0.3.1

func (x *Logs) String() string

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 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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use PutBlock.ProtoReflect.Descriptor instead.

func (*PutBlock) GetHeight

func (x *PutBlock) GetHeight() uint64

func (*PutBlock) GetRoots

func (x *PutBlock) GetRoots() []*MerkleRoot

func (*PutBlock) GetSubChainAddress

func (x *PutBlock) GetSubChainAddress() string

func (*PutBlock) ProtoMessage

func (*PutBlock) ProtoMessage()

func (*PutBlock) ProtoReflect added in v0.4.0

func (x *PutBlock) ProtoReflect() protoreflect.Message

func (*PutBlock) Reset

func (x *PutBlock) Reset()

func (*PutBlock) String

func (x *PutBlock) String() string

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"`
	// contains filtered or unexported fields
}

func (*Receipt) Descriptor deprecated

func (*Receipt) Descriptor() ([]byte, []int)

Deprecated: Use Receipt.ProtoReflect.Descriptor instead.

func (*Receipt) GetActHash

func (x *Receipt) GetActHash() []byte

func (*Receipt) GetBlkHeight

func (x *Receipt) GetBlkHeight() uint64

func (*Receipt) GetContractAddress

func (x *Receipt) GetContractAddress() string

func (*Receipt) GetExecutionRevertMsg added in v0.4.6

func (x *Receipt) GetExecutionRevertMsg() string

func (*Receipt) GetGasConsumed

func (x *Receipt) GetGasConsumed() uint64

func (*Receipt) GetLogs

func (x *Receipt) GetLogs() []*Log

func (*Receipt) GetStatus

func (x *Receipt) GetStatus() uint64

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) ProtoReflect added in v0.4.0

func (x *Receipt) ProtoReflect() protoreflect.Message

func (*Receipt) Reset

func (x *Receipt) Reset()

func (*Receipt) String

func (x *Receipt) String() string

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
	//2xx for Staking ErrorCode
	ReceiptStatus_ErrLoadAccount                  ReceiptStatus = 200
	ReceiptStatus_ErrNotEnoughBalance             ReceiptStatus = 201
	ReceiptStatus_ErrInvalidBucketIndex           ReceiptStatus = 202
	ReceiptStatus_ErrUnauthorizedOperator         ReceiptStatus = 203
	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) 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 (ReceiptStatus) String added in v0.2.5

func (x ReceiptStatus) String() string

func (ReceiptStatus) Type added in v0.4.0

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) Descriptor() ([]byte, []int)

Deprecated: Use Receipts.ProtoReflect.Descriptor instead.

func (*Receipts) GetReceipts

func (x *Receipts) GetReceipts() []*Receipt

func (*Receipts) ProtoMessage

func (*Receipts) ProtoMessage()

func (*Receipts) ProtoReflect added in v0.4.0

func (x *Receipts) ProtoReflect() protoreflect.Message

func (*Receipts) Reset

func (x *Receipts) Reset()

func (*Receipts) String

func (x *Receipts) String() string

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

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
}

func (*SettleDeposit) Descriptor deprecated

func (*SettleDeposit) Descriptor() ([]byte, []int)

Deprecated: Use SettleDeposit.ProtoReflect.Descriptor instead.

func (*SettleDeposit) GetAmount

func (x *SettleDeposit) GetAmount() string

func (*SettleDeposit) GetIndex

func (x *SettleDeposit) GetIndex() uint64

func (*SettleDeposit) GetRecipient

func (x *SettleDeposit) GetRecipient() string

func (*SettleDeposit) ProtoMessage

func (*SettleDeposit) ProtoMessage()

func (*SettleDeposit) ProtoReflect added in v0.4.0

func (x *SettleDeposit) ProtoReflect() protoreflect.Message

func (*SettleDeposit) Reset

func (x *SettleDeposit) Reset()

func (*SettleDeposit) String

func (x *SettleDeposit) String() string

type StakeAddDeposit added in v0.3.0

type StakeAddDeposit struct {
	BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	Amount      string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Payload     []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

add the amount of bucket

func (*StakeAddDeposit) Descriptor deprecated added in v0.3.0

func (*StakeAddDeposit) Descriptor() ([]byte, []int)

Deprecated: Use StakeAddDeposit.ProtoReflect.Descriptor instead.

func (*StakeAddDeposit) GetAmount added in v0.3.0

func (x *StakeAddDeposit) GetAmount() string

func (*StakeAddDeposit) GetBucketIndex added in v0.3.0

func (x *StakeAddDeposit) GetBucketIndex() uint64

func (*StakeAddDeposit) GetPayload added in v0.3.0

func (x *StakeAddDeposit) GetPayload() []byte

func (*StakeAddDeposit) ProtoMessage added in v0.3.0

func (*StakeAddDeposit) ProtoMessage()

func (*StakeAddDeposit) ProtoReflect added in v0.4.0

func (x *StakeAddDeposit) ProtoReflect() protoreflect.Message

func (*StakeAddDeposit) Reset added in v0.3.0

func (x *StakeAddDeposit) Reset()

func (*StakeAddDeposit) String added in v0.3.0

func (x *StakeAddDeposit) String() string

type StakeChangeCandidate added in v0.3.0

type StakeChangeCandidate struct {
	BucketIndex   uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	CandidateName string `protobuf:"bytes,2,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
	Payload       []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

move the bucket to vote for another candidate or transfer the ownership of bucket to another voters

func (*StakeChangeCandidate) Descriptor deprecated added in v0.3.0

func (*StakeChangeCandidate) Descriptor() ([]byte, []int)

Deprecated: Use StakeChangeCandidate.ProtoReflect.Descriptor instead.

func (*StakeChangeCandidate) GetBucketIndex added in v0.3.0

func (x *StakeChangeCandidate) GetBucketIndex() uint64

func (*StakeChangeCandidate) GetCandidateName added in v0.3.0

func (x *StakeChangeCandidate) GetCandidateName() string

func (*StakeChangeCandidate) GetPayload added in v0.3.0

func (x *StakeChangeCandidate) GetPayload() []byte

func (*StakeChangeCandidate) ProtoMessage added in v0.3.0

func (*StakeChangeCandidate) ProtoMessage()

func (*StakeChangeCandidate) ProtoReflect added in v0.4.0

func (x *StakeChangeCandidate) ProtoReflect() protoreflect.Message

func (*StakeChangeCandidate) Reset added in v0.3.0

func (x *StakeChangeCandidate) Reset()

func (*StakeChangeCandidate) String added in v0.3.0

func (x *StakeChangeCandidate) String() string

type StakeCreate added in v0.3.0

type StakeCreate struct {
	CandidateName  string `protobuf:"bytes,1,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
	StakedAmount   string `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
	StakedDuration uint32 `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	AutoStake      bool   `protobuf:"varint,4,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	Payload        []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

create stake

func (*StakeCreate) Descriptor deprecated added in v0.3.0

func (*StakeCreate) Descriptor() ([]byte, []int)

Deprecated: Use StakeCreate.ProtoReflect.Descriptor instead.

func (*StakeCreate) GetAutoStake added in v0.3.0

func (x *StakeCreate) GetAutoStake() bool

func (*StakeCreate) GetCandidateName added in v0.3.0

func (x *StakeCreate) GetCandidateName() string

func (*StakeCreate) GetPayload added in v0.3.0

func (x *StakeCreate) GetPayload() []byte

func (*StakeCreate) GetStakedAmount added in v0.3.0

func (x *StakeCreate) GetStakedAmount() string

func (*StakeCreate) GetStakedDuration added in v0.3.0

func (x *StakeCreate) GetStakedDuration() uint32

func (*StakeCreate) ProtoMessage added in v0.3.0

func (*StakeCreate) ProtoMessage()

func (*StakeCreate) ProtoReflect added in v0.4.0

func (x *StakeCreate) ProtoReflect() protoreflect.Message

func (*StakeCreate) Reset added in v0.3.0

func (x *StakeCreate) Reset()

func (*StakeCreate) String added in v0.3.0

func (x *StakeCreate) String() string

type StakeReclaim added in v0.3.0

type StakeReclaim struct {
	BucketIndex uint64 `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	Payload     []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

unstake or withdraw

func (*StakeReclaim) Descriptor deprecated added in v0.3.0

func (*StakeReclaim) Descriptor() ([]byte, []int)

Deprecated: Use StakeReclaim.ProtoReflect.Descriptor instead.

func (*StakeReclaim) GetBucketIndex added in v0.3.0

func (x *StakeReclaim) GetBucketIndex() uint64

func (*StakeReclaim) GetPayload added in v0.3.0

func (x *StakeReclaim) GetPaylo