iotextypes

package
v0.5.0-rc4-hotfix2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Endorsement_ConsensusVoteTopic_name = map[int32]string{
	0: "PROPOSAL",
	1: "LOCK",
	2: "COMMIT",
}
View Source
var Endorsement_ConsensusVoteTopic_value = map[string]int32{
	"PROPOSAL": 0,
	"LOCK":     1,
	"COMMIT":   2,
}
View Source
var RewardType_name = map[int32]string{
	0: "BlockReward",
	1: "EpochReward",
}
View Source
var RewardType_value = map[string]int32{
	"BlockReward": 0,
	"EpochReward": 1,
}

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"`
	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) 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_Vote
	//	*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_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) 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) 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) GetVote

func (m *ActionCore) GetVote() *Vote

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_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_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 ActionCore_Vote

type ActionCore_Vote struct {
	Vote *Vote `protobuf:"bytes,11,opt,name=vote,proto3,oneof"`
}

type Block

type Block struct {
	Header               *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Actions              []*Action    `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,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) GetActions

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

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 BlockFooter

type BlockFooter struct {
	CommitTimestamp      int64           `protobuf:"varint,1,opt,name=CommitTimestamp,proto3" json:"CommitTimestamp,omitempty"`
	Endorsements         *EndorsementSet `protobuf:"bytes,2,opt,name=endorsements,proto3" json:"endorsements,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) GetCommitTimestamp

func (m *BlockFooter) GetCommitTimestamp() int64

func (*BlockFooter) GetEndorsements

func (m *BlockFooter) GetEndorsements() *EndorsementSet

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"`
	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) 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 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            int64    `protobuf:"varint,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"`
	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) 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() int64

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 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"`
	CreationHeight       uint64   `protobuf:"varint,4,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"`
	LastUpdateHeight     uint64   `protobuf:"varint,5,opt,name=lastUpdateHeight,proto3" json:"lastUpdateHeight,omitempty"`
	RewardAddress        string   `protobuf:"bytes,6,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) GetCreationHeight

func (m *Candidate) GetCreationHeight() uint64

func (*Candidate) GetLastUpdateHeight

func (m *Candidate) GetLastUpdateHeight() uint64

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 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 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"`
	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) 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 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 Endorsement

type Endorsement struct {
	Height               uint64                         `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round                uint32                         `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	BlockHash            []byte                         `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Topic                Endorsement_ConsensusVoteTopic `protobuf:"varint,4,opt,name=topic,proto3,enum=iotextypes.Endorsement_ConsensusVoteTopic" json:"topic,omitempty"`
	Endorser             string                         `protobuf:"bytes,5,opt,name=endorser,proto3" json:"endorser,omitempty"`
	EndorserPubKey       []byte                         `protobuf:"bytes,6,opt,name=endorserPubKey,proto3" json:"endorserPubKey,omitempty"`
	Decision             bool                           `protobuf:"varint,7,opt,name=decision,proto3" json:"decision,omitempty"`
	Signature            []byte                         `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

corresponding to prepare and pre-prepare phase in view change protocol

func (*Endorsement) Descriptor

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

func (*Endorsement) GetBlockHash

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

func (*Endorsement) GetDecision

func (m *Endorsement) GetDecision() bool

func (*Endorsement) GetEndorser

func (m *Endorsement) GetEndorser() string

func (*Endorsement) GetEndorserPubKey

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

func (*Endorsement) GetHeight

func (m *Endorsement) GetHeight() uint64

func (*Endorsement) GetRound

func (m *Endorsement) GetRound() uint32

func (*Endorsement) GetSignature

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

func (*Endorsement) GetTopic

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 EndorsementSet

type EndorsementSet struct {
	BlockHash            []byte         `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	Round                uint32         `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Endorsements         []*Endorsement `protobuf:"bytes,3,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*EndorsementSet) Descriptor

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

func (*EndorsementSet) GetBlockHash

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

func (*EndorsementSet) GetEndorsements

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

func (*EndorsementSet) GetRound

func (m *EndorsementSet) GetRound() uint32

func (*EndorsementSet) ProtoMessage

func (*EndorsementSet) ProtoMessage()

func (*EndorsementSet) Reset

func (m *EndorsementSet) Reset()

func (*EndorsementSet) String

func (m *EndorsementSet) String() string

func (*EndorsementSet) XXX_DiscardUnknown

func (m *EndorsementSet) XXX_DiscardUnknown()

func (*EndorsementSet) XXX_Marshal

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

func (*EndorsementSet) XXX_Merge

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

func (*EndorsementSet) XXX_Size

func (m *EndorsementSet) XXX_Size() int

func (*EndorsementSet) XXX_Unmarshal

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

type Endorsement_ConsensusVoteTopic

type Endorsement_ConsensusVoteTopic int32
const (
	Endorsement_PROPOSAL Endorsement_ConsensusVoteTopic = 0
	Endorsement_LOCK     Endorsement_ConsensusVoteTopic = 1
	Endorsement_COMMIT   Endorsement_ConsensusVoteTopic = 2
)

func (Endorsement_ConsensusVoteTopic) EnumDescriptor

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

func (Endorsement_ConsensusVoteTopic) String

type EpochData

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

func (*EpochData) Descriptor

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

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 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"`
	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) GetInitAdminAddr

func (m *GenesisRewarding) GetInitAdminAddr() string

func (*GenesisRewarding) GetInitBalance

func (m *GenesisRewarding) GetInitBalance() string

func (*GenesisRewarding) GetNumDelegatesForEpochReward

func (m *GenesisRewarding) GetNumDelegatesForEpochReward() 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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GrantReward) Descriptor

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

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 {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,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"`
	BlockNumber          uint64   `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	TxnHash              []byte   `protobuf:"bytes,5,opt,name=txnHash,proto3" json:"txnHash,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) GetAddress

func (m *Log) GetAddress() string

func (*Log) GetBlockNumber

func (m *Log) GetBlockNumber() uint64

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) GetTxnHash

func (m *Log) GetTxnHash() []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 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 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 {
	ReturnValue          []byte   `protobuf:"bytes,1,opt,name=returnValue,proto3" json:"returnValue,omitempty"`
	Status               uint64   `protobuf:"varint,2,opt,name=status,proto3" json:"status,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) GetContractAddress

func (m *Receipt) GetContractAddress() string

func (*Receipt) GetGasConsumed

func (m *Receipt) GetGasConsumed() uint64

func (*Receipt) GetLogs

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

func (*Receipt) GetReturnValue

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

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 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"`
	BuidTime             string   `protobuf:"bytes,5,opt,name=buidTime,proto3" json:"buidTime,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) GetBuidTime

func (m *ServerMeta) GetBuidTime() 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 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 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 Vote

type Vote struct {
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	VoteeAddress         string               `protobuf:"bytes,2,opt,name=voteeAddress,proto3" json:"voteeAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Vote) Descriptor

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

func (*Vote) GetTimestamp

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

func (*Vote) GetVoteeAddress

func (m *Vote) GetVoteeAddress() string

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) String

func (m *Vote) String() string

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

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

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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