From 24e4b31a7f719e5caa1c1fc1d6c808f7e95e4495 Mon Sep 17 00:00:00 2001 From: 1M4nt0 Date: Wed, 12 Jul 2023 15:40:02 +0200 Subject: [PATCH 1/3] check --- script/Deploy.s.sol | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 46650a1..6bcedef 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -4,16 +4,13 @@ pragma solidity ^0.8.9; import "forge-std/Script.sol"; import "src/Credentials/Credentials.sol"; import "src/Karma/KarmaAccessControluint64.sol"; +import "src/Credentials/Factory.sol"; contract LocalDeploy is Script { function run() external { uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey); - - CredentialsBurnable creds = - new CredentialsBurnable(msg.sender, "Credentials", "CREDS", "https://creds.com/", 100); - new KarmaAccessControluint64(creds, 0, 0); - + new CredentialsFactory(); vm.stopBroadcast(); } } From e69dd3d1f53fbd467f21d643b8ed1d535cc6f365 Mon Sep 17 00:00:00 2001 From: 1M4nt0 Date: Wed, 12 Jul 2023 15:53:03 +0200 Subject: [PATCH 2/3] check --- script/Deploy.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 6bcedef..a809d10 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -6,7 +6,7 @@ import "src/Credentials/Credentials.sol"; import "src/Karma/KarmaAccessControluint64.sol"; import "src/Credentials/Factory.sol"; -contract LocalDeploy is Script { +contract FactoryDeploy is Script { function run() external { uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey); From 8a1232350281726c5c459123eecd07a1fdbbc4d2 Mon Sep 17 00:00:00 2001 From: 1M4nt0 Date: Wed, 12 Jul 2023 15:59:18 +0200 Subject: [PATCH 3/3] check --- script/Deploy.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index a809d10..6bcedef 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -6,7 +6,7 @@ import "src/Credentials/Credentials.sol"; import "src/Karma/KarmaAccessControluint64.sol"; import "src/Credentials/Factory.sol"; -contract FactoryDeploy is Script { +contract LocalDeploy is Script { function run() external { uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); vm.startBroadcast(deployerPrivateKey);