Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBalanceMonitor ¶
func NewBalanceMonitor(chainID string, cfg Config, lggr logger.Logger, ks core.Keystore, newReader func() (BalanceClient, error)) services.Service
TODO: This chain-specific implementation should be replaced by the chain-agnostic one found at /aptos/relayer/monitor. NewBalanceMonitor returns a balance monitoring services.Service which reports the TRX balance of all ks keys to prometheus.
Types ¶
type BalanceClient ¶
type BalanceClient interface {
GetAccount(accountAddress address.Address) (*soliditynode.GetAccountResponse, error)
}
Click to show internal directories.
Click to hide internal directories.