iotex-proto: github.com/iotexproject/iotex-proto/golang/iotextypes Index | Files

package iotextypes

import "github.com/iotexproject/iotex-proto/golang/iotextypes"

Index

Package Files

action.pb.go blockchain.pb.go consensus.pb.go election.pb.go endorsement.pb.go genesis.pb.go node.pb.go receiptstatus.pb.go

Variables

var ConsensusVote_Topic_name = map[int32]string{
    0:  "PROPOSAL",
    1:  "LOCK",
    2:  "COMMIT",
}
var ConsensusVote_Topic_value = map[string]int32{
    "PROPOSAL": 0,
    "LOCK":     1,
    "COMMIT":   2,
}
var ReceiptStatus_name = map[int32]string{
    0:   "Failure",
    1:   "Success",
    100: "ErrUnknown",
    101: "ErrOutOfGas",
    102: "ErrCodeStoreOutOfGas",
    103: "ErrDepth",
    104: "ErrContractAddressCollision",
    105: "ErrNoCompatibleInterpreter",
    106: "ErrExecutionReverted",
    107: "ErrMaxCodeSizeExceeded",
    108: "ErrWriteProtection",
}
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,
}
var RewardType_name = map[int32]string{
    0:  "BlockReward",
    1:  "EpochReward",
}
var RewardType_value = map[string]int32{
    "BlockReward": 0,
    "EpochReward": 1,
}

type AccountMeta Uses

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 Uses

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

func (*AccountMeta) GetAddress Uses

func (m *AccountMeta) GetAddress() string

func (*AccountMeta) GetBalance Uses

func (m *AccountMeta) GetBalance() string

func (*AccountMeta) GetNonce Uses

func (m *AccountMeta) GetNonce() uint64

func (*AccountMeta) GetNumActions Uses

func (m *AccountMeta) GetNumActions() uint64

func (*AccountMeta) GetPendingNonce Uses

func (m *AccountMeta) GetPendingNonce() uint64

func (*AccountMeta) ProtoMessage Uses

func (*AccountMeta) ProtoMessage()

func (*AccountMeta) Reset Uses

func (m *AccountMeta) Reset()

func (*AccountMeta) String Uses

func (m *AccountMeta) String() string

func (*AccountMeta) XXX_DiscardUnknown Uses

func (m *AccountMeta) XXX_DiscardUnknown()

func (*AccountMeta) XXX_Marshal Uses

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

func (*AccountMeta) XXX_Merge Uses

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

func (*AccountMeta) XXX_Size Uses

func (m *AccountMeta) XXX_Size() int

func (*AccountMeta) XXX_Unmarshal Uses

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

type Action Uses

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 Uses

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

func (*Action) GetCore Uses

func (m *Action) GetCore() *ActionCore

func (*Action) GetSenderPubKey Uses

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

func (*Action) GetSignature Uses

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

func (*Action) ProtoMessage Uses

func (*Action) ProtoMessage()

func (*Action) Reset Uses

func (m *Action) Reset()

func (*Action) String Uses

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown Uses

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal Uses

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

func (*Action) XXX_Merge Uses

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

func (*Action) XXX_Size Uses

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal Uses

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

type ActionCore Uses

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_PutPollResult
    Action               isActionCore_Action `protobuf_oneof:"action"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

func (*ActionCore) Descriptor Uses

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

func (*ActionCore) GetAction Uses

func (m *ActionCore) GetAction() isActionCore_Action

func (*ActionCore) GetClaimFromRewardingFund Uses

func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund

func (*ActionCore) GetCreateDeposit Uses

func (m *ActionCore) GetCreateDeposit() *CreateDeposit

func (*ActionCore) GetCreatePlumChain Uses

func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain

func (*ActionCore) GetDepositToRewardingFund Uses

func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund

func (*ActionCore) GetExecution Uses

func (m *ActionCore) GetExecution() *Execution

func (*ActionCore) GetGasLimit Uses

func (m *ActionCore) GetGasLimit() uint64

func (*ActionCore) GetGasPrice Uses

func (m *ActionCore) GetGasPrice() string

func (*ActionCore) GetGrantReward Uses

func (m *ActionCore) GetGrantReward() *GrantReward

func (*ActionCore) GetNonce Uses

func (m *ActionCore) GetNonce() uint64

func (*ActionCore) GetPlumChallengeExit Uses

func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit

func (*ActionCore) GetPlumCreateDeposit Uses

func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit

func (*ActionCore) GetPlumFinalizeExit Uses

func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit

func (*ActionCore) GetPlumPutBlock Uses

func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock

func (*ActionCore) GetPlumResponseChallengeExit Uses

func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit

func (*ActionCore) GetPlumSettleDeposit Uses

func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit

func (*ActionCore) GetPlumStartExit Uses

func (m *ActionCore) GetPlumStartExit() *PlumStartExit

func (*ActionCore) GetPlumTransfer Uses

func (m *ActionCore) GetPlumTransfer() *PlumTransfer

func (*ActionCore) GetPutBlock Uses

func (m *ActionCore) GetPutBlock() *PutBlock

func (*ActionCore) GetPutPollResult Uses

func (m *ActionCore) GetPutPollResult() *PutPollResult

func (*ActionCore) GetSettleDeposit Uses

func (m *ActionCore) GetSettleDeposit() *SettleDeposit

func (*ActionCore) GetStartSubChain Uses

func (m *ActionCore) GetStartSubChain() *StartSubChain

func (*ActionCore) GetStopSubChain Uses

func (m *ActionCore) GetStopSubChain() *StopSubChain

func (*ActionCore) GetTerminatePlumChain Uses

func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain

func (*ActionCore) GetTransfer Uses

func (m *ActionCore) GetTransfer() *Transfer

func (*ActionCore) GetVersion Uses

func (m *ActionCore) GetVersion() uint32

func (*ActionCore) ProtoMessage Uses

func (*ActionCore) ProtoMessage()

func (*ActionCore) Reset Uses

func (m *ActionCore) Reset()

func (*ActionCore) String Uses

func (m *ActionCore) String() string

func (*ActionCore) XXX_DiscardUnknown Uses

func (m *ActionCore) XXX_DiscardUnknown()

func (*ActionCore) XXX_Marshal Uses

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

func (*ActionCore) XXX_Merge Uses

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

func (*ActionCore) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ActionCore) XXX_Size Uses

func (m *ActionCore) XXX_Size() int

func (*ActionCore) XXX_Unmarshal Uses

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

type ActionCore_ClaimFromRewardingFund Uses

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

type ActionCore_CreateDeposit Uses

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

type ActionCore_CreatePlumChain Uses

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

type ActionCore_DepositToRewardingFund Uses

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

type ActionCore_Execution Uses

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

type ActionCore_GrantReward Uses

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

type ActionCore_PlumChallengeExit Uses

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

type ActionCore_PlumCreateDeposit Uses

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

type ActionCore_PlumFinalizeExit Uses

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

type ActionCore_PlumPutBlock Uses

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

type ActionCore_PlumResponseChallengeExit Uses

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

type ActionCore_PlumSettleDeposit Uses

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

type ActionCore_PlumStartExit Uses

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

type ActionCore_PlumTransfer Uses

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

type ActionCore_PutBlock Uses

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

type ActionCore_PutPollResult Uses

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

type ActionCore_SettleDeposit Uses

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

type ActionCore_StartSubChain Uses

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

type ActionCore_StopSubChain Uses

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

type ActionCore_TerminatePlumChain Uses

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

type ActionCore_Transfer Uses

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

type Block Uses

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 Uses

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

func (*Block) GetBody Uses

func (m *Block) GetBody() *BlockBody

func (*Block) GetFooter Uses

func (m *Block) GetFooter() *BlockFooter

func (*Block) GetHeader Uses

func (m *Block) GetHeader() *BlockHeader

func (*Block) ProtoMessage Uses

func (*Block) ProtoMessage()

func (*Block) Reset Uses

func (m *Block) Reset()

func (*Block) String Uses

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown Uses

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal Uses

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

func (*Block) XXX_Merge Uses

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

func (*Block) XXX_Size Uses

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal Uses

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

type BlockBody Uses

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 Uses

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

func (*BlockBody) GetActions Uses

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

func (*BlockBody) ProtoMessage Uses

func (*BlockBody) ProtoMessage()

func (*BlockBody) Reset Uses

func (m *BlockBody) Reset()

func (*BlockBody) String Uses

func (m *BlockBody) String() string

func (*BlockBody) XXX_DiscardUnknown Uses

func (m *BlockBody) XXX_DiscardUnknown()

func (*BlockBody) XXX_Marshal Uses

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

func (*BlockBody) XXX_Merge Uses

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

func (*BlockBody) XXX_Size Uses

func (m *BlockBody) XXX_Size() int

func (*BlockBody) XXX_Unmarshal Uses

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

type BlockFooter Uses

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 Uses

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

func (*BlockFooter) GetEndorsements Uses

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

func (*BlockFooter) GetTimestamp Uses

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

func (*BlockFooter) ProtoMessage Uses

func (*BlockFooter) ProtoMessage()

func (*BlockFooter) Reset Uses

func (m *BlockFooter) Reset()

func (*BlockFooter) String Uses

func (m *BlockFooter) String() string

func (*BlockFooter) XXX_DiscardUnknown Uses

func (m *BlockFooter) XXX_DiscardUnknown()

func (*BlockFooter) XXX_Marshal Uses

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

func (*BlockFooter) XXX_Merge Uses

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

func (*BlockFooter) XXX_Size Uses

func (m *BlockFooter) XXX_Size() int

func (*BlockFooter) XXX_Unmarshal Uses

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

type BlockHeader Uses

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 Uses

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

func (*BlockHeader) GetCore Uses

func (m *BlockHeader) GetCore() *BlockHeaderCore

func (*BlockHeader) GetProducerPubkey Uses

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

func (*BlockHeader) GetSignature Uses

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

func (*BlockHeader) ProtoMessage Uses

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset Uses

func (m *BlockHeader) Reset()

func (*BlockHeader) String Uses

func (m *BlockHeader) String() string

func (*BlockHeader) XXX_DiscardUnknown Uses

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal Uses

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

func (*BlockHeader) XXX_Merge Uses

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

func (*BlockHeader) XXX_Size Uses

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal Uses

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

type BlockHeaderCore Uses

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 Uses

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

func (*BlockHeaderCore) GetDeltaStateDigest Uses

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

func (*BlockHeaderCore) GetHeight Uses

func (m *BlockHeaderCore) GetHeight() uint64

func (*BlockHeaderCore) GetLogsBloom Uses

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

func (*BlockHeaderCore) GetPrevBlockHash Uses

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

func (*BlockHeaderCore) GetReceiptRoot Uses

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

func (*BlockHeaderCore) GetTimestamp Uses

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

func (*BlockHeaderCore) GetTxRoot Uses

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

func (*BlockHeaderCore) GetVersion Uses

func (m *BlockHeaderCore) GetVersion() uint32

func (*BlockHeaderCore) ProtoMessage Uses

func (*BlockHeaderCore) ProtoMessage()

func (*BlockHeaderCore) Reset Uses

func (m *BlockHeaderCore) Reset()

func (*BlockHeaderCore) String Uses

func (m *BlockHeaderCore) String() string

func (*BlockHeaderCore) XXX_DiscardUnknown Uses

func (m *BlockHeaderCore) XXX_DiscardUnknown()

func (*BlockHeaderCore) XXX_Marshal Uses

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

func (*BlockHeaderCore) XXX_Merge Uses

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

func (*BlockHeaderCore) XXX_Size Uses

func (m *BlockHeaderCore) XXX_Size() int

func (*BlockHeaderCore) XXX_Unmarshal Uses

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

type BlockMeta Uses

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 Uses

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

func (*BlockMeta) GetDeltaStateDigest Uses

func (m *BlockMeta) GetDeltaStateDigest() string

func (*BlockMeta) GetHash Uses

func (m *BlockMeta) GetHash() string

func (*BlockMeta) GetHeight Uses

func (m *BlockMeta) GetHeight() uint64

func (*BlockMeta) GetLogsBloom Uses

func (m *BlockMeta) GetLogsBloom() string

func (*BlockMeta) GetNumActions Uses

func (m *BlockMeta) GetNumActions() int64

func (*BlockMeta) GetProducerAddress Uses

func (m *BlockMeta) GetProducerAddress() string

func (*BlockMeta) GetReceiptRoot Uses

func (m *BlockMeta) GetReceiptRoot() string

func (*BlockMeta) GetTimestamp Uses

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

func (*BlockMeta) GetTransferAmount Uses

func (m *BlockMeta) GetTransferAmount() string

func (*BlockMeta) GetTxRoot Uses

func (m *BlockMeta) GetTxRoot() string

func (*BlockMeta) ProtoMessage Uses

func (*BlockMeta) ProtoMessage()

func (*BlockMeta) Reset Uses

func (m *BlockMeta) Reset()

func (*BlockMeta) String Uses

func (m *BlockMeta) String() string

func (*BlockMeta) XXX_DiscardUnknown Uses

func (m *BlockMeta) XXX_DiscardUnknown()

func (*BlockMeta) XXX_Marshal Uses

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

func (*BlockMeta) XXX_Merge Uses

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

func (*BlockMeta) XXX_Size Uses

func (m *BlockMeta) XXX_Size() int

func (*BlockMeta) XXX_Unmarshal Uses

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

type BlockProposal Uses

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 Uses

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

func (*BlockProposal) GetBlock Uses

func (m *BlockProposal) GetBlock() *Block

func (*BlockProposal) GetEndorsements Uses

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

func (*BlockProposal) ProtoMessage Uses

func (*BlockProposal) ProtoMessage()

func (*BlockProposal) Reset Uses

func (m *BlockProposal) Reset()

func (*BlockProposal) String Uses

func (m *BlockProposal) String() string

func (*BlockProposal) XXX_DiscardUnknown Uses

func (m *BlockProposal) XXX_DiscardUnknown()

func (*BlockProposal) XXX_Marshal Uses

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

func (*BlockProposal) XXX_Merge Uses

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

func (*BlockProposal) XXX_Size Uses

func (m *BlockProposal) XXX_Size() int

func (*BlockProposal) XXX_Unmarshal Uses

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

type Candidate Uses

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 Uses

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

func (*Candidate) GetAddress Uses

func (m *Candidate) GetAddress() string

func (*Candidate) GetPubKey Uses

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

func (*Candidate) GetRewardAddress Uses

func (m *Candidate) GetRewardAddress() string

func (*Candidate) GetVotes Uses

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

func (*Candidate) ProtoMessage Uses

func (*Candidate) ProtoMessage()

func (*Candidate) Reset Uses

func (m *Candidate) Reset()

func (*Candidate) String Uses

func (m *Candidate) String() string

func (*Candidate) XXX_DiscardUnknown Uses

func (m *Candidate) XXX_DiscardUnknown()

func (*Candidate) XXX_Marshal Uses

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

func (*Candidate) XXX_Merge Uses

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

func (*Candidate) XXX_Size Uses

func (m *Candidate) XXX_Size() int

func (*Candidate) XXX_Unmarshal Uses

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

type CandidateList Uses

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 Uses

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

func (*CandidateList) GetCandidates Uses

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

func (*CandidateList) ProtoMessage Uses

func (*CandidateList) ProtoMessage()

func (*CandidateList) Reset Uses

func (m *CandidateList) Reset()

func (*CandidateList) String Uses

func (m *CandidateList) String() string

func (*CandidateList) XXX_DiscardUnknown Uses

func (m *CandidateList) XXX_DiscardUnknown()

func (*CandidateList) XXX_Marshal Uses

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

func (*CandidateList) XXX_Merge Uses

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

func (*CandidateList) XXX_Size Uses

func (m *CandidateList) XXX_Size() int

func (*CandidateList) XXX_Unmarshal Uses

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

type ChainMeta Uses

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 Uses

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

func (*ChainMeta) GetEpoch Uses

func (m *ChainMeta) GetEpoch() *EpochData

func (*ChainMeta) GetHeight Uses

func (m *ChainMeta) GetHeight() uint64

func (*ChainMeta) GetNumActions Uses

func (m *ChainMeta) GetNumActions() int64

func (*ChainMeta) GetTps Uses

func (m *ChainMeta) GetTps() int64

func (*ChainMeta) GetTpsFloat Uses

func (m *ChainMeta) GetTpsFloat() float32

func (*ChainMeta) ProtoMessage Uses

func (*ChainMeta) ProtoMessage()

func (*ChainMeta) Reset Uses

func (m *ChainMeta) Reset()

func (*ChainMeta) String Uses

func (m *ChainMeta) String() string

func (*ChainMeta) XXX_DiscardUnknown Uses

func (m *ChainMeta) XXX_DiscardUnknown()

func (*ChainMeta) XXX_Marshal Uses

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

func (*ChainMeta) XXX_Merge Uses

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

func (*ChainMeta) XXX_Size Uses

func (m *ChainMeta) XXX_Size() int

func (*ChainMeta) XXX_Unmarshal Uses

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

type ClaimFromRewardingFund Uses

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 Uses

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

func (*ClaimFromRewardingFund) GetAmount Uses

func (m *ClaimFromRewardingFund) GetAmount() string

func (*ClaimFromRewardingFund) GetData Uses

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

func (*ClaimFromRewardingFund) ProtoMessage Uses

func (*ClaimFromRewardingFund) ProtoMessage()

func (*ClaimFromRewardingFund) Reset Uses

func (m *ClaimFromRewardingFund) Reset()

func (*ClaimFromRewardingFund) String Uses

func (m *ClaimFromRewardingFund) String() string

func (*ClaimFromRewardingFund) XXX_DiscardUnknown Uses

func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()

func (*ClaimFromRewardingFund) XXX_Marshal Uses

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

func (*ClaimFromRewardingFund) XXX_Merge Uses

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

func (*ClaimFromRewardingFund) XXX_Size Uses

func (m *ClaimFromRewardingFund) XXX_Size() int

func (*ClaimFromRewardingFund) XXX_Unmarshal Uses

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

type ConsensusMessage Uses

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 Uses

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

func (*ConsensusMessage) GetBlockProposal Uses

func (m *ConsensusMessage) GetBlockProposal() *BlockProposal

func (*ConsensusMessage) GetEndorsement Uses

func (m *ConsensusMessage) GetEndorsement() *Endorsement

func (*ConsensusMessage) GetHeight Uses

func (m *ConsensusMessage) GetHeight() uint64

func (*ConsensusMessage) GetMsg Uses

func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg

func (*ConsensusMessage) GetVote Uses

func (m *ConsensusMessage) GetVote() *ConsensusVote

func (*ConsensusMessage) ProtoMessage Uses

func (*ConsensusMessage) ProtoMessage()

func (*ConsensusMessage) Reset Uses

func (m *ConsensusMessage) Reset()

func (*ConsensusMessage) String Uses

func (m *ConsensusMessage) String() string

func (*ConsensusMessage) XXX_DiscardUnknown Uses

func (m *ConsensusMessage) XXX_DiscardUnknown()

func (*ConsensusMessage) XXX_Marshal Uses

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

func (*ConsensusMessage) XXX_Merge Uses

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

func (*ConsensusMessage) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConsensusMessage) XXX_Size Uses

func (m *ConsensusMessage) XXX_Size() int

func (*ConsensusMessage) XXX_Unmarshal Uses

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

type ConsensusMessage_BlockProposal Uses

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

type ConsensusMessage_Vote Uses

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

type ConsensusVote Uses

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 Uses

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

func (*ConsensusVote) GetBlockHash Uses

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

func (*ConsensusVote) GetTopic Uses

func (m *ConsensusVote) GetTopic() ConsensusVote_Topic

func (*ConsensusVote) ProtoMessage Uses

func (*ConsensusVote) ProtoMessage()

func (*ConsensusVote) Reset Uses

func (m *ConsensusVote) Reset()

func (*ConsensusVote) String Uses

func (m *ConsensusVote) String() string

func (*ConsensusVote) XXX_DiscardUnknown Uses

func (m *ConsensusVote) XXX_DiscardUnknown()

func (*ConsensusVote) XXX_Marshal Uses

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

func (*ConsensusVote) XXX_Merge Uses

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

func (*ConsensusVote) XXX_Size Uses

func (m *ConsensusVote) XXX_Size() int

func (*ConsensusVote) XXX_Unmarshal Uses

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

type ConsensusVote_Topic Uses

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

func (ConsensusVote_Topic) EnumDescriptor Uses

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

func (ConsensusVote_Topic) String Uses

func (x ConsensusVote_Topic) String() string

type CreateDeposit Uses

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 Uses

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

func (*CreateDeposit) GetAmount Uses

func (m *CreateDeposit) GetAmount() string

func (*CreateDeposit) GetChainID Uses

func (m *CreateDeposit) GetChainID() uint32

func (*CreateDeposit) GetRecipient Uses

func (m *CreateDeposit) GetRecipient() string

func (*CreateDeposit) ProtoMessage Uses

func (*CreateDeposit) ProtoMessage()

func (*CreateDeposit) Reset Uses

func (m *CreateDeposit) Reset()

func (*CreateDeposit) String Uses

func (m *CreateDeposit) String() string

func (*CreateDeposit) XXX_DiscardUnknown Uses

func (m *CreateDeposit) XXX_DiscardUnknown()

func (*CreateDeposit) XXX_Marshal Uses

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

func (*CreateDeposit) XXX_Merge Uses

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

func (*CreateDeposit) XXX_Size Uses

func (m *CreateDeposit) XXX_Size() int

func (*CreateDeposit) XXX_Unmarshal Uses

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

type CreatePlumChain Uses

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

plum main chain APIs

func (*CreatePlumChain) Descriptor Uses

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

func (*CreatePlumChain) ProtoMessage Uses

func (*CreatePlumChain) ProtoMessage()

func (*CreatePlumChain) Reset Uses

func (m *CreatePlumChain) Reset()

func (*CreatePlumChain) String Uses

func (m *CreatePlumChain) String() string

func (*CreatePlumChain) XXX_DiscardUnknown Uses

func (m *CreatePlumChain) XXX_DiscardUnknown()

func (*CreatePlumChain) XXX_Marshal Uses

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

func (*CreatePlumChain) XXX_Merge Uses

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

func (*CreatePlumChain) XXX_Size Uses

func (m *CreatePlumChain) XXX_Size() int

func (*CreatePlumChain) XXX_Unmarshal Uses

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

type DepositToRewardingFund Uses

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 Uses

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

func (*DepositToRewardingFund) GetAmount Uses

func (m *DepositToRewardingFund) GetAmount() string

func (*DepositToRewardingFund) GetData Uses

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

func (*DepositToRewardingFund) ProtoMessage Uses

func (*DepositToRewardingFund) ProtoMessage()

func (*DepositToRewardingFund) Reset Uses

func (m *DepositToRewardingFund) Reset()

func (*DepositToRewardingFund) String Uses

func (m *DepositToRewardingFund) String() string

func (*DepositToRewardingFund) XXX_DiscardUnknown Uses

func (m *DepositToRewardingFund) XXX_DiscardUnknown()

func (*DepositToRewardingFund) XXX_Marshal Uses

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

func (*DepositToRewardingFund) XXX_Merge Uses

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

func (*DepositToRewardingFund) XXX_Size Uses

func (m *DepositToRewardingFund) XXX_Size() int

func (*DepositToRewardingFund) XXX_Unmarshal Uses

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

type ElectionBucket Uses

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 Uses

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

func (*ElectionBucket) GetAmount Uses

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

func (*ElectionBucket) GetCandidate Uses

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

func (*ElectionBucket) GetDecay Uses

func (m *ElectionBucket) GetDecay() bool

func (*ElectionBucket) GetDuration Uses

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

func (*ElectionBucket) GetStartTime Uses

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

func (*ElectionBucket) GetVoter Uses

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

func (*ElectionBucket) ProtoMessage Uses

func (*ElectionBucket) ProtoMessage()

func (*ElectionBucket) Reset Uses

func (m *ElectionBucket) Reset()

func (*ElectionBucket) String Uses

func (m *ElectionBucket) String() string

func (*ElectionBucket) XXX_DiscardUnknown Uses

func (m *ElectionBucket) XXX_DiscardUnknown()

func (*ElectionBucket) XXX_Marshal Uses

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

func (*ElectionBucket) XXX_Merge Uses

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

func (*ElectionBucket) XXX_Size Uses

func (m *ElectionBucket) XXX_Size() int

func (*ElectionBucket) XXX_Unmarshal Uses

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

type Endorsement Uses

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 Uses

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

func (*Endorsement) GetEndorser Uses

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

func (*Endorsement) GetSignature Uses

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

func (*Endorsement) GetTimestamp Uses

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

func (*Endorsement) ProtoMessage Uses

func (*Endorsement) ProtoMessage()

func (*Endorsement) Reset Uses

func (m *Endorsement) Reset()

func (*Endorsement) String Uses

func (m *Endorsement) String() string

func (*Endorsement) XXX_DiscardUnknown Uses

func (m *Endorsement) XXX_DiscardUnknown()

func (*Endorsement) XXX_Marshal Uses

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

func (*Endorsement) XXX_Merge Uses

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

func (*Endorsement) XXX_Size Uses

func (m *Endorsement) XXX_Size() int

func (*Endorsement) XXX_Unmarshal Uses

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

type EpochData Uses

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 Uses

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

func (*EpochData) GetGravityChainStartHeight Uses

func (m *EpochData) GetGravityChainStartHeight() uint64

func (*EpochData) GetHeight Uses

func (m *EpochData) GetHeight() uint64

func (*EpochData) GetNum Uses

func (m *EpochData) GetNum() uint64

func (*EpochData) ProtoMessage Uses

func (*EpochData) ProtoMessage()

func (*EpochData) Reset Uses

func (m *EpochData) Reset()

func (*EpochData) String Uses

func (m *EpochData) String() string

func (*EpochData) XXX_DiscardUnknown Uses

func (m *EpochData) XXX_DiscardUnknown()

func (*EpochData) XXX_Marshal Uses

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

func (*EpochData) XXX_Merge Uses

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

func (*EpochData) XXX_Size Uses

func (m *EpochData) XXX_Size() int

func (*EpochData) XXX_Unmarshal Uses

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

type Execution Uses

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 Uses

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

func (*Execution) GetAmount Uses

func (m *Execution) GetAmount() string

func (*Execution) GetContract Uses

func (m *Execution) GetContract() string

func (*Execution) GetData Uses

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

func (*Execution) ProtoMessage Uses

func (*Execution) ProtoMessage()

func (*Execution) Reset Uses

func (m *Execution) Reset()

func (*Execution) String Uses

func (m *Execution) String() string

func (*Execution) XXX_DiscardUnknown Uses

func (m *Execution) XXX_DiscardUnknown()

func (*Execution) XXX_Marshal Uses

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

func (*Execution) XXX_Merge Uses

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

func (*Execution) XXX_Size Uses

func (m *Execution) XXX_Size() int

func (*Execution) XXX_Unmarshal Uses

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

type Genesis Uses

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 Uses

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

func (*Genesis) GetAccount Uses

func (m *Genesis) GetAccount() *GenesisAccount

func (*Genesis) GetBlockchain Uses

func (m *Genesis) GetBlockchain() *GenesisBlockchain

func (*Genesis) GetPoll Uses

func (m *Genesis) GetPoll() *GenesisPoll

func (*Genesis) GetRewarding Uses

func (m *Genesis) GetRewarding() *GenesisRewarding

func (*Genesis) ProtoMessage Uses

func (*Genesis) ProtoMessage()

func (*Genesis) Reset Uses

func (m *Genesis) Reset()

func (*Genesis) String Uses

func (m *Genesis) String() string

func (*Genesis) XXX_DiscardUnknown Uses

func (m *Genesis) XXX_DiscardUnknown()

func (*Genesis) XXX_Marshal Uses

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

func (*Genesis) XXX_Merge Uses

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

func (*Genesis) XXX_Size Uses

func (m *Genesis) XXX_Size() int

func (*Genesis) XXX_Unmarshal Uses

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

type GenesisAccount Uses

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 Uses

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

func (*GenesisAccount) GetInitBalanceAddrs Uses

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

func (*GenesisAccount) GetInitBalances Uses

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

func (*GenesisAccount) ProtoMessage Uses

func (*GenesisAccount) ProtoMessage()

func (*GenesisAccount) Reset Uses

func (m *GenesisAccount) Reset()

func (*GenesisAccount) String Uses

func (m *GenesisAccount) String() string

func (*GenesisAccount) XXX_DiscardUnknown Uses

func (m *GenesisAccount) XXX_DiscardUnknown()

func (*GenesisAccount) XXX_Marshal Uses

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

func (*GenesisAccount) XXX_Merge Uses

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

func (*GenesisAccount) XXX_Size Uses

func (m *GenesisAccount) XXX_Size() int

func (*GenesisAccount) XXX_Unmarshal Uses

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

type GenesisBlockchain Uses

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 Uses

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

func (*GenesisBlockchain) GetActionGasLimit Uses

func (m *GenesisBlockchain) GetActionGasLimit() uint64

func (*GenesisBlockchain) GetBlockGasLimit Uses

func (m *GenesisBlockchain) GetBlockGasLimit() uint64

func (*GenesisBlockchain) GetBlockInterval Uses

func (m *GenesisBlockchain) GetBlockInterval() int64

func (*GenesisBlockchain) GetNumCandidateDelegates Uses

func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64

func (*GenesisBlockchain) GetNumDelegates Uses

func (m *GenesisBlockchain) GetNumDelegates() uint64

func (*GenesisBlockchain) GetNumSubEpochs Uses

func (m *GenesisBlockchain) GetNumSubEpochs() uint64

func (*GenesisBlockchain) GetTimeBasedRotation Uses

func (m *GenesisBlockchain) GetTimeBasedRotation() bool

func (*GenesisBlockchain) GetTimestamp Uses

func (m *GenesisBlockchain) GetTimestamp() int64

func (*GenesisBlockchain) ProtoMessage Uses

func (*GenesisBlockchain) ProtoMessage()

func (*GenesisBlockchain) Reset Uses

func (m *GenesisBlockchain) Reset()

func (*GenesisBlockchain) String Uses

func (m *GenesisBlockchain) String() string

func (*GenesisBlockchain) XXX_DiscardUnknown Uses

func (m *GenesisBlockchain) XXX_DiscardUnknown()

func (*GenesisBlockchain) XXX_Marshal Uses

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

func (*GenesisBlockchain) XXX_Merge Uses

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

func (*GenesisBlockchain) XXX_Size Uses

func (m *GenesisBlockchain) XXX_Size() int

func (*GenesisBlockchain) XXX_Unmarshal Uses

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

type GenesisDelegate Uses

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 Uses

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

func (*GenesisDelegate) GetOperatorAddr Uses

func (m *GenesisDelegate) GetOperatorAddr() string

func (*GenesisDelegate) GetRewardAddr Uses

func (m *GenesisDelegate) GetRewardAddr() string

func (*GenesisDelegate) GetVotes Uses

func (m *GenesisDelegate) GetVotes() string

func (*GenesisDelegate) ProtoMessage Uses

func (*GenesisDelegate) ProtoMessage()

func (*GenesisDelegate) Reset Uses

func (m *GenesisDelegate) Reset()

func (*GenesisDelegate) String Uses

func (m *GenesisDelegate) String() string

func (*GenesisDelegate) XXX_DiscardUnknown Uses

func (m *GenesisDelegate) XXX_DiscardUnknown()

func (*GenesisDelegate) XXX_Marshal Uses

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

func (*GenesisDelegate) XXX_Merge Uses

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

func (*GenesisDelegate) XXX_Size Uses

func (m *GenesisDelegate) XXX_Size() int

func (*GenesisDelegate) XXX_Unmarshal Uses

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

type GenesisPoll Uses

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 Uses

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

func (*GenesisPoll) GetDelegates Uses

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

func (*GenesisPoll) GetEnableGravityChainVoting Uses

func (m *GenesisPoll) GetEnableGravityChainVoting() bool

func (*GenesisPoll) GetGravityChainStartHeight Uses

func (m *GenesisPoll) GetGravityChainStartHeight() uint64

func (*GenesisPoll) GetRegisterContractAddress Uses

func (m *GenesisPoll) GetRegisterContractAddress() string

func (*GenesisPoll) GetScoreThreshold Uses

func (m *GenesisPoll) GetScoreThreshold() string

func (*GenesisPoll) GetSelfStakingThreshold Uses

func (m *GenesisPoll) GetSelfStakingThreshold() string

func (*GenesisPoll) GetStakingContractAddress Uses

func (m *GenesisPoll) GetStakingContractAddress() string

func (*GenesisPoll) GetVoteThreshold Uses

func (m *GenesisPoll) GetVoteThreshold() string

func (*GenesisPoll) ProtoMessage Uses

func (*GenesisPoll) ProtoMessage()

func (*GenesisPoll) Reset Uses

func (m *GenesisPoll) Reset()

func (*GenesisPoll) String Uses

func (m *GenesisPoll) String() string

func (*GenesisPoll) XXX_DiscardUnknown Uses

func (m *GenesisPoll) XXX_DiscardUnknown()

func (*GenesisPoll) XXX_Marshal Uses

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

func (*GenesisPoll) XXX_Merge Uses

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

func (*GenesisPoll) XXX_Size Uses

func (m *GenesisPoll) XXX_Size() int

func (*GenesisPoll) XXX_Unmarshal Uses

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

type GenesisRewarding Uses

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 Uses

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

func (*GenesisRewarding) GetBlockReward Uses

func (m *GenesisRewarding) GetBlockReward() string

func (*GenesisRewarding) GetEpochReward Uses

func (m *GenesisRewarding) GetEpochReward() string

func (*GenesisRewarding) GetFoundationBonus Uses

func (m *GenesisRewarding) GetFoundationBonus() string

func (*GenesisRewarding) GetFoundationBonusLastEpoch Uses

func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64

func (*GenesisRewarding) GetInitAdminAddr Uses

func (m *GenesisRewarding) GetInitAdminAddr() string

func (*GenesisRewarding) GetInitBalance Uses

func (m *GenesisRewarding) GetInitBalance() string

func (*GenesisRewarding) GetNumDelegatesForEpochReward Uses

func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64

func (*GenesisRewarding) GetNumDelegatesForFoundationBonus Uses

func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64

func (*GenesisRewarding) GetProductivityThreshold Uses

func (m *GenesisRewarding) GetProductivityThreshold() uint64

func (*GenesisRewarding) ProtoMessage Uses

func (*GenesisRewarding) ProtoMessage()

func (*GenesisRewarding) Reset Uses

func (m *GenesisRewarding) Reset()

func (*GenesisRewarding) String Uses

func (m *GenesisRewarding) String() string

func (*GenesisRewarding) XXX_DiscardUnknown Uses

func (m *GenesisRewarding) XXX_DiscardUnknown()

func (*GenesisRewarding) XXX_Marshal Uses

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

func (*GenesisRewarding) XXX_Merge Uses

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

func (*GenesisRewarding) XXX_Size Uses

func (m *GenesisRewarding) XXX_Size() int

func (*GenesisRewarding) XXX_Unmarshal Uses

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

type GrantReward Uses

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 Uses

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

func (*GrantReward) GetHeight Uses

func (m *GrantReward) GetHeight() uint64

func (*GrantReward) GetType Uses

func (m *GrantReward) GetType() RewardType

func (*GrantReward) ProtoMessage Uses

func (*GrantReward) ProtoMessage()

func (*GrantReward) Reset Uses

func (m *GrantReward) Reset()

func (*GrantReward) String Uses

func (m *GrantReward) String() string

func (*GrantReward) XXX_DiscardUnknown Uses

func (m *GrantReward) XXX_DiscardUnknown()

func (*GrantReward) XXX_Marshal Uses

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

func (*GrantReward) XXX_Merge Uses

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

func (*GrantReward) XXX_Size Uses

func (m *GrantReward) XXX_Size() int

func (*GrantReward) XXX_Unmarshal Uses

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

type Log Uses

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 Uses

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

func (*Log) GetActHash Uses

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

func (*Log) GetBlkHeight Uses

func (m *Log) GetBlkHeight() uint64

func (*Log) GetContractAddress Uses

func (m *Log) GetContractAddress() string

func (*Log) GetData Uses

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

func (*Log) GetIndex Uses

func (m *Log) GetIndex() uint32

func (*Log) GetTopics Uses

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

func (*Log) ProtoMessage Uses

func (*Log) ProtoMessage()

func (*Log) Reset Uses

func (m *Log) Reset()

func (*Log) String Uses

func (m *Log) String() string

func (*Log) XXX_DiscardUnknown Uses

func (m *Log) XXX_DiscardUnknown()

func (*Log) XXX_Marshal Uses

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

func (*Log) XXX_Merge Uses

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

func (*Log) XXX_Size Uses

func (m *Log) XXX_Size() int

func (*Log) XXX_Unmarshal Uses

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

type MerkleRoot Uses

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 Uses

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

func (*MerkleRoot) GetName Uses

func (m *MerkleRoot) GetName() string

func (*MerkleRoot) GetValue Uses

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

func (*MerkleRoot) ProtoMessage Uses

func (*MerkleRoot) ProtoMessage()

func (*MerkleRoot) Reset Uses

func (m *MerkleRoot) Reset()

func (*MerkleRoot) String Uses

func (m *MerkleRoot) String() string

func (*MerkleRoot) XXX_DiscardUnknown Uses

func (m *MerkleRoot) XXX_DiscardUnknown()

func (*MerkleRoot) XXX_Marshal Uses

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

func (*MerkleRoot) XXX_Merge Uses

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

func (*MerkleRoot) XXX_Size Uses

func (m *MerkleRoot) XXX_Size() int

func (*MerkleRoot) XXX_Unmarshal Uses

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

type PlumChallengeExit Uses

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 Uses

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

func (*PlumChallengeExit) GetChallengeTransfer Uses

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

func (*PlumChallengeExit) GetChallengeTransferBlockHeight Uses

func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64

func (*PlumChallengeExit) GetChallengeTransferBlockProof Uses

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

func (*PlumChallengeExit) GetCoinID Uses

func (m *PlumChallengeExit) GetCoinID() uint64

func (*PlumChallengeExit) GetSubChainAddress Uses

func (m *PlumChallengeExit) GetSubChainAddress() string

func (*PlumChallengeExit) ProtoMessage Uses

func (*PlumChallengeExit) ProtoMessage()

func (*PlumChallengeExit) Reset Uses

func (m *PlumChallengeExit) Reset()

func (*PlumChallengeExit) String Uses

func (m *PlumChallengeExit) String() string

func (*PlumChallengeExit) XXX_DiscardUnknown Uses

func (m *PlumChallengeExit) XXX_DiscardUnknown()

func (*PlumChallengeExit) XXX_Marshal Uses

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

func (*PlumChallengeExit) XXX_Merge Uses

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

func (*PlumChallengeExit) XXX_Size Uses

func (m *PlumChallengeExit) XXX_Size() int

func (*PlumChallengeExit) XXX_Unmarshal Uses

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

type PlumCreateDeposit Uses

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 Uses

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

func (*PlumCreateDeposit) GetAmount Uses

func (m *PlumCreateDeposit) GetAmount() string

func (*PlumCreateDeposit) GetRecipient Uses

func (m *PlumCreateDeposit) GetRecipient() string

func (*PlumCreateDeposit) GetSubChainAddress Uses

func (m *PlumCreateDeposit) GetSubChainAddress() string

func (*PlumCreateDeposit) ProtoMessage Uses

func (*PlumCreateDeposit) ProtoMessage()

func (*PlumCreateDeposit) Reset Uses

func (m *PlumCreateDeposit) Reset()

func (*PlumCreateDeposit) String Uses

func (m *PlumCreateDeposit) String() string

func (*PlumCreateDeposit) XXX_DiscardUnknown Uses

func (m *PlumCreateDeposit) XXX_DiscardUnknown()

func (*PlumCreateDeposit) XXX_Marshal Uses

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

func (*PlumCreateDeposit) XXX_Merge Uses

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

func (*PlumCreateDeposit) XXX_Size Uses

func (m *PlumCreateDeposit) XXX_Size() int

func (*PlumCreateDeposit) XXX_Unmarshal Uses

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

type PlumFinalizeExit Uses

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 Uses

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

func (*PlumFinalizeExit) GetCoinID Uses

func (m *PlumFinalizeExit) GetCoinID() uint64

func (*PlumFinalizeExit) GetSubChainAddress Uses

func (m *PlumFinalizeExit) GetSubChainAddress() string

func (*PlumFinalizeExit) ProtoMessage Uses

func (*PlumFinalizeExit) ProtoMessage()

func (*PlumFinalizeExit) Reset Uses

func (m *PlumFinalizeExit) Reset()

func (*PlumFinalizeExit) String Uses

func (m *PlumFinalizeExit) String() string

func (*PlumFinalizeExit) XXX_DiscardUnknown Uses

func (m *PlumFinalizeExit) XXX_DiscardUnknown()

func (*PlumFinalizeExit) XXX_Marshal Uses

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

func (*PlumFinalizeExit) XXX_Merge Uses

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

func (*PlumFinalizeExit) XXX_Size Uses

func (m *PlumFinalizeExit) XXX_Size() int

func (*PlumFinalizeExit) XXX_Unmarshal Uses

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

type PlumPutBlock Uses

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 `protobuf:"bytes,3,rep,name=roots,proto3" json:"roots,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*PlumPutBlock) Descriptor Uses

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

func (*PlumPutBlock) GetHeight Uses

func (m *PlumPutBlock) GetHeight() uint64

func (*PlumPutBlock) GetRoots Uses

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

func (*PlumPutBlock) GetSubChainAddress Uses

func (m *PlumPutBlock) GetSubChainAddress() string

func (*PlumPutBlock) ProtoMessage Uses

func (*PlumPutBlock) ProtoMessage()

func (*PlumPutBlock) Reset Uses

func (m *PlumPutBlock) Reset()

func (*PlumPutBlock) String Uses

func (m *PlumPutBlock) String() string

func (*PlumPutBlock) XXX_DiscardUnknown Uses

func (m *PlumPutBlock) XXX_DiscardUnknown()

func (*PlumPutBlock) XXX_Marshal Uses

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

func (*PlumPutBlock) XXX_Merge Uses

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

func (*PlumPutBlock) XXX_Size Uses

func (m *PlumPutBlock) XXX_Size() int

func (*PlumPutBlock) XXX_Unmarshal Uses

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

type PlumResponseChallengeExit Uses

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 Uses

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

func (*PlumResponseChallengeExit) GetChallengeTransfer Uses

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

func (*PlumResponseChallengeExit) GetCoinID Uses

func (m *PlumResponseChallengeExit) GetCoinID() uint64

func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight Uses

func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64

func (*PlumResponseChallengeExit) GetResponseTransfer Uses

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

func (*PlumResponseChallengeExit) GetResponseTransferBlockProof Uses

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

func (*PlumResponseChallengeExit) GetSubChainAddress Uses

func (m *PlumResponseChallengeExit) GetSubChainAddress() string

func (*PlumResponseChallengeExit) ProtoMessage Uses

func (*PlumResponseChallengeExit) ProtoMessage()

func (*PlumResponseChallengeExit) Reset Uses

func (m *PlumResponseChallengeExit) Reset()

func (*PlumResponseChallengeExit) String Uses

func (m *PlumResponseChallengeExit) String() string

func (*PlumResponseChallengeExit) XXX_DiscardUnknown Uses

func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()

func (*PlumResponseChallengeExit) XXX_Marshal Uses

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

func (*PlumResponseChallengeExit) XXX_Merge Uses

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

func (*PlumResponseChallengeExit) XXX_Size Uses

func (m *PlumResponseChallengeExit) XXX_Size() int

func (*PlumResponseChallengeExit) XXX_Unmarshal Uses

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

type PlumSettleDeposit Uses

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 Uses

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

func (*PlumSettleDeposit) GetCoinID Uses

func (m *PlumSettleDeposit) GetCoinID() uint64

func (*PlumSettleDeposit) ProtoMessage Uses

func (*PlumSettleDeposit) ProtoMessage()

func (*PlumSettleDeposit) Reset Uses

func (m *PlumSettleDeposit) Reset()

func (*PlumSettleDeposit) String Uses

func (m *PlumSettleDeposit) String() string

func (*PlumSettleDeposit) XXX_DiscardUnknown Uses

func (m *PlumSettleDeposit) XXX_DiscardUnknown()

func (*PlumSettleDeposit) XXX_Marshal Uses

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

func (*PlumSettleDeposit) XXX_Merge Uses

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

func (*PlumSettleDeposit) XXX_Size Uses

func (m *PlumSettleDeposit) XXX_Size() int

func (*PlumSettleDeposit) XXX_Unmarshal Uses

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

type PlumStartExit Uses

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 Uses

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

func (*PlumStartExit) GetExitTransfer Uses

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

func (*PlumStartExit) GetExitTransferBlockHeight Uses

func (m *PlumStartExit) GetExitTransferBlockHeight() uint64

func (*PlumStartExit) GetExitTransferBlockProof Uses

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

func (*PlumStartExit) GetPreviousTransfer Uses

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

func (*PlumStartExit) GetPreviousTransferBlockHeight Uses

func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64

func (*PlumStartExit) GetPreviousTransferBlockProof Uses

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

func (*PlumStartExit) GetSubChainAddress Uses

func (m *PlumStartExit) GetSubChainAddress() string

func (*PlumStartExit) ProtoMessage Uses

func (*PlumStartExit) ProtoMessage()

func (*PlumStartExit) Reset Uses

func (m *PlumStartExit) Reset()

func (*PlumStartExit) String Uses

func (m *PlumStartExit) String() string

func (*PlumStartExit) XXX_DiscardUnknown Uses

func (m *PlumStartExit) XXX_DiscardUnknown()

func (*PlumStartExit) XXX_Marshal Uses

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

func (*PlumStartExit) XXX_Merge Uses

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

func (*PlumStartExit) XXX_Size Uses

func (m *PlumStartExit) XXX_Size() int

func (*PlumStartExit) XXX_Unmarshal Uses

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

type PlumTransfer Uses

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 Uses

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

func (*PlumTransfer) GetCoinID Uses

func (m *PlumTransfer) GetCoinID() uint64

func (*PlumTransfer) GetDenomination Uses

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

func (*PlumTransfer) GetOwner Uses

func (m *PlumTransfer) GetOwner() string

func (*PlumTransfer) GetRecipient Uses

func (m *PlumTransfer) GetRecipient() string

func (*PlumTransfer) ProtoMessage Uses

func (*PlumTransfer) ProtoMessage()

func (*PlumTransfer) Reset Uses

func (m *PlumTransfer) Reset()

func (*PlumTransfer) String Uses

func (m *PlumTransfer) String() string

func (*PlumTransfer) XXX_DiscardUnknown Uses

func (m *PlumTransfer) XXX_DiscardUnknown()

func (*PlumTransfer) XXX_Marshal Uses

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

func (*PlumTransfer) XXX_Merge Uses

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

func (*PlumTransfer) XXX_Size Uses

func (m *PlumTransfer) XXX_Size() int

func (*PlumTransfer) XXX_Unmarshal Uses

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

type PutBlock Uses

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 Uses

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

func (*PutBlock) GetHeight Uses

func (m *PutBlock) GetHeight() uint64

func (*PutBlock) GetRoots Uses

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

func (*PutBlock) GetSubChainAddress Uses

func (m *PutBlock) GetSubChainAddress() string

func (*PutBlock) ProtoMessage Uses

func (*PutBlock) ProtoMessage()

func (*PutBlock) Reset Uses

func (m *PutBlock) Reset()

func (*PutBlock) String Uses

func (m *PutBlock) String() string

func (*PutBlock) XXX_DiscardUnknown Uses

func (m *PutBlock) XXX_DiscardUnknown()

func (*PutBlock) XXX_Marshal Uses

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

func (*PutBlock) XXX_Merge Uses

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

func (*PutBlock) XXX_Size Uses

func (m *PutBlock) XXX_Size() int

func (*PutBlock) XXX_Unmarshal Uses

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

type PutPollResult Uses

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 Uses

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

func (*PutPollResult) GetCandidates Uses

func (m *PutPollResult) GetCandidates() *CandidateList

func (*PutPollResult) GetHeight Uses

func (m *PutPollResult) GetHeight() uint64

func (*PutPollResult) ProtoMessage Uses

func (*PutPollResult) ProtoMessage()

func (*PutPollResult) Reset Uses

func (m *PutPollResult) Reset()

func (*PutPollResult) String Uses

func (m *PutPollResult) String() string

func (*PutPollResult) XXX_DiscardUnknown Uses

func (m *PutPollResult) XXX_DiscardUnknown()

func (*PutPollResult) XXX_Marshal Uses

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

func (*PutPollResult) XXX_Merge Uses

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

func (*PutPollResult) XXX_Size Uses

func (m *PutPollResult) XXX_Size() int

func (*PutPollResult) XXX_Unmarshal Uses

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

type Receipt Uses

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 Uses

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

func (*Receipt) GetActHash Uses

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

func (*Receipt) GetBlkHeight Uses

func (m *Receipt) GetBlkHeight() uint64

func (*Receipt) GetContractAddress Uses

func (m *Receipt) GetContractAddress() string

func (*Receipt) GetGasConsumed Uses

func (m *Receipt) GetGasConsumed() uint64

func (*Receipt) GetLogs Uses

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

func (*Receipt) GetStatus Uses

func (m *Receipt) GetStatus() uint64

func (*Receipt) ProtoMessage Uses

func (*Receipt) ProtoMessage()

func (*Receipt) Reset Uses

func (m *Receipt) Reset()

func (*Receipt) String Uses

func (m *Receipt) String() string

func (*Receipt) XXX_DiscardUnknown Uses

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal Uses

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

func (*Receipt) XXX_Merge Uses

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

func (*Receipt) XXX_Size Uses

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal Uses

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

type ReceiptStatus Uses

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
)

func (ReceiptStatus) EnumDescriptor Uses

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

func (ReceiptStatus) String Uses

func (x ReceiptStatus) String() string

type Receipts Uses

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 Uses

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

func (*Receipts) GetReceipts Uses

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

func (*Receipts) ProtoMessage Uses

func (*Receipts) ProtoMessage()

func (*Receipts) Reset Uses

func (m *Receipts) Reset()

func (*Receipts) String Uses

func (m *Receipts) String() string

func (*Receipts) XXX_DiscardUnknown Uses

func (m *Receipts) XXX_DiscardUnknown()

func (*Receipts) XXX_Marshal Uses

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

func (*Receipts) XXX_Merge Uses

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

func (*Receipts) XXX_Size Uses

func (m *Receipts) XXX_Size() int

func (*Receipts) XXX_Unmarshal Uses

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

type RewardType Uses

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

func (RewardType) EnumDescriptor Uses

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

func (RewardType) String Uses

func (x RewardType) String() string

type ServerMeta Uses

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 Uses

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

func (*ServerMeta) GetBuildTime Uses

func (m *ServerMeta) GetBuildTime() string

func (*ServerMeta) GetGitStatus Uses

func (m *ServerMeta) GetGitStatus() string

func (*ServerMeta) GetGoVersion Uses

func (m *ServerMeta) GetGoVersion() string

func (*ServerMeta) GetPackageCommitID Uses

func (m *ServerMeta) GetPackageCommitID() string

func (*ServerMeta) GetPackageVersion Uses

func (m *ServerMeta) GetPackageVersion() string

func (*ServerMeta) ProtoMessage Uses

func (*ServerMeta) ProtoMessage()

func (*ServerMeta) Reset Uses

func (m *ServerMeta) Reset()

func (*ServerMeta) String Uses

func (m *ServerMeta) String() string

func (*ServerMeta) XXX_DiscardUnknown Uses

func (m *ServerMeta) XXX_DiscardUnknown()

func (*ServerMeta) XXX_Marshal Uses

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

func (*ServerMeta) XXX_Merge Uses

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

func (*ServerMeta) XXX_Size Uses

func (m *ServerMeta) XXX_Size() int

func (*ServerMeta) XXX_Unmarshal Uses

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

type SettleDeposit Uses

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 Uses

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

func (*SettleDeposit) GetAmount Uses

func (m *SettleDeposit) GetAmount() string

func (*SettleDeposit) GetIndex Uses

func (m *SettleDeposit) GetIndex() uint64

func (*SettleDeposit) GetRecipient Uses

func (m *SettleDeposit) GetRecipient() string

func (*SettleDeposit) ProtoMessage Uses

func (*SettleDeposit) ProtoMessage()

func (*SettleDeposit) Reset Uses

func (m *SettleDeposit) Reset()

func (*SettleDeposit) String Uses

func (m *SettleDeposit) String() string

func (*SettleDeposit) XXX_DiscardUnknown Uses

func (m *SettleDeposit) XXX_DiscardUnknown()

func (*SettleDeposit) XXX_Marshal Uses

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

func (*SettleDeposit) XXX_Merge Uses

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

func (*SettleDeposit) XXX_Size Uses

func (m *SettleDeposit) XXX_Size() int

func (*SettleDeposit) XXX_Unmarshal Uses

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

type StartSubChain Uses

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 Uses

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

func (*StartSubChain) GetChainID Uses

func (m *StartSubChain) GetChainID() uint32

func (*StartSubChain) GetOperationDeposit Uses

func (m *StartSubChain) GetOperationDeposit() string

func (*StartSubChain) GetParentHeightOffset Uses

func (m *StartSubChain) GetParentHeightOffset() uint64

func (*StartSubChain) GetSecurityDeposit Uses

func (m *StartSubChain) GetSecurityDeposit() string

func (*StartSubChain) GetStartHeight Uses

func (m *StartSubChain) GetStartHeight() uint64

func (*StartSubChain) ProtoMessage Uses

func (*StartSubChain) ProtoMessage()

func (*StartSubChain) Reset Uses

func (m *StartSubChain) Reset()

func (*StartSubChain) String Uses

func (m *StartSubChain) String() string

func (*StartSubChain) XXX_DiscardUnknown Uses

func (m *StartSubChain) XXX_DiscardUnknown()

func (*StartSubChain) XXX_Marshal Uses

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

func (*StartSubChain) XXX_Merge Uses

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

func (*StartSubChain) XXX_Size Uses

func (m *StartSubChain) XXX_Size() int

func (*StartSubChain) XXX_Unmarshal Uses

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

type StopSubChain Uses

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 Uses

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

func (*StopSubChain) GetChainID Uses

func (m *StopSubChain) GetChainID() uint32

func (*StopSubChain) GetStopHeight Uses

func (m *StopSubChain) GetStopHeight() uint64

func (*StopSubChain) GetSubChainAddress Uses

func (m *StopSubChain) GetSubChainAddress() string

func (*StopSubChain) ProtoMessage Uses

func (*StopSubChain) ProtoMessage()

func (*StopSubChain) Reset Uses

func (m *StopSubChain) Reset()

func (*StopSubChain) String Uses

func (m *StopSubChain) String() string

func (*StopSubChain) XXX_DiscardUnknown Uses

func (m *StopSubChain) XXX_DiscardUnknown()

func (*StopSubChain) XXX_Marshal Uses

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

func (*StopSubChain) XXX_Merge Uses

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

func (*StopSubChain) XXX_Size Uses

func (m *StopSubChain) XXX_Size() int

func (*StopSubChain) XXX_Unmarshal Uses

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

type TerminatePlumChain Uses

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 Uses

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

func (*TerminatePlumChain) GetSubChainAddress Uses

func (m *TerminatePlumChain) GetSubChainAddress() string

func (*TerminatePlumChain) ProtoMessage Uses

func (*TerminatePlumChain) ProtoMessage()

func (*TerminatePlumChain) Reset Uses

func (m *TerminatePlumChain) Reset()

func (*TerminatePlumChain) String Uses

func (m *TerminatePlumChain) String() string

func (*TerminatePlumChain) XXX_DiscardUnknown Uses

func (m *TerminatePlumChain) XXX_DiscardUnknown()

func (*TerminatePlumChain) XXX_Marshal Uses

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

func (*TerminatePlumChain) XXX_Merge Uses

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

func (*TerminatePlumChain) XXX_Size Uses

func (m *TerminatePlumChain) XXX_Size() int

func (*TerminatePlumChain) XXX_Unmarshal Uses

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

type Transfer Uses

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 Uses

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

func (*Transfer) GetAmount Uses

func (m *Transfer) GetAmount() string

func (*Transfer) GetPayload Uses

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

func (*Transfer) GetRecipient Uses

func (m *Transfer) GetRecipient() string

func (*Transfer) ProtoMessage Uses

func (*Transfer) ProtoMessage()

func (*Transfer) Reset Uses

func (m *Transfer) Reset()

func (*Transfer) String Uses

func (m *Transfer) String() string

func (*Transfer) XXX_DiscardUnknown Uses

func (m *Transfer) XXX_DiscardUnknown()

func (*Transfer) XXX_Marshal Uses

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

func (*Transfer) XXX_Merge Uses

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

func (*Transfer) XXX_Size Uses

func (m *Transfer) XXX_Size() int

func (*Transfer) XXX_Unmarshal Uses

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

Package iotextypes imports 5 packages (graph) and is imported by 27 packages. Updated 2019-10-01. Refresh now. Tools for package owners.