Skip to content

Commit

Permalink
feat(scripts): add freezing option
Browse files Browse the repository at this point in the history
  • Loading branch information
envin3 committed Oct 31, 2024
1 parent 1282491 commit abc70d8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions solidity/scripts/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ contract Deploy is Script, DeployHelper {
address erc20,
string memory name,
string memory symbol,
bool local
bool local,
bool freezing
) public {
vm.startBroadcast();

(
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();
Expand Down Expand Up @@ -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);
}
}

0 comments on commit abc70d8

Please sign in to comment.