Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBalanceMonitor ¶
func NewBalanceMonitor(ethClient evmclient.Client, ethKeyStore keys.AddressLister, lggr logger.Logger) *balanceMonitor
NewBalanceMonitor returns a new balanceMonitor
Types ¶
type BalanceMonitor ¶
type BalanceMonitor interface {
HeadTrackable
GetEthBalance(common.Address) *assets.Eth
services.Service
}
BalanceMonitor checks the balance for each key on every new head
type NullBalanceMonitor ¶
type NullBalanceMonitor struct{}
func (*NullBalanceMonitor) Close ¶
func (*NullBalanceMonitor) Close() error
func (*NullBalanceMonitor) GetEthBalance ¶
func (*NullBalanceMonitor) GetEthBalance(common.Address) *assets.Eth
func (*NullBalanceMonitor) OnNewLongestChain ¶
func (*NullBalanceMonitor) OnNewLongestChain(ctx context.Context, head *evmtypes.Head)
func (*NullBalanceMonitor) Ready ¶
func (*NullBalanceMonitor) Ready() error
Click to show internal directories.
Click to hide internal directories.