262 lines
9.7 KiB
Go
262 lines
9.7 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: bchain/coins/eth/ethtx.proto
|
|
|
|
/*
|
|
Package eth is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
bchain/coins/eth/ethtx.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"`
|
|
GasPrice []byte `protobuf:"bytes,2,opt,name=GasPrice,proto3" json:"GasPrice,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) GetGasPrice() []byte {
|
|
if m != nil {
|
|
return m.GasPrice
|
|
}
|
|
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("bchain/coins/eth/ethtx.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 409 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xdf, 0x8a, 0xd4, 0x30,
|
|
0x18, 0xc5, 0xe9, 0x9f, 0x99, 0xd9, 0xfd, 0xa6, 0x8a, 0x04, 0x91, 0x30, 0xec, 0x45, 0x59, 0xbc,
|
|
0x18, 0xbd, 0xe8, 0xe2, 0xea, 0x0b, 0xac, 0x23, 0xae, 0xc2, 0xb0, 0x0e, 0x31, 0x7a, 0x9f, 0x49,
|
|
0xc3, 0x36, 0x38, 0x6d, 0x4a, 0x93, 0x42, 0xf7, 0x8d, 0x7c, 0x21, 0xdf, 0xc5, 0x4b, 0xc9, 0xd7,
|
|
0x74, 0x1d, 0x11, 0x65, 0x2f, 0x0a, 0xf9, 0x9d, 0x7e, 0xa7, 0x39, 0x27, 0x29, 0x9c, 0xed, 0x65,
|
|
0x25, 0x74, 0x73, 0x21, 0x8d, 0x6e, 0xec, 0x85, 0x72, 0x95, 0x7f, 0xdc, 0x50, 0xb4, 0x9d, 0x71,
|
|
0x86, 0x24, 0xca, 0x55, 0xe7, 0xdf, 0x67, 0x40, 0x77, 0x1e, 0x37, 0xa6, 0x6e, 0x0f, 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