Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Layer1 = "l1" Layer2 = "l2" )
View Source
var (
ZeroAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { // db configs DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 RPCUrl string MetricsHTTPPort uint64 ETHClientTimeout uint64 L1TaikoAddress common.Address BridgeAddress common.Address BlockBatchSize uint64 SubscriptionBackoff uint64 SyncMode SyncMode IndexNFTs bool IndexERC20s bool Layer string OpenDBFunc func() (db.DB, error) }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
type FilterFunc ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func (*Indexer) InitFromCli ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.