Documentation ¶
Index ¶
Constants ¶
View Source
const ( IndexerVersionMajor = 1 // Indexer major version component of the current release IndexerVersionMinor = 0 // Indexer minor version component of the current release IndexerVersionPatch = 11 // Indexer patch version component of the current release IndexerVersionMeta = "stable" // Indexer version metadata to append to the version string )
Variables ¶
View Source
var IndexerVersion = func() string { return fmt.Sprintf("%d.%d.%d", IndexerVersionMajor, IndexerVersionMinor, IndexerVersionPatch) }()
IndexerVersion holds the textual indexer version string.
View Source
var IndexerVersionWithMeta = func() string { v := IndexerVersion if IndexerVersionMeta != "" { v += "-" + IndexerVersionMeta } return v }()
IndexerVersionWithMeta holds the textual indexer version string including the metadata.
Functions ¶
func VersionWithCommit ¶
Types ¶
type Config ¶
type Config interface { comfig.Logger comfig.Listenerer pgdb.Databaser Client() *ethclient.Client Notifier(ctx context.Context) *firebase.Notifier IgnoreNotificationsCfg() int64 LayerZeroLists() LayerZeroListsCfg }
Config of the service.
type LayerZeroListsCfg ¶ added in v1.0.0
type WhitelistApprovalsCfg ¶ added in v1.0.0
type WhitelistApprovalsCfg struct {
CachingDelay int64 `fig:"caching_delay"`
}
Click to show internal directories.
Click to hide internal directories.