Skip to content

Commit

Permalink
Broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovdog committed Nov 5, 2024
1 parent d84920d commit 6751248
Show file tree
Hide file tree
Showing 5 changed files with 1,518 additions and 270 deletions.
426 changes: 426 additions & 0 deletions broadcast/MagicSpend.s.sol/11155111/run-1730797865.json

Large diffs are not rendered by default.

428 changes: 301 additions & 127 deletions broadcast/MagicSpend.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

462 changes: 462 additions & 0 deletions broadcast/MagicSpend.s.sol/84532/run-1730798069.json

Large diffs are not rendered by default.

468 changes: 327 additions & 141 deletions broadcast/MagicSpend.s.sol/84532/run-latest.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions script/MagicSpend.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ contract MagicSpend_Deploy is Script {
address signer = vm.rememberKey(vm.envUint("SIGNER"));
address alice = vm.rememberKey(vm.envUint("ALICE"));

// bytes32 salt = vm.envBytes32("SALT");

vm.startBroadcast(deployer);
address proxyStakeManager = Upgrades.deployTransparentProxy(
"MagicSpendStakeManager.sol", owner, abi.encodeCall(MagicSpendStakeManager.initialize, (owner))
Expand All @@ -33,7 +31,9 @@ contract MagicSpend_Deploy is Script {
);

MagicSpendWithdrawalManager withdrawalManager = MagicSpendWithdrawalManager(payable(proxyWithdrawalManager));
vm.stopBroadcast();

vm.startBroadcast(owner);
withdrawalManager.addLiquidity{value: 0.01 ether}(ETH, 0.01 ether);
vm.stopBroadcast();

Expand Down

0 comments on commit 6751248

Please sign in to comment.