DeployMock creates viewer
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user