PartyPoolMintImpl
This commit is contained in:
@@ -4,13 +4,15 @@ pragma solidity ^0.8.30;
|
||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
import {PartyPool} from "./PartyPool.sol";
|
||||
import {PartyPoolSwapMintImpl} from "./PartyPoolSwapMintImpl.sol";
|
||||
import {PartyPoolMintImpl} from "./PartyPoolMintImpl.sol";
|
||||
import {PartyPlanner} from "./PartyPlanner.sol";
|
||||
|
||||
library Deploy {
|
||||
|
||||
function newPartyPlanner() internal returns (PartyPlanner) {
|
||||
return new PartyPlanner(
|
||||
new PartyPoolSwapMintImpl()
|
||||
new PartyPoolSwapMintImpl(),
|
||||
new PartyPoolMintImpl()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -25,7 +27,8 @@ library Deploy {
|
||||
bool _stable
|
||||
) internal returns (PartyPool) {
|
||||
return new PartyPool(name_, symbol_, tokens_, bases_, _kappa, _swapFeePpm, _flashFeePpm, _stable,
|
||||
new PartyPoolSwapMintImpl()
|
||||
new PartyPoolSwapMintImpl(),
|
||||
address(new PartyPoolMintImpl())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user