Documentation
¶
Index ¶
Constants ¶
View Source
const ( PoolFactoryStateNull uniswapv3PoolFactoryState = iota PoolFactoryStateCreated PoolFactoryEventPoolCreated uniswapv3PoolFactoryEvent = iota )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( pooFactoryContract w3utils.Contract, dgw datagateway.RepositoryPoolFactory, logLevel uint8, ) superwatcher.ServiceEngine
Types ¶
type PoolFactoryArtifact ¶
type PoolFactoryArtifact map[entity.Uniswapv3PoolCreated]uniswapv3PoolFactoryState
This sub-engine uses a hash map as superwatcher.Artifact. Because it's a hash map, only 1 instance of this struct is needed for all the lofs
func (PoolFactoryArtifact) ForSubEngine ¶
func (a PoolFactoryArtifact) ForSubEngine() subengines.SubEngineEnum
Implements demoengine.demoArtifact
type TestSuitePoolFactory ¶
type TestSuitePoolFactory struct { Engine superwatcher.ServiceEngine // *ensEngine Routes map[subengines.SubEngineEnum]map[common.Address][]common.Hash Services map[subengines.SubEngineEnum]superwatcher.ServiceEngine }
func NewTestSuitePoolFactory ¶
func NewTestSuitePoolFactory(dgw datagateway.RepositoryPoolFactory, logLevel uint8) *TestSuitePoolFactory
NewTestSuitePoolFactory returns a convenient struct for injecting into routerengine.routerEngine
Click to show internal directories.
Click to hide internal directories.