Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 19 additions & 15 deletions solidity/supra_contracts/deploy_automation_registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi

export ERC20_SUPRA

forge script script/DeployAutomationRegistry.s.sol:DeployAutomationRegistry \
forge script script/DeployDiamond.s.sol:DeployDiamond \
--rpc-url "$RPC_URL" \
--private-key "$PRIVATE_KEY" \
--broadcast \
Expand All @@ -54,12 +54,15 @@ echo "Deployment logs saved to $DEPLOY_LOG"
echo ""
echo "=== Extracting deployed addresses ==="

AUTOMATION_CORE_IMPL=$(extract "AutomationCore implementation deployed at:")
AUTOMATION_CORE_PROXY=$(extract "AutomationCore proxy deployed at:")
AUTOMATION_REGISTRY_IMPL=$(extract "AutomationRegistry implementation deployed at:")
AUTOMATION_REGISTRY_PROXY=$(extract "AutomationRegistry proxy deployed at:")
AUTOMATION_CONTROLLER_IMPL=$(extract "AutomationController implementation deployed at:")
AUTOMATION_CONTROLLER_PROXY=$(extract "AutomationController proxy deployed at:")
DIAMOND_OWNER=$(extract "Diamond owner:")
DIAMOND=$(extract "Diamond deployed at:")
DIAMOND_CUT_FACET=$(extract "DiamondCutFacet deployed at:")
DIAMOND_LOUPE_FACET=$(extract "DiamondLoupeFacet deployed at:")
OWNERSHIP_FACET=$(extract "OwnershipFacet deployed at:")
CONFIG_FACET=$(extract "ConfigFacet deployed at:")
REGISTRY_FACET=$(extract "RegistryFacet deployed at:")
CORE_FACET=$(extract "CoreFacet deployed at:")
DIAMOND_INIT=$(extract "DiamondInit deployed at:")

# ------------------------------------------------------------
# WRITE TO .env
Expand All @@ -73,14 +76,15 @@ cat <<EOF > "$ENV_FILE"

ERC20_SUPRA=$ERC20_SUPRA

AUTOMATION_CORE_IMPL=$AUTOMATION_CORE_IMPL
AUTOMATION_CORE_PROXY=$AUTOMATION_CORE_PROXY

AUTOMATION_REGISTRY_IMPL=$AUTOMATION_REGISTRY_IMPL
AUTOMATION_REGISTRY_PROXY=$AUTOMATION_REGISTRY_PROXY

AUTOMATION_CONTROLLER_IMPL=$AUTOMATION_CONTROLLER_IMPL
AUTOMATION_CONTROLLER_PROXY=$AUTOMATION_CONTROLLER_PROXY
DIAMOND_OWNER=$DIAMOND_OWNER
DIAMOND=$DIAMOND
DIAMOND_CUT_FACET=$DIAMOND_CUT_FACET
DIAMOND_LOUPE_FACET=$DIAMOND_LOUPE_FACET
OWNERSHIP_FACET=$OWNERSHIP_FACET
CONFIG_FACET=$CONFIG_FACET
REGISTRY_FACET=$REGISTRY_FACET
CORE_FACET=$CORE_FACET
DIAMOND_INIT=$DIAMOND_INIT
EOF

cat "$ENV_FILE"
Expand Down
37 changes: 0 additions & 37 deletions solidity/supra_contracts/getTaskDetails.js

This file was deleted.

2 changes: 1 addition & 1 deletion solidity/supra_contracts/lib/forge-std
Submodule forge-std updated 56 files
+8 −20 .github/workflows/ci.yml
+1 −1 CONTRIBUTING.md
+5 −5 README.md
+1 −1 RELEASE_CHECKLIST.md
+1 −13 foundry.toml
+2 −2 package.json
+2 −12 scripts/vm.py
+1 −1 src/Base.sol
+1 −1 src/LibVariable.sol
+1 −1 src/Script.sol
+1 −2 src/StdAssertions.sol
+13 −7 src/StdChains.sol
+10 −15 src/StdCheats.sol
+24 −5 src/StdConfig.sol
+1 −1 src/StdConstants.sol
+1 −1 src/StdError.sol
+21 −3 src/StdInvariant.sol
+1 −3 src/StdJson.sol
+1 −1 src/StdMath.sol
+10 −8 src/StdStorage.sol
+1 −1 src/StdStyle.sol
+7 −9 src/StdToml.sol
+5 −11 src/StdUtils.sol
+1 −3 src/Test.sol
+6 −4 src/Vm.sol
+2 −3 src/console.sol
+1 −1 src/console2.sol
+1 −1 src/interfaces/IERC1155.sol
+1 −1 src/interfaces/IERC165.sol
+1 −1 src/interfaces/IERC20.sol
+7 −7 src/interfaces/IERC4626.sol
+1 −1 src/interfaces/IERC6909.sol
+1 −1 src/interfaces/IERC721.sol
+4 −4 src/interfaces/IERC7540.sol
+7 −7 src/interfaces/IERC7575.sol
+1 −3 src/interfaces/IMulticall3.sol
+690 −1,379 src/safeconsole.sol
+1 −1 test/CommonBase.t.sol
+33 −4 test/Config.t.sol
+18 −0 test/LibVariable.t.sol
+1 −1 test/StdAssertions.t.sol
+3 −3 test/StdChains.t.sol
+2 −3 test/StdCheats.t.sol
+1 −1 test/StdConstants.t.sol
+2 −3 test/StdError.t.sol
+1 −1 test/StdJson.t.sol
+1 −1 test/StdMath.t.sol
+2 −3 test/StdStorage.t.sol
+1 −1 test/StdStyle.t.sol
+1 −1 test/StdToml.t.sol
+1 −1 test/StdUtils.t.sol
+2 −2 test/Vm.t.sol
+1 −3 test/compilation/CompilationScript.sol
+1 −3 test/compilation/CompilationScriptBase.sol
+1 −3 test/compilation/CompilationTest.sol
+1 −3 test/compilation/CompilationTestBase.sol
2 changes: 1 addition & 1 deletion solidity/supra_contracts/lib/openzeppelin-contracts
131 changes: 0 additions & 131 deletions solidity/supra_contracts/package-lock.json

This file was deleted.

7 changes: 0 additions & 7 deletions solidity/supra_contracts/package.json

This file was deleted.

Loading