Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Mainnet = fromToml(snapshothashes.Mainnet) Sepolia = fromToml(snapshothashes.Sepolia) Goerli = fromToml(snapshothashes.Goerli) Mumbai = fromToml(snapshothashes.Mumbai) BorMainnet = fromToml(snapshothashes.BorMainnet) Gnosis = fromToml(snapshothashes.Gnosis) Chiado = fromToml(snapshothashes.Chiado) MainnetHistory = fromToml(snapshothashes.MainnetHistory) SepoliaHistory = fromToml(snapshothashes.SepoliaHistory) GoerliHistory = fromToml(snapshothashes.GoerliHistory) MumbaiHistory = fromToml(snapshothashes.MumbaiHistory) BorMainnetHistory = fromToml(snapshothashes.BorMainnetHistory) GnosisHistory = fromToml(snapshothashes.GnosisHistory) ChiadoHistory = fromToml(snapshothashes.ChiadoHistory) )
View Source
var ( MainnetChainSnapshotCfg = newCfg(Mainnet, MainnetHistory) SepoliaChainSnapshotCfg = newCfg(Sepolia, SepoliaHistory) GoerliChainSnapshotCfg = newCfg(Goerli, GoerliHistory) MumbaiChainSnapshotCfg = newCfg(Mumbai, MumbaiHistory) BorMainnetChainSnapshotCfg = newCfg(BorMainnet, BorMainnetHistory) GnosisChainSnapshotCfg = newCfg(Gnosis, GnosisHistory) ChiadoChainSnapshotCfg = newCfg(Chiado, ChiadoHistory) )
View Source
var KnownCfgs = map[string]*Cfg{ networkname.MainnetChainName: MainnetChainSnapshotCfg, networkname.SepoliaChainName: SepoliaChainSnapshotCfg, networkname.GoerliChainName: GoerliChainSnapshotCfg, networkname.MumbaiChainName: MumbaiChainSnapshotCfg, networkname.BorMainnetChainName: BorMainnetChainSnapshotCfg, networkname.GnosisChainName: GnosisChainSnapshotCfg, networkname.ChiadoChainName: ChiadoChainSnapshotCfg, }
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { ExpectBlocks uint64 Preverified Preverified PreverifiedHistory Preverified }
type Preverified ¶
type Preverified []PreverifiedItem
type PreverifiedItem ¶
Click to show internal directories.
Click to hide internal directories.