RewarderFactory
Was this helpful?
Was this helpful?
Inherits: IRewarderFactory, Ownable
Author: Sperax Foundation.
This contract deploys new rewarders and keeps track of them.
Constructor.
Parameters
_oracle
address
Address of the master price oracle of USDs.
Function to deploy new rewarder.
Parameters
_rwdToken
address
Address of the reward token for which the rewarder is to be deployed.
Returns
rewarder
address
Rewarder's address.
Update rewarder implementation's address
Parameters
_newRewarderImplementation
address
New Rewarder Implementation
Function to update the oracle's address.
Parameters
_newOracle
address
Address of the new oracle.
Validate address.
Parameters
_addr
address
Address to be validated.