GYSR documentation
Search…
Factory
Modular factory system

β€‹πŸ­β€‹

In order to extend the principles of modularity and extensibility to the Pool factory, we introduce the concept of a module factory. This sub-factory is responsible for the construction of its respective module and is managed by the primary Pool factory. Each module factory must be whitelisted by the Pool factory controller before it can be used.
The Pool factory create method can be called by any user to configure and deploy a new Pool. The desired module types are specified by passing the corresponding factory addresses. Additionally, the constructor data for each sub-factory is passed through a pair of flexible bytes parameters. This primary factory method calls each module factory and assembles the overall Pool contract
You can find all deployed factory addresses listed here
Copy link