github.com/datachainlab/burrow@v0.25.0/execution/exec/exec.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: exec.proto
     3  
     4  package exec
     5  
     6  import (
     7  	fmt "fmt"
     8  	io "io"
     9  	math "math"
    10  	time "time"
    11  
    12  	_ "github.com/gogo/protobuf/gogoproto"
    13  	proto "github.com/gogo/protobuf/proto"
    14  	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
    15  	golang_proto "github.com/golang/protobuf/proto"
    16  	_ "github.com/golang/protobuf/ptypes/timestamp"
    17  	github_com_hyperledger_burrow_binary "github.com/hyperledger/burrow/binary"
    18  	github_com_hyperledger_burrow_crypto "github.com/hyperledger/burrow/crypto"
    19  	errors "github.com/hyperledger/burrow/execution/errors"
    20  	names "github.com/hyperledger/burrow/execution/names"
    21  	spec "github.com/hyperledger/burrow/genesis/spec"
    22  	permission "github.com/hyperledger/burrow/permission"
    23  	github_com_hyperledger_burrow_txs "github.com/hyperledger/burrow/txs"
    24  	txs "github.com/hyperledger/burrow/txs"
    25  	github_com_hyperledger_burrow_txs_payload "github.com/hyperledger/burrow/txs/payload"
    26  	types "github.com/tendermint/tendermint/abci/types"
    27  )
    28  
    29  // Reference imports to suppress errors if they are not otherwise used.
    30  var _ = proto.Marshal
    31  var _ = golang_proto.Marshal
    32  var _ = fmt.Errorf
    33  var _ = math.Inf
    34  var _ = time.Kitchen
    35  
    36  // This is a compile-time assertion to ensure that this generated file
    37  // is compatible with the proto package it is being compiled against.
    38  // A compilation error at this line likely means your copy of the
    39  // proto package needs to be updated.
    40  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    41  
    42  type StreamEvent struct {
    43  	BeginBlock           *BeginBlock                                 `protobuf:"bytes,1,opt,name=BeginBlock,proto3" json:"BeginBlock,omitempty"`
    44  	BeginTx              *BeginTx                                    `protobuf:"bytes,2,opt,name=BeginTx,proto3" json:"BeginTx,omitempty"`
    45  	Envelope             *github_com_hyperledger_burrow_txs.Envelope `protobuf:"bytes,3,opt,name=Envelope,proto3,customtype=github.com/hyperledger/burrow/txs.Envelope" json:"Envelope,omitempty"`
    46  	Event                *Event                                      `protobuf:"bytes,4,opt,name=Event,proto3" json:"Event,omitempty"`
    47  	EndTx                *EndTx                                      `protobuf:"bytes,5,opt,name=EndTx,proto3" json:"EndTx,omitempty"`
    48  	EndBlock             *EndBlock                                   `protobuf:"bytes,6,opt,name=EndBlock,proto3" json:"EndBlock,omitempty"`
    49  	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
    50  	XXX_unrecognized     []byte                                      `json:"-"`
    51  	XXX_sizecache        int32                                       `json:"-"`
    52  }
    53  
    54  func (m *StreamEvent) Reset()         { *m = StreamEvent{} }
    55  func (m *StreamEvent) String() string { return proto.CompactTextString(m) }
    56  func (*StreamEvent) ProtoMessage()    {}
    57  func (*StreamEvent) Descriptor() ([]byte, []int) {
    58  	return fileDescriptor_4d737c7315c25422, []int{0}
    59  }
    60  func (m *StreamEvent) XXX_Unmarshal(b []byte) error {
    61  	return m.Unmarshal(b)
    62  }
    63  func (m *StreamEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    64  	if deterministic {
    65  		return xxx_messageInfo_StreamEvent.Marshal(b, m, deterministic)
    66  	} else {
    67  		b = b[:cap(b)]
    68  		n, err := m.MarshalTo(b)
    69  		if err != nil {
    70  			return nil, err
    71  		}
    72  		return b[:n], nil
    73  	}
    74  }
    75  func (m *StreamEvent) XXX_Merge(src proto.Message) {
    76  	xxx_messageInfo_StreamEvent.Merge(m, src)
    77  }
    78  func (m *StreamEvent) XXX_Size() int {
    79  	return m.Size()
    80  }
    81  func (m *StreamEvent) XXX_DiscardUnknown() {
    82  	xxx_messageInfo_StreamEvent.DiscardUnknown(m)
    83  }
    84  
    85  var xxx_messageInfo_StreamEvent proto.InternalMessageInfo
    86  
    87  func (m *StreamEvent) GetBeginBlock() *BeginBlock {
    88  	if m != nil {
    89  		return m.BeginBlock
    90  	}
    91  	return nil
    92  }
    93  
    94  func (m *StreamEvent) GetBeginTx() *BeginTx {
    95  	if m != nil {
    96  		return m.BeginTx
    97  	}
    98  	return nil
    99  }
   100  
   101  func (m *StreamEvent) GetEvent() *Event {
   102  	if m != nil {
   103  		return m.Event
   104  	}
   105  	return nil
   106  }
   107  
   108  func (m *StreamEvent) GetEndTx() *EndTx {
   109  	if m != nil {
   110  		return m.EndTx
   111  	}
   112  	return nil
   113  }
   114  
   115  func (m *StreamEvent) GetEndBlock() *EndBlock {
   116  	if m != nil {
   117  		return m.EndBlock
   118  	}
   119  	return nil
   120  }
   121  
   122  func (*StreamEvent) XXX_MessageName() string {
   123  	return "exec.StreamEvent"
   124  }
   125  
   126  // A key to a stream event
   127  type StreamKey struct {
   128  	// The block height
   129  	Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
   130  	// The index of the StreamEvent amongst other StreamEvents at the same height
   131  	Index                uint64   `protobuf:"varint,2,opt,name=Index,proto3" json:"Index,omitempty"`
   132  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   133  	XXX_unrecognized     []byte   `json:"-"`
   134  	XXX_sizecache        int32    `json:"-"`
   135  }
   136  
   137  func (m *StreamKey) Reset()         { *m = StreamKey{} }
   138  func (m *StreamKey) String() string { return proto.CompactTextString(m) }
   139  func (*StreamKey) ProtoMessage()    {}
   140  func (*StreamKey) Descriptor() ([]byte, []int) {
   141  	return fileDescriptor_4d737c7315c25422, []int{1}
   142  }
   143  func (m *StreamKey) XXX_Unmarshal(b []byte) error {
   144  	return m.Unmarshal(b)
   145  }
   146  func (m *StreamKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   147  	if deterministic {
   148  		return xxx_messageInfo_StreamKey.Marshal(b, m, deterministic)
   149  	} else {
   150  		b = b[:cap(b)]
   151  		n, err := m.MarshalTo(b)
   152  		if err != nil {
   153  			return nil, err
   154  		}
   155  		return b[:n], nil
   156  	}
   157  }
   158  func (m *StreamKey) XXX_Merge(src proto.Message) {
   159  	xxx_messageInfo_StreamKey.Merge(m, src)
   160  }
   161  func (m *StreamKey) XXX_Size() int {
   162  	return m.Size()
   163  }
   164  func (m *StreamKey) XXX_DiscardUnknown() {
   165  	xxx_messageInfo_StreamKey.DiscardUnknown(m)
   166  }
   167  
   168  var xxx_messageInfo_StreamKey proto.InternalMessageInfo
   169  
   170  func (m *StreamKey) GetHeight() uint64 {
   171  	if m != nil {
   172  		return m.Height
   173  	}
   174  	return 0
   175  }
   176  
   177  func (m *StreamKey) GetIndex() uint64 {
   178  	if m != nil {
   179  		return m.Index
   180  	}
   181  	return 0
   182  }
   183  
   184  func (*StreamKey) XXX_MessageName() string {
   185  	return "exec.StreamKey"
   186  }
   187  
   188  type BeginBlock struct {
   189  	// The height of this block
   190  	Height               uint64        `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
   191  	Header               *types.Header `protobuf:"bytes,2,opt,name=Header,proto3" json:"Header,omitempty"`
   192  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   193  	XXX_unrecognized     []byte        `json:"-"`
   194  	XXX_sizecache        int32         `json:"-"`
   195  }
   196  
   197  func (m *BeginBlock) Reset()         { *m = BeginBlock{} }
   198  func (m *BeginBlock) String() string { return proto.CompactTextString(m) }
   199  func (*BeginBlock) ProtoMessage()    {}
   200  func (*BeginBlock) Descriptor() ([]byte, []int) {
   201  	return fileDescriptor_4d737c7315c25422, []int{2}
   202  }
   203  func (m *BeginBlock) XXX_Unmarshal(b []byte) error {
   204  	return m.Unmarshal(b)
   205  }
   206  func (m *BeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   207  	if deterministic {
   208  		return xxx_messageInfo_BeginBlock.Marshal(b, m, deterministic)
   209  	} else {
   210  		b = b[:cap(b)]
   211  		n, err := m.MarshalTo(b)
   212  		if err != nil {
   213  			return nil, err
   214  		}
   215  		return b[:n], nil
   216  	}
   217  }
   218  func (m *BeginBlock) XXX_Merge(src proto.Message) {
   219  	xxx_messageInfo_BeginBlock.Merge(m, src)
   220  }
   221  func (m *BeginBlock) XXX_Size() int {
   222  	return m.Size()
   223  }
   224  func (m *BeginBlock) XXX_DiscardUnknown() {
   225  	xxx_messageInfo_BeginBlock.DiscardUnknown(m)
   226  }
   227  
   228  var xxx_messageInfo_BeginBlock proto.InternalMessageInfo
   229  
   230  func (m *BeginBlock) GetHeight() uint64 {
   231  	if m != nil {
   232  		return m.Height
   233  	}
   234  	return 0
   235  }
   236  
   237  func (m *BeginBlock) GetHeader() *types.Header {
   238  	if m != nil {
   239  		return m.Header
   240  	}
   241  	return nil
   242  }
   243  
   244  func (*BeginBlock) XXX_MessageName() string {
   245  	return "exec.BeginBlock"
   246  }
   247  
   248  type EndBlock struct {
   249  	Height               uint64   `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
   250  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   251  	XXX_unrecognized     []byte   `json:"-"`
   252  	XXX_sizecache        int32    `json:"-"`
   253  }
   254  
   255  func (m *EndBlock) Reset()         { *m = EndBlock{} }
   256  func (m *EndBlock) String() string { return proto.CompactTextString(m) }
   257  func (*EndBlock) ProtoMessage()    {}
   258  func (*EndBlock) Descriptor() ([]byte, []int) {
   259  	return fileDescriptor_4d737c7315c25422, []int{3}
   260  }
   261  func (m *EndBlock) XXX_Unmarshal(b []byte) error {
   262  	return m.Unmarshal(b)
   263  }
   264  func (m *EndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   265  	if deterministic {
   266  		return xxx_messageInfo_EndBlock.Marshal(b, m, deterministic)
   267  	} else {
   268  		b = b[:cap(b)]
   269  		n, err := m.MarshalTo(b)
   270  		if err != nil {
   271  			return nil, err
   272  		}
   273  		return b[:n], nil
   274  	}
   275  }
   276  func (m *EndBlock) XXX_Merge(src proto.Message) {
   277  	xxx_messageInfo_EndBlock.Merge(m, src)
   278  }
   279  func (m *EndBlock) XXX_Size() int {
   280  	return m.Size()
   281  }
   282  func (m *EndBlock) XXX_DiscardUnknown() {
   283  	xxx_messageInfo_EndBlock.DiscardUnknown(m)
   284  }
   285  
   286  var xxx_messageInfo_EndBlock proto.InternalMessageInfo
   287  
   288  func (m *EndBlock) GetHeight() uint64 {
   289  	if m != nil {
   290  		return m.Height
   291  	}
   292  	return 0
   293  }
   294  
   295  func (*EndBlock) XXX_MessageName() string {
   296  	return "exec.EndBlock"
   297  }
   298  
   299  type BeginTx struct {
   300  	TxHeader *TxHeader `protobuf:"bytes,1,opt,name=TxHeader,proto3" json:"TxHeader,omitempty"`
   301  	// Result of tx execution
   302  	Result *Result `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
   303  	// If tx execution was an exception
   304  	Exception            *errors.Exception `protobuf:"bytes,4,opt,name=Exception,proto3" json:"Exception,omitempty"`
   305  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   306  	XXX_unrecognized     []byte            `json:"-"`
   307  	XXX_sizecache        int32             `json:"-"`
   308  }
   309  
   310  func (m *BeginTx) Reset()         { *m = BeginTx{} }
   311  func (m *BeginTx) String() string { return proto.CompactTextString(m) }
   312  func (*BeginTx) ProtoMessage()    {}
   313  func (*BeginTx) Descriptor() ([]byte, []int) {
   314  	return fileDescriptor_4d737c7315c25422, []int{4}
   315  }
   316  func (m *BeginTx) XXX_Unmarshal(b []byte) error {
   317  	return m.Unmarshal(b)
   318  }
   319  func (m *BeginTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   320  	if deterministic {
   321  		return xxx_messageInfo_BeginTx.Marshal(b, m, deterministic)
   322  	} else {
   323  		b = b[:cap(b)]
   324  		n, err := m.MarshalTo(b)
   325  		if err != nil {
   326  			return nil, err
   327  		}
   328  		return b[:n], nil
   329  	}
   330  }
   331  func (m *BeginTx) XXX_Merge(src proto.Message) {
   332  	xxx_messageInfo_BeginTx.Merge(m, src)
   333  }
   334  func (m *BeginTx) XXX_Size() int {
   335  	return m.Size()
   336  }
   337  func (m *BeginTx) XXX_DiscardUnknown() {
   338  	xxx_messageInfo_BeginTx.DiscardUnknown(m)
   339  }
   340  
   341  var xxx_messageInfo_BeginTx proto.InternalMessageInfo
   342  
   343  func (m *BeginTx) GetTxHeader() *TxHeader {
   344  	if m != nil {
   345  		return m.TxHeader
   346  	}
   347  	return nil
   348  }
   349  
   350  func (m *BeginTx) GetResult() *Result {
   351  	if m != nil {
   352  		return m.Result
   353  	}
   354  	return nil
   355  }
   356  
   357  func (m *BeginTx) GetException() *errors.Exception {
   358  	if m != nil {
   359  		return m.Exception
   360  	}
   361  	return nil
   362  }
   363  
   364  func (*BeginTx) XXX_MessageName() string {
   365  	return "exec.BeginTx"
   366  }
   367  
   368  type EndTx struct {
   369  	// The hash of the transaction that caused this event to be generated
   370  	TxHash               github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,3,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"TxHash"`
   371  	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
   372  	XXX_unrecognized     []byte                                        `json:"-"`
   373  	XXX_sizecache        int32                                         `json:"-"`
   374  }
   375  
   376  func (m *EndTx) Reset()         { *m = EndTx{} }
   377  func (m *EndTx) String() string { return proto.CompactTextString(m) }
   378  func (*EndTx) ProtoMessage()    {}
   379  func (*EndTx) Descriptor() ([]byte, []int) {
   380  	return fileDescriptor_4d737c7315c25422, []int{5}
   381  }
   382  func (m *EndTx) XXX_Unmarshal(b []byte) error {
   383  	return m.Unmarshal(b)
   384  }
   385  func (m *EndTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   386  	if deterministic {
   387  		return xxx_messageInfo_EndTx.Marshal(b, m, deterministic)
   388  	} else {
   389  		b = b[:cap(b)]
   390  		n, err := m.MarshalTo(b)
   391  		if err != nil {
   392  			return nil, err
   393  		}
   394  		return b[:n], nil
   395  	}
   396  }
   397  func (m *EndTx) XXX_Merge(src proto.Message) {
   398  	xxx_messageInfo_EndTx.Merge(m, src)
   399  }
   400  func (m *EndTx) XXX_Size() int {
   401  	return m.Size()
   402  }
   403  func (m *EndTx) XXX_DiscardUnknown() {
   404  	xxx_messageInfo_EndTx.DiscardUnknown(m)
   405  }
   406  
   407  var xxx_messageInfo_EndTx proto.InternalMessageInfo
   408  
   409  func (*EndTx) XXX_MessageName() string {
   410  	return "exec.EndTx"
   411  }
   412  
   413  type TxHeader struct {
   414  	// Transaction type
   415  	TxType github_com_hyperledger_burrow_txs_payload.Type `protobuf:"varint,1,opt,name=TxType,proto3,casttype=github.com/hyperledger/burrow/txs/payload.Type" json:"TxType,omitempty"`
   416  	// The hash of the transaction that caused this event to be generated
   417  	TxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"TxHash"`
   418  	// The block height at which this Tx was included
   419  	Height uint64 `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
   420  	// The index of this transaction within the block
   421  	Index uint64 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
   422  	// The origin information from the chain on which this tx was originally committed (if restored or otherwise imported)
   423  	Origin               *Origin  `protobuf:"bytes,5,opt,name=Origin,proto3" json:"Origin,omitempty"`
   424  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   425  	XXX_unrecognized     []byte   `json:"-"`
   426  	XXX_sizecache        int32    `json:"-"`
   427  }
   428  
   429  func (m *TxHeader) Reset()         { *m = TxHeader{} }
   430  func (m *TxHeader) String() string { return proto.CompactTextString(m) }
   431  func (*TxHeader) ProtoMessage()    {}
   432  func (*TxHeader) Descriptor() ([]byte, []int) {
   433  	return fileDescriptor_4d737c7315c25422, []int{6}
   434  }
   435  func (m *TxHeader) XXX_Unmarshal(b []byte) error {
   436  	return m.Unmarshal(b)
   437  }
   438  func (m *TxHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   439  	if deterministic {
   440  		return xxx_messageInfo_TxHeader.Marshal(b, m, deterministic)
   441  	} else {
   442  		b = b[:cap(b)]
   443  		n, err := m.MarshalTo(b)
   444  		if err != nil {
   445  			return nil, err
   446  		}
   447  		return b[:n], nil
   448  	}
   449  }
   450  func (m *TxHeader) XXX_Merge(src proto.Message) {
   451  	xxx_messageInfo_TxHeader.Merge(m, src)
   452  }
   453  func (m *TxHeader) XXX_Size() int {
   454  	return m.Size()
   455  }
   456  func (m *TxHeader) XXX_DiscardUnknown() {
   457  	xxx_messageInfo_TxHeader.DiscardUnknown(m)
   458  }
   459  
   460  var xxx_messageInfo_TxHeader proto.InternalMessageInfo
   461  
   462  func (m *TxHeader) GetTxType() github_com_hyperledger_burrow_txs_payload.Type {
   463  	if m != nil {
   464  		return m.TxType
   465  	}
   466  	return 0
   467  }
   468  
   469  func (m *TxHeader) GetHeight() uint64 {
   470  	if m != nil {
   471  		return m.Height
   472  	}
   473  	return 0
   474  }
   475  
   476  func (m *TxHeader) GetIndex() uint64 {
   477  	if m != nil {
   478  		return m.Index
   479  	}
   480  	return 0
   481  }
   482  
   483  func (m *TxHeader) GetOrigin() *Origin {
   484  	if m != nil {
   485  		return m.Origin
   486  	}
   487  	return nil
   488  }
   489  
   490  func (*TxHeader) XXX_MessageName() string {
   491  	return "exec.TxHeader"
   492  }
   493  
   494  type BlockExecution struct {
   495  	// The height of this block
   496  	Height               uint64         `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
   497  	Header               *types.Header  `protobuf:"bytes,2,opt,name=Header,proto3" json:"Header,omitempty"`
   498  	TxExecutions         []*TxExecution `protobuf:"bytes,3,rep,name=TxExecutions,proto3" json:"TxExecutions,omitempty"`
   499  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   500  	XXX_unrecognized     []byte         `json:"-"`
   501  	XXX_sizecache        int32          `json:"-"`
   502  }
   503  
   504  func (m *BlockExecution) Reset()         { *m = BlockExecution{} }
   505  func (m *BlockExecution) String() string { return proto.CompactTextString(m) }
   506  func (*BlockExecution) ProtoMessage()    {}
   507  func (*BlockExecution) Descriptor() ([]byte, []int) {
   508  	return fileDescriptor_4d737c7315c25422, []int{7}
   509  }
   510  func (m *BlockExecution) XXX_Unmarshal(b []byte) error {
   511  	return m.Unmarshal(b)
   512  }
   513  func (m *BlockExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   514  	if deterministic {
   515  		return xxx_messageInfo_BlockExecution.Marshal(b, m, deterministic)
   516  	} else {
   517  		b = b[:cap(b)]
   518  		n, err := m.MarshalTo(b)
   519  		if err != nil {
   520  			return nil, err
   521  		}
   522  		return b[:n], nil
   523  	}
   524  }
   525  func (m *BlockExecution) XXX_Merge(src proto.Message) {
   526  	xxx_messageInfo_BlockExecution.Merge(m, src)
   527  }
   528  func (m *BlockExecution) XXX_Size() int {
   529  	return m.Size()
   530  }
   531  func (m *BlockExecution) XXX_DiscardUnknown() {
   532  	xxx_messageInfo_BlockExecution.DiscardUnknown(m)
   533  }
   534  
   535  var xxx_messageInfo_BlockExecution proto.InternalMessageInfo
   536  
   537  func (m *BlockExecution) GetHeight() uint64 {
   538  	if m != nil {
   539  		return m.Height
   540  	}
   541  	return 0
   542  }
   543  
   544  func (m *BlockExecution) GetHeader() *types.Header {
   545  	if m != nil {
   546  		return m.Header
   547  	}
   548  	return nil
   549  }
   550  
   551  func (m *BlockExecution) GetTxExecutions() []*TxExecution {
   552  	if m != nil {
   553  		return m.TxExecutions
   554  	}
   555  	return nil
   556  }
   557  
   558  func (*BlockExecution) XXX_MessageName() string {
   559  	return "exec.BlockExecution"
   560  }
   561  
   562  type TxExecution struct {
   563  	*TxHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:"Header,omitempty"`
   564  	// Signed Tx that triggered this execution
   565  	Envelope *github_com_hyperledger_burrow_txs.Envelope `protobuf:"bytes,6,opt,name=Envelope,proto3,customtype=github.com/hyperledger/burrow/txs.Envelope" json:"Envelope,omitempty"`
   566  	// Execution events
   567  	Events []*Event `protobuf:"bytes,7,rep,name=Events,proto3" json:"Events,omitempty"`
   568  	// The execution results
   569  	Result *Result `protobuf:"bytes,8,opt,name=Result,proto3" json:"Result,omitempty"`
   570  	// The transaction receipt
   571  	Receipt *txs.Receipt `protobuf:"bytes,9,opt,name=Receipt,proto3" json:"Receipt,omitempty"`
   572  	// If execution was an exception
   573  	Exception *errors.Exception `protobuf:"bytes,10,opt,name=Exception,proto3" json:"Exception,omitempty"`
   574  	// A proposal may contain other transactions
   575  	TxExecutions         []*TxExecution `protobuf:"bytes,11,rep,name=TxExecutions,proto3" json:"TxExecutions,omitempty"`
   576  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   577  	XXX_unrecognized     []byte         `json:"-"`
   578  	XXX_sizecache        int32          `json:"-"`
   579  }
   580  
   581  func (m *TxExecution) Reset()         { *m = TxExecution{} }
   582  func (m *TxExecution) String() string { return proto.CompactTextString(m) }
   583  func (*TxExecution) ProtoMessage()    {}
   584  func (*TxExecution) Descriptor() ([]byte, []int) {
   585  	return fileDescriptor_4d737c7315c25422, []int{8}
   586  }
   587  func (m *TxExecution) XXX_Unmarshal(b []byte) error {
   588  	return m.Unmarshal(b)
   589  }
   590  func (m *TxExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   591  	if deterministic {
   592  		return xxx_messageInfo_TxExecution.Marshal(b, m, deterministic)
   593  	} else {
   594  		b = b[:cap(b)]
   595  		n, err := m.MarshalTo(b)
   596  		if err != nil {
   597  			return nil, err
   598  		}
   599  		return b[:n], nil
   600  	}
   601  }
   602  func (m *TxExecution) XXX_Merge(src proto.Message) {
   603  	xxx_messageInfo_TxExecution.Merge(m, src)
   604  }
   605  func (m *TxExecution) XXX_Size() int {
   606  	return m.Size()
   607  }
   608  func (m *TxExecution) XXX_DiscardUnknown() {
   609  	xxx_messageInfo_TxExecution.DiscardUnknown(m)
   610  }
   611  
   612  var xxx_messageInfo_TxExecution proto.InternalMessageInfo
   613  
   614  func (m *TxExecution) GetEvents() []*Event {
   615  	if m != nil {
   616  		return m.Events
   617  	}
   618  	return nil
   619  }
   620  
   621  func (m *TxExecution) GetResult() *Result {
   622  	if m != nil {
   623  		return m.Result
   624  	}
   625  	return nil
   626  }
   627  
   628  func (m *TxExecution) GetReceipt() *txs.Receipt {
   629  	if m != nil {
   630  		return m.Receipt
   631  	}
   632  	return nil
   633  }
   634  
   635  func (m *TxExecution) GetException() *errors.Exception {
   636  	if m != nil {
   637  		return m.Exception
   638  	}
   639  	return nil
   640  }
   641  
   642  func (m *TxExecution) GetTxExecutions() []*TxExecution {
   643  	if m != nil {
   644  		return m.TxExecutions
   645  	}
   646  	return nil
   647  }
   648  
   649  func (*TxExecution) XXX_MessageName() string {
   650  	return "exec.TxExecution"
   651  }
   652  
   653  type Origin struct {
   654  	// The original ChainID from for this transaction
   655  	ChainID string `protobuf:"bytes,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
   656  	// The original height at which this transaction was committed
   657  	Height uint64 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
   658  	// The original index in the block
   659  	Index uint64 `protobuf:"varint,3,opt,name=Index,proto3" json:"Index,omitempty"`
   660  	// The original block time for this transaction
   661  	Time                 time.Time `protobuf:"bytes,4,opt,name=Time,proto3,stdtime" json:"Time"`
   662  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
   663  	XXX_unrecognized     []byte    `json:"-"`
   664  	XXX_sizecache        int32     `json:"-"`
   665  }
   666  
   667  func (m *Origin) Reset()         { *m = Origin{} }
   668  func (m *Origin) String() string { return proto.CompactTextString(m) }
   669  func (*Origin) ProtoMessage()    {}
   670  func (*Origin) Descriptor() ([]byte, []int) {
   671  	return fileDescriptor_4d737c7315c25422, []int{9}
   672  }
   673  func (m *Origin) XXX_Unmarshal(b []byte) error {
   674  	return m.Unmarshal(b)
   675  }
   676  func (m *Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   677  	if deterministic {
   678  		return xxx_messageInfo_Origin.Marshal(b, m, deterministic)
   679  	} else {
   680  		b = b[:cap(b)]
   681  		n, err := m.MarshalTo(b)
   682  		if err != nil {
   683  			return nil, err
   684  		}
   685  		return b[:n], nil
   686  	}
   687  }
   688  func (m *Origin) XXX_Merge(src proto.Message) {
   689  	xxx_messageInfo_Origin.Merge(m, src)
   690  }
   691  func (m *Origin) XXX_Size() int {
   692  	return m.Size()
   693  }
   694  func (m *Origin) XXX_DiscardUnknown() {
   695  	xxx_messageInfo_Origin.DiscardUnknown(m)
   696  }
   697  
   698  var xxx_messageInfo_Origin proto.InternalMessageInfo
   699  
   700  func (m *Origin) GetChainID() string {
   701  	if m != nil {
   702  		return m.ChainID
   703  	}
   704  	return ""
   705  }
   706  
   707  func (m *Origin) GetHeight() uint64 {
   708  	if m != nil {
   709  		return m.Height
   710  	}
   711  	return 0
   712  }
   713  
   714  func (m *Origin) GetIndex() uint64 {
   715  	if m != nil {
   716  		return m.Index
   717  	}
   718  	return 0
   719  }
   720  
   721  func (m *Origin) GetTime() time.Time {
   722  	if m != nil {
   723  		return m.Time
   724  	}
   725  	return time.Time{}
   726  }
   727  
   728  func (*Origin) XXX_MessageName() string {
   729  	return "exec.Origin"
   730  }
   731  
   732  type Header struct {
   733  	// Transaction type
   734  	TxType github_com_hyperledger_burrow_txs_payload.Type `protobuf:"varint,1,opt,name=TxType,proto3,casttype=github.com/hyperledger/burrow/txs/payload.Type" json:"TxType,omitempty"`
   735  	// The hash of the transaction that caused this event to be generated
   736  	TxHash github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,2,opt,name=TxHash,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"TxHash"`
   737  	// The type of event
   738  	EventType EventType `protobuf:"varint,3,opt,name=EventType,proto3,casttype=EventType" json:"EventType,omitempty"`
   739  	// EventID published with event
   740  	EventID string `protobuf:"bytes,4,opt,name=EventID,proto3" json:"EventID,omitempty"`
   741  	// The block height at which this event was emitted
   742  	Height uint64 `protobuf:"varint,5,opt,name=Height,proto3" json:"Height,omitempty"`
   743  	// The index of this event relative to other events generated by the same transaction
   744  	Index uint64 `protobuf:"varint,6,opt,name=Index,proto3" json:"Index,omitempty"`
   745  	// If event is exception
   746  	Exception            *errors.Exception `protobuf:"bytes,7,opt,name=Exception,proto3" json:"Exception,omitempty"`
   747  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   748  	XXX_unrecognized     []byte            `json:"-"`
   749  	XXX_sizecache        int32             `json:"-"`
   750  }
   751  
   752  func (m *Header) Reset()      { *m = Header{} }
   753  func (*Header) ProtoMessage() {}
   754  func (*Header) Descriptor() ([]byte, []int) {
   755  	return fileDescriptor_4d737c7315c25422, []int{10}
   756  }
   757  func (m *Header) XXX_Unmarshal(b []byte) error {
   758  	return m.Unmarshal(b)
   759  }
   760  func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   761  	if deterministic {
   762  		return xxx_messageInfo_Header.Marshal(b, m, deterministic)
   763  	} else {
   764  		b = b[:cap(b)]
   765  		n, err := m.MarshalTo(b)
   766  		if err != nil {
   767  			return nil, err
   768  		}
   769  		return b[:n], nil
   770  	}
   771  }
   772  func (m *Header) XXX_Merge(src proto.Message) {
   773  	xxx_messageInfo_Header.Merge(m, src)
   774  }
   775  func (m *Header) XXX_Size() int {
   776  	return m.Size()
   777  }
   778  func (m *Header) XXX_DiscardUnknown() {
   779  	xxx_messageInfo_Header.DiscardUnknown(m)
   780  }
   781  
   782  var xxx_messageInfo_Header proto.InternalMessageInfo
   783  
   784  func (m *Header) GetTxType() github_com_hyperledger_burrow_txs_payload.Type {
   785  	if m != nil {
   786  		return m.TxType
   787  	}
   788  	return 0
   789  }
   790  
   791  func (m *Header) GetEventType() EventType {
   792  	if m != nil {
   793  		return m.EventType
   794  	}
   795  	return 0
   796  }
   797  
   798  func (m *Header) GetEventID() string {
   799  	if m != nil {
   800  		return m.EventID
   801  	}
   802  	return ""
   803  }
   804  
   805  func (m *Header) GetHeight() uint64 {
   806  	if m != nil {
   807  		return m.Height
   808  	}
   809  	return 0
   810  }
   811  
   812  func (m *Header) GetIndex() uint64 {
   813  	if m != nil {
   814  		return m.Index
   815  	}
   816  	return 0
   817  }
   818  
   819  func (m *Header) GetException() *errors.Exception {
   820  	if m != nil {
   821  		return m.Exception
   822  	}
   823  	return nil
   824  }
   825  
   826  func (*Header) XXX_MessageName() string {
   827  	return "exec.Header"
   828  }
   829  
   830  type Event struct {
   831  	Header               *Header             `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"`
   832  	Input                *InputEvent         `protobuf:"bytes,2,opt,name=Input,proto3" json:"Input,omitempty"`
   833  	Output               *OutputEvent        `protobuf:"bytes,3,opt,name=Output,proto3" json:"Output,omitempty"`
   834  	Call                 *CallEvent          `protobuf:"bytes,4,opt,name=Call,proto3" json:"Call,omitempty"`
   835  	Log                  *LogEvent           `protobuf:"bytes,5,opt,name=Log,proto3" json:"Log,omitempty"`
   836  	GovernAccount        *GovernAccountEvent `protobuf:"bytes,6,opt,name=GovernAccount,proto3" json:"GovernAccount,omitempty"`
   837  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
   838  	XXX_unrecognized     []byte              `json:"-"`
   839  	XXX_sizecache        int32               `json:"-"`
   840  }
   841  
   842  func (m *Event) Reset()      { *m = Event{} }
   843  func (*Event) ProtoMessage() {}
   844  func (*Event) Descriptor() ([]byte, []int) {
   845  	return fileDescriptor_4d737c7315c25422, []int{11}
   846  }
   847  func (m *Event) XXX_Unmarshal(b []byte) error {
   848  	return m.Unmarshal(b)
   849  }
   850  func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   851  	if deterministic {
   852  		return xxx_messageInfo_Event.Marshal(b, m, deterministic)
   853  	} else {
   854  		b = b[:cap(b)]
   855  		n, err := m.MarshalTo(b)
   856  		if err != nil {
   857  			return nil, err
   858  		}
   859  		return b[:n], nil
   860  	}
   861  }
   862  func (m *Event) XXX_Merge(src proto.Message) {
   863  	xxx_messageInfo_Event.Merge(m, src)
   864  }
   865  func (m *Event) XXX_Size() int {
   866  	return m.Size()
   867  }
   868  func (m *Event) XXX_DiscardUnknown() {
   869  	xxx_messageInfo_Event.DiscardUnknown(m)
   870  }
   871  
   872  var xxx_messageInfo_Event proto.InternalMessageInfo
   873  
   874  func (m *Event) GetHeader() *Header {
   875  	if m != nil {
   876  		return m.Header
   877  	}
   878  	return nil
   879  }
   880  
   881  func (m *Event) GetInput() *InputEvent {
   882  	if m != nil {
   883  		return m.Input
   884  	}
   885  	return nil
   886  }
   887  
   888  func (m *Event) GetOutput() *OutputEvent {
   889  	if m != nil {
   890  		return m.Output
   891  	}
   892  	return nil
   893  }
   894  
   895  func (m *Event) GetCall() *CallEvent {
   896  	if m != nil {
   897  		return m.Call
   898  	}
   899  	return nil
   900  }
   901  
   902  func (m *Event) GetLog() *LogEvent {
   903  	if m != nil {
   904  		return m.Log
   905  	}
   906  	return nil
   907  }
   908  
   909  func (m *Event) GetGovernAccount() *GovernAccountEvent {
   910  	if m != nil {
   911  		return m.GovernAccount
   912  	}
   913  	return nil
   914  }
   915  
   916  func (*Event) XXX_MessageName() string {
   917  	return "exec.Event"
   918  }
   919  
   920  // Could structure this further if needed - sum type of various results relevant to different transaction types
   921  type Result struct {
   922  	// EVM execution return
   923  	Return []byte `protobuf:"bytes,1,opt,name=Return,proto3" json:"Return,omitempty"`
   924  	// Gas used in computation
   925  	GasUsed uint64 `protobuf:"varint,2,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"`
   926  	// Name entry created
   927  	NameEntry *names.Entry `protobuf:"bytes,3,opt,name=NameEntry,proto3" json:"NameEntry,omitempty"`
   928  	// Permission update performed
   929  	PermArgs             *permission.PermArgs `protobuf:"bytes,4,opt,name=PermArgs,proto3" json:"PermArgs,omitempty"`
   930  	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
   931  	XXX_unrecognized     []byte               `json:"-"`
   932  	XXX_sizecache        int32                `json:"-"`
   933  }
   934  
   935  func (m *Result) Reset()         { *m = Result{} }
   936  func (m *Result) String() string { return proto.CompactTextString(m) }
   937  func (*Result) ProtoMessage()    {}
   938  func (*Result) Descriptor() ([]byte, []int) {
   939  	return fileDescriptor_4d737c7315c25422, []int{12}
   940  }
   941  func (m *Result) XXX_Unmarshal(b []byte) error {
   942  	return m.Unmarshal(b)
   943  }
   944  func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   945  	if deterministic {
   946  		return xxx_messageInfo_Result.Marshal(b, m, deterministic)
   947  	} else {
   948  		b = b[:cap(b)]
   949  		n, err := m.MarshalTo(b)
   950  		if err != nil {
   951  			return nil, err
   952  		}
   953  		return b[:n], nil
   954  	}
   955  }
   956  func (m *Result) XXX_Merge(src proto.Message) {
   957  	xxx_messageInfo_Result.Merge(m, src)
   958  }
   959  func (m *Result) XXX_Size() int {
   960  	return m.Size()
   961  }
   962  func (m *Result) XXX_DiscardUnknown() {
   963  	xxx_messageInfo_Result.DiscardUnknown(m)
   964  }
   965  
   966  var xxx_messageInfo_Result proto.InternalMessageInfo
   967  
   968  func (m *Result) GetReturn() []byte {
   969  	if m != nil {
   970  		return m.Return
   971  	}
   972  	return nil
   973  }
   974  
   975  func (m *Result) GetGasUsed() uint64 {
   976  	if m != nil {
   977  		return m.GasUsed
   978  	}
   979  	return 0
   980  }
   981  
   982  func (m *Result) GetNameEntry() *names.Entry {
   983  	if m != nil {
   984  		return m.NameEntry
   985  	}
   986  	return nil
   987  }
   988  
   989  func (m *Result) GetPermArgs() *permission.PermArgs {
   990  	if m != nil {
   991  		return m.PermArgs
   992  	}
   993  	return nil
   994  }
   995  
   996  func (*Result) XXX_MessageName() string {
   997  	return "exec.Result"
   998  }
   999  
  1000  type LogEvent struct {
  1001  	Address              github_com_hyperledger_burrow_crypto.Address   `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
  1002  	Data                 github_com_hyperledger_burrow_binary.HexBytes  `protobuf:"bytes,2,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Data"`
  1003  	Topics               []github_com_hyperledger_burrow_binary.Word256 `protobuf:"bytes,3,rep,name=Topics,proto3,customtype=github.com/hyperledger/burrow/binary.Word256" json:"Topics"`
  1004  	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
  1005  	XXX_unrecognized     []byte                                         `json:"-"`
  1006  	XXX_sizecache        int32                                          `json:"-"`
  1007  }
  1008  
  1009  func (m *LogEvent) Reset()         { *m = LogEvent{} }
  1010  func (m *LogEvent) String() string { return proto.CompactTextString(m) }
  1011  func (*LogEvent) ProtoMessage()    {}
  1012  func (*LogEvent) Descriptor() ([]byte, []int) {
  1013  	return fileDescriptor_4d737c7315c25422, []int{13}
  1014  }
  1015  func (m *LogEvent) XXX_Unmarshal(b []byte) error {
  1016  	return m.Unmarshal(b)
  1017  }
  1018  func (m *LogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1019  	if deterministic {
  1020  		return xxx_messageInfo_LogEvent.Marshal(b, m, deterministic)
  1021  	} else {
  1022  		b = b[:cap(b)]
  1023  		n, err := m.MarshalTo(b)
  1024  		if err != nil {
  1025  			return nil, err
  1026  		}
  1027  		return b[:n], nil
  1028  	}
  1029  }
  1030  func (m *LogEvent) XXX_Merge(src proto.Message) {
  1031  	xxx_messageInfo_LogEvent.Merge(m, src)
  1032  }
  1033  func (m *LogEvent) XXX_Size() int {
  1034  	return m.Size()
  1035  }
  1036  func (m *LogEvent) XXX_DiscardUnknown() {
  1037  	xxx_messageInfo_LogEvent.DiscardUnknown(m)
  1038  }
  1039  
  1040  var xxx_messageInfo_LogEvent proto.InternalMessageInfo
  1041  
  1042  func (*LogEvent) XXX_MessageName() string {
  1043  	return "exec.LogEvent"
  1044  }
  1045  
  1046  type CallEvent struct {
  1047  	CallType             CallType                                      `protobuf:"varint,5,opt,name=CallType,proto3,casttype=CallType" json:"CallType,omitempty"`
  1048  	CallData             *CallData                                     `protobuf:"bytes,1,opt,name=CallData,proto3" json:"CallData,omitempty"`
  1049  	Origin               github_com_hyperledger_burrow_crypto.Address  `protobuf:"bytes,2,opt,name=Origin,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Origin"`
  1050  	StackDepth           uint64                                        `protobuf:"varint,3,opt,name=StackDepth,proto3" json:"StackDepth,omitempty"`
  1051  	Return               github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,4,opt,name=Return,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Return"`
  1052  	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
  1053  	XXX_unrecognized     []byte                                        `json:"-"`
  1054  	XXX_sizecache        int32                                         `json:"-"`
  1055  }
  1056  
  1057  func (m *CallEvent) Reset()         { *m = CallEvent{} }
  1058  func (m *CallEvent) String() string { return proto.CompactTextString(m) }
  1059  func (*CallEvent) ProtoMessage()    {}
  1060  func (*CallEvent) Descriptor() ([]byte, []int) {
  1061  	return fileDescriptor_4d737c7315c25422, []int{14}
  1062  }
  1063  func (m *CallEvent) XXX_Unmarshal(b []byte) error {
  1064  	return m.Unmarshal(b)
  1065  }
  1066  func (m *CallEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1067  	if deterministic {
  1068  		return xxx_messageInfo_CallEvent.Marshal(b, m, deterministic)
  1069  	} else {
  1070  		b = b[:cap(b)]
  1071  		n, err := m.MarshalTo(b)
  1072  		if err != nil {
  1073  			return nil, err
  1074  		}
  1075  		return b[:n], nil
  1076  	}
  1077  }
  1078  func (m *CallEvent) XXX_Merge(src proto.Message) {
  1079  	xxx_messageInfo_CallEvent.Merge(m, src)
  1080  }
  1081  func (m *CallEvent) XXX_Size() int {
  1082  	return m.Size()
  1083  }
  1084  func (m *CallEvent) XXX_DiscardUnknown() {
  1085  	xxx_messageInfo_CallEvent.DiscardUnknown(m)
  1086  }
  1087  
  1088  var xxx_messageInfo_CallEvent proto.InternalMessageInfo
  1089  
  1090  func (m *CallEvent) GetCallType() CallType {
  1091  	if m != nil {
  1092  		return m.CallType
  1093  	}
  1094  	return 0
  1095  }
  1096  
  1097  func (m *CallEvent) GetCallData() *CallData {
  1098  	if m != nil {
  1099  		return m.CallData
  1100  	}
  1101  	return nil
  1102  }
  1103  
  1104  func (m *CallEvent) GetStackDepth() uint64 {
  1105  	if m != nil {
  1106  		return m.StackDepth
  1107  	}
  1108  	return 0
  1109  }
  1110  
  1111  func (*CallEvent) XXX_MessageName() string {
  1112  	return "exec.CallEvent"
  1113  }
  1114  
  1115  type GovernAccountEvent struct {
  1116  	AccountUpdate        *spec.TemplateAccount `protobuf:"bytes,1,opt,name=AccountUpdate,proto3" json:"AccountUpdate,omitempty"`
  1117  	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
  1118  	XXX_unrecognized     []byte                `json:"-"`
  1119  	XXX_sizecache        int32                 `json:"-"`
  1120  }
  1121  
  1122  func (m *GovernAccountEvent) Reset()         { *m = GovernAccountEvent{} }
  1123  func (m *GovernAccountEvent) String() string { return proto.CompactTextString(m) }
  1124  func (*GovernAccountEvent) ProtoMessage()    {}
  1125  func (*GovernAccountEvent) Descriptor() ([]byte, []int) {
  1126  	return fileDescriptor_4d737c7315c25422, []int{15}
  1127  }
  1128  func (m *GovernAccountEvent) XXX_Unmarshal(b []byte) error {
  1129  	return m.Unmarshal(b)
  1130  }
  1131  func (m *GovernAccountEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1132  	if deterministic {
  1133  		return xxx_messageInfo_GovernAccountEvent.Marshal(b, m, deterministic)
  1134  	} else {
  1135  		b = b[:cap(b)]
  1136  		n, err := m.MarshalTo(b)
  1137  		if err != nil {
  1138  			return nil, err
  1139  		}
  1140  		return b[:n], nil
  1141  	}
  1142  }
  1143  func (m *GovernAccountEvent) XXX_Merge(src proto.Message) {
  1144  	xxx_messageInfo_GovernAccountEvent.Merge(m, src)
  1145  }
  1146  func (m *GovernAccountEvent) XXX_Size() int {
  1147  	return m.Size()
  1148  }
  1149  func (m *GovernAccountEvent) XXX_DiscardUnknown() {
  1150  	xxx_messageInfo_GovernAccountEvent.DiscardUnknown(m)
  1151  }
  1152  
  1153  var xxx_messageInfo_GovernAccountEvent proto.InternalMessageInfo
  1154  
  1155  func (m *GovernAccountEvent) GetAccountUpdate() *spec.TemplateAccount {
  1156  	if m != nil {
  1157  		return m.AccountUpdate
  1158  	}
  1159  	return nil
  1160  }
  1161  
  1162  func (*GovernAccountEvent) XXX_MessageName() string {
  1163  	return "exec.GovernAccountEvent"
  1164  }
  1165  
  1166  type InputEvent struct {
  1167  	Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
  1168  	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
  1169  	XXX_unrecognized     []byte                                       `json:"-"`
  1170  	XXX_sizecache        int32                                        `json:"-"`
  1171  }
  1172  
  1173  func (m *InputEvent) Reset()         { *m = InputEvent{} }
  1174  func (m *InputEvent) String() string { return proto.CompactTextString(m) }
  1175  func (*InputEvent) ProtoMessage()    {}
  1176  func (*InputEvent) Descriptor() ([]byte, []int) {
  1177  	return fileDescriptor_4d737c7315c25422, []int{16}
  1178  }
  1179  func (m *InputEvent) XXX_Unmarshal(b []byte) error {
  1180  	return m.Unmarshal(b)
  1181  }
  1182  func (m *InputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1183  	if deterministic {
  1184  		return xxx_messageInfo_InputEvent.Marshal(b, m, deterministic)
  1185  	} else {
  1186  		b = b[:cap(b)]
  1187  		n, err := m.MarshalTo(b)
  1188  		if err != nil {
  1189  			return nil, err
  1190  		}
  1191  		return b[:n], nil
  1192  	}
  1193  }
  1194  func (m *InputEvent) XXX_Merge(src proto.Message) {
  1195  	xxx_messageInfo_InputEvent.Merge(m, src)
  1196  }
  1197  func (m *InputEvent) XXX_Size() int {
  1198  	return m.Size()
  1199  }
  1200  func (m *InputEvent) XXX_DiscardUnknown() {
  1201  	xxx_messageInfo_InputEvent.DiscardUnknown(m)
  1202  }
  1203  
  1204  var xxx_messageInfo_InputEvent proto.InternalMessageInfo
  1205  
  1206  func (*InputEvent) XXX_MessageName() string {
  1207  	return "exec.InputEvent"
  1208  }
  1209  
  1210  type OutputEvent struct {
  1211  	Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
  1212  	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
  1213  	XXX_unrecognized     []byte                                       `json:"-"`
  1214  	XXX_sizecache        int32                                        `json:"-"`
  1215  }
  1216  
  1217  func (m *OutputEvent) Reset()         { *m = OutputEvent{} }
  1218  func (m *OutputEvent) String() string { return proto.CompactTextString(m) }
  1219  func (*OutputEvent) ProtoMessage()    {}
  1220  func (*OutputEvent) Descriptor() ([]byte, []int) {
  1221  	return fileDescriptor_4d737c7315c25422, []int{17}
  1222  }
  1223  func (m *OutputEvent) XXX_Unmarshal(b []byte) error {
  1224  	return m.Unmarshal(b)
  1225  }
  1226  func (m *OutputEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1227  	if deterministic {
  1228  		return xxx_messageInfo_OutputEvent.Marshal(b, m, deterministic)
  1229  	} else {
  1230  		b = b[:cap(b)]
  1231  		n, err := m.MarshalTo(b)
  1232  		if err != nil {
  1233  			return nil, err
  1234  		}
  1235  		return b[:n], nil
  1236  	}
  1237  }
  1238  func (m *OutputEvent) XXX_Merge(src proto.Message) {
  1239  	xxx_messageInfo_OutputEvent.Merge(m, src)
  1240  }
  1241  func (m *OutputEvent) XXX_Size() int {
  1242  	return m.Size()
  1243  }
  1244  func (m *OutputEvent) XXX_DiscardUnknown() {
  1245  	xxx_messageInfo_OutputEvent.DiscardUnknown(m)
  1246  }
  1247  
  1248  var xxx_messageInfo_OutputEvent proto.InternalMessageInfo
  1249  
  1250  func (*OutputEvent) XXX_MessageName() string {
  1251  	return "exec.OutputEvent"
  1252  }
  1253  
  1254  type CallData struct {
  1255  	Caller               github_com_hyperledger_burrow_crypto.Address  `protobuf:"bytes,1,opt,name=Caller,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Caller"`
  1256  	Callee               github_com_hyperledger_burrow_crypto.Address  `protobuf:"bytes,2,opt,name=Callee,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Callee"`
  1257  	Data                 github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,3,opt,name=Data,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Data"`
  1258  	Value                uint64                                        `protobuf:"varint,4,opt,name=Value,proto3" json:"Value,omitempty"`
  1259  	Gas                  uint64                                        `protobuf:"varint,5,opt,name=Gas,proto3" json:"Gas,omitempty"`
  1260  	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
  1261  	XXX_unrecognized     []byte                                        `json:"-"`
  1262  	XXX_sizecache        int32                                         `json:"-"`
  1263  }
  1264  
  1265  func (m *CallData) Reset()         { *m = CallData{} }
  1266  func (m *CallData) String() string { return proto.CompactTextString(m) }
  1267  func (*CallData) ProtoMessage()    {}
  1268  func (*CallData) Descriptor() ([]byte, []int) {
  1269  	return fileDescriptor_4d737c7315c25422, []int{18}
  1270  }
  1271  func (m *CallData) XXX_Unmarshal(b []byte) error {
  1272  	return m.Unmarshal(b)
  1273  }
  1274  func (m *CallData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1275  	if deterministic {
  1276  		return xxx_messageInfo_CallData.Marshal(b, m, deterministic)
  1277  	} else {
  1278  		b = b[:cap(b)]
  1279  		n, err := m.MarshalTo(b)
  1280  		if err != nil {
  1281  			return nil, err
  1282  		}
  1283  		return b[:n], nil
  1284  	}
  1285  }
  1286  func (m *CallData) XXX_Merge(src proto.Message) {
  1287  	xxx_messageInfo_CallData.Merge(m, src)
  1288  }
  1289  func (m *CallData) XXX_Size() int {
  1290  	return m.Size()
  1291  }
  1292  func (m *CallData) XXX_DiscardUnknown() {
  1293  	xxx_messageInfo_CallData.DiscardUnknown(m)
  1294  }
  1295  
  1296  var xxx_messageInfo_CallData proto.InternalMessageInfo
  1297  
  1298  func (m *CallData) GetValue() uint64 {
  1299  	if m != nil {
  1300  		return m.Value
  1301  	}
  1302  	return 0
  1303  }
  1304  
  1305  func (m *CallData) GetGas() uint64 {
  1306  	if m != nil {
  1307  		return m.Gas
  1308  	}
  1309  	return 0
  1310  }
  1311  
  1312  func (*CallData) XXX_MessageName() string {
  1313  	return "exec.CallData"
  1314  }
  1315  func init() {
  1316  	proto.RegisterType((*StreamEvent)(nil), "exec.StreamEvent")
  1317  	golang_proto.RegisterType((*StreamEvent)(nil), "exec.StreamEvent")
  1318  	proto.RegisterType((*StreamKey)(nil), "exec.StreamKey")
  1319  	golang_proto.RegisterType((*StreamKey)(nil), "exec.StreamKey")
  1320  	proto.RegisterType((*BeginBlock)(nil), "exec.BeginBlock")
  1321  	golang_proto.RegisterType((*BeginBlock)(nil), "exec.BeginBlock")
  1322  	proto.RegisterType((*EndBlock)(nil), "exec.EndBlock")
  1323  	golang_proto.RegisterType((*EndBlock)(nil), "exec.EndBlock")
  1324  	proto.RegisterType((*BeginTx)(nil), "exec.BeginTx")
  1325  	golang_proto.RegisterType((*BeginTx)(nil), "exec.BeginTx")
  1326  	proto.RegisterType((*EndTx)(nil), "exec.EndTx")
  1327  	golang_proto.RegisterType((*EndTx)(nil), "exec.EndTx")
  1328  	proto.RegisterType((*TxHeader)(nil), "exec.TxHeader")
  1329  	golang_proto.RegisterType((*TxHeader)(nil), "exec.TxHeader")
  1330  	proto.RegisterType((*BlockExecution)(nil), "exec.BlockExecution")
  1331  	golang_proto.RegisterType((*BlockExecution)(nil), "exec.BlockExecution")
  1332  	proto.RegisterType((*TxExecution)(nil), "exec.TxExecution")
  1333  	golang_proto.RegisterType((*TxExecution)(nil), "exec.TxExecution")
  1334  	proto.RegisterType((*Origin)(nil), "exec.Origin")
  1335  	golang_proto.RegisterType((*Origin)(nil), "exec.Origin")
  1336  	proto.RegisterType((*Header)(nil), "exec.Header")
  1337  	golang_proto.RegisterType((*Header)(nil), "exec.Header")
  1338  	proto.RegisterType((*Event)(nil), "exec.Event")
  1339  	golang_proto.RegisterType((*Event)(nil), "exec.Event")
  1340  	proto.RegisterType((*Result)(nil), "exec.Result")
  1341  	golang_proto.RegisterType((*Result)(nil), "exec.Result")
  1342  	proto.RegisterType((*LogEvent)(nil), "exec.LogEvent")
  1343  	golang_proto.RegisterType((*LogEvent)(nil), "exec.LogEvent")
  1344  	proto.RegisterType((*CallEvent)(nil), "exec.CallEvent")
  1345  	golang_proto.RegisterType((*CallEvent)(nil), "exec.CallEvent")
  1346  	proto.RegisterType((*GovernAccountEvent)(nil), "exec.GovernAccountEvent")
  1347  	golang_proto.RegisterType((*GovernAccountEvent)(nil), "exec.GovernAccountEvent")
  1348  	proto.RegisterType((*InputEvent)(nil), "exec.InputEvent")
  1349  	golang_proto.RegisterType((*InputEvent)(nil), "exec.InputEvent")
  1350  	proto.RegisterType((*OutputEvent)(nil), "exec.OutputEvent")
  1351  	golang_proto.RegisterType((*OutputEvent)(nil), "exec.OutputEvent")
  1352  	proto.RegisterType((*CallData)(nil), "exec.CallData")
  1353  	golang_proto.RegisterType((*CallData)(nil), "exec.CallData")
  1354  }
  1355  
  1356  func init() { proto.RegisterFile("exec.proto", fileDescriptor_4d737c7315c25422) }
  1357  func init() { golang_proto.RegisterFile("exec.proto", fileDescriptor_4d737c7315c25422) }
  1358  
  1359  var fileDescriptor_4d737c7315c25422 = []byte{
  1360  	// 1242 bytes of a gzipped FileDescriptorProto
  1361  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x8f, 0xdb, 0x44,
  1362  	0x14, 0xaf, 0x13, 0xe7, 0xdf, 0x4b, 0xb6, 0x94, 0x51, 0x41, 0x51, 0x0f, 0x49, 0x71, 0xa1, 0x94,
  1363  	0xd2, 0x3a, 0x55, 0xa1, 0xfc, 0x29, 0x12, 0xd2, 0xa6, 0xbb, 0xda, 0x5d, 0xba, 0xb4, 0x30, 0x4d,
  1364  	0x8b, 0x40, 0x70, 0x70, 0xec, 0xc1, 0xb1, 0x9a, 0xd8, 0x96, 0x3d, 0x59, 0x92, 0x2f, 0xc0, 0x01,
  1365  	0x71, 0x80, 0x5b, 0xb9, 0xa0, 0x7e, 0x0f, 0x2e, 0x1c, 0xf7, 0x46, 0xcf, 0x3d, 0x04, 0xb4, 0xfd,
  1366  	0x04, 0x88, 0x13, 0x7b, 0x42, 0x33, 0xf3, 0xc6, 0x71, 0xe8, 0x76, 0xb7, 0x22, 0x7b, 0xe0, 0x12,
  1367  	0xcd, 0x7b, 0xef, 0x37, 0x2f, 0xef, 0xcf, 0xef, 0xbd, 0x31, 0x00, 0x9b, 0x30, 0xd7, 0x8e, 0x93,
  1368  	0x88, 0x47, 0xc4, 0x14, 0xe7, 0x33, 0x97, 0xfd, 0x80, 0x0f, 0xc6, 0x7d, 0xdb, 0x8d, 0x46, 0x1d,
  1369  	0x3f, 0xf2, 0xa3, 0x8e, 0x34, 0xf6, 0xc7, 0x5f, 0x4b, 0x49, 0x0a, 0xf2, 0xa4, 0x2e, 0x9d, 0x79,
  1370  	0x37, 0x07, 0xe7, 0x2c, 0xf4, 0x58, 0x32, 0x0a, 0x42, 0x9e, 0x3f, 0x3a, 0x7d, 0x37, 0xe8, 0xf0,
  1371  	0x69, 0xcc, 0x52, 0xf5, 0x8b, 0x17, 0xdb, 0x7e, 0x14, 0xf9, 0x43, 0x36, 0x77, 0xcf, 0x83, 0x11,
  1372  	0x4b, 0xb9, 0x33, 0x8a, 0x11, 0xd0, 0x60, 0x49, 0x12, 0x25, 0x1a, 0x5e, 0x0f, 0x9d, 0x51, 0x76,
  1373  	0xb7, 0xc6, 0x27, 0xfa, 0x78, 0x2a, 0x16, 0x7f, 0x93, 0xa6, 0x41, 0x14, 0xa2, 0x06, 0xd2, 0x58,
  1374  	0xa7, 0x64, 0xfd, 0x52, 0x80, 0xfa, 0x1d, 0x9e, 0x30, 0x67, 0xb4, 0xbe, 0xc3, 0x42, 0x4e, 0xae,
  1375  	0x00, 0x74, 0x99, 0x1f, 0x84, 0xdd, 0x61, 0xe4, 0xde, 0x6f, 0x1a, 0x67, 0x8d, 0x0b, 0xf5, 0xab,
  1376  	0xa7, 0x6c, 0x59, 0x83, 0xb9, 0x9e, 0xe6, 0x30, 0xe4, 0x75, 0xa8, 0x48, 0xa9, 0x37, 0x69, 0x16,
  1377  	0x24, 0x7c, 0x25, 0x07, 0xef, 0x4d, 0xa8, 0xb6, 0x92, 0xcf, 0xa1, 0xba, 0x1e, 0xee, 0xb0, 0x61,
  1378  	0x14, 0xb3, 0x66, 0x11, 0x91, 0x22, 0x4c, 0xad, 0xec, 0xda, 0x8f, 0x67, 0xed, 0x8b, 0xb9, 0x6a,
  1379  	0x0d, 0xa6, 0x31, 0x4b, 0x86, 0xcc, 0xf3, 0x59, 0xd2, 0xe9, 0x8f, 0x93, 0x24, 0xfa, 0xa6, 0x93,
  1380  	0xc7, 0xd3, 0xcc, 0x1d, 0x79, 0x05, 0x4a, 0x32, 0xfc, 0xa6, 0x29, 0xfd, 0xd6, 0x55, 0x04, 0x52,
  1381  	0x45, 0x95, 0x45, 0x42, 0x42, 0xaf, 0x37, 0x69, 0x96, 0x16, 0x20, 0x42, 0x45, 0x95, 0x85, 0x5c,
  1382  	0x14, 0x01, 0x7a, 0x2a, 0xf3, 0xb2, 0x44, 0x9d, 0xcc, 0x50, 0x2a, 0xef, 0xcc, 0x7e, 0xdd, 0xdc,
  1383  	0x7d, 0xd8, 0x36, 0xac, 0xf7, 0xa1, 0xa6, 0x8a, 0x77, 0x93, 0x4d, 0xc9, 0xcb, 0x50, 0xde, 0x64,
  1384  	0x81, 0x3f, 0xe0, 0xb2, 0x6c, 0x26, 0x45, 0x89, 0x9c, 0x86, 0xd2, 0x56, 0xe8, 0x31, 0x55, 0x1e,
  1385  	0x93, 0x2a, 0xc1, 0xba, 0x99, 0x2f, 0xf4, 0x33, 0xef, 0xbe, 0x26, 0xf4, 0x8e, 0xc7, 0x92, 0xac,
  1386  	0xb6, 0x8a, 0x21, 0x4a, 0x49, 0xd1, 0x68, 0x59, 0xf3, 0xc8, 0x9f, 0xe5, 0xca, 0xfa, 0xde, 0xc8,
  1387  	0x1a, 0x25, 0x32, 0xed, 0x4d, 0xd0, 0xb1, 0x91, 0xcf, 0x54, 0x6b, 0x69, 0x66, 0x27, 0xaf, 0x42,
  1388  	0x99, 0xb2, 0x74, 0x3c, 0xe4, 0x18, 0x42, 0x43, 0x21, 0x95, 0x8e, 0xa2, 0x8d, 0x74, 0xa0, 0xb6,
  1389  	0x3e, 0x71, 0x59, 0xcc, 0x83, 0x28, 0xc4, 0x2e, 0xbc, 0x68, 0x23, 0x3f, 0x33, 0x03, 0x9d, 0x63,
  1390  	0xac, 0x7b, 0xd8, 0x0f, 0xf2, 0x31, 0x94, 0x7b, 0x93, 0x4d, 0x27, 0x1d, 0x48, 0x52, 0x34, 0xba,
  1391  	0xd7, 0x76, 0x67, 0xed, 0x13, 0x8f, 0x67, 0xed, 0xcb, 0x87, 0x33, 0xa1, 0x1f, 0x84, 0x4e, 0x32,
  1392  	0xb5, 0x37, 0xd9, 0xa4, 0x3b, 0xe5, 0x2c, 0xa5, 0xe8, 0xc4, 0xfa, 0xdb, 0x98, 0xe7, 0x46, 0x3e,
  1393  	0x12, 0xbe, 0x7b, 0xd3, 0x98, 0xc9, 0x2c, 0x57, 0xba, 0x57, 0xf7, 0x67, 0x6d, 0xfb, 0x48, 0x86,
  1394  	0x75, 0x62, 0x67, 0x3a, 0x8c, 0x1c, 0xcf, 0x16, 0x37, 0x29, 0x7a, 0xc8, 0xc5, 0x59, 0x38, 0x86,
  1395  	0x38, 0x73, 0x6d, 0x2a, 0x1e, 0xcc, 0x16, 0x33, 0xc7, 0x16, 0xd1, 0x84, 0xdb, 0x49, 0xe0, 0x07,
  1396  	0x21, 0xd2, 0x17, 0x9b, 0xa0, 0x74, 0x14, 0x6d, 0xd6, 0xb7, 0x06, 0x9c, 0x94, 0x24, 0x58, 0x9f,
  1397  	0x30, 0x77, 0x2c, 0xca, 0xbc, 0x24, 0xb1, 0xc8, 0x35, 0x68, 0xf4, 0x26, 0x99, 0xb7, 0xb4, 0x59,
  1398  	0x3c, 0x5b, 0x54, 0x9d, 0x55, 0x64, 0xc9, 0x2c, 0x74, 0x01, 0x66, 0xfd, 0x59, 0x80, 0x7a, 0x4e,
  1399  	0x41, 0x2e, 0x65, 0xff, 0x76, 0x20, 0xdb, 0xba, 0xe6, 0xa3, 0x59, 0xdb, 0xc8, 0xfe, 0x34, 0xbf,
  1400  	0x28, 0xca, 0xc7, 0xbb, 0x28, 0xce, 0x41, 0x59, 0xae, 0x83, 0xb4, 0x59, 0x91, 0x99, 0x2c, 0x6c,
  1401  	0x0a, 0x34, 0xe5, 0x18, 0x5f, 0x3d, 0x84, 0xf1, 0xe7, 0xa1, 0x42, 0x99, 0xcb, 0x82, 0x98, 0x37,
  1402  	0x6b, 0x08, 0x13, 0x7f, 0x8a, 0x3a, 0xaa, 0x8d, 0x8b, 0x93, 0x01, 0x47, 0x4f, 0xc6, 0x53, 0x35,
  1403  	0xaf, 0x3f, 0x5f, 0xcd, 0xbf, 0x33, 0x34, 0x47, 0x48, 0x13, 0x2a, 0x37, 0x06, 0x4e, 0x10, 0x6e,
  1404  	0xad, 0xc9, 0x7a, 0xd7, 0xa8, 0x16, 0x73, 0x74, 0x28, 0x1c, 0xcc, 0xba, 0x62, 0x9e, 0x75, 0xef,
  1405  	0x81, 0xd9, 0x0b, 0x46, 0x0c, 0xe7, 0xf9, 0x8c, 0xad, 0x1e, 0x24, 0x5b, 0x3f, 0x48, 0x76, 0x4f,
  1406  	0x3f, 0x48, 0xdd, 0xaa, 0x18, 0x86, 0x1f, 0x7e, 0x6f, 0x1b, 0x54, 0xde, 0xb0, 0x7e, 0x2b, 0xe8,
  1407  	0x8e, 0xff, 0x9f, 0x67, 0xf0, 0x4d, 0xa8, 0xc9, 0x96, 0xcb, 0xe8, 0x8a, 0x32, 0xba, 0x95, 0xfd,
  1408  	0x59, 0x7b, 0xae, 0xa4, 0xf3, 0xa3, 0x28, 0xaa, 0x14, 0xb6, 0xd6, 0x64, 0x3d, 0x6a, 0x54, 0x8b,
  1409  	0xb9, 0xa2, 0x96, 0x0e, 0x2e, 0x6a, 0x39, 0x5f, 0xd4, 0x05, 0x3e, 0x54, 0x8e, 0xe6, 0xc3, 0x75,
  1410  	0xf3, 0xc1, 0xc3, 0xf6, 0x09, 0xeb, 0xc7, 0x02, 0xbe, 0x71, 0x82, 0x9e, 0x0b, 0xc3, 0x84, 0xf4,
  1411  	0xfc, 0xd7, 0xe4, 0x9e, 0x17, 0x7f, 0x1e, 0x8f, 0xf5, 0xd6, 0xc6, 0x37, 0x5c, 0xaa, 0xf0, 0x5d,
  1412  	0x94, 0x67, 0xf2, 0x06, 0x94, 0x6f, 0x8f, 0xb9, 0x00, 0x16, 0x75, 0x2c, 0x72, 0xb3, 0x48, 0x1d,
  1413  	0xce, 0x85, 0x12, 0xc8, 0x39, 0x30, 0x6f, 0x38, 0xc3, 0x21, 0xd2, 0xe1, 0x05, 0x05, 0x14, 0x1a,
  1414  	0x05, 0x93, 0x46, 0x72, 0x16, 0x8a, 0xdb, 0x91, 0x8f, 0x6b, 0x0a, 0xe7, 0x7c, 0x3b, 0xf2, 0x15,
  1415  	0x44, 0x98, 0xc8, 0x87, 0xb0, 0xb2, 0x11, 0xed, 0xb0, 0x24, 0x5c, 0x75, 0xdd, 0x68, 0x1c, 0x72,
  1416  	0x9c, 0xf1, 0xa6, 0xc2, 0x2e, 0x98, 0xd4, 0xad, 0x45, 0xf8, 0xf5, 0xaa, 0xa8, 0x87, 0x7c, 0x7e,
  1417  	0x1f, 0x18, 0x7a, 0x52, 0x45, 0x0f, 0x28, 0xe3, 0xe3, 0x24, 0x94, 0x45, 0x69, 0x50, 0x94, 0x44,
  1418  	0xd7, 0x36, 0x9c, 0xf4, 0x6e, 0xca, 0x3c, 0x64, 0xbc, 0x16, 0xc9, 0x45, 0xa8, 0xdd, 0x72, 0x46,
  1419  	0x6c, 0x3d, 0xe4, 0xc9, 0x14, 0x73, 0x6f, 0xd8, 0xea, 0x1b, 0x4a, 0xea, 0xe8, 0xdc, 0x4c, 0xae,
  1420  	0x40, 0xf5, 0x13, 0x96, 0x8c, 0x56, 0x13, 0x3f, 0xc5, 0xec, 0x4f, 0xdb, 0xb9, 0xcf, 0x2a, 0x6d,
  1421  	0xa3, 0x19, 0xca, 0xfa, 0xcb, 0x80, 0xaa, 0x4e, 0x9b, 0xdc, 0x82, 0xca, 0xaa, 0xe7, 0x25, 0x2c,
  1422  	0x4d, 0x55, 0x74, 0xdd, 0xb7, 0x91, 0xb7, 0x97, 0x0e, 0xe7, 0xad, 0x9b, 0x4c, 0x63, 0x1e, 0xd9,
  1423  	0x78, 0x97, 0x6a, 0x27, 0x64, 0x0b, 0xcc, 0x35, 0x87, 0x3b, 0xcb, 0x0d, 0x81, 0x74, 0x41, 0xb6,
  1424  	0xa1, 0xdc, 0x8b, 0xe2, 0xc0, 0x55, 0xab, 0xfd, 0xb9, 0x23, 0x43, 0x67, 0x9f, 0x45, 0x89, 0x77,
  1425  	0xf5, 0xda, 0x3b, 0x14, 0x7d, 0x58, 0x3f, 0x17, 0xa0, 0x96, 0x11, 0x82, 0x5c, 0x80, 0xaa, 0x10,
  1426  	0xe4, 0x74, 0x95, 0xe4, 0x74, 0x35, 0xf6, 0x67, 0xed, 0x4c, 0x47, 0xb3, 0x93, 0xf8, 0x1e, 0x11,
  1427  	0x67, 0x99, 0xd4, 0xc2, 0x0b, 0xa1, 0xb5, 0x34, 0xb3, 0x8b, 0x88, 0xf1, 0x29, 0x2c, 0x2c, 0x51,
  1428  	0x4b, 0xbd, 0x2a, 0x5b, 0x00, 0x77, 0xb8, 0xe3, 0xde, 0x5f, 0x63, 0x31, 0x1f, 0xe0, 0xf6, 0xcb,
  1429  	0x69, 0xc4, 0xc6, 0x41, 0x5e, 0x99, 0x4b, 0x6d, 0x1c, 0xe5, 0xc4, 0xfa, 0x14, 0xc8, 0xd3, 0x04,
  1430  	0x27, 0x1f, 0xc0, 0x0a, 0xca, 0x77, 0x63, 0xcf, 0xe1, 0x0c, 0x6b, 0xf0, 0x92, 0x2d, 0x3f, 0xd4,
  1431  	0x7b, 0x6c, 0x14, 0x0f, 0x1d, 0xce, 0x10, 0x42, 0x17, 0xb1, 0xd6, 0x97, 0x00, 0xf3, 0xa9, 0x3e,
  1432  	0x6e, 0xaa, 0x59, 0x5f, 0x41, 0x3d, 0xb7, 0x0a, 0x8e, 0xdd, 0xfd, 0x4f, 0x05, 0x58, 0xe8, 0xac,
  1433  	0x38, 0xe3, 0x62, 0xfb, 0xcf, 0x9d, 0x55, 0x3e, 0x32, 0x6f, 0x6c, 0x39, 0x9e, 0x28, 0x1f, 0xd9,
  1434  	0xc8, 0x15, 0x97, 0x1f, 0xb9, 0xd3, 0x50, 0xba, 0xe7, 0x0c, 0xc7, 0x4c, 0x7f, 0xe1, 0x49, 0x81,
  1435  	0x9c, 0x82, 0xe2, 0x86, 0x93, 0xe2, 0x0b, 0x22, 0x8e, 0xdd, 0xee, 0xee, 0x5e, 0xcb, 0x78, 0xb4,
  1436  	0xd7, 0x32, 0xfe, 0xd8, 0x6b, 0x19, 0xbf, 0x3e, 0x69, 0x19, 0xbb, 0x4f, 0x5a, 0xc6, 0x17, 0x47,
  1437  	0x84, 0xcf, 0xf4, 0x07, 0x81, 0x3c, 0xf5, 0xcb, 0xf2, 0xad, 0x7e, 0xeb, 0x9f, 0x00, 0x00, 0x00,
  1438  	0xff, 0xff, 0x3e, 0x40, 0x8d, 0xe4, 0xc6, 0x0e, 0x00, 0x00,
  1439  }
  1440  
  1441  func (m *StreamEvent) Marshal() (dAtA []byte, err error) {
  1442  	size := m.Size()
  1443  	dAtA = make([]byte, size)
  1444  	n, err := m.MarshalTo(dAtA)
  1445  	if err != nil {
  1446  		return nil, err
  1447  	}
  1448  	return dAtA[:n], nil
  1449  }
  1450  
  1451  func (m *StreamEvent) MarshalTo(dAtA []byte) (int, error) {
  1452  	var i int
  1453  	_ = i
  1454  	var l int
  1455  	_ = l
  1456  	if m.BeginBlock != nil {
  1457  		dAtA[i] = 0xa
  1458  		i++
  1459  		i = encodeVarintExec(dAtA, i, uint64(m.BeginBlock.Size()))
  1460  		n1, err := m.BeginBlock.MarshalTo(dAtA[i:])
  1461  		if err != nil {
  1462  			return 0, err
  1463  		}
  1464  		i += n1
  1465  	}
  1466  	if m.BeginTx != nil {
  1467  		dAtA[i] = 0x12
  1468  		i++
  1469  		i = encodeVarintExec(dAtA, i, uint64(m.BeginTx.Size()))
  1470  		n2, err := m.BeginTx.MarshalTo(dAtA[i:])
  1471  		if err != nil {
  1472  			return 0, err
  1473  		}
  1474  		i += n2
  1475  	}
  1476  	if m.Envelope != nil {
  1477  		dAtA[i] = 0x1a
  1478  		i++
  1479  		i = encodeVarintExec(dAtA, i, uint64(m.Envelope.Size()))
  1480  		n3, err := m.Envelope.MarshalTo(dAtA[i:])
  1481  		if err != nil {
  1482  			return 0, err
  1483  		}
  1484  		i += n3
  1485  	}
  1486  	if m.Event != nil {
  1487  		dAtA[i] = 0x22
  1488  		i++
  1489  		i = encodeVarintExec(dAtA, i, uint64(m.Event.Size()))
  1490  		n4, err := m.Event.MarshalTo(dAtA[i:])
  1491  		if err != nil {
  1492  			return 0, err
  1493  		}
  1494  		i += n4
  1495  	}
  1496  	if m.EndTx != nil {
  1497  		dAtA[i] = 0x2a
  1498  		i++
  1499  		i = encodeVarintExec(dAtA, i, uint64(m.EndTx.Size()))
  1500  		n5, err := m.EndTx.MarshalTo(dAtA[i:])
  1501  		if err != nil {
  1502  			return 0, err
  1503  		}
  1504  		i += n5
  1505  	}
  1506  	if m.EndBlock != nil {
  1507  		dAtA[i] = 0x32
  1508  		i++
  1509  		i = encodeVarintExec(dAtA, i, uint64(m.EndBlock.Size()))
  1510  		n6, err := m.EndBlock.MarshalTo(dAtA[i:])
  1511  		if err != nil {
  1512  			return 0, err
  1513  		}
  1514  		i += n6
  1515  	}
  1516  	if m.XXX_unrecognized != nil {
  1517  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1518  	}
  1519  	return i, nil
  1520  }
  1521  
  1522  func (m *StreamKey) Marshal() (dAtA []byte, err error) {
  1523  	size := m.Size()
  1524  	dAtA = make([]byte, size)
  1525  	n, err := m.MarshalTo(dAtA)
  1526  	if err != nil {
  1527  		return nil, err
  1528  	}
  1529  	return dAtA[:n], nil
  1530  }
  1531  
  1532  func (m *StreamKey) MarshalTo(dAtA []byte) (int, error) {
  1533  	var i int
  1534  	_ = i
  1535  	var l int
  1536  	_ = l
  1537  	if m.Height != 0 {
  1538  		dAtA[i] = 0x8
  1539  		i++
  1540  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1541  	}
  1542  	if m.Index != 0 {
  1543  		dAtA[i] = 0x10
  1544  		i++
  1545  		i = encodeVarintExec(dAtA, i, uint64(m.Index))
  1546  	}
  1547  	if m.XXX_unrecognized != nil {
  1548  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1549  	}
  1550  	return i, nil
  1551  }
  1552  
  1553  func (m *BeginBlock) Marshal() (dAtA []byte, err error) {
  1554  	size := m.Size()
  1555  	dAtA = make([]byte, size)
  1556  	n, err := m.MarshalTo(dAtA)
  1557  	if err != nil {
  1558  		return nil, err
  1559  	}
  1560  	return dAtA[:n], nil
  1561  }
  1562  
  1563  func (m *BeginBlock) MarshalTo(dAtA []byte) (int, error) {
  1564  	var i int
  1565  	_ = i
  1566  	var l int
  1567  	_ = l
  1568  	if m.Height != 0 {
  1569  		dAtA[i] = 0x8
  1570  		i++
  1571  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1572  	}
  1573  	if m.Header != nil {
  1574  		dAtA[i] = 0x12
  1575  		i++
  1576  		i = encodeVarintExec(dAtA, i, uint64(m.Header.Size()))
  1577  		n7, err := m.Header.MarshalTo(dAtA[i:])
  1578  		if err != nil {
  1579  			return 0, err
  1580  		}
  1581  		i += n7
  1582  	}
  1583  	if m.XXX_unrecognized != nil {
  1584  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1585  	}
  1586  	return i, nil
  1587  }
  1588  
  1589  func (m *EndBlock) Marshal() (dAtA []byte, err error) {
  1590  	size := m.Size()
  1591  	dAtA = make([]byte, size)
  1592  	n, err := m.MarshalTo(dAtA)
  1593  	if err != nil {
  1594  		return nil, err
  1595  	}
  1596  	return dAtA[:n], nil
  1597  }
  1598  
  1599  func (m *EndBlock) MarshalTo(dAtA []byte) (int, error) {
  1600  	var i int
  1601  	_ = i
  1602  	var l int
  1603  	_ = l
  1604  	if m.Height != 0 {
  1605  		dAtA[i] = 0x8
  1606  		i++
  1607  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1608  	}
  1609  	if m.XXX_unrecognized != nil {
  1610  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1611  	}
  1612  	return i, nil
  1613  }
  1614  
  1615  func (m *BeginTx) Marshal() (dAtA []byte, err error) {
  1616  	size := m.Size()
  1617  	dAtA = make([]byte, size)
  1618  	n, err := m.MarshalTo(dAtA)
  1619  	if err != nil {
  1620  		return nil, err
  1621  	}
  1622  	return dAtA[:n], nil
  1623  }
  1624  
  1625  func (m *BeginTx) MarshalTo(dAtA []byte) (int, error) {
  1626  	var i int
  1627  	_ = i
  1628  	var l int
  1629  	_ = l
  1630  	if m.TxHeader != nil {
  1631  		dAtA[i] = 0xa
  1632  		i++
  1633  		i = encodeVarintExec(dAtA, i, uint64(m.TxHeader.Size()))
  1634  		n8, err := m.TxHeader.MarshalTo(dAtA[i:])
  1635  		if err != nil {
  1636  			return 0, err
  1637  		}
  1638  		i += n8
  1639  	}
  1640  	if m.Result != nil {
  1641  		dAtA[i] = 0x12
  1642  		i++
  1643  		i = encodeVarintExec(dAtA, i, uint64(m.Result.Size()))
  1644  		n9, err := m.Result.MarshalTo(dAtA[i:])
  1645  		if err != nil {
  1646  			return 0, err
  1647  		}
  1648  		i += n9
  1649  	}
  1650  	if m.Exception != nil {
  1651  		dAtA[i] = 0x22
  1652  		i++
  1653  		i = encodeVarintExec(dAtA, i, uint64(m.Exception.Size()))
  1654  		n10, err := m.Exception.MarshalTo(dAtA[i:])
  1655  		if err != nil {
  1656  			return 0, err
  1657  		}
  1658  		i += n10
  1659  	}
  1660  	if m.XXX_unrecognized != nil {
  1661  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1662  	}
  1663  	return i, nil
  1664  }
  1665  
  1666  func (m *EndTx) Marshal() (dAtA []byte, err error) {
  1667  	size := m.Size()
  1668  	dAtA = make([]byte, size)
  1669  	n, err := m.MarshalTo(dAtA)
  1670  	if err != nil {
  1671  		return nil, err
  1672  	}
  1673  	return dAtA[:n], nil
  1674  }
  1675  
  1676  func (m *EndTx) MarshalTo(dAtA []byte) (int, error) {
  1677  	var i int
  1678  	_ = i
  1679  	var l int
  1680  	_ = l
  1681  	dAtA[i] = 0x1a
  1682  	i++
  1683  	i = encodeVarintExec(dAtA, i, uint64(m.TxHash.Size()))
  1684  	n11, err := m.TxHash.MarshalTo(dAtA[i:])
  1685  	if err != nil {
  1686  		return 0, err
  1687  	}
  1688  	i += n11
  1689  	if m.XXX_unrecognized != nil {
  1690  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1691  	}
  1692  	return i, nil
  1693  }
  1694  
  1695  func (m *TxHeader) Marshal() (dAtA []byte, err error) {
  1696  	size := m.Size()
  1697  	dAtA = make([]byte, size)
  1698  	n, err := m.MarshalTo(dAtA)
  1699  	if err != nil {
  1700  		return nil, err
  1701  	}
  1702  	return dAtA[:n], nil
  1703  }
  1704  
  1705  func (m *TxHeader) MarshalTo(dAtA []byte) (int, error) {
  1706  	var i int
  1707  	_ = i
  1708  	var l int
  1709  	_ = l
  1710  	if m.TxType != 0 {
  1711  		dAtA[i] = 0x8
  1712  		i++
  1713  		i = encodeVarintExec(dAtA, i, uint64(m.TxType))
  1714  	}
  1715  	dAtA[i] = 0x12
  1716  	i++
  1717  	i = encodeVarintExec(dAtA, i, uint64(m.TxHash.Size()))
  1718  	n12, err := m.TxHash.MarshalTo(dAtA[i:])
  1719  	if err != nil {
  1720  		return 0, err
  1721  	}
  1722  	i += n12
  1723  	if m.Height != 0 {
  1724  		dAtA[i] = 0x18
  1725  		i++
  1726  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1727  	}
  1728  	if m.Index != 0 {
  1729  		dAtA[i] = 0x20
  1730  		i++
  1731  		i = encodeVarintExec(dAtA, i, uint64(m.Index))
  1732  	}
  1733  	if m.Origin != nil {
  1734  		dAtA[i] = 0x2a
  1735  		i++
  1736  		i = encodeVarintExec(dAtA, i, uint64(m.Origin.Size()))
  1737  		n13, err := m.Origin.MarshalTo(dAtA[i:])
  1738  		if err != nil {
  1739  			return 0, err
  1740  		}
  1741  		i += n13
  1742  	}
  1743  	if m.XXX_unrecognized != nil {
  1744  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1745  	}
  1746  	return i, nil
  1747  }
  1748  
  1749  func (m *BlockExecution) Marshal() (dAtA []byte, err error) {
  1750  	size := m.Size()
  1751  	dAtA = make([]byte, size)
  1752  	n, err := m.MarshalTo(dAtA)
  1753  	if err != nil {
  1754  		return nil, err
  1755  	}
  1756  	return dAtA[:n], nil
  1757  }
  1758  
  1759  func (m *BlockExecution) MarshalTo(dAtA []byte) (int, error) {
  1760  	var i int
  1761  	_ = i
  1762  	var l int
  1763  	_ = l
  1764  	if m.Height != 0 {
  1765  		dAtA[i] = 0x8
  1766  		i++
  1767  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1768  	}
  1769  	if m.Header != nil {
  1770  		dAtA[i] = 0x12
  1771  		i++
  1772  		i = encodeVarintExec(dAtA, i, uint64(m.Header.Size()))
  1773  		n14, err := m.Header.MarshalTo(dAtA[i:])
  1774  		if err != nil {
  1775  			return 0, err
  1776  		}
  1777  		i += n14
  1778  	}
  1779  	if len(m.TxExecutions) > 0 {
  1780  		for _, msg := range m.TxExecutions {
  1781  			dAtA[i] = 0x1a
  1782  			i++
  1783  			i = encodeVarintExec(dAtA, i, uint64(msg.Size()))
  1784  			n, err := msg.MarshalTo(dAtA[i:])
  1785  			if err != nil {
  1786  				return 0, err
  1787  			}
  1788  			i += n
  1789  		}
  1790  	}
  1791  	if m.XXX_unrecognized != nil {
  1792  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1793  	}
  1794  	return i, nil
  1795  }
  1796  
  1797  func (m *TxExecution) Marshal() (dAtA []byte, err error) {
  1798  	size := m.Size()
  1799  	dAtA = make([]byte, size)
  1800  	n, err := m.MarshalTo(dAtA)
  1801  	if err != nil {
  1802  		return nil, err
  1803  	}
  1804  	return dAtA[:n], nil
  1805  }
  1806  
  1807  func (m *TxExecution) MarshalTo(dAtA []byte) (int, error) {
  1808  	var i int
  1809  	_ = i
  1810  	var l int
  1811  	_ = l
  1812  	if m.TxHeader != nil {
  1813  		dAtA[i] = 0xa
  1814  		i++
  1815  		i = encodeVarintExec(dAtA, i, uint64(m.TxHeader.Size()))
  1816  		n15, err := m.TxHeader.MarshalTo(dAtA[i:])
  1817  		if err != nil {
  1818  			return 0, err
  1819  		}
  1820  		i += n15
  1821  	}
  1822  	if m.Envelope != nil {
  1823  		dAtA[i] = 0x32
  1824  		i++
  1825  		i = encodeVarintExec(dAtA, i, uint64(m.Envelope.Size()))
  1826  		n16, err := m.Envelope.MarshalTo(dAtA[i:])
  1827  		if err != nil {
  1828  			return 0, err
  1829  		}
  1830  		i += n16
  1831  	}
  1832  	if len(m.Events) > 0 {
  1833  		for _, msg := range m.Events {
  1834  			dAtA[i] = 0x3a
  1835  			i++
  1836  			i = encodeVarintExec(dAtA, i, uint64(msg.Size()))
  1837  			n, err := msg.MarshalTo(dAtA[i:])
  1838  			if err != nil {
  1839  				return 0, err
  1840  			}
  1841  			i += n
  1842  		}
  1843  	}
  1844  	if m.Result != nil {
  1845  		dAtA[i] = 0x42
  1846  		i++
  1847  		i = encodeVarintExec(dAtA, i, uint64(m.Result.Size()))
  1848  		n17, err := m.Result.MarshalTo(dAtA[i:])
  1849  		if err != nil {
  1850  			return 0, err
  1851  		}
  1852  		i += n17
  1853  	}
  1854  	if m.Receipt != nil {
  1855  		dAtA[i] = 0x4a
  1856  		i++
  1857  		i = encodeVarintExec(dAtA, i, uint64(m.Receipt.Size()))
  1858  		n18, err := m.Receipt.MarshalTo(dAtA[i:])
  1859  		if err != nil {
  1860  			return 0, err
  1861  		}
  1862  		i += n18
  1863  	}
  1864  	if m.Exception != nil {
  1865  		dAtA[i] = 0x52
  1866  		i++
  1867  		i = encodeVarintExec(dAtA, i, uint64(m.Exception.Size()))
  1868  		n19, err := m.Exception.MarshalTo(dAtA[i:])
  1869  		if err != nil {
  1870  			return 0, err
  1871  		}
  1872  		i += n19
  1873  	}
  1874  	if len(m.TxExecutions) > 0 {
  1875  		for _, msg := range m.TxExecutions {
  1876  			dAtA[i] = 0x5a
  1877  			i++
  1878  			i = encodeVarintExec(dAtA, i, uint64(msg.Size()))
  1879  			n, err := msg.MarshalTo(dAtA[i:])
  1880  			if err != nil {
  1881  				return 0, err
  1882  			}
  1883  			i += n
  1884  		}
  1885  	}
  1886  	if m.XXX_unrecognized != nil {
  1887  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1888  	}
  1889  	return i, nil
  1890  }
  1891  
  1892  func (m *Origin) Marshal() (dAtA []byte, err error) {
  1893  	size := m.Size()
  1894  	dAtA = make([]byte, size)
  1895  	n, err := m.MarshalTo(dAtA)
  1896  	if err != nil {
  1897  		return nil, err
  1898  	}
  1899  	return dAtA[:n], nil
  1900  }
  1901  
  1902  func (m *Origin) MarshalTo(dAtA []byte) (int, error) {
  1903  	var i int
  1904  	_ = i
  1905  	var l int
  1906  	_ = l
  1907  	if len(m.ChainID) > 0 {
  1908  		dAtA[i] = 0xa
  1909  		i++
  1910  		i = encodeVarintExec(dAtA, i, uint64(len(m.ChainID)))
  1911  		i += copy(dAtA[i:], m.ChainID)
  1912  	}
  1913  	if m.Height != 0 {
  1914  		dAtA[i] = 0x10
  1915  		i++
  1916  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1917  	}
  1918  	if m.Index != 0 {
  1919  		dAtA[i] = 0x18
  1920  		i++
  1921  		i = encodeVarintExec(dAtA, i, uint64(m.Index))
  1922  	}
  1923  	dAtA[i] = 0x22
  1924  	i++
  1925  	i = encodeVarintExec(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)))
  1926  	n20, err := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i:])
  1927  	if err != nil {
  1928  		return 0, err
  1929  	}
  1930  	i += n20
  1931  	if m.XXX_unrecognized != nil {
  1932  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1933  	}
  1934  	return i, nil
  1935  }
  1936  
  1937  func (m *Header) Marshal() (dAtA []byte, err error) {
  1938  	size := m.Size()
  1939  	dAtA = make([]byte, size)
  1940  	n, err := m.MarshalTo(dAtA)
  1941  	if err != nil {
  1942  		return nil, err
  1943  	}
  1944  	return dAtA[:n], nil
  1945  }
  1946  
  1947  func (m *Header) MarshalTo(dAtA []byte) (int, error) {
  1948  	var i int
  1949  	_ = i
  1950  	var l int
  1951  	_ = l
  1952  	if m.TxType != 0 {
  1953  		dAtA[i] = 0x8
  1954  		i++
  1955  		i = encodeVarintExec(dAtA, i, uint64(m.TxType))
  1956  	}
  1957  	dAtA[i] = 0x12
  1958  	i++
  1959  	i = encodeVarintExec(dAtA, i, uint64(m.TxHash.Size()))
  1960  	n21, err := m.TxHash.MarshalTo(dAtA[i:])
  1961  	if err != nil {
  1962  		return 0, err
  1963  	}
  1964  	i += n21
  1965  	if m.EventType != 0 {
  1966  		dAtA[i] = 0x18
  1967  		i++
  1968  		i = encodeVarintExec(dAtA, i, uint64(m.EventType))
  1969  	}
  1970  	if len(m.EventID) > 0 {
  1971  		dAtA[i] = 0x22
  1972  		i++
  1973  		i = encodeVarintExec(dAtA, i, uint64(len(m.EventID)))
  1974  		i += copy(dAtA[i:], m.EventID)
  1975  	}
  1976  	if m.Height != 0 {
  1977  		dAtA[i] = 0x28
  1978  		i++
  1979  		i = encodeVarintExec(dAtA, i, uint64(m.Height))
  1980  	}
  1981  	if m.Index != 0 {
  1982  		dAtA[i] = 0x30
  1983  		i++
  1984  		i = encodeVarintExec(dAtA, i, uint64(m.Index))
  1985  	}
  1986  	if m.Exception != nil {
  1987  		dAtA[i] = 0x3a
  1988  		i++
  1989  		i = encodeVarintExec(dAtA, i, uint64(m.Exception.Size()))
  1990  		n22, err := m.Exception.MarshalTo(dAtA[i:])
  1991  		if err != nil {
  1992  			return 0, err
  1993  		}
  1994  		i += n22
  1995  	}
  1996  	if m.XXX_unrecognized != nil {
  1997  		i += copy(dAtA[i:], m.XXX_unrecognized)
  1998  	}
  1999  	return i, nil
  2000  }
  2001  
  2002  func (m *Event) Marshal() (dAtA []byte, err error) {
  2003  	size := m.Size()
  2004  	dAtA = make([]byte, size)
  2005  	n, err := m.MarshalTo(dAtA)
  2006  	if err != nil {
  2007  		return nil, err
  2008  	}
  2009  	return dAtA[:n], nil
  2010  }
  2011  
  2012  func (m *Event) MarshalTo(dAtA []byte) (int, error) {
  2013  	var i int
  2014  	_ = i
  2015  	var l int
  2016  	_ = l
  2017  	if m.Header != nil {
  2018  		dAtA[i] = 0xa
  2019  		i++
  2020  		i = encodeVarintExec(dAtA, i, uint64(m.Header.Size()))
  2021  		n23, err := m.Header.MarshalTo(dAtA[i:])
  2022  		if err != nil {
  2023  			return 0, err
  2024  		}
  2025  		i += n23
  2026  	}
  2027  	if m.Input != nil {
  2028  		dAtA[i] = 0x12
  2029  		i++
  2030  		i = encodeVarintExec(dAtA, i, uint64(m.Input.Size()))
  2031  		n24, err := m.Input.MarshalTo(dAtA[i:])
  2032  		if err != nil {
  2033  			return 0, err
  2034  		}
  2035  		i += n24
  2036  	}
  2037  	if m.Output != nil {
  2038  		dAtA[i] = 0x1a
  2039  		i++
  2040  		i = encodeVarintExec(dAtA, i, uint64(m.Output.Size()))
  2041  		n25, err := m.Output.MarshalTo(dAtA[i:])
  2042  		if err != nil {
  2043  			return 0, err
  2044  		}
  2045  		i += n25
  2046  	}
  2047  	if m.Call != nil {
  2048  		dAtA[i] = 0x22
  2049  		i++
  2050  		i = encodeVarintExec(dAtA, i, uint64(m.Call.Size()))
  2051  		n26, err := m.Call.MarshalTo(dAtA[i:])
  2052  		if err != nil {
  2053  			return 0, err
  2054  		}
  2055  		i += n26
  2056  	}
  2057  	if m.Log != nil {
  2058  		dAtA[i] = 0x2a
  2059  		i++
  2060  		i = encodeVarintExec(dAtA, i, uint64(m.Log.Size()))
  2061  		n27, err := m.Log.MarshalTo(dAtA[i:])
  2062  		if err != nil {
  2063  			return 0, err
  2064  		}
  2065  		i += n27
  2066  	}
  2067  	if m.GovernAccount != nil {
  2068  		dAtA[i] = 0x32
  2069  		i++
  2070  		i = encodeVarintExec(dAtA, i, uint64(m.GovernAccount.Size()))
  2071  		n28, err := m.GovernAccount.MarshalTo(dAtA[i:])
  2072  		if err != nil {
  2073  			return 0, err
  2074  		}
  2075  		i += n28
  2076  	}
  2077  	if m.XXX_unrecognized != nil {
  2078  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2079  	}
  2080  	return i, nil
  2081  }
  2082  
  2083  func (m *Result) Marshal() (dAtA []byte, err error) {
  2084  	size := m.Size()
  2085  	dAtA = make([]byte, size)
  2086  	n, err := m.MarshalTo(dAtA)
  2087  	if err != nil {
  2088  		return nil, err
  2089  	}
  2090  	return dAtA[:n], nil
  2091  }
  2092  
  2093  func (m *Result) MarshalTo(dAtA []byte) (int, error) {
  2094  	var i int
  2095  	_ = i
  2096  	var l int
  2097  	_ = l
  2098  	if len(m.Return) > 0 {
  2099  		dAtA[i] = 0xa
  2100  		i++
  2101  		i = encodeVarintExec(dAtA, i, uint64(len(m.Return)))
  2102  		i += copy(dAtA[i:], m.Return)
  2103  	}
  2104  	if m.GasUsed != 0 {
  2105  		dAtA[i] = 0x10
  2106  		i++
  2107  		i = encodeVarintExec(dAtA, i, uint64(m.GasUsed))
  2108  	}
  2109  	if m.NameEntry != nil {
  2110  		dAtA[i] = 0x1a
  2111  		i++
  2112  		i = encodeVarintExec(dAtA, i, uint64(m.NameEntry.Size()))
  2113  		n29, err := m.NameEntry.MarshalTo(dAtA[i:])
  2114  		if err != nil {
  2115  			return 0, err
  2116  		}
  2117  		i += n29
  2118  	}
  2119  	if m.PermArgs != nil {
  2120  		dAtA[i] = 0x22
  2121  		i++
  2122  		i = encodeVarintExec(dAtA, i, uint64(m.PermArgs.Size()))
  2123  		n30, err := m.PermArgs.MarshalTo(dAtA[i:])
  2124  		if err != nil {
  2125  			return 0, err
  2126  		}
  2127  		i += n30
  2128  	}
  2129  	if m.XXX_unrecognized != nil {
  2130  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2131  	}
  2132  	return i, nil
  2133  }
  2134  
  2135  func (m *LogEvent) Marshal() (dAtA []byte, err error) {
  2136  	size := m.Size()
  2137  	dAtA = make([]byte, size)
  2138  	n, err := m.MarshalTo(dAtA)
  2139  	if err != nil {
  2140  		return nil, err
  2141  	}
  2142  	return dAtA[:n], nil
  2143  }
  2144  
  2145  func (m *LogEvent) MarshalTo(dAtA []byte) (int, error) {
  2146  	var i int
  2147  	_ = i
  2148  	var l int
  2149  	_ = l
  2150  	dAtA[i] = 0xa
  2151  	i++
  2152  	i = encodeVarintExec(dAtA, i, uint64(m.Address.Size()))
  2153  	n31, err := m.Address.MarshalTo(dAtA[i:])
  2154  	if err != nil {
  2155  		return 0, err
  2156  	}
  2157  	i += n31
  2158  	dAtA[i] = 0x12
  2159  	i++
  2160  	i = encodeVarintExec(dAtA, i, uint64(m.Data.Size()))
  2161  	n32, err := m.Data.MarshalTo(dAtA[i:])
  2162  	if err != nil {
  2163  		return 0, err
  2164  	}
  2165  	i += n32
  2166  	if len(m.Topics) > 0 {
  2167  		for _, msg := range m.Topics {
  2168  			dAtA[i] = 0x1a
  2169  			i++
  2170  			i = encodeVarintExec(dAtA, i, uint64(msg.Size()))
  2171  			n, err := msg.MarshalTo(dAtA[i:])
  2172  			if err != nil {
  2173  				return 0, err
  2174  			}
  2175  			i += n
  2176  		}
  2177  	}
  2178  	if m.XXX_unrecognized != nil {
  2179  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2180  	}
  2181  	return i, nil
  2182  }
  2183  
  2184  func (m *CallEvent) Marshal() (dAtA []byte, err error) {
  2185  	size := m.Size()
  2186  	dAtA = make([]byte, size)
  2187  	n, err := m.MarshalTo(dAtA)
  2188  	if err != nil {
  2189  		return nil, err
  2190  	}
  2191  	return dAtA[:n], nil
  2192  }
  2193  
  2194  func (m *CallEvent) MarshalTo(dAtA []byte) (int, error) {
  2195  	var i int
  2196  	_ = i
  2197  	var l int
  2198  	_ = l
  2199  	if m.CallData != nil {
  2200  		dAtA[i] = 0xa
  2201  		i++
  2202  		i = encodeVarintExec(dAtA, i, uint64(m.CallData.Size()))
  2203  		n33, err := m.CallData.MarshalTo(dAtA[i:])
  2204  		if err != nil {
  2205  			return 0, err
  2206  		}
  2207  		i += n33
  2208  	}
  2209  	dAtA[i] = 0x12
  2210  	i++
  2211  	i = encodeVarintExec(dAtA, i, uint64(m.Origin.Size()))
  2212  	n34, err := m.Origin.MarshalTo(dAtA[i:])
  2213  	if err != nil {
  2214  		return 0, err
  2215  	}
  2216  	i += n34
  2217  	if m.StackDepth != 0 {
  2218  		dAtA[i] = 0x18
  2219  		i++
  2220  		i = encodeVarintExec(dAtA, i, uint64(m.StackDepth))
  2221  	}
  2222  	dAtA[i] = 0x22
  2223  	i++
  2224  	i = encodeVarintExec(dAtA, i, uint64(m.Return.Size()))
  2225  	n35, err := m.Return.MarshalTo(dAtA[i:])
  2226  	if err != nil {
  2227  		return 0, err
  2228  	}
  2229  	i += n35
  2230  	if m.CallType != 0 {
  2231  		dAtA[i] = 0x28
  2232  		i++
  2233  		i = encodeVarintExec(dAtA, i, uint64(m.CallType))
  2234  	}
  2235  	if m.XXX_unrecognized != nil {
  2236  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2237  	}
  2238  	return i, nil
  2239  }
  2240  
  2241  func (m *GovernAccountEvent) Marshal() (dAtA []byte, err error) {
  2242  	size := m.Size()
  2243  	dAtA = make([]byte, size)
  2244  	n, err := m.MarshalTo(dAtA)
  2245  	if err != nil {
  2246  		return nil, err
  2247  	}
  2248  	return dAtA[:n], nil
  2249  }
  2250  
  2251  func (m *GovernAccountEvent) MarshalTo(dAtA []byte) (int, error) {
  2252  	var i int
  2253  	_ = i
  2254  	var l int
  2255  	_ = l
  2256  	if m.AccountUpdate != nil {
  2257  		dAtA[i] = 0xa
  2258  		i++
  2259  		i = encodeVarintExec(dAtA, i, uint64(m.AccountUpdate.Size()))
  2260  		n36, err := m.AccountUpdate.MarshalTo(dAtA[i:])
  2261  		if err != nil {
  2262  			return 0, err
  2263  		}
  2264  		i += n36
  2265  	}
  2266  	if m.XXX_unrecognized != nil {
  2267  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2268  	}
  2269  	return i, nil
  2270  }
  2271  
  2272  func (m *InputEvent) Marshal() (dAtA []byte, err error) {
  2273  	size := m.Size()
  2274  	dAtA = make([]byte, size)
  2275  	n, err := m.MarshalTo(dAtA)
  2276  	if err != nil {
  2277  		return nil, err
  2278  	}
  2279  	return dAtA[:n], nil
  2280  }
  2281  
  2282  func (m *InputEvent) MarshalTo(dAtA []byte) (int, error) {
  2283  	var i int
  2284  	_ = i
  2285  	var l int
  2286  	_ = l
  2287  	dAtA[i] = 0xa
  2288  	i++
  2289  	i = encodeVarintExec(dAtA, i, uint64(m.Address.Size()))
  2290  	n37, err := m.Address.MarshalTo(dAtA[i:])
  2291  	if err != nil {
  2292  		return 0, err
  2293  	}
  2294  	i += n37
  2295  	if m.XXX_unrecognized != nil {
  2296  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2297  	}
  2298  	return i, nil
  2299  }
  2300  
  2301  func (m *OutputEvent) Marshal() (dAtA []byte, err error) {
  2302  	size := m.Size()
  2303  	dAtA = make([]byte, size)
  2304  	n, err := m.MarshalTo(dAtA)
  2305  	if err != nil {
  2306  		return nil, err
  2307  	}
  2308  	return dAtA[:n], nil
  2309  }
  2310  
  2311  func (m *OutputEvent) MarshalTo(dAtA []byte) (int, error) {
  2312  	var i int
  2313  	_ = i
  2314  	var l int
  2315  	_ = l
  2316  	dAtA[i] = 0xa
  2317  	i++
  2318  	i = encodeVarintExec(dAtA, i, uint64(m.Address.Size()))
  2319  	n38, err := m.Address.MarshalTo(dAtA[i:])
  2320  	if err != nil {
  2321  		return 0, err
  2322  	}
  2323  	i += n38
  2324  	if m.XXX_unrecognized != nil {
  2325  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2326  	}
  2327  	return i, nil
  2328  }
  2329  
  2330  func (m *CallData) Marshal() (dAtA []byte, err error) {
  2331  	size := m.Size()
  2332  	dAtA = make([]byte, size)
  2333  	n, err := m.MarshalTo(dAtA)
  2334  	if err != nil {
  2335  		return nil, err
  2336  	}
  2337  	return dAtA[:n], nil
  2338  }
  2339  
  2340  func (m *CallData) MarshalTo(dAtA []byte) (int, error) {
  2341  	var i int
  2342  	_ = i
  2343  	var l int
  2344  	_ = l
  2345  	dAtA[i] = 0xa
  2346  	i++
  2347  	i = encodeVarintExec(dAtA, i, uint64(m.Caller.Size()))
  2348  	n39, err := m.Caller.MarshalTo(dAtA[i:])
  2349  	if err != nil {
  2350  		return 0, err
  2351  	}
  2352  	i += n39
  2353  	dAtA[i] = 0x12
  2354  	i++
  2355  	i = encodeVarintExec(dAtA, i, uint64(m.Callee.Size()))
  2356  	n40, err := m.Callee.MarshalTo(dAtA[i:])
  2357  	if err != nil {
  2358  		return 0, err
  2359  	}
  2360  	i += n40
  2361  	dAtA[i] = 0x1a
  2362  	i++
  2363  	i = encodeVarintExec(dAtA, i, uint64(m.Data.Size()))
  2364  	n41, err := m.Data.MarshalTo(dAtA[i:])
  2365  	if err != nil {
  2366  		return 0, err
  2367  	}
  2368  	i += n41
  2369  	if m.Value != 0 {
  2370  		dAtA[i] = 0x20
  2371  		i++
  2372  		i = encodeVarintExec(dAtA, i, uint64(m.Value))
  2373  	}
  2374  	if m.Gas != 0 {
  2375  		dAtA[i] = 0x28
  2376  		i++
  2377  		i = encodeVarintExec(dAtA, i, uint64(m.Gas))
  2378  	}
  2379  	if m.XXX_unrecognized != nil {
  2380  		i += copy(dAtA[i:], m.XXX_unrecognized)
  2381  	}
  2382  	return i, nil
  2383  }
  2384  
  2385  func encodeVarintExec(dAtA []byte, offset int, v uint64) int {
  2386  	for v >= 1<<7 {
  2387  		dAtA[offset] = uint8(v&0x7f | 0x80)
  2388  		v >>= 7
  2389  		offset++
  2390  	}
  2391  	dAtA[offset] = uint8(v)
  2392  	return offset + 1
  2393  }
  2394  func (m *StreamEvent) Size() (n int) {
  2395  	if m == nil {
  2396  		return 0
  2397  	}
  2398  	var l int
  2399  	_ = l
  2400  	if m.BeginBlock != nil {
  2401  		l = m.BeginBlock.Size()
  2402  		n += 1 + l + sovExec(uint64(l))
  2403  	}
  2404  	if m.BeginTx != nil {
  2405  		l = m.BeginTx.Size()
  2406  		n += 1 + l + sovExec(uint64(l))
  2407  	}
  2408  	if m.Envelope != nil {
  2409  		l = m.Envelope.Size()
  2410  		n += 1 + l + sovExec(uint64(l))
  2411  	}
  2412  	if m.Event != nil {
  2413  		l = m.Event.Size()
  2414  		n += 1 + l + sovExec(uint64(l))
  2415  	}
  2416  	if m.EndTx != nil {
  2417  		l = m.EndTx.Size()
  2418  		n += 1 + l + sovExec(uint64(l))
  2419  	}
  2420  	if m.EndBlock != nil {
  2421  		l = m.EndBlock.Size()
  2422  		n += 1 + l + sovExec(uint64(l))
  2423  	}
  2424  	if m.XXX_unrecognized != nil {
  2425  		n += len(m.XXX_unrecognized)
  2426  	}
  2427  	return n
  2428  }
  2429  
  2430  func (m *StreamKey) Size() (n int) {
  2431  	if m == nil {
  2432  		return 0
  2433  	}
  2434  	var l int
  2435  	_ = l
  2436  	if m.Height != 0 {
  2437  		n += 1 + sovExec(uint64(m.Height))
  2438  	}
  2439  	if m.Index != 0 {
  2440  		n += 1 + sovExec(uint64(m.Index))
  2441  	}
  2442  	if m.XXX_unrecognized != nil {
  2443  		n += len(m.XXX_unrecognized)
  2444  	}
  2445  	return n
  2446  }
  2447  
  2448  func (m *BeginBlock) Size() (n int) {
  2449  	if m == nil {
  2450  		return 0
  2451  	}
  2452  	var l int
  2453  	_ = l
  2454  	if m.Height != 0 {
  2455  		n += 1 + sovExec(uint64(m.Height))
  2456  	}
  2457  	if m.Header != nil {
  2458  		l = m.Header.Size()
  2459  		n += 1 + l + sovExec(uint64(l))
  2460  	}
  2461  	if m.XXX_unrecognized != nil {
  2462  		n += len(m.XXX_unrecognized)
  2463  	}
  2464  	return n
  2465  }
  2466  
  2467  func (m *EndBlock) Size() (n int) {
  2468  	if m == nil {
  2469  		return 0
  2470  	}
  2471  	var l int
  2472  	_ = l
  2473  	if m.Height != 0 {
  2474  		n += 1 + sovExec(uint64(m.Height))
  2475  	}
  2476  	if m.XXX_unrecognized != nil {
  2477  		n += len(m.XXX_unrecognized)
  2478  	}
  2479  	return n
  2480  }
  2481  
  2482  func (m *BeginTx) Size() (n int) {
  2483  	if m == nil {
  2484  		return 0
  2485  	}
  2486  	var l int
  2487  	_ = l
  2488  	if m.TxHeader != nil {
  2489  		l = m.TxHeader.Size()
  2490  		n += 1 + l + sovExec(uint64(l))
  2491  	}
  2492  	if m.Result != nil {
  2493  		l = m.Result.Size()
  2494  		n += 1 + l + sovExec(uint64(l))
  2495  	}
  2496  	if m.Exception != nil {
  2497  		l = m.Exception.Size()
  2498  		n += 1 + l + sovExec(uint64(l))
  2499  	}
  2500  	if m.XXX_unrecognized != nil {
  2501  		n += len(m.XXX_unrecognized)
  2502  	}
  2503  	return n
  2504  }
  2505  
  2506  func (m *EndTx) Size() (n int) {
  2507  	if m == nil {
  2508  		return 0
  2509  	}
  2510  	var l int
  2511  	_ = l
  2512  	l = m.TxHash.Size()
  2513  	n += 1 + l + sovExec(uint64(l))
  2514  	if m.XXX_unrecognized != nil {
  2515  		n += len(m.XXX_unrecognized)
  2516  	}
  2517  	return n
  2518  }
  2519  
  2520  func (m *TxHeader) Size() (n int) {
  2521  	if m == nil {
  2522  		return 0
  2523  	}
  2524  	var l int
  2525  	_ = l
  2526  	if m.TxType != 0 {
  2527  		n += 1 + sovExec(uint64(m.TxType))
  2528  	}
  2529  	l = m.TxHash.Size()
  2530  	n += 1 + l + sovExec(uint64(l))
  2531  	if m.Height != 0 {
  2532  		n += 1 + sovExec(uint64(m.Height))
  2533  	}
  2534  	if m.Index != 0 {
  2535  		n += 1 + sovExec(uint64(m.Index))
  2536  	}
  2537  	if m.Origin != nil {
  2538  		l = m.Origin.Size()
  2539  		n += 1 + l + sovExec(uint64(l))
  2540  	}
  2541  	if m.XXX_unrecognized != nil {
  2542  		n += len(m.XXX_unrecognized)
  2543  	}
  2544  	return n
  2545  }
  2546  
  2547  func (m *BlockExecution) Size() (n int) {
  2548  	if m == nil {
  2549  		return 0
  2550  	}
  2551  	var l int
  2552  	_ = l
  2553  	if m.Height != 0 {
  2554  		n += 1 + sovExec(uint64(m.Height))
  2555  	}
  2556  	if m.Header != nil {
  2557  		l = m.Header.Size()
  2558  		n += 1 + l + sovExec(uint64(l))
  2559  	}
  2560  	if len(m.TxExecutions) > 0 {
  2561  		for _, e := range m.TxExecutions {
  2562  			l = e.Size()
  2563  			n += 1 + l + sovExec(uint64(l))
  2564  		}
  2565  	}
  2566  	if m.XXX_unrecognized != nil {
  2567  		n += len(m.XXX_unrecognized)
  2568  	}
  2569  	return n
  2570  }
  2571  
  2572  func (m *TxExecution) Size() (n int) {
  2573  	if m == nil {
  2574  		return 0
  2575  	}
  2576  	var l int
  2577  	_ = l
  2578  	if m.TxHeader != nil {
  2579  		l = m.TxHeader.Size()
  2580  		n += 1 + l + sovExec(uint64(l))
  2581  	}
  2582  	if m.Envelope != nil {
  2583  		l = m.Envelope.Size()
  2584  		n += 1 + l + sovExec(uint64(l))
  2585  	}
  2586  	if len(m.Events) > 0 {
  2587  		for _, e := range m.Events {
  2588  			l = e.Size()
  2589  			n += 1 + l + sovExec(uint64(l))
  2590  		}
  2591  	}
  2592  	if m.Result != nil {
  2593  		l = m.Result.Size()
  2594  		n += 1 + l + sovExec(uint64(l))
  2595  	}
  2596  	if m.Receipt != nil {
  2597  		l = m.Receipt.Size()
  2598  		n += 1 + l + sovExec(uint64(l))
  2599  	}
  2600  	if m.Exception != nil {
  2601  		l = m.Exception.Size()
  2602  		n += 1 + l + sovExec(uint64(l))
  2603  	}
  2604  	if len(m.TxExecutions) > 0 {
  2605  		for _, e := range m.TxExecutions {
  2606  			l = e.Size()
  2607  			n += 1 + l + sovExec(uint64(l))
  2608  		}
  2609  	}
  2610  	if m.XXX_unrecognized != nil {
  2611  		n += len(m.XXX_unrecognized)
  2612  	}
  2613  	return n
  2614  }
  2615  
  2616  func (m *Origin) Size() (n int) {
  2617  	if m == nil {
  2618  		return 0
  2619  	}
  2620  	var l int
  2621  	_ = l
  2622  	l = len(m.ChainID)
  2623  	if l > 0 {
  2624  		n += 1 + l + sovExec(uint64(l))
  2625  	}
  2626  	if m.Height != 0 {
  2627  		n += 1 + sovExec(uint64(m.Height))
  2628  	}
  2629  	if m.Index != 0 {
  2630  		n += 1 + sovExec(uint64(m.Index))
  2631  	}
  2632  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
  2633  	n += 1 + l + sovExec(uint64(l))
  2634  	if m.XXX_unrecognized != nil {
  2635  		n += len(m.XXX_unrecognized)
  2636  	}
  2637  	return n
  2638  }
  2639  
  2640  func (m *Header) Size() (n int) {
  2641  	if m == nil {
  2642  		return 0
  2643  	}
  2644  	var l int
  2645  	_ = l
  2646  	if m.TxType != 0 {
  2647  		n += 1 + sovExec(uint64(m.TxType))
  2648  	}
  2649  	l = m.TxHash.Size()
  2650  	n += 1 + l + sovExec(uint64(l))
  2651  	if m.EventType != 0 {
  2652  		n += 1 + sovExec(uint64(m.EventType))
  2653  	}
  2654  	l = len(m.EventID)
  2655  	if l > 0 {
  2656  		n += 1 + l + sovExec(uint64(l))
  2657  	}
  2658  	if m.Height != 0 {
  2659  		n += 1 + sovExec(uint64(m.Height))
  2660  	}
  2661  	if m.Index != 0 {
  2662  		n += 1 + sovExec(uint64(m.Index))
  2663  	}
  2664  	if m.Exception != nil {
  2665  		l = m.Exception.Size()
  2666  		n += 1 + l + sovExec(uint64(l))
  2667  	}
  2668  	if m.XXX_unrecognized != nil {
  2669  		n += len(m.XXX_unrecognized)
  2670  	}
  2671  	return n
  2672  }
  2673  
  2674  func (m *Event) Size() (n int) {
  2675  	if m == nil {
  2676  		return 0
  2677  	}
  2678  	var l int
  2679  	_ = l
  2680  	if m.Header != nil {
  2681  		l = m.Header.Size()
  2682  		n += 1 + l + sovExec(uint64(l))
  2683  	}
  2684  	if m.Input != nil {
  2685  		l = m.Input.Size()
  2686  		n += 1 + l + sovExec(uint64(l))
  2687  	}
  2688  	if m.Output != nil {
  2689  		l = m.Output.Size()
  2690  		n += 1 + l + sovExec(uint64(l))
  2691  	}
  2692  	if m.Call != nil {
  2693  		l = m.Call.Size()
  2694  		n += 1 + l + sovExec(uint64(l))
  2695  	}
  2696  	if m.Log != nil {
  2697  		l = m.Log.Size()
  2698  		n += 1 + l + sovExec(uint64(l))
  2699  	}
  2700  	if m.GovernAccount != nil {
  2701  		l = m.GovernAccount.Size()
  2702  		n += 1 + l + sovExec(uint64(l))
  2703  	}
  2704  	if m.XXX_unrecognized != nil {
  2705  		n += len(m.XXX_unrecognized)
  2706  	}
  2707  	return n
  2708  }
  2709  
  2710  func (m *Result) Size() (n int) {
  2711  	if m == nil {
  2712  		return 0
  2713  	}
  2714  	var l int
  2715  	_ = l
  2716  	l = len(m.Return)
  2717  	if l > 0 {
  2718  		n += 1 + l + sovExec(uint64(l))
  2719  	}
  2720  	if m.GasUsed != 0 {
  2721  		n += 1 + sovExec(uint64(m.GasUsed))
  2722  	}
  2723  	if m.NameEntry != nil {
  2724  		l = m.NameEntry.Size()
  2725  		n += 1 + l + sovExec(uint64(l))
  2726  	}
  2727  	if m.PermArgs != nil {
  2728  		l = m.PermArgs.Size()
  2729  		n += 1 + l + sovExec(uint64(l))
  2730  	}
  2731  	if m.XXX_unrecognized != nil {
  2732  		n += len(m.XXX_unrecognized)
  2733  	}
  2734  	return n
  2735  }
  2736  
  2737  func (m *LogEvent) Size() (n int) {
  2738  	if m == nil {
  2739  		return 0
  2740  	}
  2741  	var l int
  2742  	_ = l
  2743  	l = m.Address.Size()
  2744  	n += 1 + l + sovExec(uint64(l))
  2745  	l = m.Data.Size()
  2746  	n += 1 + l + sovExec(uint64(l))
  2747  	if len(m.Topics) > 0 {
  2748  		for _, e := range m.Topics {
  2749  			l = e.Size()
  2750  			n += 1 + l + sovExec(uint64(l))
  2751  		}
  2752  	}
  2753  	if m.XXX_unrecognized != nil {
  2754  		n += len(m.XXX_unrecognized)
  2755  	}
  2756  	return n
  2757  }
  2758  
  2759  func (m *CallEvent) Size() (n int) {
  2760  	if m == nil {
  2761  		return 0
  2762  	}
  2763  	var l int
  2764  	_ = l
  2765  	if m.CallData != nil {
  2766  		l = m.CallData.Size()
  2767  		n += 1 + l + sovExec(uint64(l))
  2768  	}
  2769  	l = m.Origin.Size()
  2770  	n += 1 + l + sovExec(uint64(l))
  2771  	if m.StackDepth != 0 {
  2772  		n += 1 + sovExec(uint64(m.StackDepth))
  2773  	}
  2774  	l = m.Return.Size()
  2775  	n += 1 + l + sovExec(uint64(l))
  2776  	if m.CallType != 0 {
  2777  		n += 1 + sovExec(uint64(m.CallType))
  2778  	}
  2779  	if m.XXX_unrecognized != nil {
  2780  		n += len(m.XXX_unrecognized)
  2781  	}
  2782  	return n
  2783  }
  2784  
  2785  func (m *GovernAccountEvent) Size() (n int) {
  2786  	if m == nil {
  2787  		return 0
  2788  	}
  2789  	var l int
  2790  	_ = l
  2791  	if m.AccountUpdate != nil {
  2792  		l = m.AccountUpdate.Size()
  2793  		n += 1 + l + sovExec(uint64(l))
  2794  	}
  2795  	if m.XXX_unrecognized != nil {
  2796  		n += len(m.XXX_unrecognized)
  2797  	}
  2798  	return n
  2799  }
  2800  
  2801  func (m *InputEvent) Size() (n int) {
  2802  	if m == nil {
  2803  		return 0
  2804  	}
  2805  	var l int
  2806  	_ = l
  2807  	l = m.Address.Size()
  2808  	n += 1 + l + sovExec(uint64(l))
  2809  	if m.XXX_unrecognized != nil {
  2810  		n += len(m.XXX_unrecognized)
  2811  	}
  2812  	return n
  2813  }
  2814  
  2815  func (m *OutputEvent) Size() (n int) {
  2816  	if m == nil {
  2817  		return 0
  2818  	}
  2819  	var l int
  2820  	_ = l
  2821  	l = m.Address.Size()
  2822  	n += 1 + l + sovExec(uint64(l))
  2823  	if m.XXX_unrecognized != nil {
  2824  		n += len(m.XXX_unrecognized)
  2825  	}
  2826  	return n
  2827  }
  2828  
  2829  func (m *CallData) Size() (n int) {
  2830  	if m == nil {
  2831  		return 0
  2832  	}
  2833  	var l int
  2834  	_ = l
  2835  	l = m.Caller.Size()
  2836  	n += 1 + l + sovExec(uint64(l))
  2837  	l = m.Callee.Size()
  2838  	n += 1 + l + sovExec(uint64(l))
  2839  	l = m.Data.Size()
  2840  	n += 1 + l + sovExec(uint64(l))
  2841  	if m.Value != 0 {
  2842  		n += 1 + sovExec(uint64(m.Value))
  2843  	}
  2844  	if m.Gas != 0 {
  2845  		n += 1 + sovExec(uint64(m.Gas))
  2846  	}
  2847  	if m.XXX_unrecognized != nil {
  2848  		n += len(m.XXX_unrecognized)
  2849  	}
  2850  	return n
  2851  }
  2852  
  2853  func sovExec(x uint64) (n int) {
  2854  	for {
  2855  		n++
  2856  		x >>= 7
  2857  		if x == 0 {
  2858  			break
  2859  		}
  2860  	}
  2861  	return n
  2862  }
  2863  func sozExec(x uint64) (n int) {
  2864  	return sovExec(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2865  }
  2866  func (this *StreamEvent) GetValue() interface{} {
  2867  	if this.BeginBlock != nil {
  2868  		return this.BeginBlock
  2869  	}
  2870  	if this.BeginTx != nil {
  2871  		return this.BeginTx
  2872  	}
  2873  	if this.Envelope != nil {
  2874  		return this.Envelope
  2875  	}
  2876  	if this.Event != nil {
  2877  		return this.Event
  2878  	}
  2879  	if this.EndTx != nil {
  2880  		return this.EndTx
  2881  	}
  2882  	if this.EndBlock != nil {
  2883  		return this.EndBlock
  2884  	}
  2885  	return nil
  2886  }
  2887  
  2888  func (this *StreamEvent) SetValue(value interface{}) bool {
  2889  	switch vt := value.(type) {
  2890  	case *BeginBlock:
  2891  		this.BeginBlock = vt
  2892  	case *BeginTx:
  2893  		this.BeginTx = vt
  2894  	case *github_com_hyperledger_burrow_txs.Envelope:
  2895  		this.Envelope = vt
  2896  	case *Event:
  2897  		this.Event = vt
  2898  	case *EndTx:
  2899  		this.EndTx = vt
  2900  	case *EndBlock:
  2901  		this.EndBlock = vt
  2902  	default:
  2903  		this.Event = new(Event)
  2904  		if set := this.Event.SetValue(value); set {
  2905  			return true
  2906  		}
  2907  		this.Event = nil
  2908  		return false
  2909  	}
  2910  	return true
  2911  }
  2912  func (this *Event) GetValue() interface{} {
  2913  	if this.Header != nil {
  2914  		return this.Header
  2915  	}
  2916  	if this.Input != nil {
  2917  		return this.Input
  2918  	}
  2919  	if this.Output != nil {
  2920  		return this.Output
  2921  	}
  2922  	if this.Call != nil {
  2923  		return this.Call
  2924  	}
  2925  	if this.Log != nil {
  2926  		return this.Log
  2927  	}
  2928  	if this.GovernAccount != nil {
  2929  		return this.GovernAccount
  2930  	}
  2931  	return nil
  2932  }
  2933  
  2934  func (this *Event) SetValue(value interface{}) bool {
  2935  	switch vt := value.(type) {
  2936  	case *Header:
  2937  		this.Header = vt
  2938  	case *InputEvent:
  2939  		this.Input = vt
  2940  	case *OutputEvent:
  2941  		this.Output = vt
  2942  	case *CallEvent:
  2943  		this.Call = vt
  2944  	case *LogEvent:
  2945  		this.Log = vt
  2946  	case *GovernAccountEvent:
  2947  		this.GovernAccount = vt
  2948  	default:
  2949  		return false
  2950  	}
  2951  	return true
  2952  }
  2953  func (m *StreamEvent) Unmarshal(dAtA []byte) error {
  2954  	l := len(dAtA)
  2955  	iNdEx := 0
  2956  	for iNdEx < l {
  2957  		preIndex := iNdEx
  2958  		var wire uint64
  2959  		for shift := uint(0); ; shift += 7 {
  2960  			if shift >= 64 {
  2961  				return ErrIntOverflowExec
  2962  			}
  2963  			if iNdEx >= l {
  2964  				return io.ErrUnexpectedEOF
  2965  			}
  2966  			b := dAtA[iNdEx]
  2967  			iNdEx++
  2968  			wire |= uint64(b&0x7F) << shift
  2969  			if b < 0x80 {
  2970  				break
  2971  			}
  2972  		}
  2973  		fieldNum := int32(wire >> 3)
  2974  		wireType := int(wire & 0x7)
  2975  		if wireType == 4 {
  2976  			return fmt.Errorf("proto: StreamEvent: wiretype end group for non-group")
  2977  		}
  2978  		if fieldNum <= 0 {
  2979  			return fmt.Errorf("proto: StreamEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  2980  		}
  2981  		switch fieldNum {
  2982  		case 1:
  2983  			if wireType != 2 {
  2984  				return fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType)
  2985  			}
  2986  			var msglen int
  2987  			for shift := uint(0); ; shift += 7 {
  2988  				if shift >= 64 {
  2989  					return ErrIntOverflowExec
  2990  				}
  2991  				if iNdEx >= l {
  2992  					return io.ErrUnexpectedEOF
  2993  				}
  2994  				b := dAtA[iNdEx]
  2995  				iNdEx++
  2996  				msglen |= int(b&0x7F) << shift
  2997  				if b < 0x80 {
  2998  					break
  2999  				}
  3000  			}
  3001  			if msglen < 0 {
  3002  				return ErrInvalidLengthExec
  3003  			}
  3004  			postIndex := iNdEx + msglen
  3005  			if postIndex < 0 {
  3006  				return ErrInvalidLengthExec
  3007  			}
  3008  			if postIndex > l {
  3009  				return io.ErrUnexpectedEOF
  3010  			}
  3011  			if m.BeginBlock == nil {
  3012  				m.BeginBlock = &BeginBlock{}
  3013  			}
  3014  			if err := m.BeginBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3015  				return err
  3016  			}
  3017  			iNdEx = postIndex
  3018  		case 2:
  3019  			if wireType != 2 {
  3020  				return fmt.Errorf("proto: wrong wireType = %d for field BeginTx", wireType)
  3021  			}
  3022  			var msglen int
  3023  			for shift := uint(0); ; shift += 7 {
  3024  				if shift >= 64 {
  3025  					return ErrIntOverflowExec
  3026  				}
  3027  				if iNdEx >= l {
  3028  					return io.ErrUnexpectedEOF
  3029  				}
  3030  				b := dAtA[iNdEx]
  3031  				iNdEx++
  3032  				msglen |= int(b&0x7F) << shift
  3033  				if b < 0x80 {
  3034  					break
  3035  				}
  3036  			}
  3037  			if msglen < 0 {
  3038  				return ErrInvalidLengthExec
  3039  			}
  3040  			postIndex := iNdEx + msglen
  3041  			if postIndex < 0 {
  3042  				return ErrInvalidLengthExec
  3043  			}
  3044  			if postIndex > l {
  3045  				return io.ErrUnexpectedEOF
  3046  			}
  3047  			if m.BeginTx == nil {
  3048  				m.BeginTx = &BeginTx{}
  3049  			}
  3050  			if err := m.BeginTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3051  				return err
  3052  			}
  3053  			iNdEx = postIndex
  3054  		case 3:
  3055  			if wireType != 2 {
  3056  				return fmt.Errorf("proto: wrong wireType = %d for field Envelope", wireType)
  3057  			}
  3058  			var msglen int
  3059  			for shift := uint(0); ; shift += 7 {
  3060  				if shift >= 64 {
  3061  					return ErrIntOverflowExec
  3062  				}
  3063  				if iNdEx >= l {
  3064  					return io.ErrUnexpectedEOF
  3065  				}
  3066  				b := dAtA[iNdEx]
  3067  				iNdEx++
  3068  				msglen |= int(b&0x7F) << shift
  3069  				if b < 0x80 {
  3070  					break
  3071  				}
  3072  			}
  3073  			if msglen < 0 {
  3074  				return ErrInvalidLengthExec
  3075  			}
  3076  			postIndex := iNdEx + msglen
  3077  			if postIndex < 0 {
  3078  				return ErrInvalidLengthExec
  3079  			}
  3080  			if postIndex > l {
  3081  				return io.ErrUnexpectedEOF
  3082  			}
  3083  			if m.Envelope == nil {
  3084  				m.Envelope = &github_com_hyperledger_burrow_txs.Envelope{}
  3085  			}
  3086  			if err := m.Envelope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3087  				return err
  3088  			}
  3089  			iNdEx = postIndex
  3090  		case 4:
  3091  			if wireType != 2 {
  3092  				return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType)
  3093  			}
  3094  			var msglen int
  3095  			for shift := uint(0); ; shift += 7 {
  3096  				if shift >= 64 {
  3097  					return ErrIntOverflowExec
  3098  				}
  3099  				if iNdEx >= l {
  3100  					return io.ErrUnexpectedEOF
  3101  				}
  3102  				b := dAtA[iNdEx]
  3103  				iNdEx++
  3104  				msglen |= int(b&0x7F) << shift
  3105  				if b < 0x80 {
  3106  					break
  3107  				}
  3108  			}
  3109  			if msglen < 0 {
  3110  				return ErrInvalidLengthExec
  3111  			}
  3112  			postIndex := iNdEx + msglen
  3113  			if postIndex < 0 {
  3114  				return ErrInvalidLengthExec
  3115  			}
  3116  			if postIndex > l {
  3117  				return io.ErrUnexpectedEOF
  3118  			}
  3119  			if m.Event == nil {
  3120  				m.Event = &Event{}
  3121  			}
  3122  			if err := m.Event.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3123  				return err
  3124  			}
  3125  			iNdEx = postIndex
  3126  		case 5:
  3127  			if wireType != 2 {
  3128  				return fmt.Errorf("proto: wrong wireType = %d for field EndTx", wireType)
  3129  			}
  3130  			var msglen int
  3131  			for shift := uint(0); ; shift += 7 {
  3132  				if shift >= 64 {
  3133  					return ErrIntOverflowExec
  3134  				}
  3135  				if iNdEx >= l {
  3136  					return io.ErrUnexpectedEOF
  3137  				}
  3138  				b := dAtA[iNdEx]
  3139  				iNdEx++
  3140  				msglen |= int(b&0x7F) << shift
  3141  				if b < 0x80 {
  3142  					break
  3143  				}
  3144  			}
  3145  			if msglen < 0 {
  3146  				return ErrInvalidLengthExec
  3147  			}
  3148  			postIndex := iNdEx + msglen
  3149  			if postIndex < 0 {
  3150  				return ErrInvalidLengthExec
  3151  			}
  3152  			if postIndex > l {
  3153  				return io.ErrUnexpectedEOF
  3154  			}
  3155  			if m.EndTx == nil {
  3156  				m.EndTx = &EndTx{}
  3157  			}
  3158  			if err := m.EndTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3159  				return err
  3160  			}
  3161  			iNdEx = postIndex
  3162  		case 6:
  3163  			if wireType != 2 {
  3164  				return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType)
  3165  			}
  3166  			var msglen int
  3167  			for shift := uint(0); ; shift += 7 {
  3168  				if shift >= 64 {
  3169  					return ErrIntOverflowExec
  3170  				}
  3171  				if iNdEx >= l {
  3172  					return io.ErrUnexpectedEOF
  3173  				}
  3174  				b := dAtA[iNdEx]
  3175  				iNdEx++
  3176  				msglen |= int(b&0x7F) << shift
  3177  				if b < 0x80 {
  3178  					break
  3179  				}
  3180  			}
  3181  			if msglen < 0 {
  3182  				return ErrInvalidLengthExec
  3183  			}
  3184  			postIndex := iNdEx + msglen
  3185  			if postIndex < 0 {
  3186  				return ErrInvalidLengthExec
  3187  			}
  3188  			if postIndex > l {
  3189  				return io.ErrUnexpectedEOF
  3190  			}
  3191  			if m.EndBlock == nil {
  3192  				m.EndBlock = &EndBlock{}
  3193  			}
  3194  			if err := m.EndBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3195  				return err
  3196  			}
  3197  			iNdEx = postIndex
  3198  		default:
  3199  			iNdEx = preIndex
  3200  			skippy, err := skipExec(dAtA[iNdEx:])
  3201  			if err != nil {
  3202  				return err
  3203  			}
  3204  			if skippy < 0 {
  3205  				return ErrInvalidLengthExec
  3206  			}
  3207  			if (iNdEx + skippy) < 0 {
  3208  				return ErrInvalidLengthExec
  3209  			}
  3210  			if (iNdEx + skippy) > l {
  3211  				return io.ErrUnexpectedEOF
  3212  			}
  3213  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3214  			iNdEx += skippy
  3215  		}
  3216  	}
  3217  
  3218  	if iNdEx > l {
  3219  		return io.ErrUnexpectedEOF
  3220  	}
  3221  	return nil
  3222  }
  3223  func (m *StreamKey) Unmarshal(dAtA []byte) error {
  3224  	l := len(dAtA)
  3225  	iNdEx := 0
  3226  	for iNdEx < l {
  3227  		preIndex := iNdEx
  3228  		var wire uint64
  3229  		for shift := uint(0); ; shift += 7 {
  3230  			if shift >= 64 {
  3231  				return ErrIntOverflowExec
  3232  			}
  3233  			if iNdEx >= l {
  3234  				return io.ErrUnexpectedEOF
  3235  			}
  3236  			b := dAtA[iNdEx]
  3237  			iNdEx++
  3238  			wire |= uint64(b&0x7F) << shift
  3239  			if b < 0x80 {
  3240  				break
  3241  			}
  3242  		}
  3243  		fieldNum := int32(wire >> 3)
  3244  		wireType := int(wire & 0x7)
  3245  		if wireType == 4 {
  3246  			return fmt.Errorf("proto: StreamKey: wiretype end group for non-group")
  3247  		}
  3248  		if fieldNum <= 0 {
  3249  			return fmt.Errorf("proto: StreamKey: illegal tag %d (wire type %d)", fieldNum, wire)
  3250  		}
  3251  		switch fieldNum {
  3252  		case 1:
  3253  			if wireType != 0 {
  3254  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  3255  			}
  3256  			m.Height = 0
  3257  			for shift := uint(0); ; shift += 7 {
  3258  				if shift >= 64 {
  3259  					return ErrIntOverflowExec
  3260  				}
  3261  				if iNdEx >= l {
  3262  					return io.ErrUnexpectedEOF
  3263  				}
  3264  				b := dAtA[iNdEx]
  3265  				iNdEx++
  3266  				m.Height |= uint64(b&0x7F) << shift
  3267  				if b < 0x80 {
  3268  					break
  3269  				}
  3270  			}
  3271  		case 2:
  3272  			if wireType != 0 {
  3273  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
  3274  			}
  3275  			m.Index = 0
  3276  			for shift := uint(0); ; shift += 7 {
  3277  				if shift >= 64 {
  3278  					return ErrIntOverflowExec
  3279  				}
  3280  				if iNdEx >= l {
  3281  					return io.ErrUnexpectedEOF
  3282  				}
  3283  				b := dAtA[iNdEx]
  3284  				iNdEx++
  3285  				m.Index |= uint64(b&0x7F) << shift
  3286  				if b < 0x80 {
  3287  					break
  3288  				}
  3289  			}
  3290  		default:
  3291  			iNdEx = preIndex
  3292  			skippy, err := skipExec(dAtA[iNdEx:])
  3293  			if err != nil {
  3294  				return err
  3295  			}
  3296  			if skippy < 0 {
  3297  				return ErrInvalidLengthExec
  3298  			}
  3299  			if (iNdEx + skippy) < 0 {
  3300  				return ErrInvalidLengthExec
  3301  			}
  3302  			if (iNdEx + skippy) > l {
  3303  				return io.ErrUnexpectedEOF
  3304  			}
  3305  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3306  			iNdEx += skippy
  3307  		}
  3308  	}
  3309  
  3310  	if iNdEx > l {
  3311  		return io.ErrUnexpectedEOF
  3312  	}
  3313  	return nil
  3314  }
  3315  func (m *BeginBlock) Unmarshal(dAtA []byte) error {
  3316  	l := len(dAtA)
  3317  	iNdEx := 0
  3318  	for iNdEx < l {
  3319  		preIndex := iNdEx
  3320  		var wire uint64
  3321  		for shift := uint(0); ; shift += 7 {
  3322  			if shift >= 64 {
  3323  				return ErrIntOverflowExec
  3324  			}
  3325  			if iNdEx >= l {
  3326  				return io.ErrUnexpectedEOF
  3327  			}
  3328  			b := dAtA[iNdEx]
  3329  			iNdEx++
  3330  			wire |= uint64(b&0x7F) << shift
  3331  			if b < 0x80 {
  3332  				break
  3333  			}
  3334  		}
  3335  		fieldNum := int32(wire >> 3)
  3336  		wireType := int(wire & 0x7)
  3337  		if wireType == 4 {
  3338  			return fmt.Errorf("proto: BeginBlock: wiretype end group for non-group")
  3339  		}
  3340  		if fieldNum <= 0 {
  3341  			return fmt.Errorf("proto: BeginBlock: illegal tag %d (wire type %d)", fieldNum, wire)
  3342  		}
  3343  		switch fieldNum {
  3344  		case 1:
  3345  			if wireType != 0 {
  3346  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  3347  			}
  3348  			m.Height = 0
  3349  			for shift := uint(0); ; shift += 7 {
  3350  				if shift >= 64 {
  3351  					return ErrIntOverflowExec
  3352  				}
  3353  				if iNdEx >= l {
  3354  					return io.ErrUnexpectedEOF
  3355  				}
  3356  				b := dAtA[iNdEx]
  3357  				iNdEx++
  3358  				m.Height |= uint64(b&0x7F) << shift
  3359  				if b < 0x80 {
  3360  					break
  3361  				}
  3362  			}
  3363  		case 2:
  3364  			if wireType != 2 {
  3365  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  3366  			}
  3367  			var msglen int
  3368  			for shift := uint(0); ; shift += 7 {
  3369  				if shift >= 64 {
  3370  					return ErrIntOverflowExec
  3371  				}
  3372  				if iNdEx >= l {
  3373  					return io.ErrUnexpectedEOF
  3374  				}
  3375  				b := dAtA[iNdEx]
  3376  				iNdEx++
  3377  				msglen |= int(b&0x7F) << shift
  3378  				if b < 0x80 {
  3379  					break
  3380  				}
  3381  			}
  3382  			if msglen < 0 {
  3383  				return ErrInvalidLengthExec
  3384  			}
  3385  			postIndex := iNdEx + msglen
  3386  			if postIndex < 0 {
  3387  				return ErrInvalidLengthExec
  3388  			}
  3389  			if postIndex > l {
  3390  				return io.ErrUnexpectedEOF
  3391  			}
  3392  			if m.Header == nil {
  3393  				m.Header = &types.Header{}
  3394  			}
  3395  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3396  				return err
  3397  			}
  3398  			iNdEx = postIndex
  3399  		default:
  3400  			iNdEx = preIndex
  3401  			skippy, err := skipExec(dAtA[iNdEx:])
  3402  			if err != nil {
  3403  				return err
  3404  			}
  3405  			if skippy < 0 {
  3406  				return ErrInvalidLengthExec
  3407  			}
  3408  			if (iNdEx + skippy) < 0 {
  3409  				return ErrInvalidLengthExec
  3410  			}
  3411  			if (iNdEx + skippy) > l {
  3412  				return io.ErrUnexpectedEOF
  3413  			}
  3414  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3415  			iNdEx += skippy
  3416  		}
  3417  	}
  3418  
  3419  	if iNdEx > l {
  3420  		return io.ErrUnexpectedEOF
  3421  	}
  3422  	return nil
  3423  }
  3424  func (m *EndBlock) Unmarshal(dAtA []byte) error {
  3425  	l := len(dAtA)
  3426  	iNdEx := 0
  3427  	for iNdEx < l {
  3428  		preIndex := iNdEx
  3429  		var wire uint64
  3430  		for shift := uint(0); ; shift += 7 {
  3431  			if shift >= 64 {
  3432  				return ErrIntOverflowExec
  3433  			}
  3434  			if iNdEx >= l {
  3435  				return io.ErrUnexpectedEOF
  3436  			}
  3437  			b := dAtA[iNdEx]
  3438  			iNdEx++
  3439  			wire |= uint64(b&0x7F) << shift
  3440  			if b < 0x80 {
  3441  				break
  3442  			}
  3443  		}
  3444  		fieldNum := int32(wire >> 3)
  3445  		wireType := int(wire & 0x7)
  3446  		if wireType == 4 {
  3447  			return fmt.Errorf("proto: EndBlock: wiretype end group for non-group")
  3448  		}
  3449  		if fieldNum <= 0 {
  3450  			return fmt.Errorf("proto: EndBlock: illegal tag %d (wire type %d)", fieldNum, wire)
  3451  		}
  3452  		switch fieldNum {
  3453  		case 1:
  3454  			if wireType != 0 {
  3455  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  3456  			}
  3457  			m.Height = 0
  3458  			for shift := uint(0); ; shift += 7 {
  3459  				if shift >= 64 {
  3460  					return ErrIntOverflowExec
  3461  				}
  3462  				if iNdEx >= l {
  3463  					return io.ErrUnexpectedEOF
  3464  				}
  3465  				b := dAtA[iNdEx]
  3466  				iNdEx++
  3467  				m.Height |= uint64(b&0x7F) << shift
  3468  				if b < 0x80 {
  3469  					break
  3470  				}
  3471  			}
  3472  		default:
  3473  			iNdEx = preIndex
  3474  			skippy, err := skipExec(dAtA[iNdEx:])
  3475  			if err != nil {
  3476  				return err
  3477  			}
  3478  			if skippy < 0 {
  3479  				return ErrInvalidLengthExec
  3480  			}
  3481  			if (iNdEx + skippy) < 0 {
  3482  				return ErrInvalidLengthExec
  3483  			}
  3484  			if (iNdEx + skippy) > l {
  3485  				return io.ErrUnexpectedEOF
  3486  			}
  3487  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3488  			iNdEx += skippy
  3489  		}
  3490  	}
  3491  
  3492  	if iNdEx > l {
  3493  		return io.ErrUnexpectedEOF
  3494  	}
  3495  	return nil
  3496  }
  3497  func (m *BeginTx) Unmarshal(dAtA []byte) error {
  3498  	l := len(dAtA)
  3499  	iNdEx := 0
  3500  	for iNdEx < l {
  3501  		preIndex := iNdEx
  3502  		var wire uint64
  3503  		for shift := uint(0); ; shift += 7 {
  3504  			if shift >= 64 {
  3505  				return ErrIntOverflowExec
  3506  			}
  3507  			if iNdEx >= l {
  3508  				return io.ErrUnexpectedEOF
  3509  			}
  3510  			b := dAtA[iNdEx]
  3511  			iNdEx++
  3512  			wire |= uint64(b&0x7F) << shift
  3513  			if b < 0x80 {
  3514  				break
  3515  			}
  3516  		}
  3517  		fieldNum := int32(wire >> 3)
  3518  		wireType := int(wire & 0x7)
  3519  		if wireType == 4 {
  3520  			return fmt.Errorf("proto: BeginTx: wiretype end group for non-group")
  3521  		}
  3522  		if fieldNum <= 0 {
  3523  			return fmt.Errorf("proto: BeginTx: illegal tag %d (wire type %d)", fieldNum, wire)
  3524  		}
  3525  		switch fieldNum {
  3526  		case 1:
  3527  			if wireType != 2 {
  3528  				return fmt.Errorf("proto: wrong wireType = %d for field TxHeader", wireType)
  3529  			}
  3530  			var msglen int
  3531  			for shift := uint(0); ; shift += 7 {
  3532  				if shift >= 64 {
  3533  					return ErrIntOverflowExec
  3534  				}
  3535  				if iNdEx >= l {
  3536  					return io.ErrUnexpectedEOF
  3537  				}
  3538  				b := dAtA[iNdEx]
  3539  				iNdEx++
  3540  				msglen |= int(b&0x7F) << shift
  3541  				if b < 0x80 {
  3542  					break
  3543  				}
  3544  			}
  3545  			if msglen < 0 {
  3546  				return ErrInvalidLengthExec
  3547  			}
  3548  			postIndex := iNdEx + msglen
  3549  			if postIndex < 0 {
  3550  				return ErrInvalidLengthExec
  3551  			}
  3552  			if postIndex > l {
  3553  				return io.ErrUnexpectedEOF
  3554  			}
  3555  			if m.TxHeader == nil {
  3556  				m.TxHeader = &TxHeader{}
  3557  			}
  3558  			if err := m.TxHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3559  				return err
  3560  			}
  3561  			iNdEx = postIndex
  3562  		case 2:
  3563  			if wireType != 2 {
  3564  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  3565  			}
  3566  			var msglen int
  3567  			for shift := uint(0); ; shift += 7 {
  3568  				if shift >= 64 {
  3569  					return ErrIntOverflowExec
  3570  				}
  3571  				if iNdEx >= l {
  3572  					return io.ErrUnexpectedEOF
  3573  				}
  3574  				b := dAtA[iNdEx]
  3575  				iNdEx++
  3576  				msglen |= int(b&0x7F) << shift
  3577  				if b < 0x80 {
  3578  					break
  3579  				}
  3580  			}
  3581  			if msglen < 0 {
  3582  				return ErrInvalidLengthExec
  3583  			}
  3584  			postIndex := iNdEx + msglen
  3585  			if postIndex < 0 {
  3586  				return ErrInvalidLengthExec
  3587  			}
  3588  			if postIndex > l {
  3589  				return io.ErrUnexpectedEOF
  3590  			}
  3591  			if m.Result == nil {
  3592  				m.Result = &Result{}
  3593  			}
  3594  			if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3595  				return err
  3596  			}
  3597  			iNdEx = postIndex
  3598  		case 4:
  3599  			if wireType != 2 {
  3600  				return fmt.Errorf("proto: wrong wireType = %d for field Exception", wireType)
  3601  			}
  3602  			var msglen int
  3603  			for shift := uint(0); ; shift += 7 {
  3604  				if shift >= 64 {
  3605  					return ErrIntOverflowExec
  3606  				}
  3607  				if iNdEx >= l {
  3608  					return io.ErrUnexpectedEOF
  3609  				}
  3610  				b := dAtA[iNdEx]
  3611  				iNdEx++
  3612  				msglen |= int(b&0x7F) << shift
  3613  				if b < 0x80 {
  3614  					break
  3615  				}
  3616  			}
  3617  			if msglen < 0 {
  3618  				return ErrInvalidLengthExec
  3619  			}
  3620  			postIndex := iNdEx + msglen
  3621  			if postIndex < 0 {
  3622  				return ErrInvalidLengthExec
  3623  			}
  3624  			if postIndex > l {
  3625  				return io.ErrUnexpectedEOF
  3626  			}
  3627  			if m.Exception == nil {
  3628  				m.Exception = &errors.Exception{}
  3629  			}
  3630  			if err := m.Exception.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3631  				return err
  3632  			}
  3633  			iNdEx = postIndex
  3634  		default:
  3635  			iNdEx = preIndex
  3636  			skippy, err := skipExec(dAtA[iNdEx:])
  3637  			if err != nil {
  3638  				return err
  3639  			}
  3640  			if skippy < 0 {
  3641  				return ErrInvalidLengthExec
  3642  			}
  3643  			if (iNdEx + skippy) < 0 {
  3644  				return ErrInvalidLengthExec
  3645  			}
  3646  			if (iNdEx + skippy) > l {
  3647  				return io.ErrUnexpectedEOF
  3648  			}
  3649  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3650  			iNdEx += skippy
  3651  		}
  3652  	}
  3653  
  3654  	if iNdEx > l {
  3655  		return io.ErrUnexpectedEOF
  3656  	}
  3657  	return nil
  3658  }
  3659  func (m *EndTx) Unmarshal(dAtA []byte) error {
  3660  	l := len(dAtA)
  3661  	iNdEx := 0
  3662  	for iNdEx < l {
  3663  		preIndex := iNdEx
  3664  		var wire uint64
  3665  		for shift := uint(0); ; shift += 7 {
  3666  			if shift >= 64 {
  3667  				return ErrIntOverflowExec
  3668  			}
  3669  			if iNdEx >= l {
  3670  				return io.ErrUnexpectedEOF
  3671  			}
  3672  			b := dAtA[iNdEx]
  3673  			iNdEx++
  3674  			wire |= uint64(b&0x7F) << shift
  3675  			if b < 0x80 {
  3676  				break
  3677  			}
  3678  		}
  3679  		fieldNum := int32(wire >> 3)
  3680  		wireType := int(wire & 0x7)
  3681  		if wireType == 4 {
  3682  			return fmt.Errorf("proto: EndTx: wiretype end group for non-group")
  3683  		}
  3684  		if fieldNum <= 0 {
  3685  			return fmt.Errorf("proto: EndTx: illegal tag %d (wire type %d)", fieldNum, wire)
  3686  		}
  3687  		switch fieldNum {
  3688  		case 3:
  3689  			if wireType != 2 {
  3690  				return fmt.Errorf("proto: wrong wireType = %d for field TxHash", wireType)
  3691  			}
  3692  			var byteLen int
  3693  			for shift := uint(0); ; shift += 7 {
  3694  				if shift >= 64 {
  3695  					return ErrIntOverflowExec
  3696  				}
  3697  				if iNdEx >= l {
  3698  					return io.ErrUnexpectedEOF
  3699  				}
  3700  				b := dAtA[iNdEx]
  3701  				iNdEx++
  3702  				byteLen |= int(b&0x7F) << shift
  3703  				if b < 0x80 {
  3704  					break
  3705  				}
  3706  			}
  3707  			if byteLen < 0 {
  3708  				return ErrInvalidLengthExec
  3709  			}
  3710  			postIndex := iNdEx + byteLen
  3711  			if postIndex < 0 {
  3712  				return ErrInvalidLengthExec
  3713  			}
  3714  			if postIndex > l {
  3715  				return io.ErrUnexpectedEOF
  3716  			}
  3717  			if err := m.TxHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3718  				return err
  3719  			}
  3720  			iNdEx = postIndex
  3721  		default:
  3722  			iNdEx = preIndex
  3723  			skippy, err := skipExec(dAtA[iNdEx:])
  3724  			if err != nil {
  3725  				return err
  3726  			}
  3727  			if skippy < 0 {
  3728  				return ErrInvalidLengthExec
  3729  			}
  3730  			if (iNdEx + skippy) < 0 {
  3731  				return ErrInvalidLengthExec
  3732  			}
  3733  			if (iNdEx + skippy) > l {
  3734  				return io.ErrUnexpectedEOF
  3735  			}
  3736  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3737  			iNdEx += skippy
  3738  		}
  3739  	}
  3740  
  3741  	if iNdEx > l {
  3742  		return io.ErrUnexpectedEOF
  3743  	}
  3744  	return nil
  3745  }
  3746  func (m *TxHeader) Unmarshal(dAtA []byte) error {
  3747  	l := len(dAtA)
  3748  	iNdEx := 0
  3749  	for iNdEx < l {
  3750  		preIndex := iNdEx
  3751  		var wire uint64
  3752  		for shift := uint(0); ; shift += 7 {
  3753  			if shift >= 64 {
  3754  				return ErrIntOverflowExec
  3755  			}
  3756  			if iNdEx >= l {
  3757  				return io.ErrUnexpectedEOF
  3758  			}
  3759  			b := dAtA[iNdEx]
  3760  			iNdEx++
  3761  			wire |= uint64(b&0x7F) << shift
  3762  			if b < 0x80 {
  3763  				break
  3764  			}
  3765  		}
  3766  		fieldNum := int32(wire >> 3)
  3767  		wireType := int(wire & 0x7)
  3768  		if wireType == 4 {
  3769  			return fmt.Errorf("proto: TxHeader: wiretype end group for non-group")
  3770  		}
  3771  		if fieldNum <= 0 {
  3772  			return fmt.Errorf("proto: TxHeader: illegal tag %d (wire type %d)", fieldNum, wire)
  3773  		}
  3774  		switch fieldNum {
  3775  		case 1:
  3776  			if wireType != 0 {
  3777  				return fmt.Errorf("proto: wrong wireType = %d for field TxType", wireType)
  3778  			}
  3779  			m.TxType = 0
  3780  			for shift := uint(0); ; shift += 7 {
  3781  				if shift >= 64 {
  3782  					return ErrIntOverflowExec
  3783  				}
  3784  				if iNdEx >= l {
  3785  					return io.ErrUnexpectedEOF
  3786  				}
  3787  				b := dAtA[iNdEx]
  3788  				iNdEx++
  3789  				m.TxType |= github_com_hyperledger_burrow_txs_payload.Type(b&0x7F) << shift
  3790  				if b < 0x80 {
  3791  					break
  3792  				}
  3793  			}
  3794  		case 2:
  3795  			if wireType != 2 {
  3796  				return fmt.Errorf("proto: wrong wireType = %d for field TxHash", wireType)
  3797  			}
  3798  			var byteLen int
  3799  			for shift := uint(0); ; shift += 7 {
  3800  				if shift >= 64 {
  3801  					return ErrIntOverflowExec
  3802  				}
  3803  				if iNdEx >= l {
  3804  					return io.ErrUnexpectedEOF
  3805  				}
  3806  				b := dAtA[iNdEx]
  3807  				iNdEx++
  3808  				byteLen |= int(b&0x7F) << shift
  3809  				if b < 0x80 {
  3810  					break
  3811  				}
  3812  			}
  3813  			if byteLen < 0 {
  3814  				return ErrInvalidLengthExec
  3815  			}
  3816  			postIndex := iNdEx + byteLen
  3817  			if postIndex < 0 {
  3818  				return ErrInvalidLengthExec
  3819  			}
  3820  			if postIndex > l {
  3821  				return io.ErrUnexpectedEOF
  3822  			}
  3823  			if err := m.TxHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3824  				return err
  3825  			}
  3826  			iNdEx = postIndex
  3827  		case 3:
  3828  			if wireType != 0 {
  3829  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  3830  			}
  3831  			m.Height = 0
  3832  			for shift := uint(0); ; shift += 7 {
  3833  				if shift >= 64 {
  3834  					return ErrIntOverflowExec
  3835  				}
  3836  				if iNdEx >= l {
  3837  					return io.ErrUnexpectedEOF
  3838  				}
  3839  				b := dAtA[iNdEx]
  3840  				iNdEx++
  3841  				m.Height |= uint64(b&0x7F) << shift
  3842  				if b < 0x80 {
  3843  					break
  3844  				}
  3845  			}
  3846  		case 4:
  3847  			if wireType != 0 {
  3848  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
  3849  			}
  3850  			m.Index = 0
  3851  			for shift := uint(0); ; shift += 7 {
  3852  				if shift >= 64 {
  3853  					return ErrIntOverflowExec
  3854  				}
  3855  				if iNdEx >= l {
  3856  					return io.ErrUnexpectedEOF
  3857  				}
  3858  				b := dAtA[iNdEx]
  3859  				iNdEx++
  3860  				m.Index |= uint64(b&0x7F) << shift
  3861  				if b < 0x80 {
  3862  					break
  3863  				}
  3864  			}
  3865  		case 5:
  3866  			if wireType != 2 {
  3867  				return fmt.Errorf("proto: wrong wireType = %d for field Origin", wireType)
  3868  			}
  3869  			var msglen int
  3870  			for shift := uint(0); ; shift += 7 {
  3871  				if shift >= 64 {
  3872  					return ErrIntOverflowExec
  3873  				}
  3874  				if iNdEx >= l {
  3875  					return io.ErrUnexpectedEOF
  3876  				}
  3877  				b := dAtA[iNdEx]
  3878  				iNdEx++
  3879  				msglen |= int(b&0x7F) << shift
  3880  				if b < 0x80 {
  3881  					break
  3882  				}
  3883  			}
  3884  			if msglen < 0 {
  3885  				return ErrInvalidLengthExec
  3886  			}
  3887  			postIndex := iNdEx + msglen
  3888  			if postIndex < 0 {
  3889  				return ErrInvalidLengthExec
  3890  			}
  3891  			if postIndex > l {
  3892  				return io.ErrUnexpectedEOF
  3893  			}
  3894  			if m.Origin == nil {
  3895  				m.Origin = &Origin{}
  3896  			}
  3897  			if err := m.Origin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3898  				return err
  3899  			}
  3900  			iNdEx = postIndex
  3901  		default:
  3902  			iNdEx = preIndex
  3903  			skippy, err := skipExec(dAtA[iNdEx:])
  3904  			if err != nil {
  3905  				return err
  3906  			}
  3907  			if skippy < 0 {
  3908  				return ErrInvalidLengthExec
  3909  			}
  3910  			if (iNdEx + skippy) < 0 {
  3911  				return ErrInvalidLengthExec
  3912  			}
  3913  			if (iNdEx + skippy) > l {
  3914  				return io.ErrUnexpectedEOF
  3915  			}
  3916  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3917  			iNdEx += skippy
  3918  		}
  3919  	}
  3920  
  3921  	if iNdEx > l {
  3922  		return io.ErrUnexpectedEOF
  3923  	}
  3924  	return nil
  3925  }
  3926  func (m *BlockExecution) Unmarshal(dAtA []byte) error {
  3927  	l := len(dAtA)
  3928  	iNdEx := 0
  3929  	for iNdEx < l {
  3930  		preIndex := iNdEx
  3931  		var wire uint64
  3932  		for shift := uint(0); ; shift += 7 {
  3933  			if shift >= 64 {
  3934  				return ErrIntOverflowExec
  3935  			}
  3936  			if iNdEx >= l {
  3937  				return io.ErrUnexpectedEOF
  3938  			}
  3939  			b := dAtA[iNdEx]
  3940  			iNdEx++
  3941  			wire |= uint64(b&0x7F) << shift
  3942  			if b < 0x80 {
  3943  				break
  3944  			}
  3945  		}
  3946  		fieldNum := int32(wire >> 3)
  3947  		wireType := int(wire & 0x7)
  3948  		if wireType == 4 {
  3949  			return fmt.Errorf("proto: BlockExecution: wiretype end group for non-group")
  3950  		}
  3951  		if fieldNum <= 0 {
  3952  			return fmt.Errorf("proto: BlockExecution: illegal tag %d (wire type %d)", fieldNum, wire)
  3953  		}
  3954  		switch fieldNum {
  3955  		case 1:
  3956  			if wireType != 0 {
  3957  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  3958  			}
  3959  			m.Height = 0
  3960  			for shift := uint(0); ; shift += 7 {
  3961  				if shift >= 64 {
  3962  					return ErrIntOverflowExec
  3963  				}
  3964  				if iNdEx >= l {
  3965  					return io.ErrUnexpectedEOF
  3966  				}
  3967  				b := dAtA[iNdEx]
  3968  				iNdEx++
  3969  				m.Height |= uint64(b&0x7F) << shift
  3970  				if b < 0x80 {
  3971  					break
  3972  				}
  3973  			}
  3974  		case 2:
  3975  			if wireType != 2 {
  3976  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  3977  			}
  3978  			var msglen int
  3979  			for shift := uint(0); ; shift += 7 {
  3980  				if shift >= 64 {
  3981  					return ErrIntOverflowExec
  3982  				}
  3983  				if iNdEx >= l {
  3984  					return io.ErrUnexpectedEOF
  3985  				}
  3986  				b := dAtA[iNdEx]
  3987  				iNdEx++
  3988  				msglen |= int(b&0x7F) << shift
  3989  				if b < 0x80 {
  3990  					break
  3991  				}
  3992  			}
  3993  			if msglen < 0 {
  3994  				return ErrInvalidLengthExec
  3995  			}
  3996  			postIndex := iNdEx + msglen
  3997  			if postIndex < 0 {
  3998  				return ErrInvalidLengthExec
  3999  			}
  4000  			if postIndex > l {
  4001  				return io.ErrUnexpectedEOF
  4002  			}
  4003  			if m.Header == nil {
  4004  				m.Header = &types.Header{}
  4005  			}
  4006  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4007  				return err
  4008  			}
  4009  			iNdEx = postIndex
  4010  		case 3:
  4011  			if wireType != 2 {
  4012  				return fmt.Errorf("proto: wrong wireType = %d for field TxExecutions", wireType)
  4013  			}
  4014  			var msglen int
  4015  			for shift := uint(0); ; shift += 7 {
  4016  				if shift >= 64 {
  4017  					return ErrIntOverflowExec
  4018  				}
  4019  				if iNdEx >= l {
  4020  					return io.ErrUnexpectedEOF
  4021  				}
  4022  				b := dAtA[iNdEx]
  4023  				iNdEx++
  4024  				msglen |= int(b&0x7F) << shift
  4025  				if b < 0x80 {
  4026  					break
  4027  				}
  4028  			}
  4029  			if msglen < 0 {
  4030  				return ErrInvalidLengthExec
  4031  			}
  4032  			postIndex := iNdEx + msglen
  4033  			if postIndex < 0 {
  4034  				return ErrInvalidLengthExec
  4035  			}
  4036  			if postIndex > l {
  4037  				return io.ErrUnexpectedEOF
  4038  			}
  4039  			m.TxExecutions = append(m.TxExecutions, &TxExecution{})
  4040  			if err := m.TxExecutions[len(m.TxExecutions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4041  				return err
  4042  			}
  4043  			iNdEx = postIndex
  4044  		default:
  4045  			iNdEx = preIndex
  4046  			skippy, err := skipExec(dAtA[iNdEx:])
  4047  			if err != nil {
  4048  				return err
  4049  			}
  4050  			if skippy < 0 {
  4051  				return ErrInvalidLengthExec
  4052  			}
  4053  			if (iNdEx + skippy) < 0 {
  4054  				return ErrInvalidLengthExec
  4055  			}
  4056  			if (iNdEx + skippy) > l {
  4057  				return io.ErrUnexpectedEOF
  4058  			}
  4059  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4060  			iNdEx += skippy
  4061  		}
  4062  	}
  4063  
  4064  	if iNdEx > l {
  4065  		return io.ErrUnexpectedEOF
  4066  	}
  4067  	return nil
  4068  }
  4069  func (m *TxExecution) Unmarshal(dAtA []byte) error {
  4070  	l := len(dAtA)
  4071  	iNdEx := 0
  4072  	for iNdEx < l {
  4073  		preIndex := iNdEx
  4074  		var wire uint64
  4075  		for shift := uint(0); ; shift += 7 {
  4076  			if shift >= 64 {
  4077  				return ErrIntOverflowExec
  4078  			}
  4079  			if iNdEx >= l {
  4080  				return io.ErrUnexpectedEOF
  4081  			}
  4082  			b := dAtA[iNdEx]
  4083  			iNdEx++
  4084  			wire |= uint64(b&0x7F) << shift
  4085  			if b < 0x80 {
  4086  				break
  4087  			}
  4088  		}
  4089  		fieldNum := int32(wire >> 3)
  4090  		wireType := int(wire & 0x7)
  4091  		if wireType == 4 {
  4092  			return fmt.Errorf("proto: TxExecution: wiretype end group for non-group")
  4093  		}
  4094  		if fieldNum <= 0 {
  4095  			return fmt.Errorf("proto: TxExecution: illegal tag %d (wire type %d)", fieldNum, wire)
  4096  		}
  4097  		switch fieldNum {
  4098  		case 1:
  4099  			if wireType != 2 {
  4100  				return fmt.Errorf("proto: wrong wireType = %d for field TxHeader", wireType)
  4101  			}
  4102  			var msglen int
  4103  			for shift := uint(0); ; shift += 7 {
  4104  				if shift >= 64 {
  4105  					return ErrIntOverflowExec
  4106  				}
  4107  				if iNdEx >= l {
  4108  					return io.ErrUnexpectedEOF
  4109  				}
  4110  				b := dAtA[iNdEx]
  4111  				iNdEx++
  4112  				msglen |= int(b&0x7F) << shift
  4113  				if b < 0x80 {
  4114  					break
  4115  				}
  4116  			}
  4117  			if msglen < 0 {
  4118  				return ErrInvalidLengthExec
  4119  			}
  4120  			postIndex := iNdEx + msglen
  4121  			if postIndex < 0 {
  4122  				return ErrInvalidLengthExec
  4123  			}
  4124  			if postIndex > l {
  4125  				return io.ErrUnexpectedEOF
  4126  			}
  4127  			if m.TxHeader == nil {
  4128  				m.TxHeader = &TxHeader{}
  4129  			}
  4130  			if err := m.TxHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4131  				return err
  4132  			}
  4133  			iNdEx = postIndex
  4134  		case 6:
  4135  			if wireType != 2 {
  4136  				return fmt.Errorf("proto: wrong wireType = %d for field Envelope", wireType)
  4137  			}
  4138  			var msglen int
  4139  			for shift := uint(0); ; shift += 7 {
  4140  				if shift >= 64 {
  4141  					return ErrIntOverflowExec
  4142  				}
  4143  				if iNdEx >= l {
  4144  					return io.ErrUnexpectedEOF
  4145  				}
  4146  				b := dAtA[iNdEx]
  4147  				iNdEx++
  4148  				msglen |= int(b&0x7F) << shift
  4149  				if b < 0x80 {
  4150  					break
  4151  				}
  4152  			}
  4153  			if msglen < 0 {
  4154  				return ErrInvalidLengthExec
  4155  			}
  4156  			postIndex := iNdEx + msglen
  4157  			if postIndex < 0 {
  4158  				return ErrInvalidLengthExec
  4159  			}
  4160  			if postIndex > l {
  4161  				return io.ErrUnexpectedEOF
  4162  			}
  4163  			if m.Envelope == nil {
  4164  				m.Envelope = &github_com_hyperledger_burrow_txs.Envelope{}
  4165  			}
  4166  			if err := m.Envelope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4167  				return err
  4168  			}
  4169  			iNdEx = postIndex
  4170  		case 7:
  4171  			if wireType != 2 {
  4172  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
  4173  			}
  4174  			var msglen int
  4175  			for shift := uint(0); ; shift += 7 {
  4176  				if shift >= 64 {
  4177  					return ErrIntOverflowExec
  4178  				}
  4179  				if iNdEx >= l {
  4180  					return io.ErrUnexpectedEOF
  4181  				}
  4182  				b := dAtA[iNdEx]
  4183  				iNdEx++
  4184  				msglen |= int(b&0x7F) << shift
  4185  				if b < 0x80 {
  4186  					break
  4187  				}
  4188  			}
  4189  			if msglen < 0 {
  4190  				return ErrInvalidLengthExec
  4191  			}
  4192  			postIndex := iNdEx + msglen
  4193  			if postIndex < 0 {
  4194  				return ErrInvalidLengthExec
  4195  			}
  4196  			if postIndex > l {
  4197  				return io.ErrUnexpectedEOF
  4198  			}
  4199  			m.Events = append(m.Events, &Event{})
  4200  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4201  				return err
  4202  			}
  4203  			iNdEx = postIndex
  4204  		case 8:
  4205  			if wireType != 2 {
  4206  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  4207  			}
  4208  			var msglen int
  4209  			for shift := uint(0); ; shift += 7 {
  4210  				if shift >= 64 {
  4211  					return ErrIntOverflowExec
  4212  				}
  4213  				if iNdEx >= l {
  4214  					return io.ErrUnexpectedEOF
  4215  				}
  4216  				b := dAtA[iNdEx]
  4217  				iNdEx++
  4218  				msglen |= int(b&0x7F) << shift
  4219  				if b < 0x80 {
  4220  					break
  4221  				}
  4222  			}
  4223  			if msglen < 0 {
  4224  				return ErrInvalidLengthExec
  4225  			}
  4226  			postIndex := iNdEx + msglen
  4227  			if postIndex < 0 {
  4228  				return ErrInvalidLengthExec
  4229  			}
  4230  			if postIndex > l {
  4231  				return io.ErrUnexpectedEOF
  4232  			}
  4233  			if m.Result == nil {
  4234  				m.Result = &Result{}
  4235  			}
  4236  			if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4237  				return err
  4238  			}
  4239  			iNdEx = postIndex
  4240  		case 9:
  4241  			if wireType != 2 {
  4242  				return fmt.Errorf("proto: wrong wireType = %d for field Receipt", wireType)
  4243  			}
  4244  			var msglen int
  4245  			for shift := uint(0); ; shift += 7 {
  4246  				if shift >= 64 {
  4247  					return ErrIntOverflowExec
  4248  				}
  4249  				if iNdEx >= l {
  4250  					return io.ErrUnexpectedEOF
  4251  				}
  4252  				b := dAtA[iNdEx]
  4253  				iNdEx++
  4254  				msglen |= int(b&0x7F) << shift
  4255  				if b < 0x80 {
  4256  					break
  4257  				}
  4258  			}
  4259  			if msglen < 0 {
  4260  				return ErrInvalidLengthExec
  4261  			}
  4262  			postIndex := iNdEx + msglen
  4263  			if postIndex < 0 {
  4264  				return ErrInvalidLengthExec
  4265  			}
  4266  			if postIndex > l {
  4267  				return io.ErrUnexpectedEOF
  4268  			}
  4269  			if m.Receipt == nil {
  4270  				m.Receipt = &txs.Receipt{}
  4271  			}
  4272  			if err := m.Receipt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4273  				return err
  4274  			}
  4275  			iNdEx = postIndex
  4276  		case 10:
  4277  			if wireType != 2 {
  4278  				return fmt.Errorf("proto: wrong wireType = %d for field Exception", wireType)
  4279  			}
  4280  			var msglen int
  4281  			for shift := uint(0); ; shift += 7 {
  4282  				if shift >= 64 {
  4283  					return ErrIntOverflowExec
  4284  				}
  4285  				if iNdEx >= l {
  4286  					return io.ErrUnexpectedEOF
  4287  				}
  4288  				b := dAtA[iNdEx]
  4289  				iNdEx++
  4290  				msglen |= int(b&0x7F) << shift
  4291  				if b < 0x80 {
  4292  					break
  4293  				}
  4294  			}
  4295  			if msglen < 0 {
  4296  				return ErrInvalidLengthExec
  4297  			}
  4298  			postIndex := iNdEx + msglen
  4299  			if postIndex < 0 {
  4300  				return ErrInvalidLengthExec
  4301  			}
  4302  			if postIndex > l {
  4303  				return io.ErrUnexpectedEOF
  4304  			}
  4305  			if m.Exception == nil {
  4306  				m.Exception = &errors.Exception{}
  4307  			}
  4308  			if err := m.Exception.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4309  				return err
  4310  			}
  4311  			iNdEx = postIndex
  4312  		case 11:
  4313  			if wireType != 2 {
  4314  				return fmt.Errorf("proto: wrong wireType = %d for field TxExecutions", wireType)
  4315  			}
  4316  			var msglen int
  4317  			for shift := uint(0); ; shift += 7 {
  4318  				if shift >= 64 {
  4319  					return ErrIntOverflowExec
  4320  				}
  4321  				if iNdEx >= l {
  4322  					return io.ErrUnexpectedEOF
  4323  				}
  4324  				b := dAtA[iNdEx]
  4325  				iNdEx++
  4326  				msglen |= int(b&0x7F) << shift
  4327  				if b < 0x80 {
  4328  					break
  4329  				}
  4330  			}
  4331  			if msglen < 0 {
  4332  				return ErrInvalidLengthExec
  4333  			}
  4334  			postIndex := iNdEx + msglen
  4335  			if postIndex < 0 {
  4336  				return ErrInvalidLengthExec
  4337  			}
  4338  			if postIndex > l {
  4339  				return io.ErrUnexpectedEOF
  4340  			}
  4341  			m.TxExecutions = append(m.TxExecutions, &TxExecution{})
  4342  			if err := m.TxExecutions[len(m.TxExecutions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4343  				return err
  4344  			}
  4345  			iNdEx = postIndex
  4346  		default:
  4347  			iNdEx = preIndex
  4348  			skippy, err := skipExec(dAtA[iNdEx:])
  4349  			if err != nil {
  4350  				return err
  4351  			}
  4352  			if skippy < 0 {
  4353  				return ErrInvalidLengthExec
  4354  			}
  4355  			if (iNdEx + skippy) < 0 {
  4356  				return ErrInvalidLengthExec
  4357  			}
  4358  			if (iNdEx + skippy) > l {
  4359  				return io.ErrUnexpectedEOF
  4360  			}
  4361  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4362  			iNdEx += skippy
  4363  		}
  4364  	}
  4365  
  4366  	if iNdEx > l {
  4367  		return io.ErrUnexpectedEOF
  4368  	}
  4369  	return nil
  4370  }
  4371  func (m *Origin) Unmarshal(dAtA []byte) error {
  4372  	l := len(dAtA)
  4373  	iNdEx := 0
  4374  	for iNdEx < l {
  4375  		preIndex := iNdEx
  4376  		var wire uint64
  4377  		for shift := uint(0); ; shift += 7 {
  4378  			if shift >= 64 {
  4379  				return ErrIntOverflowExec
  4380  			}
  4381  			if iNdEx >= l {
  4382  				return io.ErrUnexpectedEOF
  4383  			}
  4384  			b := dAtA[iNdEx]
  4385  			iNdEx++
  4386  			wire |= uint64(b&0x7F) << shift
  4387  			if b < 0x80 {
  4388  				break
  4389  			}
  4390  		}
  4391  		fieldNum := int32(wire >> 3)
  4392  		wireType := int(wire & 0x7)
  4393  		if wireType == 4 {
  4394  			return fmt.Errorf("proto: Origin: wiretype end group for non-group")
  4395  		}
  4396  		if fieldNum <= 0 {
  4397  			return fmt.Errorf("proto: Origin: illegal tag %d (wire type %d)", fieldNum, wire)
  4398  		}
  4399  		switch fieldNum {
  4400  		case 1:
  4401  			if wireType != 2 {
  4402  				return fmt.Errorf("proto: wrong wireType = %d for field ChainID", wireType)
  4403  			}
  4404  			var stringLen uint64
  4405  			for shift := uint(0); ; shift += 7 {
  4406  				if shift >= 64 {
  4407  					return ErrIntOverflowExec
  4408  				}
  4409  				if iNdEx >= l {
  4410  					return io.ErrUnexpectedEOF
  4411  				}
  4412  				b := dAtA[iNdEx]
  4413  				iNdEx++
  4414  				stringLen |= uint64(b&0x7F) << shift
  4415  				if b < 0x80 {
  4416  					break
  4417  				}
  4418  			}
  4419  			intStringLen := int(stringLen)
  4420  			if intStringLen < 0 {
  4421  				return ErrInvalidLengthExec
  4422  			}
  4423  			postIndex := iNdEx + intStringLen
  4424  			if postIndex < 0 {
  4425  				return ErrInvalidLengthExec
  4426  			}
  4427  			if postIndex > l {
  4428  				return io.ErrUnexpectedEOF
  4429  			}
  4430  			m.ChainID = string(dAtA[iNdEx:postIndex])
  4431  			iNdEx = postIndex
  4432  		case 2:
  4433  			if wireType != 0 {
  4434  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  4435  			}
  4436  			m.Height = 0
  4437  			for shift := uint(0); ; shift += 7 {
  4438  				if shift >= 64 {
  4439  					return ErrIntOverflowExec
  4440  				}
  4441  				if iNdEx >= l {
  4442  					return io.ErrUnexpectedEOF
  4443  				}
  4444  				b := dAtA[iNdEx]
  4445  				iNdEx++
  4446  				m.Height |= uint64(b&0x7F) << shift
  4447  				if b < 0x80 {
  4448  					break
  4449  				}
  4450  			}
  4451  		case 3:
  4452  			if wireType != 0 {
  4453  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
  4454  			}
  4455  			m.Index = 0
  4456  			for shift := uint(0); ; shift += 7 {
  4457  				if shift >= 64 {
  4458  					return ErrIntOverflowExec
  4459  				}
  4460  				if iNdEx >= l {
  4461  					return io.ErrUnexpectedEOF
  4462  				}
  4463  				b := dAtA[iNdEx]
  4464  				iNdEx++
  4465  				m.Index |= uint64(b&0x7F) << shift
  4466  				if b < 0x80 {
  4467  					break
  4468  				}
  4469  			}
  4470  		case 4:
  4471  			if wireType != 2 {
  4472  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  4473  			}
  4474  			var msglen int
  4475  			for shift := uint(0); ; shift += 7 {
  4476  				if shift >= 64 {
  4477  					return ErrIntOverflowExec
  4478  				}
  4479  				if iNdEx >= l {
  4480  					return io.ErrUnexpectedEOF
  4481  				}
  4482  				b := dAtA[iNdEx]
  4483  				iNdEx++
  4484  				msglen |= int(b&0x7F) << shift
  4485  				if b < 0x80 {
  4486  					break
  4487  				}
  4488  			}
  4489  			if msglen < 0 {
  4490  				return ErrInvalidLengthExec
  4491  			}
  4492  			postIndex := iNdEx + msglen
  4493  			if postIndex < 0 {
  4494  				return ErrInvalidLengthExec
  4495  			}
  4496  			if postIndex > l {
  4497  				return io.ErrUnexpectedEOF
  4498  			}
  4499  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
  4500  				return err
  4501  			}
  4502  			iNdEx = postIndex
  4503  		default:
  4504  			iNdEx = preIndex
  4505  			skippy, err := skipExec(dAtA[iNdEx:])
  4506  			if err != nil {
  4507  				return err
  4508  			}
  4509  			if skippy < 0 {
  4510  				return ErrInvalidLengthExec
  4511  			}
  4512  			if (iNdEx + skippy) < 0 {
  4513  				return ErrInvalidLengthExec
  4514  			}
  4515  			if (iNdEx + skippy) > l {
  4516  				return io.ErrUnexpectedEOF
  4517  			}
  4518  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4519  			iNdEx += skippy
  4520  		}
  4521  	}
  4522  
  4523  	if iNdEx > l {
  4524  		return io.ErrUnexpectedEOF
  4525  	}
  4526  	return nil
  4527  }
  4528  func (m *Header) Unmarshal(dAtA []byte) error {
  4529  	l := len(dAtA)
  4530  	iNdEx := 0
  4531  	for iNdEx < l {
  4532  		preIndex := iNdEx
  4533  		var wire uint64
  4534  		for shift := uint(0); ; shift += 7 {
  4535  			if shift >= 64 {
  4536  				return ErrIntOverflowExec
  4537  			}
  4538  			if iNdEx >= l {
  4539  				return io.ErrUnexpectedEOF
  4540  			}
  4541  			b := dAtA[iNdEx]
  4542  			iNdEx++
  4543  			wire |= uint64(b&0x7F) << shift
  4544  			if b < 0x80 {
  4545  				break
  4546  			}
  4547  		}
  4548  		fieldNum := int32(wire >> 3)
  4549  		wireType := int(wire & 0x7)
  4550  		if wireType == 4 {
  4551  			return fmt.Errorf("proto: Header: wiretype end group for non-group")
  4552  		}
  4553  		if fieldNum <= 0 {
  4554  			return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire)
  4555  		}
  4556  		switch fieldNum {
  4557  		case 1:
  4558  			if wireType != 0 {
  4559  				return fmt.Errorf("proto: wrong wireType = %d for field TxType", wireType)
  4560  			}
  4561  			m.TxType = 0
  4562  			for shift := uint(0); ; shift += 7 {
  4563  				if shift >= 64 {
  4564  					return ErrIntOverflowExec
  4565  				}
  4566  				if iNdEx >= l {
  4567  					return io.ErrUnexpectedEOF
  4568  				}
  4569  				b := dAtA[iNdEx]
  4570  				iNdEx++
  4571  				m.TxType |= github_com_hyperledger_burrow_txs_payload.Type(b&0x7F) << shift
  4572  				if b < 0x80 {
  4573  					break
  4574  				}
  4575  			}
  4576  		case 2:
  4577  			if wireType != 2 {
  4578  				return fmt.Errorf("proto: wrong wireType = %d for field TxHash", wireType)
  4579  			}
  4580  			var byteLen int
  4581  			for shift := uint(0); ; shift += 7 {
  4582  				if shift >= 64 {
  4583  					return ErrIntOverflowExec
  4584  				}
  4585  				if iNdEx >= l {
  4586  					return io.ErrUnexpectedEOF
  4587  				}
  4588  				b := dAtA[iNdEx]
  4589  				iNdEx++
  4590  				byteLen |= int(b&0x7F) << shift
  4591  				if b < 0x80 {
  4592  					break
  4593  				}
  4594  			}
  4595  			if byteLen < 0 {
  4596  				return ErrInvalidLengthExec
  4597  			}
  4598  			postIndex := iNdEx + byteLen
  4599  			if postIndex < 0 {
  4600  				return ErrInvalidLengthExec
  4601  			}
  4602  			if postIndex > l {
  4603  				return io.ErrUnexpectedEOF
  4604  			}
  4605  			if err := m.TxHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4606  				return err
  4607  			}
  4608  			iNdEx = postIndex
  4609  		case 3:
  4610  			if wireType != 0 {
  4611  				return fmt.Errorf("proto: wrong wireType = %d for field EventType", wireType)
  4612  			}
  4613  			m.EventType = 0
  4614  			for shift := uint(0); ; shift += 7 {
  4615  				if shift >= 64 {
  4616  					return ErrIntOverflowExec
  4617  				}
  4618  				if iNdEx >= l {
  4619  					return io.ErrUnexpectedEOF
  4620  				}
  4621  				b := dAtA[iNdEx]
  4622  				iNdEx++
  4623  				m.EventType |= EventType(b&0x7F) << shift
  4624  				if b < 0x80 {
  4625  					break
  4626  				}
  4627  			}
  4628  		case 4:
  4629  			if wireType != 2 {
  4630  				return fmt.Errorf("proto: wrong wireType = %d for field EventID", wireType)
  4631  			}
  4632  			var stringLen uint64
  4633  			for shift := uint(0); ; shift += 7 {
  4634  				if shift >= 64 {
  4635  					return ErrIntOverflowExec
  4636  				}
  4637  				if iNdEx >= l {
  4638  					return io.ErrUnexpectedEOF
  4639  				}
  4640  				b := dAtA[iNdEx]
  4641  				iNdEx++
  4642  				stringLen |= uint64(b&0x7F) << shift
  4643  				if b < 0x80 {
  4644  					break
  4645  				}
  4646  			}
  4647  			intStringLen := int(stringLen)
  4648  			if intStringLen < 0 {
  4649  				return ErrInvalidLengthExec
  4650  			}
  4651  			postIndex := iNdEx + intStringLen
  4652  			if postIndex < 0 {
  4653  				return ErrInvalidLengthExec
  4654  			}
  4655  			if postIndex > l {
  4656  				return io.ErrUnexpectedEOF
  4657  			}
  4658  			m.EventID = string(dAtA[iNdEx:postIndex])
  4659  			iNdEx = postIndex
  4660  		case 5:
  4661  			if wireType != 0 {
  4662  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  4663  			}
  4664  			m.Height = 0
  4665  			for shift := uint(0); ; shift += 7 {
  4666  				if shift >= 64 {
  4667  					return ErrIntOverflowExec
  4668  				}
  4669  				if iNdEx >= l {
  4670  					return io.ErrUnexpectedEOF
  4671  				}
  4672  				b := dAtA[iNdEx]
  4673  				iNdEx++
  4674  				m.Height |= uint64(b&0x7F) << shift
  4675  				if b < 0x80 {
  4676  					break
  4677  				}
  4678  			}
  4679  		case 6:
  4680  			if wireType != 0 {
  4681  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
  4682  			}
  4683  			m.Index = 0
  4684  			for shift := uint(0); ; shift += 7 {
  4685  				if shift >= 64 {
  4686  					return ErrIntOverflowExec
  4687  				}
  4688  				if iNdEx >= l {
  4689  					return io.ErrUnexpectedEOF
  4690  				}
  4691  				b := dAtA[iNdEx]
  4692  				iNdEx++
  4693  				m.Index |= uint64(b&0x7F) << shift
  4694  				if b < 0x80 {
  4695  					break
  4696  				}
  4697  			}
  4698  		case 7:
  4699  			if wireType != 2 {
  4700  				return fmt.Errorf("proto: wrong wireType = %d for field Exception", wireType)
  4701  			}
  4702  			var msglen int
  4703  			for shift := uint(0); ; shift += 7 {
  4704  				if shift >= 64 {
  4705  					return ErrIntOverflowExec
  4706  				}
  4707  				if iNdEx >= l {
  4708  					return io.ErrUnexpectedEOF
  4709  				}
  4710  				b := dAtA[iNdEx]
  4711  				iNdEx++
  4712  				msglen |= int(b&0x7F) << shift
  4713  				if b < 0x80 {
  4714  					break
  4715  				}
  4716  			}
  4717  			if msglen < 0 {
  4718  				return ErrInvalidLengthExec
  4719  			}
  4720  			postIndex := iNdEx + msglen
  4721  			if postIndex < 0 {
  4722  				return ErrInvalidLengthExec
  4723  			}
  4724  			if postIndex > l {
  4725  				return io.ErrUnexpectedEOF
  4726  			}
  4727  			if m.Exception == nil {
  4728  				m.Exception = &errors.Exception{}
  4729  			}
  4730  			if err := m.Exception.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4731  				return err
  4732  			}
  4733  			iNdEx = postIndex
  4734  		default:
  4735  			iNdEx = preIndex
  4736  			skippy, err := skipExec(dAtA[iNdEx:])
  4737  			if err != nil {
  4738  				return err
  4739  			}
  4740  			if skippy < 0 {
  4741  				return ErrInvalidLengthExec
  4742  			}
  4743  			if (iNdEx + skippy) < 0 {
  4744  				return ErrInvalidLengthExec
  4745  			}
  4746  			if (iNdEx + skippy) > l {
  4747  				return io.ErrUnexpectedEOF
  4748  			}
  4749  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4750  			iNdEx += skippy
  4751  		}
  4752  	}
  4753  
  4754  	if iNdEx > l {
  4755  		return io.ErrUnexpectedEOF
  4756  	}
  4757  	return nil
  4758  }
  4759  func (m *Event) Unmarshal(dAtA []byte) error {
  4760  	l := len(dAtA)
  4761  	iNdEx := 0
  4762  	for iNdEx < l {
  4763  		preIndex := iNdEx
  4764  		var wire uint64
  4765  		for shift := uint(0); ; shift += 7 {
  4766  			if shift >= 64 {
  4767  				return ErrIntOverflowExec
  4768  			}
  4769  			if iNdEx >= l {
  4770  				return io.ErrUnexpectedEOF
  4771  			}
  4772  			b := dAtA[iNdEx]
  4773  			iNdEx++
  4774  			wire |= uint64(b&0x7F) << shift
  4775  			if b < 0x80 {
  4776  				break
  4777  			}
  4778  		}
  4779  		fieldNum := int32(wire >> 3)
  4780  		wireType := int(wire & 0x7)
  4781  		if wireType == 4 {
  4782  			return fmt.Errorf("proto: Event: wiretype end group for non-group")
  4783  		}
  4784  		if fieldNum <= 0 {
  4785  			return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
  4786  		}
  4787  		switch fieldNum {
  4788  		case 1:
  4789  			if wireType != 2 {
  4790  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  4791  			}
  4792  			var msglen int
  4793  			for shift := uint(0); ; shift += 7 {
  4794  				if shift >= 64 {
  4795  					return ErrIntOverflowExec
  4796  				}
  4797  				if iNdEx >= l {
  4798  					return io.ErrUnexpectedEOF
  4799  				}
  4800  				b := dAtA[iNdEx]
  4801  				iNdEx++
  4802  				msglen |= int(b&0x7F) << shift
  4803  				if b < 0x80 {
  4804  					break
  4805  				}
  4806  			}
  4807  			if msglen < 0 {
  4808  				return ErrInvalidLengthExec
  4809  			}
  4810  			postIndex := iNdEx + msglen
  4811  			if postIndex < 0 {
  4812  				return ErrInvalidLengthExec
  4813  			}
  4814  			if postIndex > l {
  4815  				return io.ErrUnexpectedEOF
  4816  			}
  4817  			if m.Header == nil {
  4818  				m.Header = &Header{}
  4819  			}
  4820  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4821  				return err
  4822  			}
  4823  			iNdEx = postIndex
  4824  		case 2:
  4825  			if wireType != 2 {
  4826  				return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType)
  4827  			}
  4828  			var msglen int
  4829  			for shift := uint(0); ; shift += 7 {
  4830  				if shift >= 64 {
  4831  					return ErrIntOverflowExec
  4832  				}
  4833  				if iNdEx >= l {
  4834  					return io.ErrUnexpectedEOF
  4835  				}
  4836  				b := dAtA[iNdEx]
  4837  				iNdEx++
  4838  				msglen |= int(b&0x7F) << shift
  4839  				if b < 0x80 {
  4840  					break
  4841  				}
  4842  			}
  4843  			if msglen < 0 {
  4844  				return ErrInvalidLengthExec
  4845  			}
  4846  			postIndex := iNdEx + msglen
  4847  			if postIndex < 0 {
  4848  				return ErrInvalidLengthExec
  4849  			}
  4850  			if postIndex > l {
  4851  				return io.ErrUnexpectedEOF
  4852  			}
  4853  			if m.Input == nil {
  4854  				m.Input = &InputEvent{}
  4855  			}
  4856  			if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4857  				return err
  4858  			}
  4859  			iNdEx = postIndex
  4860  		case 3:
  4861  			if wireType != 2 {
  4862  				return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType)
  4863  			}
  4864  			var msglen int
  4865  			for shift := uint(0); ; shift += 7 {
  4866  				if shift >= 64 {
  4867  					return ErrIntOverflowExec
  4868  				}
  4869  				if iNdEx >= l {
  4870  					return io.ErrUnexpectedEOF
  4871  				}
  4872  				b := dAtA[iNdEx]
  4873  				iNdEx++
  4874  				msglen |= int(b&0x7F) << shift
  4875  				if b < 0x80 {
  4876  					break
  4877  				}
  4878  			}
  4879  			if msglen < 0 {
  4880  				return ErrInvalidLengthExec
  4881  			}
  4882  			postIndex := iNdEx + msglen
  4883  			if postIndex < 0 {
  4884  				return ErrInvalidLengthExec
  4885  			}
  4886  			if postIndex > l {
  4887  				return io.ErrUnexpectedEOF
  4888  			}
  4889  			if m.Output == nil {
  4890  				m.Output = &OutputEvent{}
  4891  			}
  4892  			if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4893  				return err
  4894  			}
  4895  			iNdEx = postIndex
  4896  		case 4:
  4897  			if wireType != 2 {
  4898  				return fmt.Errorf("proto: wrong wireType = %d for field Call", wireType)
  4899  			}
  4900  			var msglen int
  4901  			for shift := uint(0); ; shift += 7 {
  4902  				if shift >= 64 {
  4903  					return ErrIntOverflowExec
  4904  				}
  4905  				if iNdEx >= l {
  4906  					return io.ErrUnexpectedEOF
  4907  				}
  4908  				b := dAtA[iNdEx]
  4909  				iNdEx++
  4910  				msglen |= int(b&0x7F) << shift
  4911  				if b < 0x80 {
  4912  					break
  4913  				}
  4914  			}
  4915  			if msglen < 0 {
  4916  				return ErrInvalidLengthExec
  4917  			}
  4918  			postIndex := iNdEx + msglen
  4919  			if postIndex < 0 {
  4920  				return ErrInvalidLengthExec
  4921  			}
  4922  			if postIndex > l {
  4923  				return io.ErrUnexpectedEOF
  4924  			}
  4925  			if m.Call == nil {
  4926  				m.Call = &CallEvent{}
  4927  			}
  4928  			if err := m.Call.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4929  				return err
  4930  			}
  4931  			iNdEx = postIndex
  4932  		case 5:
  4933  			if wireType != 2 {
  4934  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
  4935  			}
  4936  			var msglen int
  4937  			for shift := uint(0); ; shift += 7 {
  4938  				if shift >= 64 {
  4939  					return ErrIntOverflowExec
  4940  				}
  4941  				if iNdEx >= l {
  4942  					return io.ErrUnexpectedEOF
  4943  				}
  4944  				b := dAtA[iNdEx]
  4945  				iNdEx++
  4946  				msglen |= int(b&0x7F) << shift
  4947  				if b < 0x80 {
  4948  					break
  4949  				}
  4950  			}
  4951  			if msglen < 0 {
  4952  				return ErrInvalidLengthExec
  4953  			}
  4954  			postIndex := iNdEx + msglen
  4955  			if postIndex < 0 {
  4956  				return ErrInvalidLengthExec
  4957  			}
  4958  			if postIndex > l {
  4959  				return io.ErrUnexpectedEOF
  4960  			}
  4961  			if m.Log == nil {
  4962  				m.Log = &LogEvent{}
  4963  			}
  4964  			if err := m.Log.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4965  				return err
  4966  			}
  4967  			iNdEx = postIndex
  4968  		case 6:
  4969  			if wireType != 2 {
  4970  				return fmt.Errorf("proto: wrong wireType = %d for field GovernAccount", wireType)
  4971  			}
  4972  			var msglen int
  4973  			for shift := uint(0); ; shift += 7 {
  4974  				if shift >= 64 {
  4975  					return ErrIntOverflowExec
  4976  				}
  4977  				if iNdEx >= l {
  4978  					return io.ErrUnexpectedEOF
  4979  				}
  4980  				b := dAtA[iNdEx]
  4981  				iNdEx++
  4982  				msglen |= int(b&0x7F) << shift
  4983  				if b < 0x80 {
  4984  					break
  4985  				}
  4986  			}
  4987  			if msglen < 0 {
  4988  				return ErrInvalidLengthExec
  4989  			}
  4990  			postIndex := iNdEx + msglen
  4991  			if postIndex < 0 {
  4992  				return ErrInvalidLengthExec
  4993  			}
  4994  			if postIndex > l {
  4995  				return io.ErrUnexpectedEOF
  4996  			}
  4997  			if m.GovernAccount == nil {
  4998  				m.GovernAccount = &GovernAccountEvent{}
  4999  			}
  5000  			if err := m.GovernAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5001  				return err
  5002  			}
  5003  			iNdEx = postIndex
  5004  		default:
  5005  			iNdEx = preIndex
  5006  			skippy, err := skipExec(dAtA[iNdEx:])
  5007  			if err != nil {
  5008  				return err
  5009  			}
  5010  			if skippy < 0 {
  5011  				return ErrInvalidLengthExec
  5012  			}
  5013  			if (iNdEx + skippy) < 0 {
  5014  				return ErrInvalidLengthExec
  5015  			}
  5016  			if (iNdEx + skippy) > l {
  5017  				return io.ErrUnexpectedEOF
  5018  			}
  5019  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5020  			iNdEx += skippy
  5021  		}
  5022  	}
  5023  
  5024  	if iNdEx > l {
  5025  		return io.ErrUnexpectedEOF
  5026  	}
  5027  	return nil
  5028  }
  5029  func (m *Result) Unmarshal(dAtA []byte) error {
  5030  	l := len(dAtA)
  5031  	iNdEx := 0
  5032  	for iNdEx < l {
  5033  		preIndex := iNdEx
  5034  		var wire uint64
  5035  		for shift := uint(0); ; shift += 7 {
  5036  			if shift >= 64 {
  5037  				return ErrIntOverflowExec
  5038  			}
  5039  			if iNdEx >= l {
  5040  				return io.ErrUnexpectedEOF
  5041  			}
  5042  			b := dAtA[iNdEx]
  5043  			iNdEx++
  5044  			wire |= uint64(b&0x7F) << shift
  5045  			if b < 0x80 {
  5046  				break
  5047  			}
  5048  		}
  5049  		fieldNum := int32(wire >> 3)
  5050  		wireType := int(wire & 0x7)
  5051  		if wireType == 4 {
  5052  			return fmt.Errorf("proto: Result: wiretype end group for non-group")
  5053  		}
  5054  		if fieldNum <= 0 {
  5055  			return fmt.Errorf("proto: Result: illegal tag %d (wire type %d)", fieldNum, wire)
  5056  		}
  5057  		switch fieldNum {
  5058  		case 1:
  5059  			if wireType != 2 {
  5060  				return fmt.Errorf("proto: wrong wireType = %d for field Return", wireType)
  5061  			}
  5062  			var byteLen int
  5063  			for shift := uint(0); ; shift += 7 {
  5064  				if shift >= 64 {
  5065  					return ErrIntOverflowExec
  5066  				}
  5067  				if iNdEx >= l {
  5068  					return io.ErrUnexpectedEOF
  5069  				}
  5070  				b := dAtA[iNdEx]
  5071  				iNdEx++
  5072  				byteLen |= int(b&0x7F) << shift
  5073  				if b < 0x80 {
  5074  					break
  5075  				}
  5076  			}
  5077  			if byteLen < 0 {
  5078  				return ErrInvalidLengthExec
  5079  			}
  5080  			postIndex := iNdEx + byteLen
  5081  			if postIndex < 0 {
  5082  				return ErrInvalidLengthExec
  5083  			}
  5084  			if postIndex > l {
  5085  				return io.ErrUnexpectedEOF
  5086  			}
  5087  			m.Return = append(m.Return[:0], dAtA[iNdEx:postIndex]...)
  5088  			if m.Return == nil {
  5089  				m.Return = []byte{}
  5090  			}
  5091  			iNdEx = postIndex
  5092  		case 2:
  5093  			if wireType != 0 {
  5094  				return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType)
  5095  			}
  5096  			m.GasUsed = 0
  5097  			for shift := uint(0); ; shift += 7 {
  5098  				if shift >= 64 {
  5099  					return ErrIntOverflowExec
  5100  				}
  5101  				if iNdEx >= l {
  5102  					return io.ErrUnexpectedEOF
  5103  				}
  5104  				b := dAtA[iNdEx]
  5105  				iNdEx++
  5106  				m.GasUsed |= uint64(b&0x7F) << shift
  5107  				if b < 0x80 {
  5108  					break
  5109  				}
  5110  			}
  5111  		case 3:
  5112  			if wireType != 2 {
  5113  				return fmt.Errorf("proto: wrong wireType = %d for field NameEntry", wireType)
  5114  			}
  5115  			var msglen int
  5116  			for shift := uint(0); ; shift += 7 {
  5117  				if shift >= 64 {
  5118  					return ErrIntOverflowExec
  5119  				}
  5120  				if iNdEx >= l {
  5121  					return io.ErrUnexpectedEOF
  5122  				}
  5123  				b := dAtA[iNdEx]
  5124  				iNdEx++
  5125  				msglen |= int(b&0x7F) << shift
  5126  				if b < 0x80 {
  5127  					break
  5128  				}
  5129  			}
  5130  			if msglen < 0 {
  5131  				return ErrInvalidLengthExec
  5132  			}
  5133  			postIndex := iNdEx + msglen
  5134  			if postIndex < 0 {
  5135  				return ErrInvalidLengthExec
  5136  			}
  5137  			if postIndex > l {
  5138  				return io.ErrUnexpectedEOF
  5139  			}
  5140  			if m.NameEntry == nil {
  5141  				m.NameEntry = &names.Entry{}
  5142  			}
  5143  			if err := m.NameEntry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5144  				return err
  5145  			}
  5146  			iNdEx = postIndex
  5147  		case 4:
  5148  			if wireType != 2 {
  5149  				return fmt.Errorf("proto: wrong wireType = %d for field PermArgs", wireType)
  5150  			}
  5151  			var msglen int
  5152  			for shift := uint(0); ; shift += 7 {
  5153  				if shift >= 64 {
  5154  					return ErrIntOverflowExec
  5155  				}
  5156  				if iNdEx >= l {
  5157  					return io.ErrUnexpectedEOF
  5158  				}
  5159  				b := dAtA[iNdEx]
  5160  				iNdEx++
  5161  				msglen |= int(b&0x7F) << shift
  5162  				if b < 0x80 {
  5163  					break
  5164  				}
  5165  			}
  5166  			if msglen < 0 {
  5167  				return ErrInvalidLengthExec
  5168  			}
  5169  			postIndex := iNdEx + msglen
  5170  			if postIndex < 0 {
  5171  				return ErrInvalidLengthExec
  5172  			}
  5173  			if postIndex > l {
  5174  				return io.ErrUnexpectedEOF
  5175  			}
  5176  			if m.PermArgs == nil {
  5177  				m.PermArgs = &permission.PermArgs{}
  5178  			}
  5179  			if err := m.PermArgs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5180  				return err
  5181  			}
  5182  			iNdEx = postIndex
  5183  		default:
  5184  			iNdEx = preIndex
  5185  			skippy, err := skipExec(dAtA[iNdEx:])
  5186  			if err != nil {
  5187  				return err
  5188  			}
  5189  			if skippy < 0 {
  5190  				return ErrInvalidLengthExec
  5191  			}
  5192  			if (iNdEx + skippy) < 0 {
  5193  				return ErrInvalidLengthExec
  5194  			}
  5195  			if (iNdEx + skippy) > l {
  5196  				return io.ErrUnexpectedEOF
  5197  			}
  5198  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5199  			iNdEx += skippy
  5200  		}
  5201  	}
  5202  
  5203  	if iNdEx > l {
  5204  		return io.ErrUnexpectedEOF
  5205  	}
  5206  	return nil
  5207  }
  5208  func (m *LogEvent) Unmarshal(dAtA []byte) error {
  5209  	l := len(dAtA)
  5210  	iNdEx := 0
  5211  	for iNdEx < l {
  5212  		preIndex := iNdEx
  5213  		var wire uint64
  5214  		for shift := uint(0); ; shift += 7 {
  5215  			if shift >= 64 {
  5216  				return ErrIntOverflowExec
  5217  			}
  5218  			if iNdEx >= l {
  5219  				return io.ErrUnexpectedEOF
  5220  			}
  5221  			b := dAtA[iNdEx]
  5222  			iNdEx++
  5223  			wire |= uint64(b&0x7F) << shift
  5224  			if b < 0x80 {
  5225  				break
  5226  			}
  5227  		}
  5228  		fieldNum := int32(wire >> 3)
  5229  		wireType := int(wire & 0x7)
  5230  		if wireType == 4 {
  5231  			return fmt.Errorf("proto: LogEvent: wiretype end group for non-group")
  5232  		}
  5233  		if fieldNum <= 0 {
  5234  			return fmt.Errorf("proto: LogEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  5235  		}
  5236  		switch fieldNum {
  5237  		case 1:
  5238  			if wireType != 2 {
  5239  				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  5240  			}
  5241  			var byteLen int
  5242  			for shift := uint(0); ; shift += 7 {
  5243  				if shift >= 64 {
  5244  					return ErrIntOverflowExec
  5245  				}
  5246  				if iNdEx >= l {
  5247  					return io.ErrUnexpectedEOF
  5248  				}
  5249  				b := dAtA[iNdEx]
  5250  				iNdEx++
  5251  				byteLen |= int(b&0x7F) << shift
  5252  				if b < 0x80 {
  5253  					break
  5254  				}
  5255  			}
  5256  			if byteLen < 0 {
  5257  				return ErrInvalidLengthExec
  5258  			}
  5259  			postIndex := iNdEx + byteLen
  5260  			if postIndex < 0 {
  5261  				return ErrInvalidLengthExec
  5262  			}
  5263  			if postIndex > l {
  5264  				return io.ErrUnexpectedEOF
  5265  			}
  5266  			if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5267  				return err
  5268  			}
  5269  			iNdEx = postIndex
  5270  		case 2:
  5271  			if wireType != 2 {
  5272  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  5273  			}
  5274  			var byteLen int
  5275  			for shift := uint(0); ; shift += 7 {
  5276  				if shift >= 64 {
  5277  					return ErrIntOverflowExec
  5278  				}
  5279  				if iNdEx >= l {
  5280  					return io.ErrUnexpectedEOF
  5281  				}
  5282  				b := dAtA[iNdEx]
  5283  				iNdEx++
  5284  				byteLen |= int(b&0x7F) << shift
  5285  				if b < 0x80 {
  5286  					break
  5287  				}
  5288  			}
  5289  			if byteLen < 0 {
  5290  				return ErrInvalidLengthExec
  5291  			}
  5292  			postIndex := iNdEx + byteLen
  5293  			if postIndex < 0 {
  5294  				return ErrInvalidLengthExec
  5295  			}
  5296  			if postIndex > l {
  5297  				return io.ErrUnexpectedEOF
  5298  			}
  5299  			if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5300  				return err
  5301  			}
  5302  			iNdEx = postIndex
  5303  		case 3:
  5304  			if wireType != 2 {
  5305  				return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType)
  5306  			}
  5307  			var byteLen int
  5308  			for shift := uint(0); ; shift += 7 {
  5309  				if shift >= 64 {
  5310  					return ErrIntOverflowExec
  5311  				}
  5312  				if iNdEx >= l {
  5313  					return io.ErrUnexpectedEOF
  5314  				}
  5315  				b := dAtA[iNdEx]
  5316  				iNdEx++
  5317  				byteLen |= int(b&0x7F) << shift
  5318  				if b < 0x80 {
  5319  					break
  5320  				}
  5321  			}
  5322  			if byteLen < 0 {
  5323  				return ErrInvalidLengthExec
  5324  			}
  5325  			postIndex := iNdEx + byteLen
  5326  			if postIndex < 0 {
  5327  				return ErrInvalidLengthExec
  5328  			}
  5329  			if postIndex > l {
  5330  				return io.ErrUnexpectedEOF
  5331  			}
  5332  			var v github_com_hyperledger_burrow_binary.Word256
  5333  			m.Topics = append(m.Topics, v)
  5334  			if err := m.Topics[len(m.Topics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5335  				return err
  5336  			}
  5337  			iNdEx = postIndex
  5338  		default:
  5339  			iNdEx = preIndex
  5340  			skippy, err := skipExec(dAtA[iNdEx:])
  5341  			if err != nil {
  5342  				return err
  5343  			}
  5344  			if skippy < 0 {
  5345  				return ErrInvalidLengthExec
  5346  			}
  5347  			if (iNdEx + skippy) < 0 {
  5348  				return ErrInvalidLengthExec
  5349  			}
  5350  			if (iNdEx + skippy) > l {
  5351  				return io.ErrUnexpectedEOF
  5352  			}
  5353  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5354  			iNdEx += skippy
  5355  		}
  5356  	}
  5357  
  5358  	if iNdEx > l {
  5359  		return io.ErrUnexpectedEOF
  5360  	}
  5361  	return nil
  5362  }
  5363  func (m *CallEvent) Unmarshal(dAtA []byte) error {
  5364  	l := len(dAtA)
  5365  	iNdEx := 0
  5366  	for iNdEx < l {
  5367  		preIndex := iNdEx
  5368  		var wire uint64
  5369  		for shift := uint(0); ; shift += 7 {
  5370  			if shift >= 64 {
  5371  				return ErrIntOverflowExec
  5372  			}
  5373  			if iNdEx >= l {
  5374  				return io.ErrUnexpectedEOF
  5375  			}
  5376  			b := dAtA[iNdEx]
  5377  			iNdEx++
  5378  			wire |= uint64(b&0x7F) << shift
  5379  			if b < 0x80 {
  5380  				break
  5381  			}
  5382  		}
  5383  		fieldNum := int32(wire >> 3)
  5384  		wireType := int(wire & 0x7)
  5385  		if wireType == 4 {
  5386  			return fmt.Errorf("proto: CallEvent: wiretype end group for non-group")
  5387  		}
  5388  		if fieldNum <= 0 {
  5389  			return fmt.Errorf("proto: CallEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  5390  		}
  5391  		switch fieldNum {
  5392  		case 1:
  5393  			if wireType != 2 {
  5394  				return fmt.Errorf("proto: wrong wireType = %d for field CallData", wireType)
  5395  			}
  5396  			var msglen int
  5397  			for shift := uint(0); ; shift += 7 {
  5398  				if shift >= 64 {
  5399  					return ErrIntOverflowExec
  5400  				}
  5401  				if iNdEx >= l {
  5402  					return io.ErrUnexpectedEOF
  5403  				}
  5404  				b := dAtA[iNdEx]
  5405  				iNdEx++
  5406  				msglen |= int(b&0x7F) << shift
  5407  				if b < 0x80 {
  5408  					break
  5409  				}
  5410  			}
  5411  			if msglen < 0 {
  5412  				return ErrInvalidLengthExec
  5413  			}
  5414  			postIndex := iNdEx + msglen
  5415  			if postIndex < 0 {
  5416  				return ErrInvalidLengthExec
  5417  			}
  5418  			if postIndex > l {
  5419  				return io.ErrUnexpectedEOF
  5420  			}
  5421  			if m.CallData == nil {
  5422  				m.CallData = &CallData{}
  5423  			}
  5424  			if err := m.CallData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5425  				return err
  5426  			}
  5427  			iNdEx = postIndex
  5428  		case 2:
  5429  			if wireType != 2 {
  5430  				return fmt.Errorf("proto: wrong wireType = %d for field Origin", wireType)
  5431  			}
  5432  			var byteLen int
  5433  			for shift := uint(0); ; shift += 7 {
  5434  				if shift >= 64 {
  5435  					return ErrIntOverflowExec
  5436  				}
  5437  				if iNdEx >= l {
  5438  					return io.ErrUnexpectedEOF
  5439  				}
  5440  				b := dAtA[iNdEx]
  5441  				iNdEx++
  5442  				byteLen |= int(b&0x7F) << shift
  5443  				if b < 0x80 {
  5444  					break
  5445  				}
  5446  			}
  5447  			if byteLen < 0 {
  5448  				return ErrInvalidLengthExec
  5449  			}
  5450  			postIndex := iNdEx + byteLen
  5451  			if postIndex < 0 {
  5452  				return ErrInvalidLengthExec
  5453  			}
  5454  			if postIndex > l {
  5455  				return io.ErrUnexpectedEOF
  5456  			}
  5457  			if err := m.Origin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5458  				return err
  5459  			}
  5460  			iNdEx = postIndex
  5461  		case 3:
  5462  			if wireType != 0 {
  5463  				return fmt.Errorf("proto: wrong wireType = %d for field StackDepth", wireType)
  5464  			}
  5465  			m.StackDepth = 0
  5466  			for shift := uint(0); ; shift += 7 {
  5467  				if shift >= 64 {
  5468  					return ErrIntOverflowExec
  5469  				}
  5470  				if iNdEx >= l {
  5471  					return io.ErrUnexpectedEOF
  5472  				}
  5473  				b := dAtA[iNdEx]
  5474  				iNdEx++
  5475  				m.StackDepth |= uint64(b&0x7F) << shift
  5476  				if b < 0x80 {
  5477  					break
  5478  				}
  5479  			}
  5480  		case 4:
  5481  			if wireType != 2 {
  5482  				return fmt.Errorf("proto: wrong wireType = %d for field Return", wireType)
  5483  			}
  5484  			var byteLen int
  5485  			for shift := uint(0); ; shift += 7 {
  5486  				if shift >= 64 {
  5487  					return ErrIntOverflowExec
  5488  				}
  5489  				if iNdEx >= l {
  5490  					return io.ErrUnexpectedEOF
  5491  				}
  5492  				b := dAtA[iNdEx]
  5493  				iNdEx++
  5494  				byteLen |= int(b&0x7F) << shift
  5495  				if b < 0x80 {
  5496  					break
  5497  				}
  5498  			}
  5499  			if byteLen < 0 {
  5500  				return ErrInvalidLengthExec
  5501  			}
  5502  			postIndex := iNdEx + byteLen
  5503  			if postIndex < 0 {
  5504  				return ErrInvalidLengthExec
  5505  			}
  5506  			if postIndex > l {
  5507  				return io.ErrUnexpectedEOF
  5508  			}
  5509  			if err := m.Return.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5510  				return err
  5511  			}
  5512  			iNdEx = postIndex
  5513  		case 5:
  5514  			if wireType != 0 {
  5515  				return fmt.Errorf("proto: wrong wireType = %d for field CallType", wireType)
  5516  			}
  5517  			m.CallType = 0
  5518  			for shift := uint(0); ; shift += 7 {
  5519  				if shift >= 64 {
  5520  					return ErrIntOverflowExec
  5521  				}
  5522  				if iNdEx >= l {
  5523  					return io.ErrUnexpectedEOF
  5524  				}
  5525  				b := dAtA[iNdEx]
  5526  				iNdEx++
  5527  				m.CallType |= CallType(b&0x7F) << shift
  5528  				if b < 0x80 {
  5529  					break
  5530  				}
  5531  			}
  5532  		default:
  5533  			iNdEx = preIndex
  5534  			skippy, err := skipExec(dAtA[iNdEx:])
  5535  			if err != nil {
  5536  				return err
  5537  			}
  5538  			if skippy < 0 {
  5539  				return ErrInvalidLengthExec
  5540  			}
  5541  			if (iNdEx + skippy) < 0 {
  5542  				return ErrInvalidLengthExec
  5543  			}
  5544  			if (iNdEx + skippy) > l {
  5545  				return io.ErrUnexpectedEOF
  5546  			}
  5547  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5548  			iNdEx += skippy
  5549  		}
  5550  	}
  5551  
  5552  	if iNdEx > l {
  5553  		return io.ErrUnexpectedEOF
  5554  	}
  5555  	return nil
  5556  }
  5557  func (m *GovernAccountEvent) Unmarshal(dAtA []byte) error {
  5558  	l := len(dAtA)
  5559  	iNdEx := 0
  5560  	for iNdEx < l {
  5561  		preIndex := iNdEx
  5562  		var wire uint64
  5563  		for shift := uint(0); ; shift += 7 {
  5564  			if shift >= 64 {
  5565  				return ErrIntOverflowExec
  5566  			}
  5567  			if iNdEx >= l {
  5568  				return io.ErrUnexpectedEOF
  5569  			}
  5570  			b := dAtA[iNdEx]
  5571  			iNdEx++
  5572  			wire |= uint64(b&0x7F) << shift
  5573  			if b < 0x80 {
  5574  				break
  5575  			}
  5576  		}
  5577  		fieldNum := int32(wire >> 3)
  5578  		wireType := int(wire & 0x7)
  5579  		if wireType == 4 {
  5580  			return fmt.Errorf("proto: GovernAccountEvent: wiretype end group for non-group")
  5581  		}
  5582  		if fieldNum <= 0 {
  5583  			return fmt.Errorf("proto: GovernAccountEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  5584  		}
  5585  		switch fieldNum {
  5586  		case 1:
  5587  			if wireType != 2 {
  5588  				return fmt.Errorf("proto: wrong wireType = %d for field AccountUpdate", wireType)
  5589  			}
  5590  			var msglen int
  5591  			for shift := uint(0); ; shift += 7 {
  5592  				if shift >= 64 {
  5593  					return ErrIntOverflowExec
  5594  				}
  5595  				if iNdEx >= l {
  5596  					return io.ErrUnexpectedEOF
  5597  				}
  5598  				b := dAtA[iNdEx]
  5599  				iNdEx++
  5600  				msglen |= int(b&0x7F) << shift
  5601  				if b < 0x80 {
  5602  					break
  5603  				}
  5604  			}
  5605  			if msglen < 0 {
  5606  				return ErrInvalidLengthExec
  5607  			}
  5608  			postIndex := iNdEx + msglen
  5609  			if postIndex < 0 {
  5610  				return ErrInvalidLengthExec
  5611  			}
  5612  			if postIndex > l {
  5613  				return io.ErrUnexpectedEOF
  5614  			}
  5615  			if m.AccountUpdate == nil {
  5616  				m.AccountUpdate = &spec.TemplateAccount{}
  5617  			}
  5618  			if err := m.AccountUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5619  				return err
  5620  			}
  5621  			iNdEx = postIndex
  5622  		default:
  5623  			iNdEx = preIndex
  5624  			skippy, err := skipExec(dAtA[iNdEx:])
  5625  			if err != nil {
  5626  				return err
  5627  			}
  5628  			if skippy < 0 {
  5629  				return ErrInvalidLengthExec
  5630  			}
  5631  			if (iNdEx + skippy) < 0 {
  5632  				return ErrInvalidLengthExec
  5633  			}
  5634  			if (iNdEx + skippy) > l {
  5635  				return io.ErrUnexpectedEOF
  5636  			}
  5637  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5638  			iNdEx += skippy
  5639  		}
  5640  	}
  5641  
  5642  	if iNdEx > l {
  5643  		return io.ErrUnexpectedEOF
  5644  	}
  5645  	return nil
  5646  }
  5647  func (m *InputEvent) Unmarshal(dAtA []byte) error {
  5648  	l := len(dAtA)
  5649  	iNdEx := 0
  5650  	for iNdEx < l {
  5651  		preIndex := iNdEx
  5652  		var wire uint64
  5653  		for shift := uint(0); ; shift += 7 {
  5654  			if shift >= 64 {
  5655  				return ErrIntOverflowExec
  5656  			}
  5657  			if iNdEx >= l {
  5658  				return io.ErrUnexpectedEOF
  5659  			}
  5660  			b := dAtA[iNdEx]
  5661  			iNdEx++
  5662  			wire |= uint64(b&0x7F) << shift
  5663  			if b < 0x80 {
  5664  				break
  5665  			}
  5666  		}
  5667  		fieldNum := int32(wire >> 3)
  5668  		wireType := int(wire & 0x7)
  5669  		if wireType == 4 {
  5670  			return fmt.Errorf("proto: InputEvent: wiretype end group for non-group")
  5671  		}
  5672  		if fieldNum <= 0 {
  5673  			return fmt.Errorf("proto: InputEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  5674  		}
  5675  		switch fieldNum {
  5676  		case 1:
  5677  			if wireType != 2 {
  5678  				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  5679  			}
  5680  			var byteLen int
  5681  			for shift := uint(0); ; shift += 7 {
  5682  				if shift >= 64 {
  5683  					return ErrIntOverflowExec
  5684  				}
  5685  				if iNdEx >= l {
  5686  					return io.ErrUnexpectedEOF
  5687  				}
  5688  				b := dAtA[iNdEx]
  5689  				iNdEx++
  5690  				byteLen |= int(b&0x7F) << shift
  5691  				if b < 0x80 {
  5692  					break
  5693  				}
  5694  			}
  5695  			if byteLen < 0 {
  5696  				return ErrInvalidLengthExec
  5697  			}
  5698  			postIndex := iNdEx + byteLen
  5699  			if postIndex < 0 {
  5700  				return ErrInvalidLengthExec
  5701  			}
  5702  			if postIndex > l {
  5703  				return io.ErrUnexpectedEOF
  5704  			}
  5705  			if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5706  				return err
  5707  			}
  5708  			iNdEx = postIndex
  5709  		default:
  5710  			iNdEx = preIndex
  5711  			skippy, err := skipExec(dAtA[iNdEx:])
  5712  			if err != nil {
  5713  				return err
  5714  			}
  5715  			if skippy < 0 {
  5716  				return ErrInvalidLengthExec
  5717  			}
  5718  			if (iNdEx + skippy) < 0 {
  5719  				return ErrInvalidLengthExec
  5720  			}
  5721  			if (iNdEx + skippy) > l {
  5722  				return io.ErrUnexpectedEOF
  5723  			}
  5724  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5725  			iNdEx += skippy
  5726  		}
  5727  	}
  5728  
  5729  	if iNdEx > l {
  5730  		return io.ErrUnexpectedEOF
  5731  	}
  5732  	return nil
  5733  }
  5734  func (m *OutputEvent) Unmarshal(dAtA []byte) error {
  5735  	l := len(dAtA)
  5736  	iNdEx := 0
  5737  	for iNdEx < l {
  5738  		preIndex := iNdEx
  5739  		var wire uint64
  5740  		for shift := uint(0); ; shift += 7 {
  5741  			if shift >= 64 {
  5742  				return ErrIntOverflowExec
  5743  			}
  5744  			if iNdEx >= l {
  5745  				return io.ErrUnexpectedEOF
  5746  			}
  5747  			b := dAtA[iNdEx]
  5748  			iNdEx++
  5749  			wire |= uint64(b&0x7F) << shift
  5750  			if b < 0x80 {
  5751  				break
  5752  			}
  5753  		}
  5754  		fieldNum := int32(wire >> 3)
  5755  		wireType := int(wire & 0x7)
  5756  		if wireType == 4 {
  5757  			return fmt.Errorf("proto: OutputEvent: wiretype end group for non-group")
  5758  		}
  5759  		if fieldNum <= 0 {
  5760  			return fmt.Errorf("proto: OutputEvent: illegal tag %d (wire type %d)", fieldNum, wire)
  5761  		}
  5762  		switch fieldNum {
  5763  		case 1:
  5764  			if wireType != 2 {
  5765  				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
  5766  			}
  5767  			var byteLen int
  5768  			for shift := uint(0); ; shift += 7 {
  5769  				if shift >= 64 {
  5770  					return ErrIntOverflowExec
  5771  				}
  5772  				if iNdEx >= l {
  5773  					return io.ErrUnexpectedEOF
  5774  				}
  5775  				b := dAtA[iNdEx]
  5776  				iNdEx++
  5777  				byteLen |= int(b&0x7F) << shift
  5778  				if b < 0x80 {
  5779  					break
  5780  				}
  5781  			}
  5782  			if byteLen < 0 {
  5783  				return ErrInvalidLengthExec
  5784  			}
  5785  			postIndex := iNdEx + byteLen
  5786  			if postIndex < 0 {
  5787  				return ErrInvalidLengthExec
  5788  			}
  5789  			if postIndex > l {
  5790  				return io.ErrUnexpectedEOF
  5791  			}
  5792  			if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5793  				return err
  5794  			}
  5795  			iNdEx = postIndex
  5796  		default:
  5797  			iNdEx = preIndex
  5798  			skippy, err := skipExec(dAtA[iNdEx:])
  5799  			if err != nil {
  5800  				return err
  5801  			}
  5802  			if skippy < 0 {
  5803  				return ErrInvalidLengthExec
  5804  			}
  5805  			if (iNdEx + skippy) < 0 {
  5806  				return ErrInvalidLengthExec
  5807  			}
  5808  			if (iNdEx + skippy) > l {
  5809  				return io.ErrUnexpectedEOF
  5810  			}
  5811  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5812  			iNdEx += skippy
  5813  		}
  5814  	}
  5815  
  5816  	if iNdEx > l {
  5817  		return io.ErrUnexpectedEOF
  5818  	}
  5819  	return nil
  5820  }
  5821  func (m *CallData) Unmarshal(dAtA []byte) error {
  5822  	l := len(dAtA)
  5823  	iNdEx := 0
  5824  	for iNdEx < l {
  5825  		preIndex := iNdEx
  5826  		var wire uint64
  5827  		for shift := uint(0); ; shift += 7 {
  5828  			if shift >= 64 {
  5829  				return ErrIntOverflowExec
  5830  			}
  5831  			if iNdEx >= l {
  5832  				return io.ErrUnexpectedEOF
  5833  			}
  5834  			b := dAtA[iNdEx]
  5835  			iNdEx++
  5836  			wire |= uint64(b&0x7F) << shift
  5837  			if b < 0x80 {
  5838  				break
  5839  			}
  5840  		}
  5841  		fieldNum := int32(wire >> 3)
  5842  		wireType := int(wire & 0x7)
  5843  		if wireType == 4 {
  5844  			return fmt.Errorf("proto: CallData: wiretype end group for non-group")
  5845  		}
  5846  		if fieldNum <= 0 {
  5847  			return fmt.Errorf("proto: CallData: illegal tag %d (wire type %d)", fieldNum, wire)
  5848  		}
  5849  		switch fieldNum {
  5850  		case 1:
  5851  			if wireType != 2 {
  5852  				return fmt.Errorf("proto: wrong wireType = %d for field Caller", wireType)
  5853  			}
  5854  			var byteLen int
  5855  			for shift := uint(0); ; shift += 7 {
  5856  				if shift >= 64 {
  5857  					return ErrIntOverflowExec
  5858  				}
  5859  				if iNdEx >= l {
  5860  					return io.ErrUnexpectedEOF
  5861  				}
  5862  				b := dAtA[iNdEx]
  5863  				iNdEx++
  5864  				byteLen |= int(b&0x7F) << shift
  5865  				if b < 0x80 {
  5866  					break
  5867  				}
  5868  			}
  5869  			if byteLen < 0 {
  5870  				return ErrInvalidLengthExec
  5871  			}
  5872  			postIndex := iNdEx + byteLen
  5873  			if postIndex < 0 {
  5874  				return ErrInvalidLengthExec
  5875  			}
  5876  			if postIndex > l {
  5877  				return io.ErrUnexpectedEOF
  5878  			}
  5879  			if err := m.Caller.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5880  				return err
  5881  			}
  5882  			iNdEx = postIndex
  5883  		case 2:
  5884  			if wireType != 2 {
  5885  				return fmt.Errorf("proto: wrong wireType = %d for field Callee", wireType)
  5886  			}
  5887  			var byteLen int
  5888  			for shift := uint(0); ; shift += 7 {
  5889  				if shift >= 64 {
  5890  					return ErrIntOverflowExec
  5891  				}
  5892  				if iNdEx >= l {
  5893  					return io.ErrUnexpectedEOF
  5894  				}
  5895  				b := dAtA[iNdEx]
  5896  				iNdEx++
  5897  				byteLen |= int(b&0x7F) << shift
  5898  				if b < 0x80 {
  5899  					break
  5900  				}
  5901  			}
  5902  			if byteLen < 0 {
  5903  				return ErrInvalidLengthExec
  5904  			}
  5905  			postIndex := iNdEx + byteLen
  5906  			if postIndex < 0 {
  5907  				return ErrInvalidLengthExec
  5908  			}
  5909  			if postIndex > l {
  5910  				return io.ErrUnexpectedEOF
  5911  			}
  5912  			if err := m.Callee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5913  				return err
  5914  			}
  5915  			iNdEx = postIndex
  5916  		case 3:
  5917  			if wireType != 2 {
  5918  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  5919  			}
  5920  			var byteLen int
  5921  			for shift := uint(0); ; shift += 7 {
  5922  				if shift >= 64 {
  5923  					return ErrIntOverflowExec
  5924  				}
  5925  				if iNdEx >= l {
  5926  					return io.ErrUnexpectedEOF
  5927  				}
  5928  				b := dAtA[iNdEx]
  5929  				iNdEx++
  5930  				byteLen |= int(b&0x7F) << shift
  5931  				if b < 0x80 {
  5932  					break
  5933  				}
  5934  			}
  5935  			if byteLen < 0 {
  5936  				return ErrInvalidLengthExec
  5937  			}
  5938  			postIndex := iNdEx + byteLen
  5939  			if postIndex < 0 {
  5940  				return ErrInvalidLengthExec
  5941  			}
  5942  			if postIndex > l {
  5943  				return io.ErrUnexpectedEOF
  5944  			}
  5945  			if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5946  				return err
  5947  			}
  5948  			iNdEx = postIndex
  5949  		case 4:
  5950  			if wireType != 0 {
  5951  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  5952  			}
  5953  			m.Value = 0
  5954  			for shift := uint(0); ; shift += 7 {
  5955  				if shift >= 64 {
  5956  					return ErrIntOverflowExec
  5957  				}
  5958  				if iNdEx >= l {
  5959  					return io.ErrUnexpectedEOF
  5960  				}
  5961  				b := dAtA[iNdEx]
  5962  				iNdEx++
  5963  				m.Value |= uint64(b&0x7F) << shift
  5964  				if b < 0x80 {
  5965  					break
  5966  				}
  5967  			}
  5968  		case 5:
  5969  			if wireType != 0 {
  5970  				return fmt.Errorf("proto: wrong wireType = %d for field Gas", wireType)
  5971  			}
  5972  			m.Gas = 0
  5973  			for shift := uint(0); ; shift += 7 {
  5974  				if shift >= 64 {
  5975  					return ErrIntOverflowExec
  5976  				}
  5977  				if iNdEx >= l {
  5978  					return io.ErrUnexpectedEOF
  5979  				}
  5980  				b := dAtA[iNdEx]
  5981  				iNdEx++
  5982  				m.Gas |= uint64(b&0x7F) << shift
  5983  				if b < 0x80 {
  5984  					break
  5985  				}
  5986  			}
  5987  		default:
  5988  			iNdEx = preIndex
  5989  			skippy, err := skipExec(dAtA[iNdEx:])
  5990  			if err != nil {
  5991  				return err
  5992  			}
  5993  			if skippy < 0 {
  5994  				return ErrInvalidLengthExec
  5995  			}
  5996  			if (iNdEx + skippy) < 0 {
  5997  				return ErrInvalidLengthExec
  5998  			}
  5999  			if (iNdEx + skippy) > l {
  6000  				return io.ErrUnexpectedEOF
  6001  			}
  6002  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6003  			iNdEx += skippy
  6004  		}
  6005  	}
  6006  
  6007  	if iNdEx > l {
  6008  		return io.ErrUnexpectedEOF
  6009  	}
  6010  	return nil
  6011  }
  6012  func skipExec(dAtA []byte) (n int, err error) {
  6013  	l := len(dAtA)
  6014  	iNdEx := 0
  6015  	for iNdEx < l {
  6016  		var wire uint64
  6017  		for shift := uint(0); ; shift += 7 {
  6018  			if shift >= 64 {
  6019  				return 0, ErrIntOverflowExec
  6020  			}
  6021  			if iNdEx >= l {
  6022  				return 0, io.ErrUnexpectedEOF
  6023  			}
  6024  			b := dAtA[iNdEx]
  6025  			iNdEx++
  6026  			wire |= (uint64(b) & 0x7F) << shift
  6027  			if b < 0x80 {
  6028  				break
  6029  			}
  6030  		}
  6031  		wireType := int(wire & 0x7)
  6032  		switch wireType {
  6033  		case 0:
  6034  			for shift := uint(0); ; shift += 7 {
  6035  				if shift >= 64 {
  6036  					return 0, ErrIntOverflowExec
  6037  				}
  6038  				if iNdEx >= l {
  6039  					return 0, io.ErrUnexpectedEOF
  6040  				}
  6041  				iNdEx++
  6042  				if dAtA[iNdEx-1] < 0x80 {
  6043  					break
  6044  				}
  6045  			}
  6046  			return iNdEx, nil
  6047  		case 1:
  6048  			iNdEx += 8
  6049  			return iNdEx, nil
  6050  		case 2:
  6051  			var length int
  6052  			for shift := uint(0); ; shift += 7 {
  6053  				if shift >= 64 {
  6054  					return 0, ErrIntOverflowExec
  6055  				}
  6056  				if iNdEx >= l {
  6057  					return 0, io.ErrUnexpectedEOF
  6058  				}
  6059  				b := dAtA[iNdEx]
  6060  				iNdEx++
  6061  				length |= (int(b) & 0x7F) << shift
  6062  				if b < 0x80 {
  6063  					break
  6064  				}
  6065  			}
  6066  			if length < 0 {
  6067  				return 0, ErrInvalidLengthExec
  6068  			}
  6069  			iNdEx += length
  6070  			if iNdEx < 0 {
  6071  				return 0, ErrInvalidLengthExec
  6072  			}
  6073  			return iNdEx, nil
  6074  		case 3:
  6075  			for {
  6076  				var innerWire uint64
  6077  				var start int = iNdEx
  6078  				for shift := uint(0); ; shift += 7 {
  6079  					if shift >= 64 {
  6080  						return 0, ErrIntOverflowExec
  6081  					}
  6082  					if iNdEx >= l {
  6083  						return 0, io.ErrUnexpectedEOF
  6084  					}
  6085  					b := dAtA[iNdEx]
  6086  					iNdEx++
  6087  					innerWire |= (uint64(b) & 0x7F) << shift
  6088  					if b < 0x80 {
  6089  						break
  6090  					}
  6091  				}
  6092  				innerWireType := int(innerWire & 0x7)
  6093  				if innerWireType == 4 {
  6094  					break
  6095  				}
  6096  				next, err := skipExec(dAtA[start:])
  6097  				if err != nil {
  6098  					return 0, err
  6099  				}
  6100  				iNdEx = start + next
  6101  				if iNdEx < 0 {
  6102  					return 0, ErrInvalidLengthExec
  6103  				}
  6104  			}
  6105  			return iNdEx, nil
  6106  		case 4:
  6107  			return iNdEx, nil
  6108  		case 5:
  6109  			iNdEx += 4
  6110  			return iNdEx, nil
  6111  		default:
  6112  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6113  		}
  6114  	}
  6115  	panic("unreachable")
  6116  }
  6117  
  6118  var (
  6119  	ErrInvalidLengthExec = fmt.Errorf("proto: negative length found during unmarshaling")
  6120  	ErrIntOverflowExec   = fmt.Errorf("proto: integer overflow")
  6121  )