261 lines
9.5 KiB
Go
261 lines
9.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: tx.proto
|
|
|
|
/*
|
|
Package eth is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
tx.proto
|
|
|
|
It has these top-level messages:
|
|
ProtoCompleteTransaction
|
|
*/
|
|
package eth
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type ProtoCompleteTransaction struct {
|
|
BlockNumber uint32 `protobuf:"varint,1,opt,name=BlockNumber" json:"BlockNumber,omitempty"`
|
|
BlockTime uint64 `protobuf:"varint,2,opt,name=BlockTime" json:"BlockTime,omitempty"`
|
|
Tx *ProtoCompleteTransaction_TxType `protobuf:"bytes,3,opt,name=Tx" json:"Tx,omitempty"`
|
|
Receipt *ProtoCompleteTransaction_ReceiptType `protobuf:"bytes,4,opt,name=Receipt" json:"Receipt,omitempty"`
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction) Reset() { *m = ProtoCompleteTransaction{} }
|
|
func (m *ProtoCompleteTransaction) String() string { return proto.CompactTextString(m) }
|
|
func (*ProtoCompleteTransaction) ProtoMessage() {}
|
|
func (*ProtoCompleteTransaction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *ProtoCompleteTransaction) GetBlockNumber() uint32 {
|
|
if m != nil {
|
|
return m.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction) GetBlockTime() uint64 {
|
|
if m != nil {
|
|
return m.BlockTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction) GetTx() *ProtoCompleteTransaction_TxType {
|
|
if m != nil {
|
|
return m.Tx
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction) GetReceipt() *ProtoCompleteTransaction_ReceiptType {
|
|
if m != nil {
|
|
return m.Receipt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProtoCompleteTransaction_TxType struct {
|
|
AccountNonce uint64 `protobuf:"varint,1,opt,name=AccountNonce" json:"AccountNonce,omitempty"`
|
|
Price []byte `protobuf:"bytes,2,opt,name=Price,proto3" json:"Price,omitempty"`
|
|
GasLimit uint64 `protobuf:"varint,3,opt,name=GasLimit" json:"GasLimit,omitempty"`
|
|
Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
|
|
Payload []byte `protobuf:"bytes,5,opt,name=Payload,proto3" json:"Payload,omitempty"`
|
|
Hash []byte `protobuf:"bytes,6,opt,name=Hash,proto3" json:"Hash,omitempty"`
|
|
To []byte `protobuf:"bytes,7,opt,name=To,proto3" json:"To,omitempty"`
|
|
From []byte `protobuf:"bytes,8,opt,name=From,proto3" json:"From,omitempty"`
|
|
TransactionIndex uint32 `protobuf:"varint,9,opt,name=TransactionIndex" json:"TransactionIndex,omitempty"`
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) Reset() { *m = ProtoCompleteTransaction_TxType{} }
|
|
func (m *ProtoCompleteTransaction_TxType) String() string { return proto.CompactTextString(m) }
|
|
func (*ProtoCompleteTransaction_TxType) ProtoMessage() {}
|
|
func (*ProtoCompleteTransaction_TxType) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor0, []int{0, 0}
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetAccountNonce() uint64 {
|
|
if m != nil {
|
|
return m.AccountNonce
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetPrice() []byte {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetGasLimit() uint64 {
|
|
if m != nil {
|
|
return m.GasLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetValue() []byte {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetPayload() []byte {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetHash() []byte {
|
|
if m != nil {
|
|
return m.Hash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetTo() []byte {
|
|
if m != nil {
|
|
return m.To
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetFrom() []byte {
|
|
if m != nil {
|
|
return m.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_TxType) GetTransactionIndex() uint32 {
|
|
if m != nil {
|
|
return m.TransactionIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ProtoCompleteTransaction_ReceiptType struct {
|
|
GasUsed []byte `protobuf:"bytes,1,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"`
|
|
Status []byte `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
|
|
Log []*ProtoCompleteTransaction_ReceiptType_LogType `protobuf:"bytes,3,rep,name=Log" json:"Log,omitempty"`
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType) Reset() { *m = ProtoCompleteTransaction_ReceiptType{} }
|
|
func (m *ProtoCompleteTransaction_ReceiptType) String() string { return proto.CompactTextString(m) }
|
|
func (*ProtoCompleteTransaction_ReceiptType) ProtoMessage() {}
|
|
func (*ProtoCompleteTransaction_ReceiptType) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor0, []int{0, 1}
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType) GetGasUsed() []byte {
|
|
if m != nil {
|
|
return m.GasUsed
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType) GetStatus() []byte {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType) GetLog() []*ProtoCompleteTransaction_ReceiptType_LogType {
|
|
if m != nil {
|
|
return m.Log
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProtoCompleteTransaction_ReceiptType_LogType struct {
|
|
Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
|
|
Topics [][]byte `protobuf:"bytes,3,rep,name=Topics,proto3" json:"Topics,omitempty"`
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType_LogType) Reset() {
|
|
*m = ProtoCompleteTransaction_ReceiptType_LogType{}
|
|
}
|
|
func (m *ProtoCompleteTransaction_ReceiptType_LogType) String() string {
|
|
return proto.CompactTextString(m)
|
|
}
|
|
func (*ProtoCompleteTransaction_ReceiptType_LogType) ProtoMessage() {}
|
|
func (*ProtoCompleteTransaction_ReceiptType_LogType) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor0, []int{0, 1, 0}
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetAddress() []byte {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetData() []byte {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ProtoCompleteTransaction_ReceiptType_LogType) GetTopics() [][]byte {
|
|
if m != nil {
|
|
return m.Topics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ProtoCompleteTransaction)(nil), "eth.ProtoCompleteTransaction")
|
|
proto.RegisterType((*ProtoCompleteTransaction_TxType)(nil), "eth.ProtoCompleteTransaction.TxType")
|
|
proto.RegisterType((*ProtoCompleteTransaction_ReceiptType)(nil), "eth.ProtoCompleteTransaction.ReceiptType")
|
|
proto.RegisterType((*ProtoCompleteTransaction_ReceiptType_LogType)(nil), "eth.ProtoCompleteTransaction.ReceiptType.LogType")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("tx.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 393 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd4, 0x30,
|
|
0x14, 0xc6, 0xe9, 0x9f, 0x69, 0x67, 0x4f, 0xab, 0x48, 0x10, 0x09, 0xc5, 0x8b, 0xb2, 0x78, 0x51,
|
|
0xbd, 0x28, 0xb8, 0xfa, 0x02, 0xeb, 0x88, 0xab, 0x30, 0xac, 0x43, 0x8c, 0xde, 0x67, 0xd3, 0xb0,
|
|
0x53, 0x6c, 0x9b, 0xd2, 0xa4, 0xd0, 0x7d, 0x1d, 0xdf, 0xc9, 0x17, 0xf1, 0x09, 0x24, 0xa7, 0xad,
|
|
0x8e, 0x88, 0xb2, 0x77, 0xe7, 0xf7, 0x71, 0xbe, 0xc9, 0xf7, 0x9d, 0x29, 0x6c, 0xed, 0x54, 0xf6,
|
|
0x83, 0xb6, 0x9a, 0x04, 0xca, 0x1e, 0xcf, 0xbf, 0x6d, 0x80, 0x1e, 0x1c, 0xee, 0x74, 0xdb, 0x37,
|
|
0xca, 0x2a, 0x3e, 0x88, 0xce, 0x08, 0x69, 0x6b, 0xdd, 0x91, 0x1c, 0x92, 0x37, 0x8d, 0x96, 0x5f,
|
|
0xaf, 0xc7, 0xf6, 0x46, 0x0d, 0xd4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