DeployMock creates viewer

This commit is contained in:
tim
2025-10-07 15:02:43 -04:00
parent 104c279123
commit 2d45296406
4 changed files with 15 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ import {PartyPoolBalancedPair} from "./PartyPoolBalancedPair.sol";
import {PartyPoolDeployer, PartyPoolBalancedPairDeployer} from "./PartyPoolDeployer.sol";
import {PartyPoolMintImpl} from "./PartyPoolMintImpl.sol";
import {PartyPoolSwapImpl} from "./PartyPoolSwapImpl.sol";
import {PartyPoolView} from "./PartyPoolView.sol";
import {PartyPoolViewer} from "./PartyPoolViewer.sol";
library Deploy {
@@ -67,7 +67,7 @@ library Deploy {
}
function newViewer() internal returns (PartyPoolView) {
return new PartyPoolView(new PartyPoolSwapImpl(), new PartyPoolMintImpl());
function newViewer() internal returns (PartyPoolViewer) {
return new PartyPoolViewer(new PartyPoolSwapImpl(), new PartyPoolMintImpl());
}
}

View File

@@ -9,7 +9,7 @@ import {PartyPoolHelpers} from "./PartyPoolHelpers.sol";
import {PartyPoolMintImpl} from "./PartyPoolMintImpl.sol";
import {PartyPoolSwapImpl} from "./PartyPoolSwapImpl.sol";
contract PartyPoolView is PartyPoolHelpers {
contract PartyPoolViewer is PartyPoolHelpers {
using ABDKMath64x64 for int128;
PartyPoolSwapImpl immutable internal SWAP_IMPL;