File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
deploy-testnet :
2
2
op run --env-file=" ./.env" -- \
3
- bash -c 'echo $$TESTNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-testnet'
3
+ bash -c ' echo $$TESTNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-testnet'
4
4
5
5
deploy-testnet-broadcast :
6
6
op run --env-file=" ./.env" -- \
7
- bash -c 'echo $$TESTNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-testnet --verify --verifier sourcify --verifier-url https ://sourcify.roninchain.com/server/ --legacy --broadcast'
7
+ bash -c ' echo $$TESTNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-testnet --verify --verifier sourcify --verifier-url https://sourcify.roninchain.com/server/ --legacy --broadcast'
8
8
9
9
deploy-mainnet :
10
10
op run --env-file=" ./.env" -- \
11
11
bash -c ' echo $$MAINNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-mainnet'
12
12
13
13
deploy-mainnet-broadcast :
14
14
op run --env-file=" ./.env" -- \
15
- bash -c ' echo $$MAINNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-mainnet --legacy --broadcast'
15
+ bash -c ' echo $$MAINNET_PK | xargs -I {} forge script DeployPermit2 --private-key {} -f ronin-mainnet --verify --verifier sourcify --verifier-url https://sourcify.roninchain.com/server/ --legacy --broadcast'
16
+
Original file line number Diff line number Diff line change @@ -9,8 +9,13 @@ contract DeployPermit2 is Script {
9
9
function setUp () public {}
10
10
11
11
function run () public returns (Permit2 permit2 ) {
12
- vm.broadcast ();
12
+ vm.startBroadcast ();
13
13
permit2 = new Permit2 ();
14
14
console2.log ("Permit2 Deployed: " , address (permit2));
15
+
16
+ address multisig = 0x9D05D1F5b0424F8fDE534BC196FFB6Dd211D902a ;
17
+ permit2.transferOwnership (multisig);
18
+ console2.log ("Permit2 Ownership transferred to: " , multisig);
19
+ vm.stopBroadcast ();
15
20
}
16
21
}
You can’t perform that action at this time.
0 commit comments