Documentation ¶
Index ¶
- Constants
- func GetPendingTransactions(qPendingTx chan *types.Transaction, qTxsWithLogs chan *models.TxWithLogs, ...)
- func GetTransactionsForLogs(gb *gloomberg.Gloomberg, qRawLogs chan types.Log) chan *models.TxWithLogs
- func GetTransactionsForLogsWithChannel(gb *gloomberg.Gloomberg, qRawLogs chan types.Log, ...) chan *models.TxWithLogs
- type WalletWatcher
Constants ¶
View Source
const ( Topic0 models.Topic = iota Topic1 Topic2 Topic3 )
Variables ¶
This section is empty.
Functions ¶
func GetPendingTransactions ¶
func GetPendingTransactions(qPendingTx chan *types.Transaction, qTxsWithLogs chan *models.TxWithLogs, providerPool *provider.Pool)
GetPendingTransactions utilizes the providerPool to fetch the transaction & receipt for logs from qRawLogs. The transaction with the receipt is then sent to qTxsWithLogs.
func GetTransactionsForLogs ¶
func GetTransactionsForLogs(gb *gloomberg.Gloomberg, qRawLogs chan types.Log) chan *models.TxWithLogs
GetTransactionsForLogs utilizes the providerPool to fetch the transaction & receipt for logs from qRawLogs. The transaction with the receipt is then sent to qTxsWithLogs.
func GetTransactionsForLogsWithChannel ¶ added in v0.7.0
func GetTransactionsForLogsWithChannel(gb *gloomberg.Gloomberg, qRawLogs chan types.Log, qTxsWithLogs chan *models.TxWithLogs) chan *models.TxWithLogs
Types ¶
type WalletWatcher ¶ added in v0.11.0
type WalletWatcher struct { Wallets map[common.Address]*wallet.Wallet // contains filtered or unexported fields }
func NewWalletWatcher ¶ added in v0.11.0
func NewWalletWatcher(gb *gloomberg.Gloomberg) *WalletWatcher
NewWalletWatcher returns a new walletWatcher.
func (*WalletWatcher) FormattedWallets ¶ added in v0.11.0
func (ww *WalletWatcher) FormattedWallets() []string
func (*WalletWatcher) Pr ¶ added in v0.11.0
func (ww *WalletWatcher) Pr(message string)
Pr prints messages from seawatcher to the terminal.
func (*WalletWatcher) PrDf ¶ added in v0.11.0
func (ww *WalletWatcher) PrDf(format string, a ...interface{})
func (*WalletWatcher) Prf ¶ added in v0.11.0
func (ww *WalletWatcher) Prf(format string, a ...interface{})
Prf formats and prints messages from seawatcher to the terminal.
func (*WalletWatcher) Watch ¶ added in v0.11.0
func (ww *WalletWatcher) Watch()
Click to show internal directories.
Click to hide internal directories.