From 5a1872aec3cad65c67a5426eb2a3ab28ead8a5c1 Mon Sep 17 00:00:00 2001 From: kyriediculous Date: Fri, 4 Oct 2024 11:12:33 +0200 Subject: [PATCH] update local deployment scripts --- script/add_liq.s.sol | 2 +- script/deploy.local.sh | 6 ++++-- script/send.local.sh | 25 ++++++++++++++++++------- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/script/add_liq.s.sol b/script/add_liq.s.sol index 71fa834..96441e4 100644 --- a/script/add_liq.s.sol +++ b/script/add_liq.s.sol @@ -12,7 +12,7 @@ contract AddLiquidity is Script { function run() public { uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey); - address swap = 0x2c07f69C7397A48B347550962935EEDf06A9f68F; + address swap = 0xF506637B46AD84AF0e3883985Ba60e7fE3568395; LpETH(payable(swap)).deposit{ value: 1000 ether }(0); vm.stopBroadcast(); diff --git a/script/deploy.local.sh b/script/deploy.local.sh index 2b2507d..e4ac11d 100644 --- a/script/deploy.local.sh +++ b/script/deploy.local.sh @@ -10,8 +10,10 @@ curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","id":6 export PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 -forge script script/deploy.local.s.sol --legacy --rpc-url http://127.0.0.1:8545 --broadcast --private-key $PRIVATE_KEY -vvvv -forge script script/add_liq.s.sol --legacy --rpc-url http://127.0.0.1:8545 --broadcast --private-key $PRIVATE_KEY -vvvv + forge script script/deploy.local.s.sol --legacy --rpc-url http://127.0.0.1:8545 --broadcast --private-key $PRIVATE_KEY -vvvv + forge script script/add_liq.s.sol --legacy --rpc-url http://127.0.0.1:8545 --broadcast --private-key $PRIVATE_KEY -vvvv +# forge script script/prelaunch.local.s.sol --legacy --rpc-url http://127.0.0.1:8545 --broadcast --private-key $PRIVATE_KEY -vvvv + read -r -d '' _