Skip to content

Commit

Permalink
remove: set default yield aggregator
Browse files Browse the repository at this point in the history
The yield aggregator relies on the factory address for its initialisation.
  • Loading branch information
0xashu committed May 14, 2024
1 parent 3a3fced commit 396ffb4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/core/MestSharesFactoryV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ contract MestSharesFactoryV1 is Ownable {

constructor(
address _ERC1155,
address _yieldAggregator,
uint256 _basePrice,
uint256 _inflectionPoint,
uint256 _inflectionPrice,
Expand All @@ -52,9 +51,6 @@ contract MestSharesFactoryV1 is Ownable {
// Set ERC1155 address
ERC1155 = _ERC1155;

// Set default yield aggregator
_setYieldAggregator(_yieldAggregator);

// Set default curve params
curvesMap[0] = Curve({
basePrice: _basePrice, // 5000000000000000;
Expand Down

0 comments on commit 396ffb4

Please sign in to comment.