PartyPoolView

This commit is contained in:
tim
2025-10-07 12:36:24 -04:00
parent 20af14c872
commit 677ce4886c
8 changed files with 245 additions and 214 deletions

View File

@@ -7,6 +7,7 @@ import {PartyPool} from "./PartyPool.sol";
import {PartyPoolBalancedPair} from "./PartyPoolBalancedPair.sol";
import {PartyPoolMintImpl} from "./PartyPoolMintImpl.sol";
import {PartyPoolSwapImpl} from "./PartyPoolSwapImpl.sol";
import {PartyPoolView} from "./PartyPoolView.sol";
library Deploy {
@@ -62,4 +63,8 @@ library Deploy {
);
}
function newViewer() internal returns (PartyPoolView) {
return new PartyPoolView(new PartyPoolSwapImpl(), new PartyPoolMintImpl());
}
}