github.com/trezor/blockbook@v0.4.1-0.20240328132726-e9a08582ee2c/bchain/coins/eth/ethtx.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: bchain/coins/eth/ethtx.proto
     3  
     4  /*
     5  Package eth is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	bchain/coins/eth/ethtx.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("bchain/coins/eth/ethtx.proto", fileDescriptor0) }
   232  
   233  var fileDescriptor0 = []byte{
   234  	// 409 bytes of a gzipped FileDescriptorProto
   235  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd4, 0x30,
   236  	0x18, 0xc5, 0xe9, 0x9f, 0x99, 0xd9, 0xfd, 0xa6, 0x8a, 0x04, 0x91, 0x30, 0xec, 0x45, 0x59, 0xbc,
   237  	0x18, 0xbd, 0xe8, 0xe2, 0xea, 0x0b, 0xac, 0x23, 0xae, 0xc2, 0xb0, 0x0e, 0x31, 0x7a, 0x9f, 0x49,
   238  	0xc3, 0x36, 0x38, 0x6d, 0x4a, 0x93, 0x42, 0xf7, 0x8d, 0x7c, 0x21, 0xdf, 0xc5, 0x4b, 0xc9, 0xd7,
   239  	0x74, 0x1d, 0x11, 0x65, 0x2f, 0x0a, 0xf9, 0x9d, 0x7e, 0xa7, 0x39, 0x27, 0x29, 0x9c, 0xed, 0x65,
   240  	0x25, 0x74, 0x73, 0x21, 0x8d, 0x6e, 0xec, 0x85, 0x72, 0x95, 0x7f, 0xdc, 0x50, 0xb4, 0x9d, 0x71,
   241  	0x86, 0x24, 0xca, 0x55, 0xe7, 0xdf, 0x67, 0x40, 0x77, 0x1e, 0x37, 0xa6, 0x6e, 0x0f, 0xca, 0x29,
   242  	0xde, 0x89, 0xc6, 0x0a, 0xe9, 0xb4, 0x69, 0x48, 0x0e, 0xcb, 0xb7, 0x07, 0x23, 0xbf, 0xdd, 0xf4,
   243  	0xf5, 0x5e, 0x75, 0x34, 0xca, 0xa3, 0xf5, 0x23, 0x76, 0x2c, 0x91, 0x33, 0x38, 0x45, 0xe4, 0xba,
   244  	0x56, 0x34, 0xce, 0xa3, 0x75, 0xca, 0x7e, 0x0b, 0xe4, 0x0d, 0xc4, 0x7c, 0xa0, 0x49, 0x1e, 0xad,
   245  	0x97, 0x97, 0xcf, 0x0b, 0xe5, 0xaa, 0xe2, 0x5f, 0x5b, 0x15, 0x7c, 0xe0, 0x77, 0xad, 0x62, 0x31,
   246  	0x1f, 0xc8, 0x06, 0x16, 0x4c, 0x49, 0xa5, 0x5b, 0x47, 0x53, 0xb4, 0xbe, 0xf8, 0xbf, 0x35, 0x0c,
   247  	0xa3, 0x7f, 0x72, 0xae, 0x7e, 0x46, 0x30, 0x1f, 0xbf, 0x49, 0xce, 0x21, 0xbb, 0x92, 0xd2, 0xf4,
   248  	0x8d, 0xbb, 0x31, 0x8d, 0x54, 0x58, 0x23, 0x65, 0x7f, 0x68, 0x64, 0x05, 0x27, 0xd7, 0xc2, 0xee,
   249  	0x3a, 0x2d, 0xc7, 0x1a, 0x19, 0xbb, 0xe7, 0xf0, 0x6e, 0xab, 0x6b, 0xed, 0xb0, 0x4b, 0xca, 0xee,
   250  	0x99, 0x3c, 0x85, 0xd9, 0x57, 0x71, 0xe8, 0x15, 0x26, 0xcd, 0xd8, 0x08, 0x84, 0xc2, 0x62, 0x27,
   251  	0xee, 0x0e, 0x46, 0x94, 0x74, 0x86, 0xfa, 0x84, 0x84, 0x40, 0xfa, 0x41, 0xd8, 0x8a, 0xce, 0x51,
   252  	0xc6, 0x35, 0x79, 0x0c, 0x31, 0x37, 0x74, 0x81, 0x4a, 0xcc, 0x8d, 0x9f, 0x79, 0xdf, 0x99, 0x9a,
   253  	0x9e, 0x8c, 0x33, 0x7e, 0x4d, 0x5e, 0xc2, 0x93, 0xa3, 0xca, 0x1f, 0x9b, 0x52, 0x0d, 0xf4, 0x14,
   254  	0xaf, 0xe3, 0x2f, 0x7d, 0xf5, 0x23, 0x82, 0xe5, 0xd1, 0x99, 0xf8, 0x34, 0xd7, 0xc2, 0x7e, 0xb1,
   255  	0xaa, 0xc4, 0xea, 0x19, 0x9b, 0x90, 0x3c, 0x83, 0xf9, 0x67, 0x27, 0x5c, 0x6f, 0x43, 0xe7, 0x40,
   256  	0x64, 0x03, 0xc9, 0xd6, 0xdc, 0xd2, 0x24, 0x4f, 0xd6, 0xcb, 0xcb, 0x57, 0x0f, 0x3e, 0xfd, 0x62,
   257  	0x6b, 0x6e, 0xf1, 0x16, 0xbc, 0x7b, 0xf5, 0x09, 0x16, 0x81, 0x7d, 0x82, 0xab, 0xb2, 0xec, 0x94,
   258  	0xb5, 0x53, 0x82, 0x80, 0xbe, 0xeb, 0x3b, 0xe1, 0x44, 0xd8, 0x1f, 0xd7, 0x3e, 0x15, 0x37, 0xad,
   259  	0x96, 0x16, 0x03, 0x64, 0x2c, 0xd0, 0x7e, 0x8e, 0xbf, 0xed, 0xeb, 0x5f, 0x01, 0x00, 0x00, 0xff,
   260  	0xff, 0xc2, 0x69, 0x8d, 0xdf, 0xd6, 0x02, 0x00, 0x00,
   261  }