Versions in this module Expand all Collapse all v1 v1.0.2 Dec 20, 2016 Changes in this version + type CallMsg struct + Data []byte + From common.Address + Gas *big.Int + GasPrice *big.Int + To *common.Address + Value *big.Int + type ChainHeadEventer interface + SubscribeNewHead func(ctx context.Context, ch chan<- *types.Header) (Subscription, error) + type ChainReader interface + BlockByHash func(ctx context.Context, hash common.Hash) (*types.Block, error) + BlockByNumber func(ctx context.Context, number *big.Int) (*types.Block, error) + HeaderByHash func(ctx context.Context, hash common.Hash) (*types.Header, error) + HeaderByNumber func(ctx context.Context, number *big.Int) (*types.Header, error) + TransactionByHash func(ctx context.Context, txHash common.Hash) (*types.Transaction, error) + TransactionCount func(ctx context.Context, blockHash common.Hash) (uint, error) + TransactionInBlock func(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error) + TransactionReceipt func(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + type ChainStateReader interface + BalanceAt func(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) + CodeAt func(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error) + NonceAt func(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error) + StorageAt func(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, error) + type ChainSyncReader interface + SyncProgress func(ctx context.Context) (*SyncProgress, error) + type ContractCaller interface + CallContract func(ctx context.Context, call CallMsg, blockNumber *big.Int) ([]byte, error) + type FilterQuery struct + Addresses []common.Address + FromBlock *big.Int + ToBlock *big.Int + Topics [][]common.Hash + type GasEstimator interface + EstimateGas func(ctx context.Context, call CallMsg) (usedGas *big.Int, err error) + type GasPricer interface + SuggestGasPrice func(ctx context.Context) (*big.Int, error) + type LogFilterer interface + FilterLogs func(ctx context.Context, q FilterQuery) ([]vm.Log, error) + SubscribeFilterLogs func(ctx context.Context, q FilterQuery, ch chan<- vm.Log) (Subscription, error) + type PendingContractCaller interface + PendingCallContract func(ctx context.Context, call CallMsg) ([]byte, error) + type PendingStateEventer interface + SubscribePendingTransactions func(ctx context.Context, ch chan<- *types.Transaction) (Subscription, error) + type PendingStateReader interface + PendingBalanceAt func(ctx context.Context, account common.Address) (*big.Int, error) + PendingCodeAt func(ctx context.Context, account common.Address) ([]byte, error) + PendingNonceAt func(ctx context.Context, account common.Address) (uint64, error) + PendingStorageAt func(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) + PendingTransactionCount func(ctx context.Context) (uint, error) + type Subscription interface + Err func() <-chan error + Unsubscribe func() + type SyncProgress struct + CurrentBlock uint64 + HighestBlock uint64 + KnownStates uint64 + PulledStates uint64 + StartingBlock uint64 + type TransactionSender interface + SendTransaction func(ctx context.Context, tx *types.Transaction) error