iotextypes

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 159

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsensusVote_Topic_name = map[int32]string{
	0: "PROPOSAL",
	1: "LOCK",
	2: "COMMIT",
}
View Source
var ConsensusVote_Topic_value = map[string]int32{
	"PROPOSAL": 0,
	"LOCK":     1,
	"COMMIT":   2,
}
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",
	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",
}
View Source
var ReceiptStatus_value = map[string]int32{
	"Failure":                         0,
	"Success":                         1,
	"ErrUnknown":                      100,
	"ErrOutOfGas":                     101,
	"ErrCodeStoreOutOfGas":            102,
	"ErrDepth":                        103,
	"ErrContractAddressCollision":     104,
	"ErrNoCompatibleInterpreter":      105,
	"ErrExecutionReverted":            106,
	"ErrMaxCodeSizeExceeded":          107,
	"ErrWriteProtection":              108,
	"ErrLoadAccount":                  200,
	"ErrNotEnoughBalance":             201,
	"ErrInvalidBucketIndex":           202,
	"ErrUnauthorizedOperator":         203,
	"ErrInvalidBucketType":            204,
	"ErrCandidateNotExist":            205,
	"ErrReduceDurationBeforeMaturity": 206,
	"ErrUnstakeBeforeMaturity":        207,
	"ErrWithdrawBeforeUnstake":        208,
	"ErrWithdrawBeforeMaturity":       209,
	"ErrCandidateAlreadyExist":        210,
	"ErrCandidateConflict":            211,
	"ErrInvalidBucketAmount":          212,
	"ErrWriteAccount":                 213,
	"ErrWriteBucket":                  214,
	"ErrWriteCandidate":               215,
}
View Source
var RewardType_name = map[int32]string{
	0: "BlockReward",
	1: "EpochReward",
}
View Source
var RewardType_value = map[string]int32{
	"BlockReward": 0,
	"EpochReward": 1,
}
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",
}
View Source
var 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,
}

Functions

This section is empty.

Types

type AccountMeta

type AccountMeta struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance              string   `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce                uint64   `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	PendingNonce         uint64   `protobuf:"varint,4,opt,name=pendingNonce,proto3" json:"pendingNonce,omitempty"`
	NumActions           uint64   `protobuf:"varint,5,opt,name=numActions,proto3" json:"numActions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Account Metadata

func (*AccountMeta) Descriptor

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

func (*AccountMeta) GetAddress

func (m *AccountMeta) GetAddress() string

func (*AccountMeta) GetBalance

func (m *AccountMeta) GetBalance() string

func (*AccountMeta) GetNonce

func (m *AccountMeta) GetNonce() uint64

func (*AccountMeta) GetNumActions

func (m *AccountMeta) GetNumActions() uint64

func (*AccountMeta) GetPendingNonce

func (m *AccountMeta) GetPendingNonce() uint64

func (*AccountMeta) ProtoMessage

func (*AccountMeta) ProtoMessage()

func (*AccountMeta) Reset

func (m *AccountMeta) Reset()

func (*AccountMeta) String

func (m *AccountMeta) String() string

func (*AccountMeta) XXX_DiscardUnknown

func (m *AccountMeta) XXX_DiscardUnknown()

func (*AccountMeta) XXX_Marshal

func (m *AccountMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountMeta) XXX_Merge

func (m *AccountMeta) XXX_Merge(src proto.Message)

func (*AccountMeta) XXX_Size

func (m *AccountMeta) XXX_Size() int

func (*AccountMeta) XXX_Unmarshal

func (m *AccountMeta) XXX_Unmarshal(b []byte) error

type Action

type Action struct {
	Core                 *ActionCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"`
	SenderPubKey         []byte      `protobuf:"bytes,2,opt,name=senderPubKey,proto3" json:"senderPubKey,omitempty"`
	Signature            []byte      `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Action) Descriptor

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

func (*Action) GetCore

func (m *Action) GetCore() *ActionCore

func (*Action) GetSenderPubKey

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

func (*Action) GetSignature

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

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) String

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action) XXX_Merge

func (m *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

func (m *Action) XXX_Unmarshal(b []byte) error

type ActionCore

type ActionCore struct {
	Version  uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Nonce    uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	GasLimit uint64 `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	GasPrice string `protobuf:"bytes,4,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*ActionCore_Transfer
	//	*ActionCore_Execution
	//	*ActionCore_StartSubChain
	//	*ActionCore_StopSubChain
	//	*ActionCore_PutBlock
	//	*ActionCore_CreateDeposit
	//	*ActionCore_SettleDeposit
	//	*ActionCore_CreatePlumChain
	//	*ActionCore_TerminatePlumChain
	//	*ActionCore_PlumPutBlock
	//	*ActionCore_PlumCreateDeposit
	//	*ActionCore_PlumStartExit
	//	*ActionCore_PlumChallengeExit
	//	*ActionCore_PlumResponseChallengeExit
	//	*ActionCore_PlumFinalizeExit
	//	*ActionCore_PlumSettleDeposit
	//	*ActionCore_PlumTransfer
	//	*ActionCore_DepositToRewardingFund
	//	*ActionCore_ClaimFromRewardingFund
	//	*ActionCore_GrantReward
	//	*ActionCore_StakeCreate
	//	*ActionCore_StakeUnstake
	//	*ActionCore_StakeWithdraw
	//	*ActionCore_StakeAddDeposit
	//	*ActionCore_StakeRestake
	//	*ActionCore_StakeChangeCandidate
	//	*ActionCore_StakeTransferOwnership
	//	*ActionCore_CandidateRegister
	//	*ActionCore_CandidateUpdate
	//	*ActionCore_PutPollResult
	Action               isActionCore_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ActionCore) Descriptor

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

func (*ActionCore) GetAction

func (m *ActionCore) GetAction() isActionCore_Action

func (*ActionCore) GetCandidateRegister added in v0.3.0

func (m *ActionCore) GetCandidateRegister() *CandidateRegister

func (*ActionCore) GetCandidateUpdate added in v0.3.0

func (m *ActionCore) GetCandidateUpdate() *CandidateBasicInfo

func (*ActionCore) GetClaimFromRewardingFund

func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund

func (*ActionCore) GetCreateDeposit

func (m *ActionCore) GetCreateDeposit() *CreateDeposit

func (*ActionCore) GetCreatePlumChain

func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain

func (*ActionCore) GetDepositToRewardingFund

func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund

func (*ActionCore) GetExecution

func (m *ActionCore) GetExecution() *Execution

func (*ActionCore) GetGasLimit

func (m *ActionCore) GetGasLimit() uint64

func (*ActionCore) GetGasPrice

func (m *ActionCore) GetGasPrice() string

func (*ActionCore) GetGrantReward

func (m *ActionCore) GetGrantReward() *GrantReward

func (*ActionCore) GetNonce

func (m *ActionCore) GetNonce() uint64

func (*ActionCore) GetPlumChallengeExit

func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit

func (*ActionCore) GetPlumCreateDeposit

func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit

func (*ActionCore) GetPlumFinalizeExit

func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit

func (*ActionCore) GetPlumPutBlock

func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock

func (*ActionCore) GetPlumResponseChallengeExit

func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit

func (*ActionCore) GetPlumSettleDeposit

func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit

func (*ActionCore) GetPlumStartExit

func (m *ActionCore) GetPlumStartExit() *PlumStartExit

func (*ActionCore) GetPlumTransfer

func (m *ActionCore) GetPlumTransfer() *PlumTransfer

func (*ActionCore) GetPutBlock

func (m *ActionCore) GetPutBlock() *PutBlock

func (*ActionCore) GetPutPollResult

func (m *ActionCore) GetPutPollResult() *PutPollResult

func (*ActionCore) GetSettleDeposit

func (m *ActionCore) GetSettleDeposit() *SettleDeposit

func (*ActionCore) GetStakeAddDeposit added in v0.3.0

func (m *ActionCore) GetStakeAddDeposit() *StakeAddDeposit

func (*ActionCore) GetStakeChangeCandidate added in v0.3.0

func (m *ActionCore) GetStakeChangeCandidate() *StakeChangeCandidate

func (*ActionCore) GetStakeCreate added in v0.3.0

func (m *ActionCore) GetStakeCreate() *StakeCreate

func (*ActionCore) GetStakeRestake added in v0.3.0

func (m *ActionCore) GetStakeRestake() *StakeRestake

func (*ActionCore) GetStakeTransferOwnership added in v0.3.0

func (m *ActionCore) GetStakeTransferOwnership() *StakeTransferOwnership

func (*ActionCore) GetStakeUnstake added in v0.3.0

func (m *ActionCore) GetStakeUnstake() *StakeReclaim

func (*ActionCore) GetStakeWithdraw added in v0.3.0

func (m *ActionCore) GetStakeWithdraw() *StakeReclaim

func (*ActionCore) GetStartSubChain

func (m *ActionCore) GetStartSubChain() *StartSubChain

func (*ActionCore) GetStopSubChain

func (m *ActionCore) GetStopSubChain() *StopSubChain

func (*ActionCore) GetTerminatePlumChain

func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain

func (*ActionCore) GetTransfer

func (m *ActionCore) GetTransfer() *Transfer

func (*ActionCore) GetVersion

func (m *ActionCore) GetVersion() uint32

func (*ActionCore) ProtoMessage

func (*ActionCore) ProtoMessage()

func (*ActionCore) Reset

func (m *ActionCore) Reset()

func (*ActionCore) String

func (m *ActionCore) String() string

func (*ActionCore) XXX_DiscardUnknown

func (m *ActionCore) XXX_DiscardUnknown()

func (*ActionCore) XXX_Marshal

func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionCore) XXX_Merge

func (m *ActionCore) XXX_Merge(src proto.Message)

func (*ActionCore) XXX_OneofWrappers

func (*ActionCore) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ActionCore) XXX_Size

func (m *ActionCore) XXX_Size() int

func (*ActionCore) XXX_Unmarshal

func (m *ActionCore) XXX_Unmarshal(b []byte) error

type ActionCore_CandidateRegister added in v0.3.0

type ActionCore_CandidateRegister struct {
	CandidateRegister *CandidateRegister `protobuf:"bytes,47,opt,name=candidateRegister,proto3,oneof"`
}

type ActionCore_CandidateUpdate added in v0.3.0

type ActionCore_CandidateUpdate struct {
	CandidateUpdate *CandidateBasicInfo `protobuf:"bytes,48,opt,name=candidateUpdate,proto3,oneof"`
}

type ActionCore_ClaimFromRewardingFund

type ActionCore_ClaimFromRewardingFund struct {
	ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}

type ActionCore_CreateDeposit

type ActionCore_CreateDeposit struct {
	CreateDeposit *CreateDeposit `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}

type ActionCore_CreatePlumChain

type ActionCore_CreatePlumChain struct {
	CreatePlumChain *CreatePlumChain `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}

type ActionCore_DepositToRewardingFund

type ActionCore_DepositToRewardingFund struct {
	DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}

type ActionCore_Execution

type ActionCore_Execution struct {
	Execution *Execution `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}

type ActionCore_GrantReward

type ActionCore_GrantReward struct {
	GrantReward *GrantReward `protobuf:"bytes,32,opt,name=grantReward,proto3,oneof"`
}

type ActionCore_PlumChallengeExit

type ActionCore_PlumChallengeExit struct {
	PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}

type ActionCore_PlumCreateDeposit

type ActionCore_PlumCreateDeposit struct {
	PlumCreateDeposit *PlumCreateDeposit `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}

type ActionCore_PlumFinalizeExit

type ActionCore_PlumFinalizeExit struct {
	PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}

type ActionCore_PlumPutBlock

type ActionCore_PlumPutBlock struct {
	PlumPutBlock *PlumPutBlock `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}

type ActionCore_PlumResponseChallengeExit

type ActionCore_PlumResponseChallengeExit struct {
	PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}

type ActionCore_PlumSettleDeposit

type ActionCore_PlumSettleDeposit struct {
	PlumSettleDeposit *PlumSettleDeposit `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}

type ActionCore_PlumStartExit

type ActionCore_PlumStartExit struct {
	PlumStartExit *PlumStartExit `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}

type ActionCore_PlumTransfer

type ActionCore_PlumTransfer struct {
	PlumTransfer *PlumTransfer `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}

type ActionCore_PutBlock

type ActionCore_PutBlock struct {
	PutBlock *PutBlock `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}

type ActionCore_PutPollResult

type ActionCore_PutPollResult struct {
	PutPollResult *PutPollResult `protobuf:"bytes,50,opt,name=putPollResult,proto3,oneof"`
}

type ActionCore_SettleDeposit

type ActionCore_SettleDeposit struct {
	SettleDeposit *SettleDeposit `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}

type ActionCore_StakeAddDeposit added in v0.3.0

type ActionCore_StakeAddDeposit struct {
	StakeAddDeposit *StakeAddDeposit `protobuf:"bytes,43,opt,name=stakeAddDeposit,proto3,oneof"`
}

type ActionCore_StakeChangeCandidate added in v0.3.0

type ActionCore_StakeChangeCandidate struct {
	StakeChangeCandidate *StakeChangeCandidate `protobuf:"bytes,45,opt,name=stakeChangeCandidate,proto3,oneof"`
}

type ActionCore_StakeCreate added in v0.3.0

type ActionCore_StakeCreate struct {
	StakeCreate *StakeCreate `protobuf:"bytes,40,opt,name=stakeCreate,proto3,oneof"`
}

type ActionCore_StakeRestake added in v0.3.0

type ActionCore_StakeRestake struct {
	StakeRestake *StakeRestake `protobuf:"bytes,44,opt,name=stakeRestake,proto3,oneof"`
}

type ActionCore_StakeTransferOwnership added in v0.3.0

type ActionCore_StakeTransferOwnership struct {
	StakeTransferOwnership *StakeTransferOwnership `protobuf:"bytes,46,opt,name=stakeTransferOwnership,proto3,oneof"`
}

type ActionCore_StakeUnstake added in v0.3.0

type ActionCore_StakeUnstake struct {
	StakeUnstake *StakeReclaim `protobuf:"bytes,41,opt,name=stakeUnstake,proto3,oneof"`
}

type ActionCore_StakeWithdraw added in v0.3.0

type ActionCore_StakeWithdraw struct {
	StakeWithdraw *StakeReclaim `protobuf:"bytes,42,opt,name=stakeWithdraw,proto3,oneof"`
}

type ActionCore_StartSubChain

type ActionCore_StartSubChain struct {
	StartSubChain *StartSubChain `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}

type ActionCore_StopSubChain

type ActionCore_StopSubChain struct {
	StopSubChain *StopSubChain `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}

type ActionCore_TerminatePlumChain

type ActionCore_TerminatePlumChain struct {
	TerminatePlumChain *TerminatePlumChain `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}

type ActionCore_Transfer

type ActionCore_Transfer struct {
	Transfer *Transfer `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}

type ActionEvmTransfer added in v0.3.0

type ActionEvmTransfer struct {
	ActionHash           []byte         `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
	NumEvmTransfers      uint64         `protobuf:"varint,2,opt,name=numEvmTransfers,proto3" json:"numEvmTransfers,omitempty"`
	EvmTransfers         []*EvmTransfer `protobuf:"bytes,3,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Deprecated

func (*ActionEvmTransfer) Descriptor added in v0.3.0

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

func (*ActionEvmTransfer) GetActionHash added in v0.3.0

func (m *ActionEvmTransfer) GetActionHash() []byte

func (*ActionEvmTransfer) GetEvmTransfers added in v0.3.0

func (m *ActionEvmTransfer) GetEvmTransfers() []*EvmTransfer

func (*ActionEvmTransfer) GetNumEvmTransfers added in v0.3.0

func (m *ActionEvmTransfer) GetNumEvmTransfers() uint64

func (*ActionEvmTransfer) ProtoMessage added in v0.3.0

func (*ActionEvmTransfer) ProtoMessage()

func (*ActionEvmTransfer) Reset added in v0.3.0

func (m *ActionEvmTransfer) Reset()

func (*ActionEvmTransfer) String added in v0.3.0

func (m *ActionEvmTransfer) String() string

func (*ActionEvmTransfer) XXX_DiscardUnknown added in v0.3.0

func (m *ActionEvmTransfer) XXX_DiscardUnknown()

func (*ActionEvmTransfer) XXX_Marshal added in v0.3.0

func (m *ActionEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionEvmTransfer) XXX_Merge added in v0.3.0

func (m *ActionEvmTransfer) XXX_Merge(src proto.Message)

func (*ActionEvmTransfer) XXX_Size added in v0.3.0

func (m *ActionEvmTransfer) XXX_Size() int

func (*ActionEvmTransfer) XXX_Unmarshal added in v0.3.0

func (m *ActionEvmTransfer) XXX_Unmarshal(b []byte) error

type Block

type Block struct {
	Header               *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Body                 *BlockBody   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Footer               *BlockFooter `protobuf:"bytes,3,opt,name=footer,proto3" json:"footer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

block consists of header followed by transactions hash of current block can be computed from header hence not stored

func (*Block) Descriptor

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

func (*Block) GetBody

func (m *Block) GetBody() *BlockBody

func (*Block) GetFooter

func (m *Block) GetFooter() *BlockFooter

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

type BlockBody

type BlockBody struct {
	Actions              []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

body of a block

func (*BlockBody) Descriptor

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

func (*BlockBody) GetActions

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

func (*BlockBody) ProtoMessage

func (*BlockBody) ProtoMessage()

func (*BlockBody) Reset

func (m *BlockBody) Reset()

func (*BlockBody) String

func (m *BlockBody) String() string

func (*BlockBody) XXX_DiscardUnknown

func (m *BlockBody) XXX_DiscardUnknown()

func (*BlockBody) XXX_Marshal

func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockBody) XXX_Merge

func (m *BlockBody) XXX_Merge(src proto.Message)

func (*BlockBody) XXX_Size

func (m *BlockBody) XXX_Size() int

func (*BlockBody) XXX_Unmarshal

func (m *BlockBody) XXX_Unmarshal(b []byte) error

type BlockEvmTransfer added in v0.3.0

type BlockEvmTransfer struct {
	BlockHeight          uint64               `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	NumEvmTransfers      uint64               `protobuf:"varint,2,opt,name=numEvmTransfers,proto3" json:"numEvmTransfers,omitempty"`
	ActionEvmTransfers   []*ActionEvmTransfer `protobuf:"bytes,3,rep,name=actionEvmTransfers,proto3" json:"actionEvmTransfers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Deprecated

func (*BlockEvmTransfer) Descriptor added in v0.3.0

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

func (*BlockEvmTransfer) GetActionEvmTransfers added in v0.3.0

func (m *BlockEvmTransfer) GetActionEvmTransfers() []*ActionEvmTransfer

func (*BlockEvmTransfer) GetBlockHeight added in v0.3.0

func (m *BlockEvmTransfer) GetBlockHeight() uint64

func (*BlockEvmTransfer) GetNumEvmTransfers added in v0.3.0

func (m *BlockEvmTransfer) GetNumEvmTransfers() uint64

func (*BlockEvmTransfer) ProtoMessage added in v0.3.0

func (*BlockEvmTransfer) ProtoMessage()

func (*BlockEvmTransfer) Reset added in v0.3.0

func (m *BlockEvmTransfer) Reset()

func (*BlockEvmTransfer) String added in v0.3.0

func (m *BlockEvmTransfer) String() string

func (*BlockEvmTransfer) XXX_DiscardUnknown added in v0.3.0

func (m *BlockEvmTransfer) XXX_DiscardUnknown()

func (*BlockEvmTransfer) XXX_Marshal added in v0.3.0

func (m *BlockEvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockEvmTransfer) XXX_Merge added in v0.3.0

func (m *BlockEvmTransfer) XXX_Merge(src proto.Message)

func (*BlockEvmTransfer) XXX_Size added in v0.3.0

func (m *BlockEvmTransfer) XXX_Size() int

func (*BlockEvmTransfer) XXX_Unmarshal added in v0.3.0

func (m *BlockEvmTransfer) XXX_Unmarshal(b []byte) error

type BlockFooter

type BlockFooter struct {
	Endorsements         []*Endorsement       `protobuf:"bytes,1,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

footer of a block

func (*BlockFooter) Descriptor

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

func (*BlockFooter) GetEndorsements

func (m *BlockFooter) GetEndorsements() []*Endorsement

func (*BlockFooter) GetTimestamp

func (m *BlockFooter) GetTimestamp() *timestamp.Timestamp

func (*BlockFooter) ProtoMessage

func (*BlockFooter) ProtoMessage()

func (*BlockFooter) Reset

func (m *BlockFooter) Reset()

func (*BlockFooter) String

func (m *BlockFooter) String() string

func (*BlockFooter) XXX_DiscardUnknown

func (m *BlockFooter) XXX_DiscardUnknown()

func (*BlockFooter) XXX_Marshal

func (m *BlockFooter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockFooter) XXX_Merge

func (m *BlockFooter) XXX_Merge(src proto.Message)

func (*BlockFooter) XXX_Size

func (m *BlockFooter) XXX_Size() int

func (*BlockFooter) XXX_Unmarshal

func (m *BlockFooter) XXX_Unmarshal(b []byte) error

type BlockHeader

type BlockHeader struct {
	Core                 *BlockHeaderCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"`
	ProducerPubkey       []byte           `protobuf:"bytes,2,opt,name=producerPubkey,proto3" json:"producerPubkey,omitempty"`
	Signature            []byte           `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

header of a block

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetCore

func (m *BlockHeader) GetCore() *BlockHeaderCore

func (*BlockHeader) GetProducerPubkey

func (m *BlockHeader) GetProducerPubkey() []byte

func (*BlockHeader) GetSignature

func (m *BlockHeader) GetSignature() []byte

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHeader) XXX_Merge

func (m *BlockHeader) XXX_Merge(src proto.Message)

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

func (m *BlockHeader) XXX_Unmarshal(b []byte) error

type BlockHeaderCore

type BlockHeaderCore struct {
	Version              uint32               `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Height               uint64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PrevBlockHash        []byte               `protobuf:"bytes,4,opt,name=prevBlockHash,proto3" json:"prevBlockHash,omitempty"`
	TxRoot               []byte               `protobuf:"bytes,5,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
	DeltaStateDigest     []byte               `protobuf:"bytes,6,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"`
	ReceiptRoot          []byte               `protobuf:"bytes,7,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
	LogsBloom            []byte               `protobuf:"bytes,8,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BlockHeaderCore) Descriptor

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

func (*BlockHeaderCore) GetDeltaStateDigest

func (m *BlockHeaderCore) GetDeltaStateDigest() []byte

func (*BlockHeaderCore) GetHeight

func (m *BlockHeaderCore) GetHeight() uint64

func (*BlockHeaderCore) GetLogsBloom added in v0.2.5

func (m *BlockHeaderCore) GetLogsBloom() []byte

func (*BlockHeaderCore) GetPrevBlockHash

func (m *BlockHeaderCore) GetPrevBlockHash() []byte

func (*BlockHeaderCore) GetReceiptRoot

func (m *BlockHeaderCore) GetReceiptRoot() []byte

func (*BlockHeaderCore) GetTimestamp

func (m *BlockHeaderCore) GetTimestamp() *timestamp.Timestamp

func (*BlockHeaderCore) GetTxRoot

func (m *BlockHeaderCore) GetTxRoot() []byte

func (*BlockHeaderCore) GetVersion

func (m *BlockHeaderCore) GetVersion() uint32

func (*BlockHeaderCore) ProtoMessage

func (*BlockHeaderCore) ProtoMessage()

func (*BlockHeaderCore) Reset

func (m *BlockHeaderCore) Reset()

func (*BlockHeaderCore) String

func (m *BlockHeaderCore) String() string

func (*BlockHeaderCore) XXX_DiscardUnknown

func (m *BlockHeaderCore) XXX_DiscardUnknown()

func (*BlockHeaderCore) XXX_Marshal

func (m *BlockHeaderCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHeaderCore) XXX_Merge

func (m *BlockHeaderCore) XXX_Merge(src proto.Message)

func (*BlockHeaderCore) XXX_Size

func (m *BlockHeaderCore) XXX_Size() int

func (*BlockHeaderCore) XXX_Unmarshal

func (m *BlockHeaderCore) XXX_Unmarshal(b []byte) error

type BlockIdentifier added in v0.3.1

type BlockIdentifier struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BlockIdentifier Metadata

func (*BlockIdentifier) Descriptor added in v0.3.1

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

func (*BlockIdentifier) GetHash added in v0.3.1

func (m *BlockIdentifier) GetHash() string

func (*BlockIdentifier) GetHeight added in v0.3.1

func (m *BlockIdentifier) GetHeight() uint64

func (*BlockIdentifier) ProtoMessage added in v0.3.1

func (*BlockIdentifier) ProtoMessage()

func (*BlockIdentifier) Reset added in v0.3.1

func (m *BlockIdentifier) Reset()

func (*BlockIdentifier) String added in v0.3.1

func (m *BlockIdentifier) String() string

func (*BlockIdentifier) XXX_DiscardUnknown added in v0.3.1

func (m *BlockIdentifier) XXX_DiscardUnknown()

func (*BlockIdentifier) XXX_Marshal added in v0.3.1

func (m *BlockIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockIdentifier) XXX_Merge added in v0.3.1

func (m *BlockIdentifier) XXX_Merge(src proto.Message)

func (*BlockIdentifier) XXX_Size added in v0.3.1

func (m *BlockIdentifier) XXX_Size() int

func (*BlockIdentifier) XXX_Unmarshal added in v0.3.1

func (m *BlockIdentifier) XXX_Unmarshal(b []byte) error

type BlockMeta

type BlockMeta struct {
	Hash                 string               `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height               uint64               `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NumActions           int64                `protobuf:"varint,4,opt,name=numActions,proto3" json:"numActions,omitempty"`
	ProducerAddress      string               `protobuf:"bytes,5,opt,name=producerAddress,proto3" json:"producerAddress,omitempty"`
	TransferAmount       string               `protobuf:"bytes,6,opt,name=transferAmount,proto3" json:"transferAmount,omitempty"`
	TxRoot               string               `protobuf:"bytes,7,opt,name=txRoot,proto3" json:"txRoot,omitempty"`
	ReceiptRoot          string               `protobuf:"bytes,8,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
	DeltaStateDigest     string               `protobuf:"bytes,9,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"`
	LogsBloom            string               `protobuf:"bytes,10,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Block Metadata

func (*BlockMeta) Descriptor

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

func (*BlockMeta) GetDeltaStateDigest

func (m *BlockMeta) GetDeltaStateDigest() string

func (*BlockMeta) GetHash

func (m *BlockMeta) GetHash() string

func (*BlockMeta) GetHeight

func (m *BlockMeta) GetHeight() uint64

func (*BlockMeta) GetLogsBloom added in v0.2.5

func (m *BlockMeta) GetLogsBloom() string

func (*BlockMeta) GetNumActions

func (m *BlockMeta) GetNumActions() int64

func (*BlockMeta) GetProducerAddress

func (m *BlockMeta) GetProducerAddress() string

func (*BlockMeta) GetReceiptRoot

func (m *BlockMeta) GetReceiptRoot() string

func (*BlockMeta) GetTimestamp

func (m *BlockMeta) GetTimestamp() *timestamp.Timestamp

func (*BlockMeta) GetTransferAmount

func (m *BlockMeta) GetTransferAmount() string

func (*BlockMeta) GetTxRoot

func (m *BlockMeta) GetTxRoot() string

func (*BlockMeta) ProtoMessage

func (*BlockMeta) ProtoMessage()

func (*BlockMeta) Reset

func (m *BlockMeta) Reset()

func (*BlockMeta) String

func (m *BlockMeta) String() string

func (*BlockMeta) XXX_DiscardUnknown

func (m *BlockMeta) XXX_DiscardUnknown()

func (*BlockMeta) XXX_Marshal

func (m *BlockMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockMeta) XXX_Merge

func (m *BlockMeta) XXX_Merge(src proto.Message)

func (*BlockMeta) XXX_Size

func (m *BlockMeta) XXX_Size() int

func (*BlockMeta) XXX_Unmarshal

func (m *BlockMeta) XXX_Unmarshal(b []byte) error

type BlockProposal

type BlockProposal struct {
	Block                *Block         `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Endorsements         []*Endorsement `protobuf:"bytes,2,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*BlockProposal) Descriptor

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

func (*BlockProposal) GetBlock

func (m *BlockProposal) GetBlock() *Block

func (*BlockProposal) GetEndorsements

func (m *BlockProposal) GetEndorsements() []*Endorsement

func (*BlockProposal) ProtoMessage

func (*BlockProposal) ProtoMessage()

func (*BlockProposal) Reset

func (m *BlockProposal) Reset()

func (*BlockProposal) String

func (m *BlockProposal) String() string

func (*BlockProposal) XXX_DiscardUnknown

func (m *BlockProposal) XXX_DiscardUnknown()

func (*BlockProposal) XXX_Marshal

func (m *BlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockProposal) XXX_Merge

func (m *BlockProposal) XXX_Merge(src proto.Message)

func (*BlockProposal) XXX_Size

func (m *BlockProposal) XXX_Size() int

func (*BlockProposal) XXX_Unmarshal

func (m *BlockProposal) XXX_Unmarshal(b []byte) error

type 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketsCount) Descriptor added in v0.3.2

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

func (*BucketsCount) GetActive added in v0.3.2

func (m *BucketsCount) GetActive() uint64

func (*BucketsCount) GetTotal added in v0.3.2

func (m *BucketsCount) GetTotal() uint64

func (*BucketsCount) ProtoMessage added in v0.3.2

func (*BucketsCount) ProtoMessage()

func (*BucketsCount) Reset added in v0.3.2

func (m *BucketsCount) Reset()

func (*BucketsCount) String added in v0.3.2

func (m *BucketsCount) String() string

func (*BucketsCount) XXX_DiscardUnknown added in v0.3.2

func (m *BucketsCount) XXX_DiscardUnknown()

func (*BucketsCount) XXX_Marshal added in v0.3.2

func (m *BucketsCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BucketsCount) XXX_Merge added in v0.3.2

func (m *BucketsCount) XXX_Merge(src proto.Message)

func (*BucketsCount) XXX_Size added in v0.3.2

func (m *BucketsCount) XXX_Size() int

func (*BucketsCount) XXX_Unmarshal added in v0.3.2

func (m *BucketsCount) XXX_Unmarshal(b []byte) error

type Candidate

type Candidate struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Votes                []byte   `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
	PubKey               []byte   `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	RewardAddress        string   `protobuf:"bytes,4,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Candidates and list of candidates

func (*Candidate) Descriptor

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

func (*Candidate) GetAddress

func (m *Candidate) GetAddress() string

func (*Candidate) GetPubKey

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

func (*Candidate) GetRewardAddress

func (m *Candidate) GetRewardAddress() string

func (*Candidate) GetVotes

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

func (*Candidate) ProtoMessage

func (*Candidate) ProtoMessage()

func (*Candidate) Reset

func (m *Candidate) Reset()

func (*Candidate) String

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal

func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Candidate) XXX_Merge

func (m *Candidate) XXX_Merge(src proto.Message)

func (*Candidate) XXX_Size

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal

func (m *Candidate) XXX_Unmarshal(b []byte) error

type CandidateBasicInfo added in v0.3.0

type CandidateBasicInfo struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OperatorAddress      string   `protobuf:"bytes,2,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"`
	RewardAddress        string   `protobuf:"bytes,3,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CandidateBasicInfo) Descriptor added in v0.3.0

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

func (*CandidateBasicInfo) GetName added in v0.3.0

func (m *CandidateBasicInfo) GetName() string

func (*CandidateBasicInfo) GetOperatorAddress added in v0.3.0

func (m *CandidateBasicInfo) GetOperatorAddress() string

func (*CandidateBasicInfo) GetRewardAddress added in v0.3.0

func (m *CandidateBasicInfo) GetRewardAddress() string

func (*CandidateBasicInfo) ProtoMessage added in v0.3.0

func (*CandidateBasicInfo) ProtoMessage()

func (*CandidateBasicInfo) Reset added in v0.3.0

func (m *CandidateBasicInfo) Reset()

func (*CandidateBasicInfo) String added in v0.3.0

func (m *CandidateBasicInfo) String() string

func (*CandidateBasicInfo) XXX_DiscardUnknown added in v0.3.0

func (m *CandidateBasicInfo) XXX_DiscardUnknown()

func (*CandidateBasicInfo) XXX_Marshal added in v0.3.0

func (m *CandidateBasicInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateBasicInfo) XXX_Merge added in v0.3.0

func (m *CandidateBasicInfo) XXX_Merge(src proto.Message)

func (*CandidateBasicInfo) XXX_Size added in v0.3.0

func (m *CandidateBasicInfo) XXX_Size() int

func (*CandidateBasicInfo) XXX_Unmarshal added in v0.3.0

func (m *CandidateBasicInfo) XXX_Unmarshal(b []byte) error

type CandidateList

type CandidateList struct {
	Candidates           []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CandidateList) Descriptor

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

func (*CandidateList) GetCandidates

func (m *CandidateList) GetCandidates() []*Candidate

func (*CandidateList) ProtoMessage

func (*CandidateList) ProtoMessage()

func (*CandidateList) Reset

func (m *CandidateList) Reset()

func (*CandidateList) String

func (m *CandidateList) String() string

func (*CandidateList) XXX_DiscardUnknown

func (m *CandidateList) XXX_DiscardUnknown()

func (*CandidateList) XXX_Marshal

func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateList) XXX_Merge

func (m *CandidateList) XXX_Merge(src proto.Message)

func (*CandidateList) XXX_Size

func (m *CandidateList) XXX_Size() int

func (*CandidateList) XXX_Unmarshal

func (m *CandidateList) XXX_Unmarshal(b []byte) error

type CandidateListV2 added in v0.3.0

type CandidateListV2 struct {
	Candidates           []*CandidateV2 `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CandidateListV2) Descriptor added in v0.3.0

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

func (*CandidateListV2) GetCandidates added in v0.3.0

func (m *CandidateListV2) GetCandidates() []*CandidateV2

func (*CandidateListV2) ProtoMessage added in v0.3.0

func (*CandidateListV2) ProtoMessage()

func (*CandidateListV2) Reset added in v0.3.0

func (m *CandidateListV2) Reset()

func (*CandidateListV2) String added in v0.3.0

func (m *CandidateListV2) String() string

func (*CandidateListV2) XXX_DiscardUnknown added in v0.3.0

func (m *CandidateListV2) XXX_DiscardUnknown()

func (*CandidateListV2) XXX_Marshal added in v0.3.0

func (m *CandidateListV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateListV2) XXX_Merge added in v0.3.0

func (m *CandidateListV2) XXX_Merge(src proto.Message)

func (*CandidateListV2) XXX_Size added in v0.3.0

func (m *CandidateListV2) XXX_Size() int

func (*CandidateListV2) XXX_Unmarshal added in v0.3.0

func (m *CandidateListV2) XXX_Unmarshal(b []byte) error

type CandidateRegister added in v0.3.0

type CandidateRegister struct {
	Candidate            *CandidateBasicInfo `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"`
	StakedAmount         string              `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
	StakedDuration       uint32              `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	AutoStake            bool                `protobuf:"varint,4,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	OwnerAddress         string              `protobuf:"bytes,5,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"`
	Payload              []byte              `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*CandidateRegister) Descriptor added in v0.3.0

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

func (*CandidateRegister) GetAutoStake added in v0.3.0

func (m *CandidateRegister) GetAutoStake() bool

func (*CandidateRegister) GetCandidate added in v0.3.0

func (m *CandidateRegister) GetCandidate() *CandidateBasicInfo

func (*CandidateRegister) GetOwnerAddress added in v0.3.0

func (m *CandidateRegister) GetOwnerAddress() string

func (*CandidateRegister) GetPayload added in v0.3.0

func (m *CandidateRegister) GetPayload() []byte

func (*CandidateRegister) GetStakedAmount added in v0.3.0

func (m *CandidateRegister) GetStakedAmount() string

func (*CandidateRegister) GetStakedDuration added in v0.3.0

func (m *CandidateRegister) GetStakedDuration() uint32

func (*CandidateRegister) ProtoMessage added in v0.3.0

func (*CandidateRegister) ProtoMessage()

func (*CandidateRegister) Reset added in v0.3.0

func (m *CandidateRegister) Reset()

func (*CandidateRegister) String added in v0.3.0

func (m *CandidateRegister) String() string

func (*CandidateRegister) XXX_DiscardUnknown added in v0.3.0

func (m *CandidateRegister) XXX_DiscardUnknown()

func (*CandidateRegister) XXX_Marshal added in v0.3.0

func (m *CandidateRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateRegister) XXX_Merge added in v0.3.0

func (m *CandidateRegister) XXX_Merge(src proto.Message)

func (*CandidateRegister) XXX_Size added in v0.3.0

func (m *CandidateRegister) XXX_Size() int

func (*CandidateRegister) XXX_Unmarshal added in v0.3.0

func (m *CandidateRegister) XXX_Unmarshal(b []byte) error

type CandidateV2 added in v0.3.0

type CandidateV2 struct {
	OwnerAddress         string   `protobuf:"bytes,1,opt,name=ownerAddress,proto3" json:"ownerAddress,omitempty"`
	OperatorAddress      string   `protobuf:"bytes,2,opt,name=operatorAddress,proto3" json:"operatorAddress,omitempty"`
	RewardAddress        string   `protobuf:"bytes,3,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	TotalWeightedVotes   string   `protobuf:"bytes,5,opt,name=totalWeightedVotes,proto3" json:"totalWeightedVotes,omitempty"`
	SelfStakeBucketIdx   uint64   `protobuf:"varint,6,opt,name=selfStakeBucketIdx,proto3" json:"selfStakeBucketIdx,omitempty"`
	SelfStakingTokens    string   `protobuf:"bytes,7,opt,name=selfStakingTokens,proto3" json:"selfStakingTokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CandidateV2) Descriptor added in v0.3.0

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

func (*CandidateV2) GetName added in v0.3.0

func (m *CandidateV2) GetName() string

func (*CandidateV2) GetOperatorAddress added in v0.3.0

func (m *CandidateV2) GetOperatorAddress() string

func (*CandidateV2) GetOwnerAddress added in v0.3.0

func (m *CandidateV2) GetOwnerAddress() string

func (*CandidateV2) GetRewardAddress added in v0.3.0

func (m *CandidateV2) GetRewardAddress() string

func (*CandidateV2) GetSelfStakeBucketIdx added in v0.3.0

func (m *CandidateV2) GetSelfStakeBucketIdx() uint64

func (*CandidateV2) GetSelfStakingTokens added in v0.3.0

func (m *CandidateV2) GetSelfStakingTokens() string

func (*CandidateV2) GetTotalWeightedVotes added in v0.3.0

func (m *CandidateV2) GetTotalWeightedVotes() string

func (*CandidateV2) ProtoMessage added in v0.3.0

func (*CandidateV2) ProtoMessage()

func (*CandidateV2) Reset added in v0.3.0

func (m *CandidateV2) Reset()

func (*CandidateV2) String added in v0.3.0

func (m *CandidateV2) String() string

func (*CandidateV2) XXX_DiscardUnknown added in v0.3.0

func (m *CandidateV2) XXX_DiscardUnknown()

func (*CandidateV2) XXX_Marshal added in v0.3.0

func (m *CandidateV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CandidateV2) XXX_Merge added in v0.3.0

func (m *CandidateV2) XXX_Merge(src proto.Message)

func (*CandidateV2) XXX_Size added in v0.3.0

func (m *CandidateV2) XXX_Size() int

func (*CandidateV2) XXX_Unmarshal added in v0.3.0

func (m *CandidateV2) XXX_Unmarshal(b []byte) error

type ChainMeta

type ChainMeta struct {
	Height               uint64     `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	NumActions           int64      `protobuf:"varint,2,opt,name=numActions,proto3" json:"numActions,omitempty"`
	Tps                  int64      `protobuf:"varint,3,opt,name=tps,proto3" json:"tps,omitempty"`
	Epoch                *EpochData `protobuf:"bytes,4,opt,name=epoch,proto3" json:"epoch,omitempty"`
	TpsFloat             float32    `protobuf:"fixed32,5,opt,name=tpsFloat,proto3" json:"tpsFloat,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Blockchain Metadata

func (*ChainMeta) Descriptor

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

func (*ChainMeta) GetEpoch

func (m *ChainMeta) GetEpoch() *EpochData

func (*ChainMeta) GetHeight

func (m *ChainMeta) GetHeight() uint64

func (*ChainMeta) GetNumActions

func (m *ChainMeta) GetNumActions() int64

func (*ChainMeta) GetTps

func (m *ChainMeta) GetTps() int64

func (*ChainMeta) GetTpsFloat added in v0.2.5

func (m *ChainMeta) GetTpsFloat() float32

func (*ChainMeta) ProtoMessage

func (*ChainMeta) ProtoMessage()

func (*ChainMeta) Reset

func (m *ChainMeta) Reset()

func (*ChainMeta) String

func (m *ChainMeta) String() string

func (*ChainMeta) XXX_DiscardUnknown

func (m *ChainMeta) XXX_DiscardUnknown()

func (*ChainMeta) XXX_Marshal

func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainMeta) XXX_Merge

func (m *ChainMeta) XXX_Merge(src proto.Message)

func (*ChainMeta) XXX_Size

func (m *ChainMeta) XXX_Size() int

func (*ChainMeta) XXX_Unmarshal

func (m *ChainMeta) XXX_Unmarshal(b []byte) error

type ClaimFromRewardingFund

type ClaimFromRewardingFund struct {
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClaimFromRewardingFund) Descriptor

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

func (*ClaimFromRewardingFund) GetAmount

func (m *ClaimFromRewardingFund) GetAmount() string

func (*ClaimFromRewardingFund) GetData

func (m *ClaimFromRewardingFund) GetData() []byte

func (*ClaimFromRewardingFund) ProtoMessage

func (*ClaimFromRewardingFund) ProtoMessage()

func (*ClaimFromRewardingFund) Reset

func (m *ClaimFromRewardingFund) Reset()

func (*ClaimFromRewardingFund) String

func (m *ClaimFromRewardingFund) String() string

func (*ClaimFromRewardingFund) XXX_DiscardUnknown

func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()

func (*ClaimFromRewardingFund) XXX_Marshal

func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimFromRewardingFund) XXX_Merge

func (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message)

func (*ClaimFromRewardingFund) XXX_Size

func (m *ClaimFromRewardingFund) XXX_Size() int

func (*ClaimFromRewardingFund) XXX_Unmarshal

func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error

type ConsensusMessage

type ConsensusMessage struct {
	Height      uint64       `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Endorsement *Endorsement `protobuf:"bytes,2,opt,name=endorsement,proto3" json:"endorsement,omitempty"`
	// Types that are valid to be assigned to Msg:
	//	*ConsensusMessage_BlockProposal
	//	*ConsensusMessage_Vote
	Msg                  isConsensusMessage_Msg `protobuf_oneof:"msg"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ConsensusMessage) Descriptor

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

func (*ConsensusMessage) GetBlockProposal

func (m *ConsensusMessage) GetBlockProposal() *BlockProposal

func (*ConsensusMessage) GetEndorsement

func (m *ConsensusMessage) GetEndorsement() *Endorsement

func (*ConsensusMessage) GetHeight

func (m *ConsensusMessage) GetHeight() uint64

func (*ConsensusMessage) GetMsg

func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg

func (*ConsensusMessage) GetVote

func (m *ConsensusMessage) GetVote() *ConsensusVote

func (*ConsensusMessage) ProtoMessage

func (*ConsensusMessage) ProtoMessage()

func (*ConsensusMessage) Reset

func (m *ConsensusMessage) Reset()

func (*ConsensusMessage) String

func (m *ConsensusMessage) String() string

func (*ConsensusMessage) XXX_DiscardUnknown

func (m *ConsensusMessage) XXX_DiscardUnknown()

func (*ConsensusMessage) XXX_Marshal

func (m *ConsensusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusMessage) XXX_Merge

func (m *ConsensusMessage) XXX_Merge(src proto.Message)

func (*ConsensusMessage) XXX_OneofWrappers

func (*ConsensusMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConsensusMessage) XXX_Size

func (m *ConsensusMessage) XXX_Size() int

func (*ConsensusMessage) XXX_Unmarshal

func (m *ConsensusMessage) XXX_Unmarshal(b []byte) error

type ConsensusMessage_BlockProposal

type ConsensusMessage_BlockProposal struct {
	BlockProposal *BlockProposal `protobuf:"bytes,100,opt,name=blockProposal,proto3,oneof"`
}

type ConsensusMessage_Vote

type ConsensusMessage_Vote struct {
	Vote *ConsensusVote `protobuf:"bytes,101,opt,name=vote,proto3,oneof"`
}

type ConsensusVote

type ConsensusVote struct {
	BlockHash            []byte              `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Topic                ConsensusVote_Topic `protobuf:"varint,2,opt,name=topic,proto3,enum=iotextypes.ConsensusVote_Topic" json:"topic,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ConsensusVote) Descriptor

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

func (*ConsensusVote) GetBlockHash

func (m *ConsensusVote) GetBlockHash() []byte

func (*ConsensusVote) GetTopic

func (m *ConsensusVote) GetTopic() ConsensusVote_Topic

func (*ConsensusVote) ProtoMessage

func (*ConsensusVote) ProtoMessage()

func (*ConsensusVote) Reset

func (m *ConsensusVote) Reset()

func (*ConsensusVote) String

func (m *ConsensusVote) String() string

func (*ConsensusVote) XXX_DiscardUnknown

func (m *ConsensusVote) XXX_DiscardUnknown()

func (*ConsensusVote) XXX_Marshal

func (m *ConsensusVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusVote) XXX_Merge

func (m *ConsensusVote) XXX_Merge(src proto.Message)

func (*ConsensusVote) XXX_Size

func (m *ConsensusVote) XXX_Size() int

func (*ConsensusVote) XXX_Unmarshal

func (m *ConsensusVote) XXX_Unmarshal(b []byte) error

type ConsensusVote_Topic

type ConsensusVote_Topic int32
const (
	ConsensusVote_PROPOSAL ConsensusVote_Topic = 0
	ConsensusVote_LOCK     ConsensusVote_Topic = 1
	ConsensusVote_COMMIT   ConsensusVote_Topic = 2
)

func (ConsensusVote_Topic) EnumDescriptor

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

func (ConsensusVote_Topic) String

func (x ConsensusVote_Topic) String() string

type CreateDeposit

type CreateDeposit struct {
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Amount               string   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateDeposit) Descriptor

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

func (*CreateDeposit) GetAmount

func (m *CreateDeposit) GetAmount() string

func (*CreateDeposit) GetChainID

func (m *CreateDeposit) GetChainID() uint32

func (*CreateDeposit) GetRecipient

func (m *CreateDeposit) GetRecipient() string

func (*CreateDeposit) ProtoMessage

func (*CreateDeposit) ProtoMessage()

func (*CreateDeposit) Reset

func (m *CreateDeposit) Reset()

func (*CreateDeposit) String

func (m *CreateDeposit) String() string

func (*CreateDeposit) XXX_DiscardUnknown

func (m *CreateDeposit) XXX_DiscardUnknown()

func (*CreateDeposit) XXX_Marshal

func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDeposit) XXX_Merge

func (m *CreateDeposit) XXX_Merge(src proto.Message)

func (*CreateDeposit) XXX_Size

func (m *CreateDeposit) XXX_Size() int

func (*CreateDeposit) XXX_Unmarshal

func (m *CreateDeposit) XXX_Unmarshal(b []byte) error

type CreatePlumChain

type CreatePlumChain struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

plum main chain APIs

func (*CreatePlumChain) Descriptor

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

func (*CreatePlumChain) ProtoMessage

func (*CreatePlumChain) ProtoMessage()

func (*CreatePlumChain) Reset

func (m *CreatePlumChain) Reset()

func (*CreatePlumChain) String

func (m *CreatePlumChain) String() string

func (*CreatePlumChain) XXX_DiscardUnknown

func (m *CreatePlumChain) XXX_DiscardUnknown()

func (*CreatePlumChain) XXX_Marshal

func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreatePlumChain) XXX_Merge

func (m *CreatePlumChain) XXX_Merge(src proto.Message)

func (*CreatePlumChain) XXX_Size

func (m *CreatePlumChain) XXX_Size() int

func (*CreatePlumChain) XXX_Unmarshal

func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error

type DepositToRewardingFund

type DepositToRewardingFund struct {
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DepositToRewardingFund) Descriptor

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

func (*DepositToRewardingFund) GetAmount

func (m *DepositToRewardingFund) GetAmount() string

func (*DepositToRewardingFund) GetData

func (m *DepositToRewardingFund) GetData() []byte

func (*DepositToRewardingFund) ProtoMessage

func (*DepositToRewardingFund) ProtoMessage()

func (*DepositToRewardingFund) Reset

func (m *DepositToRewardingFund) Reset()

func (*DepositToRewardingFund) String

func (m *DepositToRewardingFund) String() string

func (*DepositToRewardingFund) XXX_DiscardUnknown

func (m *DepositToRewardingFund) XXX_DiscardUnknown()

func (*DepositToRewardingFund) XXX_Marshal

func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositToRewardingFund) XXX_Merge

func (m *DepositToRewardingFund) XXX_Merge(src proto.Message)

func (*DepositToRewardingFund) XXX_Size

func (m *DepositToRewardingFund) XXX_Size() int

func (*DepositToRewardingFund) XXX_Unmarshal

func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error

type ElectionBucket added in v0.2.5

type ElectionBucket struct {
	Voter                []byte               `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
	Candidate            []byte               `protobuf:"bytes,2,opt,name=candidate,proto3" json:"candidate,omitempty"`
	Amount               []byte               `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	StartTime            *timestamp.Timestamp `protobuf:"bytes,4,opt,name=startTime,proto3" json:"startTime,omitempty"`
	Duration             *duration.Duration   `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
	Decay                bool                 `protobuf:"varint,6,opt,name=decay,proto3" json:"decay,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ElectionBucket) Descriptor added in v0.2.5

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

func (*ElectionBucket) GetAmount added in v0.2.5

func (m *ElectionBucket) GetAmount() []byte

func (*ElectionBucket) GetCandidate added in v0.2.5

func (m *ElectionBucket) GetCandidate() []byte

func (*ElectionBucket) GetDecay added in v0.2.5

func (m *ElectionBucket) GetDecay() bool

func (*ElectionBucket) GetDuration added in v0.2.5

func (m *ElectionBucket) GetDuration() *duration.Duration

func (*ElectionBucket) GetStartTime added in v0.2.5

func (m *ElectionBucket) GetStartTime() *timestamp.Timestamp

func (*ElectionBucket) GetVoter added in v0.2.5

func (m *ElectionBucket) GetVoter() []byte

func (*ElectionBucket) ProtoMessage added in v0.2.5

func (*ElectionBucket) ProtoMessage()

func (*ElectionBucket) Reset added in v0.2.5

func (m *ElectionBucket) Reset()

func (*ElectionBucket) String added in v0.2.5

func (m *ElectionBucket) String() string

func (*ElectionBucket) XXX_DiscardUnknown added in v0.2.5

func (m *ElectionBucket) XXX_DiscardUnknown()

func (*ElectionBucket) XXX_Marshal added in v0.2.5

func (m *ElectionBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElectionBucket) XXX_Merge added in v0.2.5

func (m *ElectionBucket) XXX_Merge(src proto.Message)

func (*ElectionBucket) XXX_Size added in v0.2.5

func (m *ElectionBucket) XXX_Size() int

func (*ElectionBucket) XXX_Unmarshal added in v0.2.5

func (m *ElectionBucket) XXX_Unmarshal(b []byte) error

type Endorsement

type Endorsement struct {
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Endorser             []byte               `protobuf:"bytes,2,opt,name=endorser,proto3" json:"endorser,omitempty"`
	Signature            []byte               `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Endorsement) Descriptor

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

func (*Endorsement) GetEndorser

func (m *Endorsement) GetEndorser() []byte

func (*Endorsement) GetSignature

func (m *Endorsement) GetSignature() []byte

func (*Endorsement) GetTimestamp

func (m *Endorsement) GetTimestamp() *timestamp.Timestamp

func (*Endorsement) ProtoMessage

func (*Endorsement) ProtoMessage()

func (*Endorsement) Reset

func (m *Endorsement) Reset()

func (*Endorsement) String

func (m *Endorsement) String() string

func (*Endorsement) XXX_DiscardUnknown

func (m *Endorsement) XXX_DiscardUnknown()

func (*Endorsement) XXX_Marshal

func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Endorsement) XXX_Merge

func (m *Endorsement) XXX_Merge(src proto.Message)

func (*Endorsement) XXX_Size

func (m *Endorsement) XXX_Size() int

func (*Endorsement) XXX_Unmarshal

func (m *Endorsement) XXX_Unmarshal(b []byte) error

type EpochData

type EpochData struct {
	Num                     uint64   `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	Height                  uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	GravityChainStartHeight uint64   `protobuf:"varint,3,opt,name=gravityChainStartHeight,proto3" json:"gravityChainStartHeight,omitempty"`
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

func (*EpochData) Descriptor

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

func (*EpochData) GetGravityChainStartHeight

func (m *EpochData) GetGravityChainStartHeight() uint64

func (*EpochData) GetHeight

func (m *EpochData) GetHeight() uint64

func (*EpochData) GetNum

func (m *EpochData) GetNum() uint64

func (*EpochData) ProtoMessage

func (*EpochData) ProtoMessage()

func (*EpochData) Reset

func (m *EpochData) Reset()

func (*EpochData) String

func (m *EpochData) String() string

func (*EpochData) XXX_DiscardUnknown

func (m *EpochData) XXX_DiscardUnknown()

func (*EpochData) XXX_Marshal

func (m *EpochData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EpochData) XXX_Merge

func (m *EpochData) XXX_Merge(src proto.Message)

func (*EpochData) XXX_Size

func (m *EpochData) XXX_Size() int

func (*EpochData) XXX_Unmarshal

func (m *EpochData) XXX_Unmarshal(b []byte) error

type EvmTransfer added in v0.3.0

type EvmTransfer struct {
	Amount               []byte   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	From                 string   `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To                   string   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated

func (*EvmTransfer) Descriptor added in v0.3.0

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

func (*EvmTransfer) GetAmount added in v0.3.0

func (m *EvmTransfer) GetAmount() []byte

func (*EvmTransfer) GetFrom added in v0.3.0

func (m *EvmTransfer) GetFrom() string

func (*EvmTransfer) GetTo added in v0.3.0

func (m *EvmTransfer) GetTo() string

func (*EvmTransfer) ProtoMessage added in v0.3.0

func (*EvmTransfer) ProtoMessage()

func (*EvmTransfer) Reset added in v0.3.0

func (m *EvmTransfer) Reset()

func (*EvmTransfer) String added in v0.3.0

func (m *EvmTransfer) String() string

func (*EvmTransfer) XXX_DiscardUnknown added in v0.3.0

func (m *EvmTransfer) XXX_DiscardUnknown()

func (*EvmTransfer) XXX_Marshal added in v0.3.0

func (m *EvmTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvmTransfer) XXX_Merge added in v0.3.0

func (m *EvmTransfer) XXX_Merge(src proto.Message)

func (*EvmTransfer) XXX_Size added in v0.3.0

func (m *EvmTransfer) XXX_Size() int

func (*EvmTransfer) XXX_Unmarshal added in v0.3.0

func (m *EvmTransfer) XXX_Unmarshal(b []byte) error

type EvmTransferList added in v0.3.0

type EvmTransferList struct {
	EvmTransfers         []*EvmTransfer `protobuf:"bytes,1,rep,name=evmTransfers,proto3" json:"evmTransfers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Deprecated

func (*EvmTransferList) Descriptor added in v0.3.0

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

func (*EvmTransferList) GetEvmTransfers added in v0.3.0

func (m *EvmTransferList) GetEvmTransfers() []*EvmTransfer

func (*EvmTransferList) ProtoMessage added in v0.3.0

func (*EvmTransferList) ProtoMessage()

func (*EvmTransferList) Reset added in v0.3.0

func (m *EvmTransferList) Reset()

func (*EvmTransferList) String added in v0.3.0

func (m *EvmTransferList) String() string

func (*EvmTransferList) XXX_DiscardUnknown added in v0.3.0

func (m *EvmTransferList) XXX_DiscardUnknown()

func (*EvmTransferList) XXX_Marshal added in v0.3.0

func (m *EvmTransferList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvmTransferList) XXX_Merge added in v0.3.0

func (m *EvmTransferList) XXX_Merge(src proto.Message)

func (*EvmTransferList) XXX_Size added in v0.3.0

func (m *EvmTransferList) XXX_Size() int

func (*EvmTransferList) XXX_Unmarshal added in v0.3.0

func (m *EvmTransferList) XXX_Unmarshal(b []byte) error

type Execution

type Execution struct {
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Contract             string   `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Execution) Descriptor

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

func (*Execution) GetAmount

func (m *Execution) GetAmount() string

func (*Execution) GetContract

func (m *Execution) GetContract() string

func (*Execution) GetData

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

func (*Execution) ProtoMessage

func (*Execution) ProtoMessage()

func (*Execution) Reset

func (m *Execution) Reset()

func (*Execution) String

func (m *Execution) String() string

func (*Execution) XXX_DiscardUnknown

func (m *Execution) XXX_DiscardUnknown()

func (*Execution) XXX_Marshal

func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Execution) XXX_Merge

func (m *Execution) XXX_Merge(src proto.Message)

func (*Execution) XXX_Size

func (m *Execution) XXX_Size() int

func (*Execution) XXX_Unmarshal

func (m *Execution) XXX_Unmarshal(b []byte) error

type Genesis

type Genesis struct {
	Blockchain           *GenesisBlockchain `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"`
	Account              *GenesisAccount    `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Poll                 *GenesisPoll       `protobuf:"bytes,3,opt,name=poll,proto3" json:"poll,omitempty"`
	Rewarding            *GenesisRewarding  `protobuf:"bytes,4,opt,name=rewarding,proto3" json:"rewarding,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Genesis) Descriptor

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

func (*Genesis) GetAccount

func (m *Genesis) GetAccount() *GenesisAccount

func (*Genesis) GetBlockchain

func (m *Genesis) GetBlockchain() *GenesisBlockchain

func (*Genesis) GetPoll

func (m *Genesis) GetPoll() *GenesisPoll

func (*Genesis) GetRewarding

func (m *Genesis) GetRewarding() *GenesisRewarding

func (*Genesis) ProtoMessage

func (*Genesis) ProtoMessage()

func (*Genesis) Reset

func (m *Genesis) Reset()

func (*Genesis) String

func (m *Genesis) String() string

func (*Genesis) XXX_DiscardUnknown

func (m *Genesis) XXX_DiscardUnknown()

func (*Genesis) XXX_Marshal

func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Genesis) XXX_Merge

func (m *Genesis) XXX_Merge(src proto.Message)

func (*Genesis) XXX_Size

func (m *Genesis) XXX_Size() int

func (*Genesis) XXX_Unmarshal

func (m *Genesis) XXX_Unmarshal(b []byte) error

type GenesisAccount

type GenesisAccount struct {
	InitBalanceAddrs     []string `protobuf:"bytes,1,rep,name=initBalanceAddrs,proto3" json:"initBalanceAddrs,omitempty"`
	InitBalances         []string `protobuf:"bytes,2,rep,name=initBalances,proto3" json:"initBalances,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenesisAccount) Descriptor

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

func (*GenesisAccount) GetInitBalanceAddrs

func (m *GenesisAccount) GetInitBalanceAddrs() []string

func (*GenesisAccount) GetInitBalances

func (m *GenesisAccount) GetInitBalances() []string

func (*GenesisAccount) ProtoMessage

func (*GenesisAccount) ProtoMessage()

func (*GenesisAccount) Reset

func (m *GenesisAccount) Reset()

func (*GenesisAccount) String

func (m *GenesisAccount) String() string

func (*GenesisAccount) XXX_DiscardUnknown

func (m *GenesisAccount) XXX_DiscardUnknown()

func (*GenesisAccount) XXX_Marshal

func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisAccount) XXX_Merge

func (m *GenesisAccount) XXX_Merge(src proto.Message)

func (*GenesisAccount) XXX_Size

func (m *GenesisAccount) XXX_Size() int

func (*GenesisAccount) XXX_Unmarshal

func (m *GenesisAccount) XXX_Unmarshal(b []byte) error

type GenesisBlockchain

type GenesisBlockchain struct {
	Timestamp             int64    `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BlockGasLimit         uint64   `protobuf:"varint,2,opt,name=blockGasLimit,proto3" json:"blockGasLimit,omitempty"`
	ActionGasLimit        uint64   `protobuf:"varint,3,opt,name=actionGasLimit,proto3" json:"actionGasLimit,omitempty"`
	BlockInterval         int64    `protobuf:"varint,4,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
	NumSubEpochs          uint64   `protobuf:"varint,5,opt,name=numSubEpochs,proto3" json:"numSubEpochs,omitempty"`
	NumDelegates          uint64   `protobuf:"varint,6,opt,name=numDelegates,proto3" json:"numDelegates,omitempty"`
	NumCandidateDelegates uint64   `protobuf:"varint,7,opt,name=numCandidateDelegates,proto3" json:"numCandidateDelegates,omitempty"`
	TimeBasedRotation     bool     `protobuf:"varint,8,opt,name=timeBasedRotation,proto3" json:"timeBasedRotation,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*GenesisBlockchain) Descriptor

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

func (*GenesisBlockchain) GetActionGasLimit

func (m *GenesisBlockchain) GetActionGasLimit() uint64

func (*GenesisBlockchain) GetBlockGasLimit

func (m *GenesisBlockchain) GetBlockGasLimit() uint64

func (*GenesisBlockchain) GetBlockInterval

func (m *GenesisBlockchain) GetBlockInterval() int64

func (*GenesisBlockchain) GetNumCandidateDelegates

func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64

func (*GenesisBlockchain) GetNumDelegates

func (m *GenesisBlockchain) GetNumDelegates() uint64

func (*GenesisBlockchain) GetNumSubEpochs

func (m *GenesisBlockchain) GetNumSubEpochs() uint64

func (*GenesisBlockchain) GetTimeBasedRotation

func (m *GenesisBlockchain) GetTimeBasedRotation() bool

func (*GenesisBlockchain) GetTimestamp

func (m *GenesisBlockchain) GetTimestamp() int64

func (*GenesisBlockchain) ProtoMessage

func (*GenesisBlockchain) ProtoMessage()

func (*GenesisBlockchain) Reset

func (m *GenesisBlockchain) Reset()

func (*GenesisBlockchain) String

func (m *GenesisBlockchain) String() string

func (*GenesisBlockchain) XXX_DiscardUnknown

func (m *GenesisBlockchain) XXX_DiscardUnknown()

func (*GenesisBlockchain) XXX_Marshal

func (m *GenesisBlockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisBlockchain) XXX_Merge

func (m *GenesisBlockchain) XXX_Merge(src proto.Message)

func (*GenesisBlockchain) XXX_Size

func (m *GenesisBlockchain) XXX_Size() int

func (*GenesisBlockchain) XXX_Unmarshal

func (m *GenesisBlockchain) XXX_Unmarshal(b []byte) error

type GenesisDelegate

type GenesisDelegate struct {
	OperatorAddr         string   `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"`
	RewardAddr           string   `protobuf:"bytes,2,opt,name=rewardAddr,proto3" json:"rewardAddr,omitempty"`
	Votes                string   `protobuf:"bytes,3,opt,name=votes,proto3" json:"votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenesisDelegate) Descriptor

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

func (*GenesisDelegate) GetOperatorAddr

func (m *GenesisDelegate) GetOperatorAddr() string

func (*GenesisDelegate) GetRewardAddr

func (m *GenesisDelegate) GetRewardAddr() string

func (*GenesisDelegate) GetVotes

func (m *GenesisDelegate) GetVotes() string

func (*GenesisDelegate) ProtoMessage

func (*GenesisDelegate) ProtoMessage()

func (*GenesisDelegate) Reset

func (m *GenesisDelegate) Reset()

func (*GenesisDelegate) String

func (m *GenesisDelegate) String() string

func (*GenesisDelegate) XXX_DiscardUnknown

func (m *GenesisDelegate) XXX_DiscardUnknown()

func (*GenesisDelegate) XXX_Marshal

func (m *GenesisDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisDelegate) XXX_Merge

func (m *GenesisDelegate) XXX_Merge(src proto.Message)

func (*GenesisDelegate) XXX_Size

func (m *GenesisDelegate) XXX_Size() int

func (*GenesisDelegate) XXX_Unmarshal

func (m *GenesisDelegate) XXX_Unmarshal(b []byte) error

type GenesisPoll

type GenesisPoll struct {
	EnableGravityChainVoting bool               `protobuf:"varint,1,opt,name=enableGravityChainVoting,proto3" json:"enableGravityChainVoting,omitempty"`
	GravityChainStartHeight  uint64             `protobuf:"varint,2,opt,name=gravityChainStartHeight,proto3" json:"gravityChainStartHeight,omitempty"`
	RegisterContractAddress  string             `protobuf:"bytes,3,opt,name=registerContractAddress,proto3" json:"registerContractAddress,omitempty"`
	StakingContractAddress   string             `protobuf:"bytes,4,opt,name=stakingContractAddress,proto3" json:"stakingContractAddress,omitempty"`
	VoteThreshold            string             `protobuf:"bytes,5,opt,name=voteThreshold,proto3" json:"voteThreshold,omitempty"`
	ScoreThreshold           string             `protobuf:"bytes,6,opt,name=scoreThreshold,proto3" json:"scoreThreshold,omitempty"`
	SelfStakingThreshold     string             `protobuf:"bytes,7,opt,name=selfStakingThreshold,proto3" json:"selfStakingThreshold,omitempty"`
	Delegates                []*GenesisDelegate `protobuf:"bytes,8,rep,name=delegates,proto3" json:"delegates,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}           `json:"-"`
	XXX_unrecognized         []byte             `json:"-"`
	XXX_sizecache            int32              `json:"-"`
}

func (*GenesisPoll) Descriptor

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

func (*GenesisPoll) GetDelegates

func (m *GenesisPoll) GetDelegates() []*GenesisDelegate

func (*GenesisPoll) GetEnableGravityChainVoting

func (m *GenesisPoll) GetEnableGravityChainVoting() bool

func (*GenesisPoll) GetGravityChainStartHeight

func (m *GenesisPoll) GetGravityChainStartHeight() uint64

func (*GenesisPoll) GetRegisterContractAddress

func (m *GenesisPoll) GetRegisterContractAddress() string

func (*GenesisPoll) GetScoreThreshold

func (m *GenesisPoll) GetScoreThreshold() string

func (*GenesisPoll) GetSelfStakingThreshold

func (m *GenesisPoll) GetSelfStakingThreshold() string

func (*GenesisPoll) GetStakingContractAddress

func (m *GenesisPoll) GetStakingContractAddress() string

func (*GenesisPoll) GetVoteThreshold

func (m *GenesisPoll) GetVoteThreshold() string

func (*GenesisPoll) ProtoMessage

func (*GenesisPoll) ProtoMessage()

func (*GenesisPoll) Reset

func (m *GenesisPoll) Reset()

func (*GenesisPoll) String

func (m *GenesisPoll) String() string

func (*GenesisPoll) XXX_DiscardUnknown

func (m *GenesisPoll) XXX_DiscardUnknown()

func (*GenesisPoll) XXX_Marshal

func (m *GenesisPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisPoll) XXX_Merge

func (m *GenesisPoll) XXX_Merge(src proto.Message)

func (*GenesisPoll) XXX_Size

func (m *GenesisPoll) XXX_Size() int

func (*GenesisPoll) XXX_Unmarshal

func (m *GenesisPoll) XXX_Unmarshal(b []byte) error

type GenesisRewarding

type GenesisRewarding struct {
	InitAdminAddr                  string   `protobuf:"bytes,1,opt,name=initAdminAddr,proto3" json:"initAdminAddr,omitempty"`
	InitBalance                    string   `protobuf:"bytes,2,opt,name=initBalance,proto3" json:"initBalance,omitempty"`
	BlockReward                    string   `protobuf:"bytes,3,opt,name=blockReward,proto3" json:"blockReward,omitempty"`
	EpochReward                    string   `protobuf:"bytes,4,opt,name=epochReward,proto3" json:"epochReward,omitempty"`
	NumDelegatesForEpochReward     uint64   `protobuf:"varint,5,opt,name=numDelegatesForEpochReward,proto3" json:"numDelegatesForEpochReward,omitempty"`
	FoundationBonus                string   `protobuf:"bytes,6,opt,name=foundationBonus,proto3" json:"foundationBonus,omitempty"`
	NumDelegatesForFoundationBonus uint64   `protobuf:"varint,7,opt,name=numDelegatesForFoundationBonus,proto3" json:"numDelegatesForFoundationBonus,omitempty"`
	FoundationBonusLastEpoch       uint64   `protobuf:"varint,8,opt,name=foundationBonusLastEpoch,proto3" json:"foundationBonusLastEpoch,omitempty"`
	ProductivityThreshold          uint64   `protobuf:"varint,9,opt,name=productivityThreshold,proto3" json:"productivityThreshold,omitempty"`
	XXX_NoUnkeyedLiteral           struct{} `json:"-"`
	XXX_unrecognized               []byte   `json:"-"`
	XXX_sizecache                  int32    `json:"-"`
}

func (*GenesisRewarding) Descriptor

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

func (*GenesisRewarding) GetBlockReward

func (m *GenesisRewarding) GetBlockReward() string

func (*GenesisRewarding) GetEpochReward

func (m *GenesisRewarding) GetEpochReward() string

func (*GenesisRewarding) GetFoundationBonus

func (m *GenesisRewarding) GetFoundationBonus() string

func (*GenesisRewarding) GetFoundationBonusLastEpoch

func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64

func (*GenesisRewarding) GetInitAdminAddr

func (m *GenesisRewarding) GetInitAdminAddr() string

func (*GenesisRewarding) GetInitBalance

func (m *GenesisRewarding) GetInitBalance() string

func (*GenesisRewarding) GetNumDelegatesForEpochReward

func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64

func (*GenesisRewarding) GetNumDelegatesForFoundationBonus

func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64

func (*GenesisRewarding) GetProductivityThreshold

func (m *GenesisRewarding) GetProductivityThreshold() uint64

func (*GenesisRewarding) ProtoMessage

func (*GenesisRewarding) ProtoMessage()

func (*GenesisRewarding) Reset

func (m *GenesisRewarding) Reset()

func (*GenesisRewarding) String

func (m *GenesisRewarding) String() string

func (*GenesisRewarding) XXX_DiscardUnknown

func (m *GenesisRewarding) XXX_DiscardUnknown()

func (*GenesisRewarding) XXX_Marshal

func (m *GenesisRewarding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisRewarding) XXX_Merge

func (m *GenesisRewarding) XXX_Merge(src proto.Message)

func (*GenesisRewarding) XXX_Size

func (m *GenesisRewarding) XXX_Size() int

func (*GenesisRewarding) XXX_Unmarshal

func (m *GenesisRewarding) XXX_Unmarshal(b []byte) error

type GrantReward

type GrantReward struct {
	Type                 RewardType `protobuf:"varint,1,opt,name=type,proto3,enum=iotextypes.RewardType" json:"type,omitempty"`
	Height               uint64     `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GrantReward) Descriptor

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

func (*GrantReward) GetHeight

func (m *GrantReward) GetHeight() uint64

func (*GrantReward) GetType

func (m *GrantReward) GetType() RewardType

func (*GrantReward) ProtoMessage

func (*GrantReward) ProtoMessage()

func (*GrantReward) Reset

func (m *GrantReward) Reset()

func (*GrantReward) String

func (m *GrantReward) String() string

func (*GrantReward) XXX_DiscardUnknown

func (m *GrantReward) XXX_DiscardUnknown()

func (*GrantReward) XXX_Marshal

func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrantReward) XXX_Merge

func (m *GrantReward) XXX_Merge(src proto.Message)

func (*GrantReward) XXX_Size

func (m *GrantReward) XXX_Size() int

func (*GrantReward) XXX_Unmarshal

func (m *GrantReward) XXX_Unmarshal(b []byte) error

type Log

type Log struct {
	ContractAddress      string   `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Topics               [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	BlkHeight            uint64   `protobuf:"varint,4,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
	ActHash              []byte   `protobuf:"bytes,5,opt,name=actHash,proto3" json:"actHash,omitempty"`
	Index                uint32   `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Log) Descriptor

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

func (*Log) GetActHash

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

func (*Log) GetBlkHeight

func (m *Log) GetBlkHeight() uint64

func (*Log) GetContractAddress

func (m *Log) GetContractAddress() string

func (*Log) GetData

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

func (*Log) GetIndex

func (m *Log) GetIndex() uint32

func (*Log) GetTopics

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

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

func (*Log) XXX_DiscardUnknown

func (m *Log) XXX_DiscardUnknown()

func (*Log) XXX_Marshal

func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Log) XXX_Merge

func (m *Log) XXX_Merge(src proto.Message)

func (*Log) XXX_Size

func (m *Log) XXX_Size() int

func (*Log) XXX_Unmarshal

func (m *Log) XXX_Unmarshal(b []byte) error

type Logs added in v0.3.1

type Logs struct {
	Logs                 []*Log   `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Logs) Descriptor added in v0.3.1

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

func (*Logs) GetLogs added in v0.3.1

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

func (*Logs) ProtoMessage added in v0.3.1

func (*Logs) ProtoMessage()

func (*Logs) Reset added in v0.3.1

func (m *Logs) Reset()

func (*Logs) String added in v0.3.1

func (m *Logs) String() string

func (*Logs) XXX_DiscardUnknown added in v0.3.1

func (m *Logs) XXX_DiscardUnknown()

func (*Logs) XXX_Marshal added in v0.3.1

func (m *Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Logs) XXX_Merge added in v0.3.1

func (m *Logs) XXX_Merge(src proto.Message)

func (*Logs) XXX_Size added in v0.3.1

func (m *Logs) XXX_Size() int

func (*Logs) XXX_Unmarshal added in v0.3.1

func (m *Logs) XXX_Unmarshal(b []byte) error

type MerkleRoot

type MerkleRoot struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MerkleRoot) Descriptor

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

func (*MerkleRoot) GetName

func (m *MerkleRoot) GetName() string

func (*MerkleRoot) GetValue

func (m *MerkleRoot) GetValue() []byte

func (*MerkleRoot) ProtoMessage

func (*MerkleRoot) ProtoMessage()

func (*MerkleRoot) Reset

func (m *MerkleRoot) Reset()

func (*MerkleRoot) String

func (m *MerkleRoot) String() string

func (*MerkleRoot) XXX_DiscardUnknown

func (m *MerkleRoot) XXX_DiscardUnknown()

func (*MerkleRoot) XXX_Marshal

func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MerkleRoot) XXX_Merge

func (m *MerkleRoot) XXX_Merge(src proto.Message)

func (*MerkleRoot) XXX_Size

func (m *MerkleRoot) XXX_Size() int

func (*MerkleRoot) XXX_Unmarshal

func (m *MerkleRoot) XXX_Unmarshal(b []byte) error

type PlumChallengeExit

type PlumChallengeExit struct {
	SubChainAddress              string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID                       uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	ChallengeTransfer            []byte   `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
	ChallengeTransferBlockProof  []byte   `protobuf:"bytes,4,opt,name=challengeTransferBlockProof,proto3" json:"challengeTransferBlockProof,omitempty"`
	ChallengeTransferBlockHeight uint64   `protobuf:"varint,5,opt,name=challengeTransferBlockHeight,proto3" json:"challengeTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	XXX_unrecognized             []byte   `json:"-"`
	XXX_sizecache                int32    `json:"-"`
}

func (*PlumChallengeExit) Descriptor

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

func (*PlumChallengeExit) GetChallengeTransfer

func (m *PlumChallengeExit) GetChallengeTransfer() []byte

func (*PlumChallengeExit) GetChallengeTransferBlockHeight

func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64

func (*PlumChallengeExit) GetChallengeTransferBlockProof

func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte

func (*PlumChallengeExit) GetCoinID

func (m *PlumChallengeExit) GetCoinID() uint64

func (*PlumChallengeExit) GetSubChainAddress

func (m *PlumChallengeExit) GetSubChainAddress() string

func (*PlumChallengeExit) ProtoMessage

func (*PlumChallengeExit) ProtoMessage()

func (*PlumChallengeExit) Reset

func (m *PlumChallengeExit) Reset()

func (*PlumChallengeExit) String

func (m *PlumChallengeExit) String() string

func (*PlumChallengeExit) XXX_DiscardUnknown

func (m *PlumChallengeExit) XXX_DiscardUnknown()

func (*PlumChallengeExit) XXX_Marshal

func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumChallengeExit) XXX_Merge

func (m *PlumChallengeExit) XXX_Merge(src proto.Message)

func (*PlumChallengeExit) XXX_Size

func (m *PlumChallengeExit) XXX_Size() int

func (*PlumChallengeExit) XXX_Unmarshal

func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error

type PlumCreateDeposit

type PlumCreateDeposit struct {
	SubChainAddress      string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Amount               string   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumCreateDeposit) Descriptor

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

func (*PlumCreateDeposit) GetAmount

func (m *PlumCreateDeposit) GetAmount() string

func (*PlumCreateDeposit) GetRecipient

func (m *PlumCreateDeposit) GetRecipient() string

func (*PlumCreateDeposit) GetSubChainAddress

func (m *PlumCreateDeposit) GetSubChainAddress() string

func (*PlumCreateDeposit) ProtoMessage

func (*PlumCreateDeposit) ProtoMessage()

func (*PlumCreateDeposit) Reset

func (m *PlumCreateDeposit) Reset()

func (*PlumCreateDeposit) String

func (m *PlumCreateDeposit) String() string

func (*PlumCreateDeposit) XXX_DiscardUnknown

func (m *PlumCreateDeposit) XXX_DiscardUnknown()

func (*PlumCreateDeposit) XXX_Marshal

func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumCreateDeposit) XXX_Merge

func (m *PlumCreateDeposit) XXX_Merge(src proto.Message)

func (*PlumCreateDeposit) XXX_Size

func (m *PlumCreateDeposit) XXX_Size() int

func (*PlumCreateDeposit) XXX_Unmarshal

func (m *PlumCreateDeposit) XXX_Unmarshal(b []byte) error

type PlumFinalizeExit

type PlumFinalizeExit struct {
	SubChainAddress      string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID               uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumFinalizeExit) Descriptor

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

func (*PlumFinalizeExit) GetCoinID

func (m *PlumFinalizeExit) GetCoinID() uint64

func (*PlumFinalizeExit) GetSubChainAddress

func (m *PlumFinalizeExit) GetSubChainAddress() string

func (*PlumFinalizeExit) ProtoMessage

func (*PlumFinalizeExit) ProtoMessage()

func (*PlumFinalizeExit) Reset

func (m *PlumFinalizeExit) Reset()

func (*PlumFinalizeExit) String

func (m *PlumFinalizeExit) String() string

func (*PlumFinalizeExit) XXX_DiscardUnknown

func (m *PlumFinalizeExit) XXX_DiscardUnknown()

func (*PlumFinalizeExit) XXX_Marshal

func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumFinalizeExit) XXX_Merge

func (m *PlumFinalizeExit) XXX_Merge(src proto.Message)

func (*PlumFinalizeExit) XXX_Size

func (m *PlumFinalizeExit) XXX_Size() int

func (*PlumFinalizeExit) XXX_Unmarshal

func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error

type PlumPutBlock

type PlumPutBlock struct {
	SubChainAddress      string            `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Height               uint64            `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Roots                map[string][]byte `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PlumPutBlock) Descriptor

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

func (*PlumPutBlock) GetHeight

func (m *PlumPutBlock) GetHeight() uint64

func (*PlumPutBlock) GetRoots

func (m *PlumPutBlock) GetRoots() map[string][]byte

func (*PlumPutBlock) GetSubChainAddress

func (m *PlumPutBlock) GetSubChainAddress() string

func (*PlumPutBlock) ProtoMessage

func (*PlumPutBlock) ProtoMessage()

func (*PlumPutBlock) Reset

func (m *PlumPutBlock) Reset()

func (*PlumPutBlock) String

func (m *PlumPutBlock) String() string

func (*PlumPutBlock) XXX_DiscardUnknown

func (m *PlumPutBlock) XXX_DiscardUnknown()

func (*PlumPutBlock) XXX_Marshal

func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumPutBlock) XXX_Merge

func (m *PlumPutBlock) XXX_Merge(src proto.Message)

func (*PlumPutBlock) XXX_Size

func (m *PlumPutBlock) XXX_Size() int

func (*PlumPutBlock) XXX_Unmarshal

func (m *PlumPutBlock) XXX_Unmarshal(b []byte) error

type PlumResponseChallengeExit

type PlumResponseChallengeExit struct {
	SubChainAddress             string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	CoinID                      uint64   `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"`
	ChallengeTransfer           []byte   `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"`
	ResponseTransfer            []byte   `protobuf:"bytes,4,opt,name=responseTransfer,proto3" json:"responseTransfer,omitempty"`
	ResponseTransferBlockProof  []byte   `protobuf:"bytes,5,opt,name=responseTransferBlockProof,proto3" json:"responseTransferBlockProof,omitempty"`
	PreviousTransferBlockHeight uint64   `protobuf:"varint,6,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

func (*PlumResponseChallengeExit) Descriptor

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

func (*PlumResponseChallengeExit) GetChallengeTransfer

func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte

func (*PlumResponseChallengeExit) GetCoinID

func (m *PlumResponseChallengeExit) GetCoinID() uint64

func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight

func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64

func (*PlumResponseChallengeExit) GetResponseTransfer

func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte

func (*PlumResponseChallengeExit) GetResponseTransferBlockProof

func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte

func (*PlumResponseChallengeExit) GetSubChainAddress

func (m *PlumResponseChallengeExit) GetSubChainAddress() string

func (*PlumResponseChallengeExit) ProtoMessage

func (*PlumResponseChallengeExit) ProtoMessage()

func (*PlumResponseChallengeExit) Reset

func (m *PlumResponseChallengeExit) Reset()

func (*PlumResponseChallengeExit) String

func (m *PlumResponseChallengeExit) String() string

func (*PlumResponseChallengeExit) XXX_DiscardUnknown

func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()

func (*PlumResponseChallengeExit) XXX_Marshal

func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumResponseChallengeExit) XXX_Merge

func (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message)

func (*PlumResponseChallengeExit) XXX_Size

func (m *PlumResponseChallengeExit) XXX_Size() int

func (*PlumResponseChallengeExit) XXX_Unmarshal

func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error

type PlumSettleDeposit

type PlumSettleDeposit struct {
	CoinID               uint64   `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

plum sub chain APIs

func (*PlumSettleDeposit) Descriptor

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

func (*PlumSettleDeposit) GetCoinID

func (m *PlumSettleDeposit) GetCoinID() uint64

func (*PlumSettleDeposit) ProtoMessage

func (*PlumSettleDeposit) ProtoMessage()

func (*PlumSettleDeposit) Reset

func (m *PlumSettleDeposit) Reset()

func (*PlumSettleDeposit) String

func (m *PlumSettleDeposit) String() string

func (*PlumSettleDeposit) XXX_DiscardUnknown

func (m *PlumSettleDeposit) XXX_DiscardUnknown()

func (*PlumSettleDeposit) XXX_Marshal

func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumSettleDeposit) XXX_Merge

func (m *PlumSettleDeposit) XXX_Merge(src proto.Message)

func (*PlumSettleDeposit) XXX_Size

func (m *PlumSettleDeposit) XXX_Size() int

func (*PlumSettleDeposit) XXX_Unmarshal

func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error

type PlumStartExit

type PlumStartExit struct {
	SubChainAddress             string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	PreviousTransfer            []byte   `protobuf:"bytes,2,opt,name=previousTransfer,proto3" json:"previousTransfer,omitempty"`
	PreviousTransferBlockProof  []byte   `protobuf:"bytes,3,opt,name=previousTransferBlockProof,proto3" json:"previousTransferBlockProof,omitempty"`
	PreviousTransferBlockHeight uint64   `protobuf:"varint,4,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"`
	ExitTransfer                []byte   `protobuf:"bytes,5,opt,name=exitTransfer,proto3" json:"exitTransfer,omitempty"`
	ExitTransferBlockProof      []byte   `protobuf:"bytes,6,opt,name=exitTransferBlockProof,proto3" json:"exitTransferBlockProof,omitempty"`
	ExitTransferBlockHeight     uint64   `protobuf:"varint,7,opt,name=exitTransferBlockHeight,proto3" json:"exitTransferBlockHeight,omitempty"`
	XXX_NoUnkeyedLiteral        struct{} `json:"-"`
	XXX_unrecognized            []byte   `json:"-"`
	XXX_sizecache               int32    `json:"-"`
}

func (*PlumStartExit) Descriptor

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

func (*PlumStartExit) GetExitTransfer

func (m *PlumStartExit) GetExitTransfer() []byte

func (*PlumStartExit) GetExitTransferBlockHeight

func (m *PlumStartExit) GetExitTransferBlockHeight() uint64

func (*PlumStartExit) GetExitTransferBlockProof

func (m *PlumStartExit) GetExitTransferBlockProof() []byte

func (*PlumStartExit) GetPreviousTransfer

func (m *PlumStartExit) GetPreviousTransfer() []byte

func (*PlumStartExit) GetPreviousTransferBlockHeight

func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64

func (*PlumStartExit) GetPreviousTransferBlockProof

func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte

func (*PlumStartExit) GetSubChainAddress

func (m *PlumStartExit) GetSubChainAddress() string

func (*PlumStartExit) ProtoMessage

func (*PlumStartExit) ProtoMessage()

func (*PlumStartExit) Reset

func (m *PlumStartExit) Reset()

func (*PlumStartExit) String

func (m *PlumStartExit) String() string

func (*PlumStartExit) XXX_DiscardUnknown

func (m *PlumStartExit) XXX_DiscardUnknown()

func (*PlumStartExit) XXX_Marshal

func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumStartExit) XXX_Merge

func (m *PlumStartExit) XXX_Merge(src proto.Message)

func (*PlumStartExit) XXX_Size

func (m *PlumStartExit) XXX_Size() int

func (*PlumStartExit) XXX_Unmarshal

func (m *PlumStartExit) XXX_Unmarshal(b []byte) error

type PlumTransfer

type PlumTransfer struct {
	CoinID               uint64   `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"`
	Denomination         []byte   `protobuf:"bytes,2,opt,name=denomination,proto3" json:"denomination,omitempty"`
	Owner                string   `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Recipient            string   `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PlumTransfer) Descriptor

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

func (*PlumTransfer) GetCoinID

func (m *PlumTransfer) GetCoinID() uint64

func (*PlumTransfer) GetDenomination

func (m *PlumTransfer) GetDenomination() []byte

func (*PlumTransfer) GetOwner

func (m *PlumTransfer) GetOwner() string

func (*PlumTransfer) GetRecipient

func (m *PlumTransfer) GetRecipient() string

func (*PlumTransfer) ProtoMessage

func (*PlumTransfer) ProtoMessage()

func (*PlumTransfer) Reset

func (m *PlumTransfer) Reset()

func (*PlumTransfer) String

func (m *PlumTransfer) String() string

func (*PlumTransfer) XXX_DiscardUnknown

func (m *PlumTransfer) XXX_DiscardUnknown()

func (*PlumTransfer) XXX_Marshal

func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlumTransfer) XXX_Merge

func (m *PlumTransfer) XXX_Merge(src proto.Message)

func (*PlumTransfer) XXX_Size

func (m *PlumTransfer) XXX_Size() int

func (*PlumTransfer) XXX_Unmarshal

func (m *PlumTransfer) XXX_Unmarshal(b []byte) error

type ProbationCandidateList added in v0.3.0

type ProbationCandidateList struct {
	ProbationList        []*ProbationCandidateList_Info `protobuf:"bytes,1,rep,name=probationList,proto3" json:"probationList,omitempty"`
	IntensityRate        uint32                         `protobuf:"varint,2,opt,name=intensityRate,proto3" json:"intensityRate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

ProbationCandidateList (slashing #1)

func (*ProbationCandidateList) Descriptor added in v0.3.0

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

func (*ProbationCandidateList) GetIntensityRate added in v0.3.0

func (m *ProbationCandidateList) GetIntensityRate() uint32

func (*ProbationCandidateList) GetProbationList added in v0.3.0

func (m *ProbationCandidateList) GetProbationList() []*ProbationCandidateList_Info

func (*ProbationCandidateList) ProtoMessage added in v0.3.0

func (*ProbationCandidateList) ProtoMessage()

func (*ProbationCandidateList) Reset added in v0.3.0

func (m *ProbationCandidateList) Reset()

func (*ProbationCandidateList) String added in v0.3.0

func (m *ProbationCandidateList) String() string

func (*ProbationCandidateList) XXX_DiscardUnknown added in v0.3.0

func (m *ProbationCandidateList) XXX_DiscardUnknown()

func (*ProbationCandidateList) XXX_Marshal added in v0.3.0

func (m *ProbationCandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProbationCandidateList) XXX_Merge added in v0.3.0

func (m *ProbationCandidateList) XXX_Merge(src proto.Message)

func (*ProbationCandidateList) XXX_Size added in v0.3.0

func (m *ProbationCandidateList) XXX_Size() int

func (*ProbationCandidateList) XXX_Unmarshal added in v0.3.0

func (m *ProbationCandidateList) XXX_Unmarshal(b []byte) error

type ProbationCandidateList_Info added in v0.3.0

type ProbationCandidateList_Info struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Count                uint32   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProbationCandidateList_Info) Descriptor added in v0.3.0

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

func (*ProbationCandidateList_Info) GetAddress added in v0.3.0

func (m *ProbationCandidateList_Info) GetAddress() string

func (*ProbationCandidateList_Info) GetCount added in v0.3.0

func (m *ProbationCandidateList_Info) GetCount() uint32

func (*ProbationCandidateList_Info) ProtoMessage added in v0.3.0

func (*ProbationCandidateList_Info) ProtoMessage()

func (*ProbationCandidateList_Info) Reset added in v0.3.0

func (m *ProbationCandidateList_Info) Reset()

func (*ProbationCandidateList_Info) String added in v0.3.0

func (m *ProbationCandidateList_Info) String() string

func (*ProbationCandidateList_Info) XXX_DiscardUnknown added in v0.3.0

func (m *ProbationCandidateList_Info) XXX_DiscardUnknown()

func (*ProbationCandidateList_Info) XXX_Marshal added in v0.3.0

func (m *ProbationCandidateList_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProbationCandidateList_Info) XXX_Merge added in v0.3.0

func (m *ProbationCandidateList_Info) XXX_Merge(src proto.Message)

func (*ProbationCandidateList_Info) XXX_Size added in v0.3.0

func (m *ProbationCandidateList_Info) XXX_Size() int

func (*ProbationCandidateList_Info) XXX_Unmarshal added in v0.3.0

func (m *ProbationCandidateList_Info) XXX_Unmarshal(b []byte) error

type PutBlock

type PutBlock struct {
	SubChainAddress      string        `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	Height               uint64        `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Roots                []*MerkleRoot `protobuf:"bytes,3,rep,name=roots,proto3" json:"roots,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*PutBlock) Descriptor

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

func (*PutBlock) GetHeight

func (m *PutBlock) GetHeight() uint64

func (*PutBlock) GetRoots

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

func (*PutBlock) GetSubChainAddress

func (m *PutBlock) GetSubChainAddress() string

func (*PutBlock) ProtoMessage

func (*PutBlock) ProtoMessage()

func (*PutBlock) Reset

func (m *PutBlock) Reset()

func (*PutBlock) String

func (m *PutBlock) String() string

func (*PutBlock) XXX_DiscardUnknown

func (m *PutBlock) XXX_DiscardUnknown()

func (*PutBlock) XXX_Marshal

func (m *PutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutBlock) XXX_Merge

func (m *PutBlock) XXX_Merge(src proto.Message)

func (*PutBlock) XXX_Size

func (m *PutBlock) XXX_Size() int

func (*PutBlock) XXX_Unmarshal

func (m *PutBlock) XXX_Unmarshal(b []byte) error

type PutPollResult

type PutPollResult struct {
	Height               uint64         `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Candidates           *CandidateList `protobuf:"bytes,2,opt,name=candidates,proto3" json:"candidates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutPollResult) Descriptor

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

func (*PutPollResult) GetCandidates

func (m *PutPollResult) GetCandidates() *CandidateList

func (*PutPollResult) GetHeight

func (m *PutPollResult) GetHeight() uint64

func (*PutPollResult) ProtoMessage

func (*PutPollResult) ProtoMessage()

func (*PutPollResult) Reset

func (m *PutPollResult) Reset()

func (*PutPollResult) String

func (m *PutPollResult) String() string

func (*PutPollResult) XXX_DiscardUnknown

func (m *PutPollResult) XXX_DiscardUnknown()

func (*PutPollResult) XXX_Marshal

func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutPollResult) XXX_Merge

func (m *PutPollResult) XXX_Merge(src proto.Message)

func (*PutPollResult) XXX_Size

func (m *PutPollResult) XXX_Size() int

func (*PutPollResult) XXX_Unmarshal

func (m *PutPollResult) XXX_Unmarshal(b []byte) error

type Receipt

type Receipt struct {
	Status               uint64   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	BlkHeight            uint64   `protobuf:"varint,2,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
	ActHash              []byte   `protobuf:"bytes,3,opt,name=actHash,proto3" json:"actHash,omitempty"`
	GasConsumed          uint64   `protobuf:"varint,4,opt,name=gasConsumed,proto3" json:"gasConsumed,omitempty"`
	ContractAddress      string   `protobuf:"bytes,5,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Logs                 []*Log   `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Receipt) Descriptor

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

func (*Receipt) GetActHash

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

func (*Receipt) GetBlkHeight

func (m *Receipt) GetBlkHeight() uint64

func (*Receipt) GetContractAddress

func (m *Receipt) GetContractAddress() string

func (*Receipt) GetGasConsumed

func (m *Receipt) GetGasConsumed() uint64

func (*Receipt) GetLogs

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

func (*Receipt) GetStatus

func (m *Receipt) GetStatus() uint64

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Receipt) XXX_Merge

func (m *Receipt) XXX_Merge(src proto.Message)

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

func (m *Receipt) XXX_Unmarshal(b []byte) error

type ReceiptStatus added in v0.2.5

type ReceiptStatus int32

BELOW ARE DEFINITIONS FOR EVM ERROR CLASSIFICATION IN RECEIPT STATUS

const (
	ReceiptStatus_Failure ReceiptStatus = 0
	ReceiptStatus_Success ReceiptStatus = 1
	//1xx for EVM ErrorCode
	ReceiptStatus_ErrUnknown                  ReceiptStatus = 100
	ReceiptStatus_ErrOutOfGas                 ReceiptStatus = 101
	ReceiptStatus_ErrCodeStoreOutOfGas        ReceiptStatus = 102
	ReceiptStatus_ErrDepth                    ReceiptStatus = 103
	ReceiptStatus_ErrContractAddressCollision ReceiptStatus = 104
	ReceiptStatus_ErrNoCompatibleInterpreter  ReceiptStatus = 105
	ReceiptStatus_ErrExecutionReverted        ReceiptStatus = 106
	ReceiptStatus_ErrMaxCodeSizeExceeded      ReceiptStatus = 107
	ReceiptStatus_ErrWriteProtection          ReceiptStatus = 108
	//2xx for Staking ErrorCode
	ReceiptStatus_ErrLoadAccount                  ReceiptStatus = 200
	ReceiptStatus_ErrNotEnoughBalance             ReceiptStatus = 201
	ReceiptStatus_ErrInvalidBucketIndex           ReceiptStatus = 202
	ReceiptStatus_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) EnumDescriptor added in v0.2.5

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

func (ReceiptStatus) String added in v0.2.5

func (x ReceiptStatus) String() string

type Receipts

type Receipts struct {
	Receipts             []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Receipts consists of a collection of recepit

func (*Receipts) Descriptor

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

func (*Receipts) GetReceipts

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

func (*Receipts) ProtoMessage

func (*Receipts) ProtoMessage()

func (*Receipts) Reset

func (m *Receipts) Reset()

func (*Receipts) String

func (m *Receipts) String() string

func (*Receipts) XXX_DiscardUnknown

func (m *Receipts) XXX_DiscardUnknown()

func (*Receipts) XXX_Marshal

func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Receipts) XXX_Merge

func (m *Receipts) XXX_Merge(src proto.Message)

func (*Receipts) XXX_Size

func (m *Receipts) XXX_Size() int

func (*Receipts) XXX_Unmarshal

func (m *Receipts) XXX_Unmarshal(b []byte) error

type RewardType

type RewardType int32
const (
	RewardType_BlockReward RewardType = 0
	RewardType_EpochReward RewardType = 1
)

func (RewardType) EnumDescriptor

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

func (RewardType) String

func (x RewardType) String() string

type ServerMeta

type ServerMeta struct {
	PackageVersion       string   `protobuf:"bytes,1,opt,name=packageVersion,proto3" json:"packageVersion,omitempty"`
	PackageCommitID      string   `protobuf:"bytes,2,opt,name=packageCommitID,proto3" json:"packageCommitID,omitempty"`
	GitStatus            string   `protobuf:"bytes,3,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
	GoVersion            string   `protobuf:"bytes,4,opt,name=goVersion,proto3" json:"goVersion,omitempty"`
	BuildTime            string   `protobuf:"bytes,5,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Server Metadata

func (*ServerMeta) Descriptor

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

func (*ServerMeta) GetBuildTime

func (m *ServerMeta) GetBuildTime() string

func (*ServerMeta) GetGitStatus

func (m *ServerMeta) GetGitStatus() string

func (*ServerMeta) GetGoVersion

func (m *ServerMeta) GetGoVersion() string

func (*ServerMeta) GetPackageCommitID

func (m *ServerMeta) GetPackageCommitID() string

func (*ServerMeta) GetPackageVersion

func (m *ServerMeta) GetPackageVersion() string

func (*ServerMeta) ProtoMessage

func (*ServerMeta) ProtoMessage()

func (*ServerMeta) Reset

func (m *ServerMeta) Reset()

func (*ServerMeta) String

func (m *ServerMeta) String() string

func (*ServerMeta) XXX_DiscardUnknown

func (m *ServerMeta) XXX_DiscardUnknown()

func (*ServerMeta) XXX_Marshal

func (m *ServerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerMeta) XXX_Merge

func (m *ServerMeta) XXX_Merge(src proto.Message)

func (*ServerMeta) XXX_Size

func (m *ServerMeta) XXX_Size() int

func (*ServerMeta) XXX_Unmarshal

func (m *ServerMeta) XXX_Unmarshal(b []byte) error

type SettleDeposit

type SettleDeposit struct {
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Index                uint64   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SettleDeposit) Descriptor

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

func (*SettleDeposit) GetAmount

func (m *SettleDeposit) GetAmount() string

func (*SettleDeposit) GetIndex

func (m *SettleDeposit) GetIndex() uint64

func (*SettleDeposit) GetRecipient

func (m *SettleDeposit) GetRecipient() string

func (*SettleDeposit) ProtoMessage

func (*SettleDeposit) ProtoMessage()

func (*SettleDeposit) Reset

func (m *SettleDeposit) Reset()

func (*SettleDeposit) String

func (m *SettleDeposit) String() string

func (*SettleDeposit) XXX_DiscardUnknown

func (m *SettleDeposit) XXX_DiscardUnknown()

func (*SettleDeposit) XXX_Marshal

func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SettleDeposit) XXX_Merge

func (m *SettleDeposit) XXX_Merge(src proto.Message)

func (*SettleDeposit) XXX_Size

func (m *SettleDeposit) XXX_Size() int

func (*SettleDeposit) XXX_Unmarshal

func (m *SettleDeposit) XXX_Unmarshal(b []byte) error

type StakeAddDeposit added in v0.3.0

type StakeAddDeposit struct {
	BucketIndex          uint64   `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	Amount               string   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

add the amount of bucket

func (*StakeAddDeposit) Descriptor added in v0.3.0

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

func (*StakeAddDeposit) GetAmount added in v0.3.0

func (m *StakeAddDeposit) GetAmount() string

func (*StakeAddDeposit) GetBucketIndex added in v0.3.0

func (m *StakeAddDeposit) GetBucketIndex() uint64

func (*StakeAddDeposit) GetPayload added in v0.3.0

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

func (*StakeAddDeposit) ProtoMessage added in v0.3.0

func (*StakeAddDeposit) ProtoMessage()

func (*StakeAddDeposit) Reset added in v0.3.0

func (m *StakeAddDeposit) Reset()

func (*StakeAddDeposit) String added in v0.3.0

func (m *StakeAddDeposit) String() string

func (*StakeAddDeposit) XXX_DiscardUnknown added in v0.3.0

func (m *StakeAddDeposit) XXX_DiscardUnknown()

func (*StakeAddDeposit) XXX_Marshal added in v0.3.0

func (m *StakeAddDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeAddDeposit) XXX_Merge added in v0.3.0

func (m *StakeAddDeposit) XXX_Merge(src proto.Message)

func (*StakeAddDeposit) XXX_Size added in v0.3.0

func (m *StakeAddDeposit) XXX_Size() int

func (*StakeAddDeposit) XXX_Unmarshal added in v0.3.0

func (m *StakeAddDeposit) XXX_Unmarshal(b []byte) error

type StakeChangeCandidate added in v0.3.0

type StakeChangeCandidate struct {
	BucketIndex          uint64   `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	CandidateName        string   `protobuf:"bytes,2,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*StakeChangeCandidate) Descriptor added in v0.3.0

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

func (*StakeChangeCandidate) GetBucketIndex added in v0.3.0

func (m *StakeChangeCandidate) GetBucketIndex() uint64

func (*StakeChangeCandidate) GetCandidateName added in v0.3.0

func (m *StakeChangeCandidate) GetCandidateName() string

func (*StakeChangeCandidate) GetPayload added in v0.3.0

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

func (*StakeChangeCandidate) ProtoMessage added in v0.3.0

func (*StakeChangeCandidate) ProtoMessage()

func (*StakeChangeCandidate) Reset added in v0.3.0

func (m *StakeChangeCandidate) Reset()

func (*StakeChangeCandidate) String added in v0.3.0

func (m *StakeChangeCandidate) String() string

func (*StakeChangeCandidate) XXX_DiscardUnknown added in v0.3.0

func (m *StakeChangeCandidate) XXX_DiscardUnknown()

func (*StakeChangeCandidate) XXX_Marshal added in v0.3.0

func (m *StakeChangeCandidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeChangeCandidate) XXX_Merge added in v0.3.0

func (m *StakeChangeCandidate) XXX_Merge(src proto.Message)

func (*StakeChangeCandidate) XXX_Size added in v0.3.0

func (m *StakeChangeCandidate) XXX_Size() int

func (*StakeChangeCandidate) XXX_Unmarshal added in v0.3.0

func (m *StakeChangeCandidate) XXX_Unmarshal(b []byte) error

type StakeCreate added in v0.3.0

type StakeCreate struct {
	CandidateName        string   `protobuf:"bytes,1,opt,name=candidateName,proto3" json:"candidateName,omitempty"`
	StakedAmount         string   `protobuf:"bytes,2,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
	StakedDuration       uint32   `protobuf:"varint,3,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	AutoStake            bool     `protobuf:"varint,4,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	Payload              []byte   `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

create stake

func (*StakeCreate) Descriptor added in v0.3.0

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

func (*StakeCreate) GetAutoStake added in v0.3.0

func (m *StakeCreate) GetAutoStake() bool

func (*StakeCreate) GetCandidateName added in v0.3.0

func (m *StakeCreate) GetCandidateName() string

func (*StakeCreate) GetPayload added in v0.3.0

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

func (*StakeCreate) GetStakedAmount added in v0.3.0

func (m *StakeCreate) GetStakedAmount() string

func (*StakeCreate) GetStakedDuration added in v0.3.0

func (m *StakeCreate) GetStakedDuration() uint32

func (*StakeCreate) ProtoMessage added in v0.3.0

func (*StakeCreate) ProtoMessage()

func (*StakeCreate) Reset added in v0.3.0

func (m *StakeCreate) Reset()

func (*StakeCreate) String added in v0.3.0

func (m *StakeCreate) String() string

func (*StakeCreate) XXX_DiscardUnknown added in v0.3.0

func (m *StakeCreate) XXX_DiscardUnknown()

func (*StakeCreate) XXX_Marshal added in v0.3.0

func (m *StakeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeCreate) XXX_Merge added in v0.3.0

func (m *StakeCreate) XXX_Merge(src proto.Message)

func (*StakeCreate) XXX_Size added in v0.3.0

func (m *StakeCreate) XXX_Size() int

func (*StakeCreate) XXX_Unmarshal added in v0.3.0

func (m *StakeCreate) XXX_Unmarshal(b []byte) error

type StakeReclaim added in v0.3.0

type StakeReclaim struct {
	BucketIndex          uint64   `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	Payload              []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

unstake or withdraw

func (*StakeReclaim) Descriptor added in v0.3.0

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

func (*StakeReclaim) GetBucketIndex added in v0.3.0

func (m *StakeReclaim) GetBucketIndex() uint64

func (*StakeReclaim) GetPayload added in v0.3.0

func (m *StakeReclaim) GetPayload() []byte

func (*StakeReclaim) ProtoMessage added in v0.3.0

func (*StakeReclaim) ProtoMessage()

func (*StakeReclaim) Reset added in v0.3.0

func (m *StakeReclaim) Reset()

func (*StakeReclaim) String added in v0.3.0

func (m *StakeReclaim) String() string

func (*StakeReclaim) XXX_DiscardUnknown added in v0.3.0

func (m *StakeReclaim) XXX_DiscardUnknown()

func (*StakeReclaim) XXX_Marshal added in v0.3.0

func (m *StakeReclaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeReclaim) XXX_Merge added in v0.3.0

func (m *StakeReclaim) XXX_Merge(src proto.Message)

func (*StakeReclaim) XXX_Size added in v0.3.0

func (m *StakeReclaim) XXX_Size() int

func (*StakeReclaim) XXX_Unmarshal added in v0.3.0

func (m *StakeReclaim) XXX_Unmarshal(b []byte) error

type StakeRestake added in v0.3.0

type StakeRestake struct {
	BucketIndex          uint64   `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	StakedDuration       uint32   `protobuf:"varint,2,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	AutoStake            bool     `protobuf:"varint,3,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	Payload              []byte   `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

restake the duration and autoStake flag of bucket

func (*StakeRestake) Descriptor added in v0.3.0

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

func (*StakeRestake) GetAutoStake added in v0.3.0

func (m *StakeRestake) GetAutoStake() bool

func (*StakeRestake) GetBucketIndex added in v0.3.0

func (m *StakeRestake) GetBucketIndex() uint64

func (*StakeRestake) GetPayload added in v0.3.0

func (m *StakeRestake) GetPayload() []byte

func (*StakeRestake) GetStakedDuration added in v0.3.0

func (m *StakeRestake) GetStakedDuration() uint32

func (*StakeRestake) ProtoMessage added in v0.3.0

func (*StakeRestake) ProtoMessage()

func (*StakeRestake) Reset added in v0.3.0

func (m *StakeRestake) Reset()

func (*StakeRestake) String added in v0.3.0

func (m *StakeRestake) String() string

func (*StakeRestake) XXX_DiscardUnknown added in v0.3.0

func (m *StakeRestake) XXX_DiscardUnknown()

func (*StakeRestake) XXX_Marshal added in v0.3.0

func (m *StakeRestake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeRestake) XXX_Merge added in v0.3.0

func (m *StakeRestake) XXX_Merge(src proto.Message)

func (*StakeRestake) XXX_Size added in v0.3.0

func (m *StakeRestake) XXX_Size() int

func (*StakeRestake) XXX_Unmarshal added in v0.3.0

func (m *StakeRestake) XXX_Unmarshal(b []byte) error

type StakeTransferOwnership added in v0.3.0

type StakeTransferOwnership struct {
	BucketIndex          uint64   `protobuf:"varint,1,opt,name=bucketIndex,proto3" json:"bucketIndex,omitempty"`
	VoterAddress         string   `protobuf:"bytes,2,opt,name=voterAddress,proto3" json:"voterAddress,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StakeTransferOwnership) Descriptor added in v0.3.0

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

func (*StakeTransferOwnership) GetBucketIndex added in v0.3.0

func (m *StakeTransferOwnership) GetBucketIndex() uint64

func (*StakeTransferOwnership) GetPayload added in v0.3.0

func (m *StakeTransferOwnership) GetPayload() []byte

func (*StakeTransferOwnership) GetVoterAddress added in v0.3.0

func (m *StakeTransferOwnership) GetVoterAddress() string

func (*StakeTransferOwnership) ProtoMessage added in v0.3.0

func (*StakeTransferOwnership) ProtoMessage()

func (*StakeTransferOwnership) Reset added in v0.3.0

func (m *StakeTransferOwnership) Reset()

func (*StakeTransferOwnership) String added in v0.3.0

func (m *StakeTransferOwnership) String() string

func (*StakeTransferOwnership) XXX_DiscardUnknown added in v0.3.0

func (m *StakeTransferOwnership) XXX_DiscardUnknown()

func (*StakeTransferOwnership) XXX_Marshal added in v0.3.0

func (m *StakeTransferOwnership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeTransferOwnership) XXX_Merge added in v0.3.0

func (m *StakeTransferOwnership) XXX_Merge(src proto.Message)

func (*StakeTransferOwnership) XXX_Size added in v0.3.0

func (m *StakeTransferOwnership) XXX_Size() int

func (*StakeTransferOwnership) XXX_Unmarshal added in v0.3.0

func (m *StakeTransferOwnership) XXX_Unmarshal(b []byte) error

type StartSubChain

type StartSubChain struct {
	// TODO: chainID chould be assigned by system and returned via a receipt
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	SecurityDeposit      string   `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"`
	OperationDeposit     string   `protobuf:"bytes,3,opt,name=operationDeposit,proto3" json:"operationDeposit,omitempty"`
	StartHeight          uint64   `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
	ParentHeightOffset   uint64   `protobuf:"varint,5,opt,name=parentHeightOffset,proto3" json:"parentHeightOffset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartSubChain) Descriptor

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

func (*StartSubChain) GetChainID

func (m *StartSubChain) GetChainID() uint32

func (*StartSubChain) GetOperationDeposit

func (m *StartSubChain) GetOperationDeposit() string

func (*StartSubChain) GetParentHeightOffset

func (m *StartSubChain) GetParentHeightOffset() uint64

func (*StartSubChain) GetSecurityDeposit

func (m *StartSubChain) GetSecurityDeposit() string

func (*StartSubChain) GetStartHeight

func (m *StartSubChain) GetStartHeight() uint64

func (*StartSubChain) ProtoMessage

func (*StartSubChain) ProtoMessage()

func (*StartSubChain) Reset

func (m *StartSubChain) Reset()

func (*StartSubChain) String

func (m *StartSubChain) String() string

func (*StartSubChain) XXX_DiscardUnknown

func (m *StartSubChain) XXX_DiscardUnknown()

func (*StartSubChain) XXX_Marshal

func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartSubChain) XXX_Merge

func (m *StartSubChain) XXX_Merge(src proto.Message)

func (*StartSubChain) XXX_Size

func (m *StartSubChain) XXX_Size() int

func (*StartSubChain) XXX_Unmarshal

func (m *StartSubChain) XXX_Unmarshal(b []byte) error

type StopSubChain

type StopSubChain struct {
	ChainID              uint32   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	StopHeight           uint64   `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"`
	SubChainAddress      string   `protobuf:"bytes,3,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopSubChain) Descriptor

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

func (*StopSubChain) GetChainID

func (m *StopSubChain) GetChainID() uint32

func (*StopSubChain) GetStopHeight

func (m *StopSubChain) GetStopHeight() uint64

func (*StopSubChain) GetSubChainAddress

func (m *StopSubChain) GetSubChainAddress() string

func (*StopSubChain) ProtoMessage

func (*StopSubChain) ProtoMessage()

func (*StopSubChain) Reset

func (m *StopSubChain) Reset()

func (*StopSubChain) String

func (m *StopSubChain) String() string

func (*StopSubChain) XXX_DiscardUnknown

func (m *StopSubChain) XXX_DiscardUnknown()

func (*StopSubChain) XXX_Marshal

func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopSubChain) XXX_Merge

func (m *StopSubChain) XXX_Merge(src proto.Message)

func (*StopSubChain) XXX_Size

func (m *StopSubChain) XXX_Size() int

func (*StopSubChain) XXX_Unmarshal

func (m *StopSubChain) XXX_Unmarshal(b []byte) error

type TerminatePlumChain

type TerminatePlumChain struct {
	SubChainAddress      string   `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TerminatePlumChain) Descriptor

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

func (*TerminatePlumChain) GetSubChainAddress

func (m *TerminatePlumChain) GetSubChainAddress() string

func (*TerminatePlumChain) ProtoMessage

func (*TerminatePlumChain) ProtoMessage()

func (*TerminatePlumChain) Reset

func (m *TerminatePlumChain) Reset()

func (*TerminatePlumChain) String

func (m *TerminatePlumChain) String() string

func (*TerminatePlumChain) XXX_DiscardUnknown

func (m *TerminatePlumChain) XXX_DiscardUnknown()

func (*TerminatePlumChain) XXX_Marshal

func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TerminatePlumChain) XXX_Merge

func (m *TerminatePlumChain) XXX_Merge(src proto.Message)

func (*TerminatePlumChain) XXX_Size

func (m *TerminatePlumChain) XXX_Size() int

func (*TerminatePlumChain) XXX_Unmarshal

func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error

type TransactionLog added in v0.3.1

type TransactionLog struct {
	ActionHash           []byte                        `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
	NumTransactions      uint64                        `protobuf:"varint,2,opt,name=numTransactions,proto3" json:"numTransactions,omitempty"`
	Transactions         []*TransactionLog_Transaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*TransactionLog) Descriptor added in v0.3.1

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

func (*TransactionLog) GetActionHash added in v0.3.1

func (m *TransactionLog) GetActionHash() []byte

func (*TransactionLog) GetNumTransactions added in v0.3.1

func (m *TransactionLog) GetNumTransactions() uint64

func (*TransactionLog) GetTransactions added in v0.3.1

func (m *TransactionLog) GetTransactions() []*TransactionLog_Transaction

func (*TransactionLog) ProtoMessage added in v0.3.1

func (*TransactionLog) ProtoMessage()

func (*TransactionLog) Reset added in v0.3.1

func (m *TransactionLog) Reset()

func (*TransactionLog) String added in v0.3.1

func (m *TransactionLog) String() string

func (*TransactionLog) XXX_DiscardUnknown added in v0.3.1

func (m *TransactionLog) XXX_DiscardUnknown()

func (*TransactionLog) XXX_Marshal added in v0.3.1

func (m *TransactionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionLog) XXX_Merge added in v0.3.1

func (m *TransactionLog) XXX_Merge(src proto.Message)

func (*TransactionLog) XXX_Size added in v0.3.1

func (m *TransactionLog) XXX_Size() int

func (*TransactionLog) XXX_Unmarshal added in v0.3.1

func (m *TransactionLog) XXX_Unmarshal(b []byte) error

type TransactionLogType added in v0.3.1

type TransactionLogType int32
const (
	TransactionLogType_IN_CONTRACT_TRANSFER       TransactionLogType = 0
	TransactionLogType_WITHDRAW_BUCKET            TransactionLogType = 1
	TransactionLogType_CREATE_BUCKET              TransactionLogType = 2
	TransactionLogType_DEPOSIT_TO_BUCKET          TransactionLogType = 3
	TransactionLogType_CANDIDATE_SELF_STAKE       TransactionLogType = 4
	TransactionLogType_CANDIDATE_REGISTRATION_FEE TransactionLogType = 5
	TransactionLogType_GAS_FEE                    TransactionLogType = 6
	TransactionLogType_NATIVE_TRANSFER            TransactionLogType = 7
	TransactionLogType_DEPOSIT_TO_REWARDING_FUND  TransactionLogType = 8
	TransactionLogType_CLAIM_FROM_REWARDING_FUND  TransactionLogType = 9
)

func (TransactionLogType) EnumDescriptor added in v0.3.1

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

func (TransactionLogType) String added in v0.3.1

func (x TransactionLogType) String() string

type TransactionLog_Transaction added in v0.3.1

type TransactionLog_Transaction struct {
	Topic                []byte             `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Amount               string             `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Sender               string             `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            string             `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Type                 TransactionLogType `protobuf:"varint,5,opt,name=type,proto3,enum=iotextypes.TransactionLogType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*TransactionLog_Transaction) Descriptor added in v0.3.1

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

func (*TransactionLog_Transaction) GetAmount added in v0.3.1

func (m *TransactionLog_Transaction) GetAmount() string

func (*TransactionLog_Transaction) GetRecipient added in v0.3.1

func (m *TransactionLog_Transaction) GetRecipient() string

func (*TransactionLog_Transaction) GetSender added in v0.3.1

func (m *TransactionLog_Transaction) GetSender() string

func (*TransactionLog_Transaction) GetTopic added in v0.3.1

func (m *TransactionLog_Transaction) GetTopic() []byte

func (*TransactionLog_Transaction) GetType added in v0.3.2

func (*TransactionLog_Transaction) ProtoMessage added in v0.3.1

func (*TransactionLog_Transaction) ProtoMessage()

func (*TransactionLog_Transaction) Reset added in v0.3.1

func (m *TransactionLog_Transaction) Reset()

func (*TransactionLog_Transaction) String added in v0.3.1

func (m *TransactionLog_Transaction) String() string

func (*TransactionLog_Transaction) XXX_DiscardUnknown added in v0.3.1

func (m *TransactionLog_Transaction) XXX_DiscardUnknown()

func (*TransactionLog_Transaction) XXX_Marshal added in v0.3.1

func (m *TransactionLog_Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionLog_Transaction) XXX_Merge added in v0.3.1

func (m *TransactionLog_Transaction) XXX_Merge(src proto.Message)

func (*TransactionLog_Transaction) XXX_Size added in v0.3.1

func (m *TransactionLog_Transaction) XXX_Size() int

func (*TransactionLog_Transaction) XXX_Unmarshal added in v0.3.1

func (m *TransactionLog_Transaction) XXX_Unmarshal(b []byte) error

type TransactionLogs added in v0.3.2

type TransactionLogs struct {
	Logs                 []*TransactionLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TransactionLogs) Descriptor added in v0.3.2

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

func (*TransactionLogs) GetLogs added in v0.3.2

func (m *TransactionLogs) GetLogs() []*TransactionLog

func (*TransactionLogs) ProtoMessage added in v0.3.2

func (*TransactionLogs) ProtoMessage()

func (*TransactionLogs) Reset added in v0.3.2

func (m *TransactionLogs) Reset()

func (*TransactionLogs) String added in v0.3.2

func (m *TransactionLogs) String() string

func (*TransactionLogs) XXX_DiscardUnknown added in v0.3.2

func (m *TransactionLogs) XXX_DiscardUnknown()

func (*TransactionLogs) XXX_Marshal added in v0.3.2

func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionLogs) XXX_Merge added in v0.3.2

func (m *TransactionLogs) XXX_Merge(src proto.Message)

func (*TransactionLogs) XXX_Size added in v0.3.2

func (m *TransactionLogs) XXX_Size() int

func (*TransactionLogs) XXX_Unmarshal added in v0.3.2

func (m *TransactionLogs) XXX_Unmarshal(b []byte) error

type Transfer

type Transfer struct {
	// used by state-based model
	Amount               string   `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transfer) Descriptor

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

func (*Transfer) GetAmount

func (m *Transfer) GetAmount() string

func (*Transfer) GetPayload

func (m *Transfer) GetPayload() []byte

func (*Transfer) GetRecipient

func (m *Transfer) GetRecipient() string

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) Reset

func (m *Transfer) Reset()

func (*Transfer) String

func (m *Transfer) String() string

func (*Transfer) XXX_DiscardUnknown

func (m *Transfer) XXX_DiscardUnknown()

func (*Transfer) XXX_Marshal

func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transfer) XXX_Merge

func (m *Transfer) XXX_Merge(src proto.Message)

func (*Transfer) XXX_Size

func (m *Transfer) XXX_Size() int

func (*Transfer) XXX_Unmarshal

func (m *Transfer) XXX_Unmarshal(b []byte) error

type VoteBucket added in v0.3.0

type VoteBucket struct {
	Index                uint64               `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	CandidateAddress     string               `protobuf:"bytes,2,opt,name=candidateAddress,proto3" json:"candidateAddress,omitempty"`
	StakedAmount         string               `protobuf:"bytes,3,opt,name=stakedAmount,proto3" json:"stakedAmount,omitempty"`
	StakedDuration       uint32               `protobuf:"varint,4,opt,name=stakedDuration,proto3" json:"stakedDuration,omitempty"`
	CreateTime           *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"`
	StakeStartTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=stakeStartTime,proto3" json:"stakeStartTime,omitempty"`
	UnstakeStartTime     *timestamp.Timestamp `protobuf:"bytes,7,opt,name=unstakeStartTime,proto3" json:"unstakeStartTime,omitempty"`
	AutoStake            bool                 `protobuf:"varint,8,opt,name=autoStake,proto3" json:"autoStake,omitempty"`
	Owner                string               `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*VoteBucket) Descriptor added in v0.3.0

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

func (*VoteBucket) GetAutoStake added in v0.3.0

func (m *VoteBucket) GetAutoStake() bool

func (*VoteBucket) GetCandidateAddress added in v0.3.0

func (m *VoteBucket) GetCandidateAddress() string

func (*VoteBucket) GetCreateTime added in v0.3.0

func (m *VoteBucket) GetCreateTime() *timestamp.Timestamp

func (*VoteBucket) GetIndex added in v0.3.0

func (m *VoteBucket) GetIndex() uint64

func (*VoteBucket) GetOwner added in v0.3.0

func (m *VoteBucket) GetOwner() string

func (*VoteBucket) GetStakeStartTime added in v0.3.0

func (m *VoteBucket) GetStakeStartTime() *timestamp.Timestamp

func (*VoteBucket) GetStakedAmount added in v0.3.0

func (m *VoteBucket) GetStakedAmount() string

func (*VoteBucket) GetStakedDuration added in v0.3.0

func (m *VoteBucket) GetStakedDuration() uint32

func (*VoteBucket) GetUnstakeStartTime added in v0.3.0

func (m *VoteBucket) GetUnstakeStartTime() *timestamp.Timestamp

func (*VoteBucket) ProtoMessage added in v0.3.0

func (*VoteBucket) ProtoMessage()

func (*VoteBucket) Reset added in v0.3.0

func (m *VoteBucket) Reset()

func (*VoteBucket) String added in v0.3.0

func (m *VoteBucket) String() string

func (*VoteBucket) XXX_DiscardUnknown added in v0.3.0

func (m *VoteBucket) XXX_DiscardUnknown()

func (*VoteBucket) XXX_Marshal added in v0.3.0

func (m *VoteBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteBucket) XXX_Merge added in v0.3.0

func (m *VoteBucket) XXX_Merge(src proto.Message)

func (*VoteBucket) XXX_Size added in v0.3.0

func (m *VoteBucket) XXX_Size() int

func (*VoteBucket) XXX_Unmarshal added in v0.3.0

func (m *VoteBucket) XXX_Unmarshal(b []byte) error

type VoteBucketList added in v0.3.0

type VoteBucketList struct {
	Buckets              []*VoteBucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*VoteBucketList) Descriptor added in v0.3.0

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

func (*VoteBucketList) GetBuckets added in v0.3.0

func (m *VoteBucketList) GetBuckets() []*VoteBucket

func (*VoteBucketList) ProtoMessage added in v0.3.0

func (*VoteBucketList) ProtoMessage()

func (*VoteBucketList) Reset added in v0.3.0

func (m *VoteBucketList) Reset()

func (*VoteBucketList) String added in v0.3.0

func (m *VoteBucketList) String() string

func (*VoteBucketList) XXX_DiscardUnknown added in v0.3.0

func (m *VoteBucketList) XXX_DiscardUnknown()

func (*VoteBucketList) XXX_Marshal added in v0.3.0

func (m *VoteBucketList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteBucketList) XXX_Merge added in v0.3.0

func (m *VoteBucketList) XXX_Merge(src proto.Message)

func (*VoteBucketList) XXX_Size added in v0.3.0

func (m *VoteBucketList) XXX_Size() int

func (*VoteBucketList) XXX_Unmarshal added in v0.3.0

func (m *VoteBucketList) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL