eth

package
v0.0.0-...-42eab6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blockchain

type Blockchain struct {
	NumberSize           string         `protobuf:"bytes,1,opt,name=numberSize,proto3" json:"numberSize,omitempty"`
	Hash                 string         `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentHash           string         `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
	Nonce                string         `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Sha3Uncles           string         `protobuf:"bytes,5,opt,name=sha3Uncles,proto3" json:"sha3Uncles,omitempty"`
	LogsBloom            string         `protobuf:"bytes,6,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	TransactionsRoot     string         `protobuf:"bytes,7,opt,name=transactionsRoot,proto3" json:"transactionsRoot,omitempty"`
	StateRoot            string         `protobuf:"bytes,8,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"`
	ReceiptsRoot         string         `protobuf:"bytes,9,opt,name=receiptsRoot,proto3" json:"receiptsRoot,omitempty"`
	Miner                string         `protobuf:"bytes,10,opt,name=miner,proto3" json:"miner,omitempty"`
	Difficulty           string         `protobuf:"bytes,11,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	TotalDifficulty      string         `protobuf:"bytes,12,opt,name=totalDifficulty,proto3" json:"totalDifficulty,omitempty"`
	ExtraData            string         `protobuf:"bytes,13,opt,name=extraData,proto3" json:"extraData,omitempty"`
	Size                 string         `protobuf:"bytes,14,opt,name=size,proto3" json:"size,omitempty"`
	GasLimit             string         `protobuf:"bytes,15,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	GasUsed              string         `protobuf:"bytes,16,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	Timestamp            string         `protobuf:"bytes,17,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Transactions         []*Transaction `protobuf:"bytes,18,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Uncles               []string       `protobuf:"bytes,19,rep,name=uncles,proto3" json:"uncles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Blockchain) Descriptor

func (*Blockchain) Descriptor() ([]byte, []int)

func (*Blockchain) GetDifficulty

func (m *Blockchain) GetDifficulty() string

func (*Blockchain) GetExtraData

func (m *Blockchain) GetExtraData() string

func (*Blockchain) GetGasLimit

func (m *Blockchain) GetGasLimit() string

func (*Blockchain) GetGasUsed

func (m *Blockchain) GetGasUsed() string

func (*Blockchain) GetHash

func (m *Blockchain) GetHash() string

func (*Blockchain) GetLogsBloom

func (m *Blockchain) GetLogsBloom() string

func (*Blockchain) GetMiner

func (m *Blockchain) GetMiner() string

func (*Blockchain) GetNonce

func (m *Blockchain) GetNonce() string

func (*Blockchain) GetNumberSize

func (m *Blockchain) GetNumberSize() string

func (*Blockchain) GetParentHash

func (m *Blockchain) GetParentHash() string

func (*Blockchain) GetReceiptsRoot

func (m *Blockchain) GetReceiptsRoot() string

func (*Blockchain) GetSha3Uncles

func (m *Blockchain) GetSha3Uncles() string

func (*Blockchain) GetSize

func (m *Blockchain) GetSize() string

func (*Blockchain) GetStateRoot

func (m *Blockchain) GetStateRoot() string

func (*Blockchain) GetTimestamp

func (m *Blockchain) GetTimestamp() string

func (*Blockchain) GetTotalDifficulty

func (m *Blockchain) GetTotalDifficulty() string

func (*Blockchain) GetTransactions

func (m *Blockchain) GetTransactions() []*Transaction

func (*Blockchain) GetTransactionsRoot

func (m *Blockchain) GetTransactionsRoot() string

func (*Blockchain) GetUncles

func (m *Blockchain) GetUncles() []string

func (*Blockchain) ProtoMessage

func (*Blockchain) ProtoMessage()

func (*Blockchain) Reset

func (m *Blockchain) Reset()

func (*Blockchain) String

func (m *Blockchain) String() string

func (*Blockchain) XXX_DiscardUnknown

func (m *Blockchain) XXX_DiscardUnknown()

func (*Blockchain) XXX_Marshal

func (m *Blockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Blockchain) XXX_Merge

func (m *Blockchain) XXX_Merge(src proto.Message)

func (*Blockchain) XXX_Size

func (m *Blockchain) XXX_Size() int

func (*Blockchain) XXX_Unmarshal

func (m *Blockchain) XXX_Unmarshal(b []byte) error

type Transaction

type Transaction struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Nonce                string   `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BlockHash            string   `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	BlockNumber          string   `protobuf:"bytes,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	TransactionIndex     string   `protobuf:"bytes,5,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"`
	From                 string   `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"`
	To                   string   `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"`
	Value                string   `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"`
	GasPrice             string   `protobuf:"bytes,9,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
	Gas                  string   `protobuf:"bytes,10,opt,name=gas,proto3" json:"gas,omitempty"`
	Input                string   `protobuf:"bytes,11,opt,name=input,proto3" json:"input,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

func (*Transaction) Descriptor() ([]byte, []int)

func (*Transaction) GetBlockHash

func (m *Transaction) GetBlockHash() string

func (*Transaction) GetBlockNumber

func (m *Transaction) GetBlockNumber() string

func (*Transaction) GetFrom

func (m *Transaction) GetFrom() string

func (*Transaction) GetGas

func (m *Transaction) GetGas() string

func (*Transaction) GetGasPrice

func (m *Transaction) GetGasPrice() string

func (*Transaction) GetHash

func (m *Transaction) GetHash() string

func (*Transaction) GetInput

func (m *Transaction) GetInput() string

func (*Transaction) GetNonce

func (m *Transaction) GetNonce() string

func (*Transaction) GetTo

func (m *Transaction) GetTo() string

func (*Transaction) GetTransactionIndex

func (m *Transaction) GetTransactionIndex() string

func (*Transaction) GetValue

func (m *Transaction) GetValue() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transaction) XXX_Merge

func (m *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

func (m *Transaction) XXX_Unmarshal(b []byte) error

type TransactionReceipt

type TransactionReceipt struct {
	TransactionHash      string     `protobuf:"bytes,1,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`
	BlockHash            string     `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	BlockNumber          string     `protobuf:"bytes,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
	TransactionIndex     string     `protobuf:"bytes,4,opt,name=transactionIndex,proto3" json:"transactionIndex,omitempty"`
	CumulativeGasUsed    string     `protobuf:"bytes,5,opt,name=cumulativeGasUsed,proto3" json:"cumulativeGasUsed,omitempty"`
	GasUsed              string     `protobuf:"bytes,6,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	ContractAddress      string     `protobuf:"bytes,7,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Logs                 []*any.Any `protobuf:"bytes,8,rep,name=logs,proto3" json:"logs,omitempty"`
	LogsBloom            string     `protobuf:"bytes,9,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
	Status               string     `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TransactionReceipt) Descriptor

func (*TransactionReceipt) Descriptor() ([]byte, []int)

func (*TransactionReceipt) GetBlockHash

func (m *TransactionReceipt) GetBlockHash() string

func (*TransactionReceipt) GetBlockNumber

func (m *TransactionReceipt) GetBlockNumber() string

func (*TransactionReceipt) GetContractAddress

func (m *TransactionReceipt) GetContractAddress() string

func (*TransactionReceipt) GetCumulativeGasUsed

func (m *TransactionReceipt) GetCumulativeGasUsed() string

func (*TransactionReceipt) GetGasUsed

func (m *TransactionReceipt) GetGasUsed() string

func (*TransactionReceipt) GetLogs

func (m *TransactionReceipt) GetLogs() []*any.Any

func (*TransactionReceipt) GetLogsBloom

func (m *TransactionReceipt) GetLogsBloom() string

func (*TransactionReceipt) GetStatus

func (m *TransactionReceipt) GetStatus() string

func (*TransactionReceipt) GetTransactionHash

func (m *TransactionReceipt) GetTransactionHash() string

func (*TransactionReceipt) GetTransactionIndex

func (m *TransactionReceipt) GetTransactionIndex() string

func (*TransactionReceipt) ProtoMessage

func (*TransactionReceipt) ProtoMessage()

func (*TransactionReceipt) Reset

func (m *TransactionReceipt) Reset()

func (*TransactionReceipt) String

func (m *TransactionReceipt) String() string

func (*TransactionReceipt) XXX_DiscardUnknown

func (m *TransactionReceipt) XXX_DiscardUnknown()

func (*TransactionReceipt) XXX_Marshal

func (m *TransactionReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionReceipt) XXX_Merge

func (m *TransactionReceipt) XXX_Merge(src proto.Message)

func (*TransactionReceipt) XXX_Size

func (m *TransactionReceipt) XXX_Size() int

func (*TransactionReceipt) XXX_Unmarshal

func (m *TransactionReceipt) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL