diff --git a/onchain/script/DeployLocal.sol b/onchain/script/DeployLocal.sol index 75e90f4..01bd841 100644 --- a/onchain/script/DeployLocal.sol +++ b/onchain/script/DeployLocal.sol @@ -78,10 +78,14 @@ contract DeployLocal is Script { // Seed amounts for VWAP bootstrap. // seedLmEth: initial ETH sent to the LM to create thin bootstrap positions. - // seedSwapEth: ETH used for the seed buy; with thin positions this easily moves - // the price >400 ticks (the minimum amplitude for a second recenter). + // seedSwapEth: ETH used for the seed buy. Must be large enough to move the + // Uniswap tick >400 ticks past the ANCHOR center (minAmplitude = 2*tickSpacing + // = 400 for the 1%-fee pool). The ANCHOR typically holds ~25% of seedLmEth as + // WETH across a ~7200-tick range; consuming half of that WETH (≈0.125 ETH) + // moves the price ~3600 ticks — well above the 400-tick threshold. + // 0.5 ether provides a 4× margin over the minimum needed. uint256 internal constant SEED_LM_ETH = 1 ether; - uint256 internal constant SEED_SWAP_ETH = 0.01 ether; + uint256 internal constant SEED_SWAP_ETH = 0.5 ether; // Deployed contracts Kraiken public kraiken;