synapsecns/sanguine

View on GitHub
ethergo/submitter/metrics_generated.go

Summary

Maintainability
A
0 mins
Test Coverage
// autogenerated file

package submitter

import (
    "math/big"
    "time"
)

// iOtelRecorder ...
type iOtelRecorder interface {
    // RecordNonceForChain sets the nonce for a chain.
    RecordNonceForChain(chainID uint32, nonce uint64)
    // RecordGasBalanceForChain sets the gas balance for a chain.
    RecordGasBalanceForChain(chainID uint32, balance *big.Int)
    // RecordOldestPendingTx sets the oldest pending tx.
    RecordOldestPendingTx(chainID uint32, lastPending time.Duration)
    // RecordNumPendingTxes sets the number of pending txes.
    RecordNumPendingTxes(chainID uint32, numPending int)
    // RecordConfirmedQueue sets the confirmed queue count.
    RecordConfirmedQueue(chainID uint32, queueSize int)
    // HasNonceForChain checks if a nonce exists for a chain.
    HasNonceForChain(chainID uint32) bool
    // HasGasBalanceForChain checks if a gas balance exists for a chain.
    HasGasBalanceForChain(chainID uint32) bool
}