price() fixes; sepolia redeploy

This commit is contained in:
tim
2025-11-26 15:32:15 -04:00
parent cce229b99c
commit 32f7fed20e

View File

@@ -17,16 +17,7 @@ import {IPartyPool} from "../src/IPartyPool.sol";
import {MockFlashBorrower} from "../test/MockFlashBorrower.sol";
contract ExercisePOC is Script {
// Successful on mainnet POC pool in blocks 23849608 and 23849609
// mint 0x59fd174ba3230aba2a29ee31d9c5ea24cfbfd9b6b732dee5f1ec2d5d3eae2209
// burn 0x9e4a722a91e04fd9a29010046d1f2122ec5398847ea0d045ca8cffc36dd51c31
// flash 0x4092966104f79c1406b6c384c3ed06d8d6ae9e458d03e5ef15bc0af09657e0d0
// swapMint 0x34b5a40babf18ece67696709a0b6d219ca5b1f70a3c6e62c5c5eb6e4e272ba27
// swap 0x557fec6da56d59502fd1300fb77972ffe8b860c8fbd863acb94eb9db87b684de
// collectProtocolFees 0xc14b99318b71ecb94909d5288191fae1bb3ad6168443c2ed26ebf5816952a624
// burnSwap 0xd711d357d46d3c861b592ca5a68655a4bb71d8895acd1c25823c3fa128d14b13
contract ExercisePool is Script {
IPartyPlanner private immutable planner;
IPartyInfo private immutable info;
@@ -42,7 +33,7 @@ contract ExercisePOC is Script {
}
function run() public {
IPartyPool pool = IPartyPool(0xfD07d9B82A45C2Cc9eDEb80103441e14801F325d);
IPartyPool pool = IPartyPool(vm.envAddress('POOL'));
console2.log('Exercising pool at', address(pool));
vm.startBroadcast();
exercise(pool);