Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
2106 lines (1825 sloc) 70.4 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/types/action.proto
package iotextypes
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type RewardType int32
const (
RewardType_BlockReward RewardType = 0
RewardType_EpochReward RewardType = 1
)
var RewardType_name = map[int32]string{
0: "BlockReward",
1: "EpochReward",
}
var RewardType_value = map[string]int32{
"BlockReward": 0,
"EpochReward": 1,
}
func (x RewardType) String() string {
return proto.EnumName(RewardType_name, int32(x))
}
func (RewardType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{0}
}
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 (m *Transfer) Reset() { *m = Transfer{} }
func (m *Transfer) String() string { return proto.CompactTextString(m) }
func (*Transfer) ProtoMessage() {}
func (*Transfer) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{0}
}
func (m *Transfer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Transfer.Unmarshal(m, b)
}
func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Transfer.Marshal(b, m, deterministic)
}
func (m *Transfer) XXX_Merge(src proto.Message) {
xxx_messageInfo_Transfer.Merge(m, src)
}
func (m *Transfer) XXX_Size() int {
return xxx_messageInfo_Transfer.Size(m)
}
func (m *Transfer) XXX_DiscardUnknown() {
xxx_messageInfo_Transfer.DiscardUnknown(m)
}
var xxx_messageInfo_Transfer proto.InternalMessageInfo
func (m *Transfer) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *Transfer) GetRecipient() string {
if m != nil {
return m.Recipient
}
return ""
}
func (m *Transfer) GetPayload() []byte {
if m != nil {
return m.Payload
}
return nil
}
// Candidates and list of candidates
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:"-"`
}
func (m *Candidate) Reset() { *m = Candidate{} }
func (m *Candidate) String() string { return proto.CompactTextString(m) }
func (*Candidate) ProtoMessage() {}
func (*Candidate) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{1}
}
func (m *Candidate) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Candidate.Unmarshal(m, b)
}
func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Candidate.Marshal(b, m, deterministic)
}
func (m *Candidate) XXX_Merge(src proto.Message) {
xxx_messageInfo_Candidate.Merge(m, src)
}
func (m *Candidate) XXX_Size() int {
return xxx_messageInfo_Candidate.Size(m)
}
func (m *Candidate) XXX_DiscardUnknown() {
xxx_messageInfo_Candidate.DiscardUnknown(m)
}
var xxx_messageInfo_Candidate proto.InternalMessageInfo
func (m *Candidate) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *Candidate) GetVotes() []byte {
if m != nil {
return m.Votes
}
return nil
}
func (m *Candidate) GetPubKey() []byte {
if m != nil {
return m.PubKey
}
return nil
}
func (m *Candidate) GetRewardAddress() string {
if m != nil {
return m.RewardAddress
}
return ""
}
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 (m *CandidateList) Reset() { *m = CandidateList{} }
func (m *CandidateList) String() string { return proto.CompactTextString(m) }
func (*CandidateList) ProtoMessage() {}
func (*CandidateList) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{2}
}
func (m *CandidateList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CandidateList.Unmarshal(m, b)
}
func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CandidateList.Marshal(b, m, deterministic)
}
func (m *CandidateList) XXX_Merge(src proto.Message) {
xxx_messageInfo_CandidateList.Merge(m, src)
}
func (m *CandidateList) XXX_Size() int {
return xxx_messageInfo_CandidateList.Size(m)
}
func (m *CandidateList) XXX_DiscardUnknown() {
xxx_messageInfo_CandidateList.DiscardUnknown(m)
}
var xxx_messageInfo_CandidateList proto.InternalMessageInfo
func (m *CandidateList) GetCandidates() []*Candidate {
if m != nil {
return m.Candidates
}
return nil
}
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 (m *PutPollResult) Reset() { *m = PutPollResult{} }
func (m *PutPollResult) String() string { return proto.CompactTextString(m) }
func (*PutPollResult) ProtoMessage() {}
func (*PutPollResult) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{3}
}
func (m *PutPollResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PutPollResult.Unmarshal(m, b)
}
func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PutPollResult.Marshal(b, m, deterministic)
}
func (m *PutPollResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_PutPollResult.Merge(m, src)
}
func (m *PutPollResult) XXX_Size() int {
return xxx_messageInfo_PutPollResult.Size(m)
}
func (m *PutPollResult) XXX_DiscardUnknown() {
xxx_messageInfo_PutPollResult.DiscardUnknown(m)
}
var xxx_messageInfo_PutPollResult proto.InternalMessageInfo
func (m *PutPollResult) GetHeight() uint64 {
if m != nil {
return m.Height
}
return 0
}
func (m *PutPollResult) GetCandidates() *CandidateList {
if m != nil {
return m.Candidates
}
return nil
}
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 (m *Execution) Reset() { *m = Execution{} }
func (m *Execution) String() string { return proto.CompactTextString(m) }
func (*Execution) ProtoMessage() {}
func (*Execution) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{4}
}
func (m *Execution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Execution.Unmarshal(m, b)
}
func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Execution.Marshal(b, m, deterministic)
}
func (m *Execution) XXX_Merge(src proto.Message) {
xxx_messageInfo_Execution.Merge(m, src)
}
func (m *Execution) XXX_Size() int {
return xxx_messageInfo_Execution.Size(m)
}
func (m *Execution) XXX_DiscardUnknown() {
xxx_messageInfo_Execution.DiscardUnknown(m)
}
var xxx_messageInfo_Execution proto.InternalMessageInfo
func (m *Execution) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *Execution) GetContract() string {
if m != nil {
return m.Contract
}
return ""
}
func (m *Execution) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
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 (m *StartSubChain) Reset() { *m = StartSubChain{} }
func (m *StartSubChain) String() string { return proto.CompactTextString(m) }
func (*StartSubChain) ProtoMessage() {}
func (*StartSubChain) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{5}
}
func (m *StartSubChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartSubChain.Unmarshal(m, b)
}
func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StartSubChain.Marshal(b, m, deterministic)
}
func (m *StartSubChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartSubChain.Merge(m, src)
}
func (m *StartSubChain) XXX_Size() int {
return xxx_messageInfo_StartSubChain.Size(m)
}
func (m *StartSubChain) XXX_DiscardUnknown() {
xxx_messageInfo_StartSubChain.DiscardUnknown(m)
}
var xxx_messageInfo_StartSubChain proto.InternalMessageInfo
func (m *StartSubChain) GetChainID() uint32 {
if m != nil {
return m.ChainID
}
return 0
}
func (m *StartSubChain) GetSecurityDeposit() string {
if m != nil {
return m.SecurityDeposit
}
return ""
}
func (m *StartSubChain) GetOperationDeposit() string {
if m != nil {
return m.OperationDeposit
}
return ""
}
func (m *StartSubChain) GetStartHeight() uint64 {
if m != nil {
return m.StartHeight
}
return 0
}
func (m *StartSubChain) GetParentHeightOffset() uint64 {
if m != nil {
return m.ParentHeightOffset
}
return 0
}
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 (m *StopSubChain) Reset() { *m = StopSubChain{} }
func (m *StopSubChain) String() string { return proto.CompactTextString(m) }
func (*StopSubChain) ProtoMessage() {}
func (*StopSubChain) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{6}
}
func (m *StopSubChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopSubChain.Unmarshal(m, b)
}
func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StopSubChain.Marshal(b, m, deterministic)
}
func (m *StopSubChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_StopSubChain.Merge(m, src)
}
func (m *StopSubChain) XXX_Size() int {
return xxx_messageInfo_StopSubChain.Size(m)
}
func (m *StopSubChain) XXX_DiscardUnknown() {
xxx_messageInfo_StopSubChain.DiscardUnknown(m)
}
var xxx_messageInfo_StopSubChain proto.InternalMessageInfo
func (m *StopSubChain) GetChainID() uint32 {
if m != nil {
return m.ChainID
}
return 0
}
func (m *StopSubChain) GetStopHeight() uint64 {
if m != nil {
return m.StopHeight
}
return 0
}
func (m *StopSubChain) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
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 (m *MerkleRoot) Reset() { *m = MerkleRoot{} }
func (m *MerkleRoot) String() string { return proto.CompactTextString(m) }
func (*MerkleRoot) ProtoMessage() {}
func (*MerkleRoot) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{7}
}
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MerkleRoot.Unmarshal(m, b)
}
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MerkleRoot.Marshal(b, m, deterministic)
}
func (m *MerkleRoot) XXX_Merge(src proto.Message) {
xxx_messageInfo_MerkleRoot.Merge(m, src)
}
func (m *MerkleRoot) XXX_Size() int {
return xxx_messageInfo_MerkleRoot.Size(m)
}
func (m *MerkleRoot) XXX_DiscardUnknown() {
xxx_messageInfo_MerkleRoot.DiscardUnknown(m)
}
var xxx_messageInfo_MerkleRoot proto.InternalMessageInfo
func (m *MerkleRoot) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *MerkleRoot) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
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 (m *PutBlock) Reset() { *m = PutBlock{} }
func (m *PutBlock) String() string { return proto.CompactTextString(m) }
func (*PutBlock) ProtoMessage() {}
func (*PutBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{8}
}
func (m *PutBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PutBlock.Unmarshal(m, b)
}
func (m *PutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PutBlock.Marshal(b, m, deterministic)
}
func (m *PutBlock) XXX_Merge(src proto.Message) {
xxx_messageInfo_PutBlock.Merge(m, src)
}
func (m *PutBlock) XXX_Size() int {
return xxx_messageInfo_PutBlock.Size(m)
}
func (m *PutBlock) XXX_DiscardUnknown() {
xxx_messageInfo_PutBlock.DiscardUnknown(m)
}
var xxx_messageInfo_PutBlock proto.InternalMessageInfo
func (m *PutBlock) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PutBlock) GetHeight() uint64 {
if m != nil {
return m.Height
}
return 0
}
func (m *PutBlock) GetRoots() []*MerkleRoot {
if m != nil {
return m.Roots
}
return nil
}
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 (m *CreateDeposit) Reset() { *m = CreateDeposit{} }
func (m *CreateDeposit) String() string { return proto.CompactTextString(m) }
func (*CreateDeposit) ProtoMessage() {}
func (*CreateDeposit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{9}
}
func (m *CreateDeposit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateDeposit.Unmarshal(m, b)
}
func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateDeposit.Marshal(b, m, deterministic)
}
func (m *CreateDeposit) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateDeposit.Merge(m, src)
}
func (m *CreateDeposit) XXX_Size() int {
return xxx_messageInfo_CreateDeposit.Size(m)
}
func (m *CreateDeposit) XXX_DiscardUnknown() {
xxx_messageInfo_CreateDeposit.DiscardUnknown(m)
}
var xxx_messageInfo_CreateDeposit proto.InternalMessageInfo
func (m *CreateDeposit) GetChainID() uint32 {
if m != nil {
return m.ChainID
}
return 0
}
func (m *CreateDeposit) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *CreateDeposit) GetRecipient() string {
if m != nil {
return m.Recipient
}
return ""
}
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 (m *SettleDeposit) Reset() { *m = SettleDeposit{} }
func (m *SettleDeposit) String() string { return proto.CompactTextString(m) }
func (*SettleDeposit) ProtoMessage() {}
func (*SettleDeposit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{10}
}
func (m *SettleDeposit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SettleDeposit.Unmarshal(m, b)
}
func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SettleDeposit.Marshal(b, m, deterministic)
}
func (m *SettleDeposit) XXX_Merge(src proto.Message) {
xxx_messageInfo_SettleDeposit.Merge(m, src)
}
func (m *SettleDeposit) XXX_Size() int {
return xxx_messageInfo_SettleDeposit.Size(m)
}
func (m *SettleDeposit) XXX_DiscardUnknown() {
xxx_messageInfo_SettleDeposit.DiscardUnknown(m)
}
var xxx_messageInfo_SettleDeposit proto.InternalMessageInfo
func (m *SettleDeposit) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *SettleDeposit) GetRecipient() string {
if m != nil {
return m.Recipient
}
return ""
}
func (m *SettleDeposit) GetIndex() uint64 {
if m != nil {
return m.Index
}
return 0
}
// plum main chain APIs
type CreatePlumChain struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreatePlumChain) Reset() { *m = CreatePlumChain{} }
func (m *CreatePlumChain) String() string { return proto.CompactTextString(m) }
func (*CreatePlumChain) ProtoMessage() {}
func (*CreatePlumChain) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{11}
}
func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreatePlumChain.Unmarshal(m, b)
}
func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreatePlumChain.Marshal(b, m, deterministic)
}
func (m *CreatePlumChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreatePlumChain.Merge(m, src)
}
func (m *CreatePlumChain) XXX_Size() int {
return xxx_messageInfo_CreatePlumChain.Size(m)
}
func (m *CreatePlumChain) XXX_DiscardUnknown() {
xxx_messageInfo_CreatePlumChain.DiscardUnknown(m)
}
var xxx_messageInfo_CreatePlumChain proto.InternalMessageInfo
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 (m *TerminatePlumChain) Reset() { *m = TerminatePlumChain{} }
func (m *TerminatePlumChain) String() string { return proto.CompactTextString(m) }
func (*TerminatePlumChain) ProtoMessage() {}
func (*TerminatePlumChain) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{12}
}
func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TerminatePlumChain.Unmarshal(m, b)
}
func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminatePlumChain.Marshal(b, m, deterministic)
}
func (m *TerminatePlumChain) XXX_Merge(src proto.Message) {
xxx_messageInfo_TerminatePlumChain.Merge(m, src)
}
func (m *TerminatePlumChain) XXX_Size() int {
return xxx_messageInfo_TerminatePlumChain.Size(m)
}
func (m *TerminatePlumChain) XXX_DiscardUnknown() {
xxx_messageInfo_TerminatePlumChain.DiscardUnknown(m)
}
var xxx_messageInfo_TerminatePlumChain proto.InternalMessageInfo
func (m *TerminatePlumChain) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
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 (m *PlumPutBlock) Reset() { *m = PlumPutBlock{} }
func (m *PlumPutBlock) String() string { return proto.CompactTextString(m) }
func (*PlumPutBlock) ProtoMessage() {}
func (*PlumPutBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{13}
}
func (m *PlumPutBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumPutBlock.Unmarshal(m, b)
}
func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumPutBlock.Marshal(b, m, deterministic)
}
func (m *PlumPutBlock) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumPutBlock.Merge(m, src)
}
func (m *PlumPutBlock) XXX_Size() int {
return xxx_messageInfo_PlumPutBlock.Size(m)
}
func (m *PlumPutBlock) XXX_DiscardUnknown() {
xxx_messageInfo_PlumPutBlock.DiscardUnknown(m)
}
var xxx_messageInfo_PlumPutBlock proto.InternalMessageInfo
func (m *PlumPutBlock) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumPutBlock) GetHeight() uint64 {
if m != nil {
return m.Height
}
return 0
}
func (m *PlumPutBlock) GetRoots() map[string][]byte {
if m != nil {
return m.Roots
}
return nil
}
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 (m *PlumCreateDeposit) Reset() { *m = PlumCreateDeposit{} }
func (m *PlumCreateDeposit) String() string { return proto.CompactTextString(m) }
func (*PlumCreateDeposit) ProtoMessage() {}
func (*PlumCreateDeposit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{14}
}
func (m *PlumCreateDeposit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumCreateDeposit.Unmarshal(m, b)
}
func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumCreateDeposit.Marshal(b, m, deterministic)
}
func (m *PlumCreateDeposit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumCreateDeposit.Merge(m, src)
}
func (m *PlumCreateDeposit) XXX_Size() int {
return xxx_messageInfo_PlumCreateDeposit.Size(m)
}
func (m *PlumCreateDeposit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumCreateDeposit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumCreateDeposit proto.InternalMessageInfo
func (m *PlumCreateDeposit) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumCreateDeposit) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *PlumCreateDeposit) GetRecipient() string {
if m != nil {
return m.Recipient
}
return ""
}
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 (m *PlumStartExit) Reset() { *m = PlumStartExit{} }
func (m *PlumStartExit) String() string { return proto.CompactTextString(m) }
func (*PlumStartExit) ProtoMessage() {}
func (*PlumStartExit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{15}
}
func (m *PlumStartExit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumStartExit.Unmarshal(m, b)
}
func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumStartExit.Marshal(b, m, deterministic)
}
func (m *PlumStartExit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumStartExit.Merge(m, src)
}
func (m *PlumStartExit) XXX_Size() int {
return xxx_messageInfo_PlumStartExit.Size(m)
}
func (m *PlumStartExit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumStartExit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumStartExit proto.InternalMessageInfo
func (m *PlumStartExit) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumStartExit) GetPreviousTransfer() []byte {
if m != nil {
return m.PreviousTransfer
}
return nil
}
func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte {
if m != nil {
return m.PreviousTransferBlockProof
}
return nil
}
func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64 {
if m != nil {
return m.PreviousTransferBlockHeight
}
return 0
}
func (m *PlumStartExit) GetExitTransfer() []byte {
if m != nil {
return m.ExitTransfer
}
return nil
}
func (m *PlumStartExit) GetExitTransferBlockProof() []byte {
if m != nil {
return m.ExitTransferBlockProof
}
return nil
}
func (m *PlumStartExit) GetExitTransferBlockHeight() uint64 {
if m != nil {
return m.ExitTransferBlockHeight
}
return 0
}
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 (m *PlumChallengeExit) Reset() { *m = PlumChallengeExit{} }
func (m *PlumChallengeExit) String() string { return proto.CompactTextString(m) }
func (*PlumChallengeExit) ProtoMessage() {}
func (*PlumChallengeExit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{16}
}
func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumChallengeExit.Unmarshal(m, b)
}
func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumChallengeExit.Marshal(b, m, deterministic)
}
func (m *PlumChallengeExit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumChallengeExit.Merge(m, src)
}
func (m *PlumChallengeExit) XXX_Size() int {
return xxx_messageInfo_PlumChallengeExit.Size(m)
}
func (m *PlumChallengeExit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumChallengeExit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumChallengeExit proto.InternalMessageInfo
func (m *PlumChallengeExit) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumChallengeExit) GetCoinID() uint64 {
if m != nil {
return m.CoinID
}
return 0
}
func (m *PlumChallengeExit) GetChallengeTransfer() []byte {
if m != nil {
return m.ChallengeTransfer
}
return nil
}
func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte {
if m != nil {
return m.ChallengeTransferBlockProof
}
return nil
}
func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64 {
if m != nil {
return m.ChallengeTransferBlockHeight
}
return 0
}
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 (m *PlumResponseChallengeExit) Reset() { *m = PlumResponseChallengeExit{} }
func (m *PlumResponseChallengeExit) String() string { return proto.CompactTextString(m) }
func (*PlumResponseChallengeExit) ProtoMessage() {}
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{17}
}
func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumResponseChallengeExit.Unmarshal(m, b)
}
func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumResponseChallengeExit.Marshal(b, m, deterministic)
}
func (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumResponseChallengeExit.Merge(m, src)
}
func (m *PlumResponseChallengeExit) XXX_Size() int {
return xxx_messageInfo_PlumResponseChallengeExit.Size(m)
}
func (m *PlumResponseChallengeExit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumResponseChallengeExit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumResponseChallengeExit proto.InternalMessageInfo
func (m *PlumResponseChallengeExit) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumResponseChallengeExit) GetCoinID() uint64 {
if m != nil {
return m.CoinID
}
return 0
}
func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte {
if m != nil {
return m.ChallengeTransfer
}
return nil
}
func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte {
if m != nil {
return m.ResponseTransfer
}
return nil
}
func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte {
if m != nil {
return m.ResponseTransferBlockProof
}
return nil
}
func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64 {
if m != nil {
return m.PreviousTransferBlockHeight
}
return 0
}
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 (m *PlumFinalizeExit) Reset() { *m = PlumFinalizeExit{} }
func (m *PlumFinalizeExit) String() string { return proto.CompactTextString(m) }
func (*PlumFinalizeExit) ProtoMessage() {}
func (*PlumFinalizeExit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{18}
}
func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumFinalizeExit.Unmarshal(m, b)
}
func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumFinalizeExit.Marshal(b, m, deterministic)
}
func (m *PlumFinalizeExit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumFinalizeExit.Merge(m, src)
}
func (m *PlumFinalizeExit) XXX_Size() int {
return xxx_messageInfo_PlumFinalizeExit.Size(m)
}
func (m *PlumFinalizeExit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumFinalizeExit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumFinalizeExit proto.InternalMessageInfo
func (m *PlumFinalizeExit) GetSubChainAddress() string {
if m != nil {
return m.SubChainAddress
}
return ""
}
func (m *PlumFinalizeExit) GetCoinID() uint64 {
if m != nil {
return m.CoinID
}
return 0
}
// plum sub chain APIs
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:"-"`
}
func (m *PlumSettleDeposit) Reset() { *m = PlumSettleDeposit{} }
func (m *PlumSettleDeposit) String() string { return proto.CompactTextString(m) }
func (*PlumSettleDeposit) ProtoMessage() {}
func (*PlumSettleDeposit) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{19}
}
func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumSettleDeposit.Unmarshal(m, b)
}
func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumSettleDeposit.Marshal(b, m, deterministic)
}
func (m *PlumSettleDeposit) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumSettleDeposit.Merge(m, src)
}
func (m *PlumSettleDeposit) XXX_Size() int {
return xxx_messageInfo_PlumSettleDeposit.Size(m)
}
func (m *PlumSettleDeposit) XXX_DiscardUnknown() {
xxx_messageInfo_PlumSettleDeposit.DiscardUnknown(m)
}
var xxx_messageInfo_PlumSettleDeposit proto.InternalMessageInfo
func (m *PlumSettleDeposit) GetCoinID() uint64 {
if m != nil {
return m.CoinID
}
return 0
}
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 (m *PlumTransfer) Reset() { *m = PlumTransfer{} }
func (m *PlumTransfer) String() string { return proto.CompactTextString(m) }
func (*PlumTransfer) ProtoMessage() {}
func (*PlumTransfer) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{20}
}
func (m *PlumTransfer) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlumTransfer.Unmarshal(m, b)
}
func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlumTransfer.Marshal(b, m, deterministic)
}
func (m *PlumTransfer) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlumTransfer.Merge(m, src)
}
func (m *PlumTransfer) XXX_Size() int {
return xxx_messageInfo_PlumTransfer.Size(m)
}
func (m *PlumTransfer) XXX_DiscardUnknown() {
xxx_messageInfo_PlumTransfer.DiscardUnknown(m)
}
var xxx_messageInfo_PlumTransfer proto.InternalMessageInfo
func (m *PlumTransfer) GetCoinID() uint64 {
if m != nil {
return m.CoinID
}
return 0
}
func (m *PlumTransfer) GetDenomination() []byte {
if m != nil {
return m.Denomination
}
return nil
}
func (m *PlumTransfer) GetOwner() string {
if m != nil {
return m.Owner
}
return ""
}
func (m *PlumTransfer) GetRecipient() string {
if m != nil {
return m.Recipient
}
return ""
}
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 (m *ActionCore) Reset() { *m = ActionCore{} }
func (m *ActionCore) String() string { return proto.CompactTextString(m) }
func (*ActionCore) ProtoMessage() {}
func (*ActionCore) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{21}
}
func (m *ActionCore) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActionCore.Unmarshal(m, b)
}
func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActionCore.Marshal(b, m, deterministic)
}
func (m *ActionCore) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActionCore.Merge(m, src)
}
func (m *ActionCore) XXX_Size() int {
return xxx_messageInfo_ActionCore.Size(m)
}
func (m *ActionCore) XXX_DiscardUnknown() {
xxx_messageInfo_ActionCore.DiscardUnknown(m)
}
var xxx_messageInfo_ActionCore proto.InternalMessageInfo
func (m *ActionCore) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *ActionCore) GetNonce() uint64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *ActionCore) GetGasLimit() uint64 {
if m != nil {
return m.GasLimit
}
return 0
}
func (m *ActionCore) GetGasPrice() string {
if m != nil {
return m.GasPrice
}
return ""
}
type isActionCore_Action interface {
isActionCore_Action()
}
type ActionCore_Transfer struct {
Transfer *Transfer `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}
type ActionCore_Execution struct {
Execution *Execution `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}
type ActionCore_StartSubChain struct {
StartSubChain *StartSubChain `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}
type ActionCore_StopSubChain struct {
StopSubChain *StopSubChain `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}
type ActionCore_PutBlock struct {
PutBlock *PutBlock `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}
type ActionCore_CreateDeposit struct {
CreateDeposit *CreateDeposit `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}
type ActionCore_SettleDeposit struct {
SettleDeposit *SettleDeposit `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}
type ActionCore_CreatePlumChain struct {
CreatePlumChain *CreatePlumChain `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}
type ActionCore_TerminatePlumChain struct {
TerminatePlumChain *TerminatePlumChain `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}
type ActionCore_PlumPutBlock struct {
PlumPutBlock *PlumPutBlock `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}
type ActionCore_PlumCreateDeposit struct {
PlumCreateDeposit *PlumCreateDeposit `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}
type ActionCore_PlumStartExit struct {
PlumStartExit *PlumStartExit `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}
type ActionCore_PlumChallengeExit struct {
PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}
type ActionCore_PlumResponseChallengeExit struct {
PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}
type ActionCore_PlumFinalizeExit struct {
PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}
type ActionCore_PlumSettleDeposit struct {
PlumSettleDeposit *PlumSettleDeposit `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}
type ActionCore_PlumTransfer struct {
PlumTransfer *PlumTransfer `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}
type ActionCore_DepositToRewardingFund struct {
DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}
type ActionCore_ClaimFromRewardingFund struct {
ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}
type ActionCore_GrantReward struct {
GrantReward *GrantReward `protobuf:"bytes,32,opt,name=grantReward,proto3,oneof"`
}
type ActionCore_PutPollResult struct {
PutPollResult *PutPollResult `protobuf:"bytes,50,opt,name=putPollResult,proto3,oneof"`
}
func (*ActionCore_Transfer) isActionCore_Action() {}
func (*ActionCore_Execution) isActionCore_Action() {}
func (*ActionCore_StartSubChain) isActionCore_Action() {}
func (*ActionCore_StopSubChain) isActionCore_Action() {}
func (*ActionCore_PutBlock) isActionCore_Action() {}
func (*ActionCore_CreateDeposit) isActionCore_Action() {}
func (*ActionCore_SettleDeposit) isActionCore_Action() {}
func (*ActionCore_CreatePlumChain) isActionCore_Action() {}
func (*ActionCore_TerminatePlumChain) isActionCore_Action() {}
func (*ActionCore_PlumPutBlock) isActionCore_Action() {}
func (*ActionCore_PlumCreateDeposit) isActionCore_Action() {}
func (*ActionCore_PlumStartExit) isActionCore_Action() {}
func (*ActionCore_PlumChallengeExit) isActionCore_Action() {}
func (*ActionCore_PlumResponseChallengeExit) isActionCore_Action() {}
func (*ActionCore_PlumFinalizeExit) isActionCore_Action() {}
func (*ActionCore_PlumSettleDeposit) isActionCore_Action() {}
func (*ActionCore_PlumTransfer) isActionCore_Action() {}
func (*ActionCore_DepositToRewardingFund) isActionCore_Action() {}
func (*ActionCore_ClaimFromRewardingFund) isActionCore_Action() {}
func (*ActionCore_GrantReward) isActionCore_Action() {}
func (*ActionCore_PutPollResult) isActionCore_Action() {}
func (m *ActionCore) GetAction() isActionCore_Action {
if m != nil {
return m.Action
}
return nil
}
func (m *ActionCore) GetTransfer() *Transfer {
if x, ok := m.GetAction().(*ActionCore_Transfer); ok {
return x.Transfer
}
return nil
}
func (m *ActionCore) GetExecution() *Execution {
if x, ok := m.GetAction().(*ActionCore_Execution); ok {
return x.Execution
}
return nil
}
func (m *ActionCore) GetStartSubChain() *StartSubChain {
if x, ok := m.GetAction().(*ActionCore_StartSubChain); ok {
return x.StartSubChain
}
return nil
}
func (m *ActionCore) GetStopSubChain() *StopSubChain {
if x, ok := m.GetAction().(*ActionCore_StopSubChain); ok {
return x.StopSubChain
}
return nil
}
func (m *ActionCore) GetPutBlock() *PutBlock {
if x, ok := m.GetAction().(*ActionCore_PutBlock); ok {
return x.PutBlock
}
return nil
}
func (m *ActionCore) GetCreateDeposit() *CreateDeposit {
if x, ok := m.GetAction().(*ActionCore_CreateDeposit); ok {
return x.CreateDeposit
}
return nil
}
func (m *ActionCore) GetSettleDeposit() *SettleDeposit {
if x, ok := m.GetAction().(*ActionCore_SettleDeposit); ok {
return x.SettleDeposit
}
return nil
}
func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain {
if x, ok := m.GetAction().(*ActionCore_CreatePlumChain); ok {
return x.CreatePlumChain
}
return nil
}
func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain {
if x, ok := m.GetAction().(*ActionCore_TerminatePlumChain); ok {
return x.TerminatePlumChain
}
return nil
}
func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock {
if x, ok := m.GetAction().(*ActionCore_PlumPutBlock); ok {
return x.PlumPutBlock
}
return nil
}
func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit {
if x, ok := m.GetAction().(*ActionCore_PlumCreateDeposit); ok {
return x.PlumCreateDeposit
}
return nil
}
func (m *ActionCore) GetPlumStartExit() *PlumStartExit {
if x, ok := m.GetAction().(*ActionCore_PlumStartExit); ok {
return x.PlumStartExit
}
return nil
}
func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit {
if x, ok := m.GetAction().(*ActionCore_PlumChallengeExit); ok {
return x.PlumChallengeExit
}
return nil
}
func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit {
if x, ok := m.GetAction().(*ActionCore_PlumResponseChallengeExit); ok {
return x.PlumResponseChallengeExit
}
return nil
}
func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit {
if x, ok := m.GetAction().(*ActionCore_PlumFinalizeExit); ok {
return x.PlumFinalizeExit
}
return nil
}
func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit {
if x, ok := m.GetAction().(*ActionCore_PlumSettleDeposit); ok {
return x.PlumSettleDeposit
}
return nil
}
func (m *ActionCore) GetPlumTransfer() *PlumTransfer {
if x, ok := m.GetAction().(*ActionCore_PlumTransfer); ok {
return x.PlumTransfer
}
return nil
}
func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund {
if x, ok := m.GetAction().(*ActionCore_DepositToRewardingFund); ok {
return x.DepositToRewardingFund
}
return nil
}
func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund {
if x, ok := m.GetAction().(*ActionCore_ClaimFromRewardingFund); ok {
return x.ClaimFromRewardingFund
}
return nil
}
func (m *ActionCore) GetGrantReward() *GrantReward {
if x, ok := m.GetAction().(*ActionCore_GrantReward); ok {
return x.GrantReward
}
return nil
}
func (m *ActionCore) GetPutPollResult() *PutPollResult {
if x, ok := m.GetAction().(*ActionCore_PutPollResult); ok {
return x.PutPollResult
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ActionCore) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*ActionCore_Transfer)(nil),
(*ActionCore_Execution)(nil),
(*ActionCore_StartSubChain)(nil),
(*ActionCore_StopSubChain)(nil),
(*ActionCore_PutBlock)(nil),
(*ActionCore_CreateDeposit)(nil),
(*ActionCore_SettleDeposit)(nil),
(*ActionCore_CreatePlumChain)(nil),
(*ActionCore_TerminatePlumChain)(nil),
(*ActionCore_PlumPutBlock)(nil),
(*ActionCore_PlumCreateDeposit)(nil),
(*ActionCore_PlumStartExit)(nil),
(*ActionCore_PlumChallengeExit)(nil),
(*ActionCore_PlumResponseChallengeExit)(nil),
(*ActionCore_PlumFinalizeExit)(nil),
(*ActionCore_PlumSettleDeposit)(nil),
(*ActionCore_PlumTransfer)(nil),
(*ActionCore_DepositToRewardingFund)(nil),
(*ActionCore_ClaimFromRewardingFund)(nil),
(*ActionCore_GrantReward)(nil),
(*ActionCore_PutPollResult)(nil),
}
}
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 (m *Action) Reset() { *m = Action{} }
func (m *Action) String() string { return proto.CompactTextString(m) }
func (*Action) ProtoMessage() {}
func (*Action) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{22}
}
func (m *Action) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Action.Unmarshal(m, b)
}
func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Action.Marshal(b, m, deterministic)
}
func (m *Action) XXX_Merge(src proto.Message) {
xxx_messageInfo_Action.Merge(m, src)
}
func (m *Action) XXX_Size() int {
return xxx_messageInfo_Action.Size(m)
}
func (m *Action) XXX_DiscardUnknown() {
xxx_messageInfo_Action.DiscardUnknown(m)
}
var xxx_messageInfo_Action proto.InternalMessageInfo
func (m *Action) GetCore() *ActionCore {
if m != nil {
return m.Core
}
return nil
}
func (m *Action) GetSenderPubKey() []byte {
if m != nil {
return m.SenderPubKey
}
return nil
}
func (m *Action) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
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 (m *Receipt) Reset() { *m = Receipt{} }
func (m *Receipt) String() string { return proto.CompactTextString(m) }
func (*Receipt) ProtoMessage() {}
func (*Receipt) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{23}
}
func (m *Receipt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Receipt.Unmarshal(m, b)
}
func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Receipt.Marshal(b, m, deterministic)
}
func (m *Receipt) XXX_Merge(src proto.Message) {
xxx_messageInfo_Receipt.Merge(m, src)
}
func (m *Receipt) XXX_Size() int {
return xxx_messageInfo_Receipt.Size(m)
}
func (m *Receipt) XXX_DiscardUnknown() {
xxx_messageInfo_Receipt.DiscardUnknown(m)
}
var xxx_messageInfo_Receipt proto.InternalMessageInfo
func (m *Receipt) GetStatus() uint64 {
if m != nil {
return m.Status
}
return 0
}
func (m *Receipt) GetBlkHeight() uint64 {
if m != nil {
return m.BlkHeight
}
return 0
}
func (m *Receipt) GetActHash() []byte {
if m != nil {
return m.ActHash
}
return nil
}
func (m *Receipt) GetGasConsumed() uint64 {
if m != nil {
return m.GasConsumed
}
return 0
}
func (m *Receipt) GetContractAddress() string {
if m != nil {
return m.ContractAddress
}
return ""
}
func (m *Receipt) GetLogs() []*Log {
if m != nil {
return m.Logs
}
return nil
}
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 (m *Log) Reset() { *m = Log{} }
func (m *Log) String() string { return proto.CompactTextString(m) }
func (*Log) ProtoMessage() {}
func (*Log) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{24}
}
func (m *Log) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Log.Unmarshal(m, b)
}
func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Log.Marshal(b, m, deterministic)
}
func (m *Log) XXX_Merge(src proto.Message) {
xxx_messageInfo_Log.Merge(m, src)
}
func (m *Log) XXX_Size() int {
return xxx_messageInfo_Log.Size(m)
}
func (m *Log) XXX_DiscardUnknown() {
xxx_messageInfo_Log.DiscardUnknown(m)
}
var xxx_messageInfo_Log proto.InternalMessageInfo
func (m *Log) GetContractAddress() string {
if m != nil {
return m.ContractAddress
}
return ""
}
func (m *Log) GetTopics() [][]byte {
if m != nil {
return m.Topics
}
return nil
}
func (m *Log) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *Log) GetBlkHeight() uint64 {
if m != nil {
return m.BlkHeight
}
return 0
}
func (m *Log) GetActHash() []byte {
if m != nil {
return m.ActHash
}
return nil
}
func (m *Log) GetIndex() uint32 {
if m != nil {
return m.Index
}
return 0
}
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 (m *DepositToRewardingFund) Reset() { *m = DepositToRewardingFund{} }
func (m *DepositToRewardingFund) String() string { return proto.CompactTextString(m) }
func (*DepositToRewardingFund) ProtoMessage() {}
func (*DepositToRewardingFund) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{25}
}
func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DepositToRewardingFund.Unmarshal(m, b)
}
func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DepositToRewardingFund.Marshal(b, m, deterministic)
}
func (m *DepositToRewardingFund) XXX_Merge(src proto.Message) {
xxx_messageInfo_DepositToRewardingFund.Merge(m, src)
}
func (m *DepositToRewardingFund) XXX_Size() int {
return xxx_messageInfo_DepositToRewardingFund.Size(m)
}
func (m *DepositToRewardingFund) XXX_DiscardUnknown() {
xxx_messageInfo_DepositToRewardingFund.DiscardUnknown(m)
}
var xxx_messageInfo_DepositToRewardingFund proto.InternalMessageInfo
func (m *DepositToRewardingFund) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *DepositToRewardingFund) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
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 (m *ClaimFromRewardingFund) Reset() { *m = ClaimFromRewardingFund{} }
func (m *ClaimFromRewardingFund) String() string { return proto.CompactTextString(m) }
func (*ClaimFromRewardingFund) ProtoMessage() {}
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{26}
}
func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClaimFromRewardingFund.Unmarshal(m, b)
}
func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClaimFromRewardingFund.Marshal(b, m, deterministic)
}
func (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClaimFromRewardingFund.Merge(m, src)
}
func (m *ClaimFromRewardingFund) XXX_Size() int {
return xxx_messageInfo_ClaimFromRewardingFund.Size(m)
}
func (m *ClaimFromRewardingFund) XXX_DiscardUnknown() {
xxx_messageInfo_ClaimFromRewardingFund.DiscardUnknown(m)
}
var xxx_messageInfo_ClaimFromRewardingFund proto.InternalMessageInfo
func (m *ClaimFromRewardingFund) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *ClaimFromRewardingFund) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
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 (m *GrantReward) Reset() { *m = GrantReward{} }
func (m *GrantReward) String() string { return proto.CompactTextString(m) }
func (*GrantReward) ProtoMessage() {}
func (*GrantReward) Descriptor() ([]byte, []int) {
return fileDescriptor_d4dd5ed50f883f28, []int{27}
}
func (m *GrantReward) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GrantReward.Unmarshal(m, b)
}
func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GrantReward.Marshal(b, m, deterministic)
}
func (m *GrantReward) XXX_Merge(src proto.Message) {
xxx_messageInfo_GrantReward.Merge(m, src)
}
func (m *GrantReward) XXX_Size() int {
return xxx_messageInfo_GrantReward.Size(m)
}
func (m *GrantReward) XXX_DiscardUnknown() {
xxx_messageInfo_GrantReward.DiscardUnknown(m)
}
var xxx_messageInfo_GrantReward proto.InternalMessageInfo
func (m *GrantReward) GetType() RewardType {
if m != nil {
return m.Type
}
return RewardType_BlockReward
}
func (m *GrantReward) GetHeight() uint64 {
if m != nil {
return m.Height
}
return 0
}
func init() {
proto.RegisterEnum("iotextypes.RewardType", RewardType_name, RewardType_value)
proto.RegisterType((*Transfer)(nil), "iotextypes.Transfer")
proto.RegisterType((*Candidate)(nil), "iotextypes.Candidate")
proto.RegisterType((*CandidateList)(nil), "iotextypes.CandidateList")
proto.RegisterType((*PutPollResult)(nil), "iotextypes.PutPollResult")
proto.RegisterType((*Execution)(nil), "iotextypes.Execution")
proto.RegisterType((*StartSubChain)(nil), "iotextypes.StartSubChain")
proto.RegisterType((*StopSubChain)(nil), "iotextypes.StopSubChain")
proto.RegisterType((*MerkleRoot)(nil), "iotextypes.MerkleRoot")
proto.RegisterType((*PutBlock)(nil), "iotextypes.PutBlock")
proto.RegisterType((*CreateDeposit)(nil), "iotextypes.CreateDeposit")
proto.RegisterType((*SettleDeposit)(nil), "iotextypes.SettleDeposit")
proto.RegisterType((*CreatePlumChain)(nil), "iotextypes.CreatePlumChain")
proto.RegisterType((*TerminatePlumChain)(nil), "iotextypes.TerminatePlumChain")
proto.RegisterType((*PlumPutBlock)(nil), "iotextypes.PlumPutBlock")
proto.RegisterMapType((map[string][]byte)(nil), "iotextypes.PlumPutBlock.RootsEntry")
proto.RegisterType((*PlumCreateDeposit)(nil), "iotextypes.PlumCreateDeposit")
proto.RegisterType((*PlumStartExit)(nil), "iotextypes.PlumStartExit")
proto.RegisterType((*PlumChallengeExit)(nil), "iotextypes.PlumChallengeExit")
proto.RegisterType((*PlumResponseChallengeExit)(nil), "iotextypes.PlumResponseChallengeExit")
proto.RegisterType((*PlumFinalizeExit)(nil), "iotextypes.PlumFinalizeExit")
proto.RegisterType((*PlumSettleDeposit)(nil), "iotextypes.PlumSettleDeposit")
proto.RegisterType((*PlumTransfer)(nil), "iotextypes.PlumTransfer")
proto.RegisterType((*ActionCore)(nil), "iotextypes.ActionCore")
proto.RegisterType((*Action)(nil), "iotextypes.Action")
proto.RegisterType((*Receipt)(nil), "iotextypes.Receipt")
proto.RegisterType((*Log)(nil), "iotextypes.Log")
proto.RegisterType((*DepositToRewardingFund)(nil), "iotextypes.DepositToRewardingFund")
proto.RegisterType((*ClaimFromRewardingFund)(nil), "iotextypes.ClaimFromRewardingFund")
proto.RegisterType((*GrantReward)(nil), "iotextypes.GrantReward")
}
func init() { proto.RegisterFile("proto/types/action.proto", fileDescriptor_d4dd5ed50f883f28) }
var fileDescriptor_d4dd5ed50f883f28 = []byte{
// 1610 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5f, 0x6f, 0xdb, 0x36,
0x10, 0xf7, 0xbf, 0xb8, 0xc9, 0xc5, 0x6e, 0x1c, 0x2e, 0x75, 0x95, 0xb4, 0xeb, 0x02, 0x75, 0x03,
0x82, 0xac, 0x4b, 0x80, 0x0c, 0xed, 0xda, 0x0d, 0x28, 0xd6, 0xfc, 0xab, 0xb7, 0xa5, 0x98, 0xa7,
0xe4, 0xa9, 0x1b, 0x30, 0x28, 0x32, 0x63, 0x6b, 0x91, 0x45, 0x81, 0xa4, 0xd2, 0xb8, 0x0f, 0x7b,
0xdf, 0x47, 0xd9, 0x47, 0xd8, 0x07, 0xd8, 0xcb, 0xde, 0xf6, 0x0d, 0xf6, 0x45, 0x06, 0x0c, 0xa4,
0x28, 0x99, 0x94, 0xe4, 0xb4, 0x29, 0x0a, 0xec, 0x4d, 0x77, 0xfc, 0xf1, 0xc7, 0xe3, 0xdd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e,
0x49, 0xe0, 0x86, 0xc3, 0xed, 0xa9, 0x45, 0xa7, 0x4d, 0x39, 0xf0, 0xf9, 0x7f, 0x01, 0x00, 0x00,
0xff, 0xff, 0x4b, 0x3b, 0x67, 0x5f, 0xb7, 0x14, 0x00, 0x00,
}
You can’t perform that action at this time.