FarmDeployer
Inherits: Ownable, ReentrancyGuard
Author: Sperax Foundation.
Exposes base functionalities which will be useful in every deployer.
State Variables
FARM_REGISTRY
farmImplementation
farmId
Functions
constructor
Constructor.
Parameters
updateFarmImplementation
Update farm implementation's address.
Only callable by the owner.
Ensure that _newFarmId
is correct for the new farm implementation.
Parameters
_collectFee
Collect fee and transfer it to feeReceiver.
Function fetches all the fee params from farmRegistry.
_validateNonZeroAddr
Validate address.