Closed CalabashSquash closed 2 years ago
Closed by #256 @mynameuhh ?
No, this is not added as part of that PR
Sketch of solution:
poolKeeper
to constructor parameters for PoolFactory
autoClaim
to constructor parameters for PoolFactory
Cannot pass poolKeeper and autoclaim contracts in as constructor parameters to the PoolFactory because those two contracts require the pool factory as a constructor parameter resulting in a circular dependency.
At the moment, you have to set
poolKeeper
andautoClaim
in two other separate steps after you deploy thePoolFactory
. This doesn't make sense and you may as well set the m in the constructor.Also update the deployment scripts (deploy poolKeeper and autoClaim before deploying poolFactory)