mock sets up three pools including a stablecoin pair pool and a pool with native wrapper token
This commit is contained in:
@@ -34,6 +34,8 @@ contract PartyPlanner is IPartyPlanner {
|
||||
function protocolFeeAddress() external view returns (address) { return PROTOCOL_FEE_ADDRESS; }
|
||||
|
||||
IWETH9 private immutable WRAPPER;
|
||||
function wrapper() external view returns (IWETH9) { return WRAPPER; }
|
||||
|
||||
IPartyPoolDeployer private immutable NORMAL_POOL_DEPLOYER;
|
||||
IPartyPoolDeployer private immutable BALANCED_PAIR_DEPLOYER;
|
||||
|
||||
|
||||
@@ -291,8 +291,6 @@ contract PartyPool is PartyPoolBase, ERC20External, IPartyPool {
|
||||
uint256 feeUint
|
||||
)
|
||||
{
|
||||
uint256 n = _tokens.length;
|
||||
|
||||
// Estimate max net input (fee on gross rounded up, then subtract)
|
||||
(, uint256 netUintForSwap) = _computeFee(maxAmountIn, SWAP_FEE_PPM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user