github.com/bchainhub/blockbook@v0.3.2/bchain/coins/eth/tx.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: tx.proto
     3  
     4  /*
     5  Package eth is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	tx.proto
     9  
    10  It has these top-level messages:
    11  	ProtoCompleteTransaction
    12  */
    13  package eth
    14  
    15  import proto "github.com/golang/protobuf/proto"
    16  import fmt "fmt"
    17  import math "math"
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    29  
    30  type ProtoCompleteTransaction struct {
    31  	BlockNumber uint32                                `protobuf:"varint,1,opt,name=BlockNumber" json:"BlockNumber,omitempty"`
    32  	BlockTime   uint64                                `protobuf:"varint,2,opt,name=BlockTime" json:"BlockTime,omitempty"`
    33  	Tx          *ProtoCompleteTransaction_TxType      `protobuf:"bytes,3,opt,name=Tx" json:"Tx,omitempty"`
    34  	Receipt     *ProtoCompleteTransaction_ReceiptType `protobuf:"bytes,4,opt,name=Receipt" json:"Receipt,omitempty"`
    35  }
    36  
    37  func (m *ProtoCompleteTransaction) Reset()                    { *m = ProtoCompleteTransaction{} }
    38  func (m *ProtoCompleteTransaction) String() string            { return proto.CompactTextString(m) }
    39  func (*ProtoCompleteTransaction) ProtoMessage()               {}
    40  func (*ProtoCompleteTransaction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    41  
    42  func (m *ProtoCompleteTransaction) GetBlockNumber() uint32 {
    43  	if m != nil {
    44  		return m.BlockNumber
    45  	}
    46  	return 0
    47  }
    48  
    49  func (m *ProtoCompleteTransaction) GetBlockTime() uint64 {
    50  	if m != nil {
    51  		return m.BlockTime
    52  	}
    53  	return 0
    54  }
    55  
    56  func (m *ProtoCompleteTransaction) GetTx() *ProtoCompleteTransaction_TxType {
    57  	if m != nil {
    58  		return m.Tx
    59  	}
    60  	return nil
    61  }
    62  
    63  func (m *ProtoCompleteTransaction) GetReceipt() *ProtoCompleteTransaction_ReceiptType {
    64  	if m != nil {
    65  		return m.Receipt
    66  	}
    67  	return nil
    68  }
    69  
    70  type ProtoCompleteTransaction_TxType struct {
    71  	AccountNonce     uint64 `protobuf:"varint,1,opt,name=AccountNonce" json:"AccountNonce,omitempty"`
    72  	GasPrice         []byte `protobuf:"bytes,2,opt,name=GasPrice,proto3" json:"GasPrice,omitempty"`
    73  	GasLimit         uint64 `protobuf:"varint,3,opt,name=GasLimit" json:"GasLimit,omitempty"`
    74  	Value            []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
    75  	Payload          []byte `protobuf:"bytes,5,opt,name=Payload,proto3" json:"Payload,omitempty"`
    76  	Hash             []byte `protobuf:"bytes,6,opt,name=Hash,proto3" json:"Hash,omitempty"`
    77  	To               []byte `protobuf:"bytes,7,opt,name=To,proto3" json:"To,omitempty"`
    78  	From             []byte `protobuf:"bytes,8,opt,name=From,proto3" json:"From,omitempty"`
    79  	TransactionIndex uint32 `protobuf:"varint,9,opt,name=TransactionIndex" json:"TransactionIndex,omitempty"`
    80  }
    81  
    82  func (m *ProtoCompleteTransaction_TxType) Reset()         { *m = ProtoCompleteTransaction_TxType{} }
    83  func (m *ProtoCompleteTransaction_TxType) String() string { return proto.CompactTextString(m) }
    84  func (*ProtoCompleteTransaction_TxType) ProtoMessage()    {}
    85  func (*ProtoCompleteTransaction_TxType) Descriptor() ([]byte, []int) {
    86  	return fileDescriptor0, []int{0, 0}
    87  }
    88  
    89  func (m *ProtoCompleteTransaction_TxType) GetAccountNonce() uint64 {
    90  	if m != nil {
    91  		return m.AccountNonce
    92  	}
    93  	return 0
    94  }
    95  
    96  func (m *ProtoCompleteTransaction_TxType) GetGasPrice() []byte {
    97  	if m != nil {
    98  		return m.GasPrice
    99  	}
   100  	return nil
   101  }
   102  
   103  func (m *ProtoCompleteTransaction_TxType) GetGasLimit() uint64 {
   104  	if m != nil {
   105  		return m.GasLimit
   106  	}
   107  	return 0
   108  }
   109  
   110  func (m *ProtoCompleteTransaction_TxType) GetValue() []byte {
   111  	if m != nil {
   112  		return m.Value
   113  	}
   114  	return nil
   115  }
   116  
   117  func (m *ProtoCompleteTransaction_TxType) GetPayload() []byte {
   118  	if m != nil {
   119  		return m.Payload
   120  	}
   121  	return nil
   122  }
   123  
   124  func (m *ProtoCompleteTransaction_TxType) GetHash() []byte {
   125  	if m != nil {
   126  		return m.Hash
   127  	}
   128  	return nil
   129  }
   130  
   131  func (m *ProtoCompleteTransaction_TxType) GetTo() []byte {
   132  	if m != nil {
   133  		return m.To
   134  	}
   135  	return nil
   136  }
   137  
   138  func (m *ProtoCompleteTransaction_TxType) GetFrom() []byte {
   139  	if m != nil {
   140  		return m.From
   141  	}
   142  	return nil
   143  }
   144  
   145  func (m *ProtoCompleteTransaction_TxType) GetTransactionIndex() uint32 {
   146  	if m != nil {
   147  		return m.TransactionIndex
   148  	}
   149  	return 0
   150  }
   151  
   152  type ProtoCompleteTransaction_ReceiptType struct {
   153  	GasUsed []byte                                          `protobuf:"bytes,1,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"`
   154  	Status  []byte                                          `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
   155  	Log     []*ProtoCompleteTransaction_ReceiptType_LogType `protobuf:"bytes,3,rep,name=Log" json:"Log,omitempty"`
   156  }
   157  
   158  func (m *ProtoCompleteTransaction_ReceiptType) Reset()         { *m = ProtoCompleteTransaction_ReceiptType{} }
   159  func (m *ProtoCompleteTransaction_ReceiptType) String() string { return proto.CompactTextString(m) }
   160  func (*ProtoCompleteTransaction_ReceiptType) ProtoMessage()    {}
   161  func (*ProtoCompleteTransaction_ReceiptType) Descriptor() ([]byte, []int) {
   162  	return fileDescriptor0, []int{0, 1}
   163  }
   164  
   165  func (m *ProtoCompleteTransaction_ReceiptType) GetGasUsed() []byte {
   166  	if m != nil {
   167  		return m.GasUsed
   168  	}
   169  	return nil
   170  }
   171  
   172  func (m *ProtoCompleteTransaction_ReceiptType) GetStatus() []byte {
   173  	if m != nil {
   174  		return m.Status
   175  	}
   176  	return nil
   177  }
   178  
   179  func (m *ProtoCompleteTransaction_ReceiptType) GetLog() []*ProtoCompleteTransaction_ReceiptType_LogType {
   180  	if m != nil {
   181  		return m.Log
   182  	}
   183  	return nil
   184  }
   185  
   186  type ProtoCompleteTransaction_ReceiptType_LogType struct {
   187  	Address []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
   188  	Data    []byte   `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
   189  	Topics  [][]byte `protobuf:"bytes,3,rep,name=Topics,proto3" json:"Topics,omitempty"`
   190  }
   191  
   192  func (m *ProtoCompleteTransaction_ReceiptType_LogType) Reset() {
   193  	*m = ProtoCompleteTransaction_ReceiptType_LogType{}
   194  }
   195  func (m *ProtoCompleteTransaction_ReceiptType_LogType) String() string {
   196  	return proto.CompactTextString(m)
   197  }
   198  func (*ProtoCompleteTransaction_ReceiptType_LogType) ProtoMessage() {}
   199  func (*ProtoCompleteTransaction_ReceiptType_LogType) Descriptor() ([]byte, []int) {
   200  	return fileDescriptor0, []int{0, 1, 0}
   201  }
   202  
   203  func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetAddress() []byte {
   204  	if m != nil {
   205  		return m.Address
   206  	}
   207  	return nil
   208  }
   209  
   210  func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetData() []byte {
   211  	if m != nil {
   212  		return m.Data
   213  	}
   214  	return nil
   215  }
   216  
   217  func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetTopics() [][]byte {
   218  	if m != nil {
   219  		return m.Topics
   220  	}
   221  	return nil
   222  }
   223  
   224  func init() {
   225  	proto.RegisterType((*ProtoCompleteTransaction)(nil), "eth.ProtoCompleteTransaction")
   226  	proto.RegisterType((*ProtoCompleteTransaction_TxType)(nil), "eth.ProtoCompleteTransaction.TxType")
   227  	proto.RegisterType((*ProtoCompleteTransaction_ReceiptType)(nil), "eth.ProtoCompleteTransaction.ReceiptType")
   228  	proto.RegisterType((*ProtoCompleteTransaction_ReceiptType_LogType)(nil), "eth.ProtoCompleteTransaction.ReceiptType.LogType")
   229  }
   230  
   231  func init() { proto.RegisterFile("tx.proto", fileDescriptor0) }
   232  
   233  var fileDescriptor0 = []byte{
   234  	// 393 bytes of a gzipped FileDescriptorProto
   235  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd4, 0x30,
   236  	0x14, 0xc6, 0xe9, 0x9f, 0xf9, 0xb3, 0xa7, 0x55, 0x24, 0x88, 0x84, 0xe2, 0x45, 0x59, 0xbc, 0xa8,
   237  	0x5e, 0x14, 0x5c, 0x7d, 0x81, 0x75, 0xc4, 0x55, 0x18, 0xd6, 0x21, 0x46, 0xef, 0xb3, 0x69, 0xd8,
   238  	0x29, 0xb6, 0x4d, 0x69, 0x52, 0xe8, 0xbe, 0x91, 0x2f, 0xe4, 0xbb, 0x78, 0x29, 0x39, 0x4d, 0xd7,
   239  	0x11, 0x51, 0xbc, 0x3b, 0xbf, 0x6f, 0xce, 0x37, 0xf9, 0xbe, 0xa4, 0xb0, 0xb5, 0x53, 0xd9, 0x0f,
   240  	0xda, 0x6a, 0x12, 0x29, 0x7b, 0x3c, 0xff, 0xb6, 0x02, 0x7a, 0x70, 0xb8, 0xd3, 0x6d, 0xdf, 0x28,
   241  	0xab, 0xf8, 0x20, 0x3a, 0x23, 0xa4, 0xad, 0x75, 0x47, 0x72, 0x48, 0xde, 0x34, 0x5a, 0x7e, 0xbd,
   242  	0x1e, 0xdb, 0x1b, 0x35, 0xd0, 0x20, 0x0f, 0x8a, 0x07, 0xec, 0x54, 0x22, 0x4f, 0xe1, 0x0c, 0x91,
   243  	0xd7, 0xad, 0xa2, 0x61, 0x1e, 0x14, 0x31, 0xfb, 0x25, 0x90, 0xd7, 0x10, 0xf2, 0x89, 0x46, 0x79,
   244  	0x50, 0x24, 0x17, 0xcf, 0x4a, 0x65, 0x8f, 0xe5, 0xdf, 0x8e, 0x2a, 0xf9, 0xc4, 0xef, 0x7a, 0xc5,
   245  	0x42, 0x3e, 0x91, 0x1d, 0x6c, 0x98, 0x92, 0xaa, 0xee, 0x2d, 0x8d, 0xd1, 0xfa, 0xfc, 0xdf, 0x56,
   246  	0xbf, 0x8c, 0xfe, 0xc5, 0x99, 0xfd, 0x08, 0x60, 0x3d, 0xff, 0x27, 0x39, 0x87, 0xf4, 0x52, 0x4a,
   247  	0x3d, 0x76, 0xf6, 0x5a, 0x77, 0x52, 0x61, 0x8d, 0x98, 0xfd, 0xa6, 0x91, 0x0c, 0xb6, 0x57, 0xc2,
   248  	0x1c, 0x86, 0x5a, 0xce, 0x35, 0x52, 0x76, 0xcf, 0xfe, 0xb7, 0x7d, 0xdd, 0xd6, 0x16, 0xbb, 0xc4,
   249  	0xec, 0x9e, 0xc9, 0x63, 0x58, 0x7d, 0x11, 0xcd, 0xa8, 0x30, 0x69, 0xca, 0x66, 0x20, 0x14, 0x36,
   250  	0x07, 0x71, 0xd7, 0x68, 0x51, 0xd1, 0x15, 0xea, 0x0b, 0x12, 0x02, 0xf1, 0x7b, 0x61, 0x8e, 0x74,
   251  	0x8d, 0x32, 0xce, 0xe4, 0x21, 0x84, 0x5c, 0xd3, 0x0d, 0x2a, 0x21, 0xd7, 0x6e, 0xe7, 0xdd, 0xa0,
   252  	0x5b, 0xba, 0x9d, 0x77, 0xdc, 0x4c, 0x5e, 0xc0, 0xa3, 0x93, 0xca, 0x1f, 0xba, 0x4a, 0x4d, 0xf4,
   253  	0x0c, 0x9f, 0xe3, 0x0f, 0x3d, 0xfb, 0x1e, 0x40, 0x72, 0x72, 0x27, 0x2e, 0xcd, 0x95, 0x30, 0x9f,
   254  	0x8d, 0xaa, 0xb0, 0x7a, 0xca, 0x16, 0x24, 0x4f, 0x60, 0xfd, 0xc9, 0x0a, 0x3b, 0x1a, 0xdf, 0xd9,
   255  	0x13, 0xd9, 0x41, 0xb4, 0xd7, 0xb7, 0x34, 0xca, 0xa3, 0x22, 0xb9, 0x78, 0xf9, 0xdf, 0xb7, 0x5f,
   256  	0xee, 0xf5, 0x2d, 0xbe, 0x82, 0x73, 0x67, 0x1f, 0x61, 0xe3, 0xd9, 0x25, 0xb8, 0xac, 0xaa, 0x41,
   257  	0x19, 0xb3, 0x24, 0xf0, 0xe8, 0xba, 0xbe, 0x15, 0x56, 0xf8, 0xf3, 0x71, 0x76, 0xa9, 0xb8, 0xee,
   258  	0x6b, 0x69, 0x30, 0x40, 0xca, 0x3c, 0xdd, 0xac, 0xf1, 0xb3, 0x7d, 0xf5, 0x33, 0x00, 0x00, 0xff,
   259  	0xff, 0xde, 0xd5, 0x28, 0xa3, 0xc2, 0x02, 0x00, 0x00,
   260  }