deployed to Sepolia; liqp-deployments.json

This commit is contained in:
tim
2025-10-16 16:16:41 -04:00
parent 38371614fc
commit e948067167
18 changed files with 304 additions and 64 deletions

View File

@@ -2,7 +2,7 @@
pragma solidity ^0.8.30;
import {IERC20} from "../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
import {IWETH9} from "../src/IWETH9.sol";
import {NativeWrapper} from "../src/NativeWrapper.sol";
import {PartyPlanner} from "../src/PartyPlanner.sol";
import {PartyPool} from "../src/PartyPool.sol";
import {PartyPoolBalancedPair} from "../src/PartyPoolBalancedPair.sol";
@@ -17,11 +17,11 @@ library Deploy {
uint256 internal constant PROTOCOL_FEE_PPM = 100_000; // 10%
function newPartyPlanner() internal returns (PartyPlanner) {
IWETH9 wrapper = new WETH9();
NativeWrapper wrapper = new WETH9();
return newPartyPlanner(wrapper);
}
function newPartyPlanner(IWETH9 wrapper) internal returns (PartyPlanner) {
function newPartyPlanner(NativeWrapper wrapper) internal returns (PartyPlanner) {
return new PartyPlanner(
wrapper,
new PartyPoolSwapImpl(wrapper),
@@ -43,7 +43,7 @@ library Deploy {
uint256 _flashFeePpm,
bool _stable
) internal returns (PartyPool) {
IWETH9 wrapper = new WETH9();
NativeWrapper wrapper = new WETH9();
return newPartyPool(name_, symbol_, tokens_, bases_, _kappa, _swapFeePpm, _flashFeePpm, wrapper, _stable);
}
@@ -55,7 +55,7 @@ library Deploy {
int128 _kappa,
uint256 _swapFeePpm,
uint256 _flashFeePpm,
IWETH9 wrapper,
NativeWrapper wrapper,
bool _stable
) internal returns (PartyPool) {
return _stable && tokens_.length == 2 ?
@@ -91,7 +91,7 @@ library Deploy {
function newViewer() internal returns (PartyPoolViewer) {
IWETH9 wrapper = new WETH9();
NativeWrapper wrapper = new WETH9();
return new PartyPoolViewer(new PartyPoolSwapImpl(wrapper), new PartyPoolMintImpl(wrapper));
}
}