Skip to content

Commit

Permalink
Added Missing Deployment Scripts (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzel98 committed Sep 30, 2024
1 parent 829c470 commit 44390ac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion script/DeployEnvironmentSetUp.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { IDelegationManager } from "../src/interfaces/IDelegationManager.sol";

import { AllowedCalldataEnforcer } from "../src/enforcers/AllowedCalldataEnforcer.sol";
import { AllowedMethodsEnforcer } from "../src/enforcers/AllowedMethodsEnforcer.sol";
import { NativeTokenTransferAmountEnforcer } from "../src/enforcers/NativeTokenTransferAmountEnforcer.sol";
import { AllowedTargetsEnforcer } from "../src/enforcers/AllowedTargetsEnforcer.sol";
import { NativeTokenTransferAmountEnforcer } from "../src/enforcers/NativeTokenTransferAmountEnforcer.sol";
import { BlockNumberEnforcer } from "../src/enforcers/BlockNumberEnforcer.sol";
import { DeployedEnforcer } from "../src/enforcers/DeployedEnforcer.sol";
import { ERC20BalanceGteEnforcer } from "../src/enforcers/ERC20BalanceGteEnforcer.sol";
Expand All @@ -27,6 +27,9 @@ import { RedeemerEnforcer } from "../src/enforcers/RedeemerEnforcer.sol";
import { NativeBalanceGteEnforcer } from "../src/enforcers/NativeBalanceGteEnforcer.sol";
import { NativeTokenPaymentEnforcer } from "../src/enforcers/NativeTokenPaymentEnforcer.sol";
import { ArgsEqualityCheckEnforcer } from "../src/enforcers/ArgsEqualityCheckEnforcer.sol";
import { RedeemerEnforcer } from "../src/enforcers/RedeemerEnforcer.sol";
import { ERC721BalanceGteEnforcer } from "../src/enforcers/ERC721BalanceGteEnforcer.sol";
import { ERC1155BalanceGteEnforcer } from "../src/enforcers/ERC1155BalanceGteEnforcer.sol";

/**
* @title DeployEnvironmentSetUp
Expand Down Expand Up @@ -123,6 +126,12 @@ contract DeployEnvironmentSetUp is Script {
address(new NativeTokenPaymentEnforcer{ salt: salt }(IDelegationManager(delegationManager), deployedAddress));
console2.log("NativeTokenPaymentEnforcer: %s", deployedAddress);

deployedAddress = address(new ERC721BalanceGteEnforcer{ salt: salt }());
console2.log("ERC721BalanceGteEnforcer: %s", deployedAddress);

deployedAddress = address(new ERC1155BalanceGteEnforcer{ salt: salt }());
console2.log("ERC1155BalanceGteEnforcer: %s", deployedAddress);

vm.stopBroadcast();
}
}

0 comments on commit 44390ac

Please sign in to comment.