protocol fees
This commit is contained in:
@@ -12,7 +12,9 @@ library Deploy {
|
||||
function newPartyPlanner() internal returns (PartyPlanner) {
|
||||
return new PartyPlanner(
|
||||
new PartyPoolSwapMintImpl(),
|
||||
new PartyPoolMintImpl()
|
||||
new PartyPoolMintImpl(),
|
||||
0, // protocolFeePpm = 0 for deploy helper
|
||||
address(0) // protocolFeeAddress = address(0) for deploy helper
|
||||
);
|
||||
}
|
||||
|
||||
@@ -26,7 +28,21 @@ library Deploy {
|
||||
uint256 _flashFeePpm,
|
||||
bool _stable
|
||||
) internal returns (PartyPool) {
|
||||
return new PartyPool(name_, symbol_, tokens_, bases_, _kappa, _swapFeePpm, _flashFeePpm, _stable,
|
||||
// default protocol fee/off parameters (per your instruction) - set to 0 / address(0)
|
||||
uint256 protocolFeePpm = 0;
|
||||
address protocolAddr = address(0);
|
||||
|
||||
return new PartyPool(
|
||||
name_,
|
||||
symbol_,
|
||||
tokens_,
|
||||
bases_,
|
||||
_kappa,
|
||||
_swapFeePpm,
|
||||
_flashFeePpm,
|
||||
protocolFeePpm,
|
||||
protocolAddr,
|
||||
_stable,
|
||||
new PartyPoolSwapMintImpl(),
|
||||
new PartyPoolMintImpl()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user