From abc70d81c1574ce6bc46b184763cdf81c626babc Mon Sep 17 00:00:00 2001 From: envin Date: Thu, 31 Oct 2024 23:40:30 +0100 Subject: [PATCH] feat(scripts): add freezing option --- solidity/scripts/Deploy.s.sol | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/solidity/scripts/Deploy.s.sol b/solidity/scripts/Deploy.s.sol index daf9f760..b01c298e 100644 --- a/solidity/scripts/Deploy.s.sol +++ b/solidity/scripts/Deploy.s.sol @@ -26,7 +26,8 @@ contract Deploy is Script, DeployHelper { address erc20, string memory name, string memory symbol, - bool local + bool local, + bool freezing ) public { vm.startBroadcast(); @@ -34,7 +35,7 @@ contract Deploy is Script, DeployHelper { XERC20 xerc20, XERC20Lockbox lockbox, XERC20Factory factory - ) = _setupXERC20(factory_, erc20, name, symbol, local); + ) = _setupXERC20(factory_, erc20, name, symbol, local, freezing); FeesManager feesManager = new FeesManager(msg.sender); PAM pam = new PAM(); @@ -70,8 +71,9 @@ contract Deploy is Script, DeployHelper { address erc20, string memory name, string memory symbol, - bool local + bool local, + bool freezing ) public { - run(address(0), erc20, name, symbol, local); + run(address(0), erc20, name, symbol, local, freezing); } }