From cb32486e27494791cbe2a05b1ca69be0304d7dde Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 8 Oct 2023 14:37:02 +0300 Subject: [PATCH] Version 0.1.4 with all dependencies link moved to the dependencies repository --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- all_dependencies.toml | 8 +++++++ crawler/create_all_dependencies.py | 38 +++++++++++++++--------------- soldeer.toml | 2 ++ src/main.rs | 3 ++- 7 files changed, 34 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8287827..8afc5d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1067,7 +1067,7 @@ dependencies = [ [[package]] name = "soldeer" -version = "0.1.3" +version = "0.1.4" dependencies = [ "lazy_static", "reqwest", diff --git a/Cargo.toml b/Cargo.toml index b8b4103..3f348ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "soldeer" -version = "0.1.3" +version = "0.1.4" edition = "2021" authors = ["m4rio"] license = "MIT" diff --git a/README.md b/README.md index 998a6df..bad83cd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SolDeer ![Rust][rust-badge] [![License: MIT][license-badge]][license] -## Version 0.1.3 +## Version 0.1.4 ### WARNING diff --git a/all_dependencies.toml b/all_dependencies.toml index 4013550..3def714 100644 --- a/all_dependencies.toml +++ b/all_dependencies.toml @@ -76,6 +76,8 @@ "@openzeppelin-contracts~4.9.3" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~4.9.3.zip" "@openzeppelin-contracts~5.0.0-rc.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~5.0.0-rc.0.zip" "@openzeppelin-contracts~5.0.0-rc.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~5.0.0-rc.1.zip" +"@openzeppelin-contracts~5.0.0-rc.2" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~5.0.0-rc.2.zip" +"@openzeppelin-contracts~5.0.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~5.0.0.zip" "@openzeppelin-contracts-upgradeable~3.2.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~3.2.0.zip" "@openzeppelin-contracts-upgradeable~3.2.2-solc-0.7" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~3.2.2-solc-0.7.zip" "@openzeppelin-contracts-upgradeable~3.3.0-solc-0.7" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~3.3.0-solc-0.7.zip" @@ -130,6 +132,8 @@ "@openzeppelin-contracts-upgradeable~4.9.3" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~4.9.3.zip" "@openzeppelin-contracts-upgradeable~5.0.0-rc.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~5.0.0-rc.0.zip" "@openzeppelin-contracts-upgradeable~5.0.0-rc.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~5.0.0-rc.1.zip" +"@openzeppelin-contracts-upgradeable~5.0.0-rc.2" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~5.0.0-rc.2.zip" +"@openzeppelin-contracts-upgradeable~5.0.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts-upgradeable~5.0.0.zip" "@uniswap-universal-router~1.0.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-universal-router~1.0.0.zip" "@uniswap-universal-router~1.0.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-universal-router~1.0.1.zip" "@uniswap-universal-router~1.1.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-universal-router~1.1.0.zip" @@ -166,6 +170,7 @@ "@uniswap-swap-router-contracts~1.2.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-swap-router-contracts~1.2.0.zip" "@uniswap-swap-router-contracts~1.2.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-swap-router-contracts~1.2.1.zip" "@uniswap-swap-router-contracts~1.3.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-swap-router-contracts~1.3.0.zip" +"@uniswap-swap-router-contracts~1.3.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-swap-router-contracts~1.3.1.zip" "@uniswap-v3-core~1.0.0-beta.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-v3-core~1.0.0-beta.0.zip" "@uniswap-v3-core~1.0.0-beta.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-v3-core~1.0.0-beta.1.zip" "@uniswap-v3-core~1.0.0-beta.2" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@uniswap-v3-core~1.0.0-beta.2.zip" @@ -268,6 +273,8 @@ "@prb-test~0.6.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@prb-test~0.6.1.zip" "@prb-test~0.6.2" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@prb-test~0.6.2.zip" "@prb-test~0.6.3" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@prb-test~0.6.3.zip" +"@prb-test~0.6.4" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@prb-test~0.6.4.zip" +"@prb-test~0.6.5" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@prb-test~0.6.5.zip" "@gelatonetwork-relay-context~0.0.1" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@gelatonetwork-relay-context~0.0.1.zip" "@gelatonetwork-relay-context~0.0.2" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@gelatonetwork-relay-context~0.0.2.zip" "@gelatonetwork-relay-context~0.0.3" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@gelatonetwork-relay-context~0.0.3.zip" @@ -452,3 +459,4 @@ "solady~0.0.121" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/solady~0.0.121.zip" "solady~0.0.122" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/solady~0.0.122.zip" "solady~0.0.123" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/solady~0.0.123.zip" +"solady~0.0.124" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/solady~0.0.124.zip" diff --git a/crawler/create_all_dependencies.py b/crawler/create_all_dependencies.py index 322be04..212445a 100644 --- a/crawler/create_all_dependencies.py +++ b/crawler/create_all_dependencies.py @@ -1,24 +1,24 @@ # Sample data -data_entries = [ - "@openzeppelin-contracts = [\"2.3.0\", \"2.4.0-beta.0\", \"2.4.0-beta.1\", \"2.4.0-beta.2\", \"2.4.0\", \"2.5.0-rc.0\", \"2.5.0\", \"2.5.1\", \"3.0.0-beta.0\", \"3.0.0-rc.0\", \"3.0.0-rc.1\", \"3.0.0\", \"3.0.1\", \"3.0.2\", \"3.1.0-rc.0\", \"3.1.0-solc-0.7\", \"3.1.0\", \"3.2.0-rc.0\", \"3.2.0-solc-0.7\", \"3.2.0\", \"3.2.1-solc-0.7\", \"3.2.2-solc-0.7\", \"3.3.0-rc.0\", \"3.3.0-rc.1\", \"3.3.0-rc.2\", \"3.3.0-solc-0.7\", \"3.3.0\", \"3.4.0-rc.0\", \"3.4.0-solc-0.7\", \"3.4.0\", \"3.4.1-solc-0.7\", \"3.4.1-solc-0.7-2\", \"3.4.1\", \"3.4.2-solc-0.7\", \"3.4.2\", \"4.0.0-beta.0\", \"4.0.0-beta.1\", \"4.0.0-rc.0\", \"4.0.0\", \"4.1.0-rc.0\", \"4.1.0\", \"4.2.0-rc.0\", \"4.2.0\", \"4.3.0-rc.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.3.3\", \"4.4.0-rc.0\", \"4.4.0-rc.1\", \"4.4.0\", \"4.4.1\", \"4.4.2\", \"4.5.0-rc.0\", \"4.5.0\", \"4.6.0-rc.0\", \"4.6.0\", \"4.7.0-rc.0\", \"4.7.0\", \"4.7.1\", \"4.7.2\", \"4.7.3\", \"4.8.0-rc.0\", \"4.8.0-rc.1\", \"4.8.0-rc.2\", \"4.8.0\", \"4.8.1\", \"4.8.2\", \"4.8.3\", \"4.9.0-rc.0\", \"4.9.0-rc.1\", \"4.9.0\", \"4.9.1\", \"4.9.2\", \"4.9.3\", \"5.0.0-rc.0\", \"5.0.0-rc.1\"]", - "@openzeppelin-contracts-upgradeable = [\"3.2.0\", \"3.2.2-solc-0.7\", \"3.3.0-solc-0.7\", \"3.3.0\", \"3.4.0-rc.0\", \"3.4.0-solc-0.7\", \"3.4.0-solc-0.7-2\", \"3.4.0\", \"3.4.1-solc-0.7\", \"3.4.1-solc-0.7-2\", \"3.4.1\", \"3.4.2-solc-0.7\", \"3.4.2\", \"4.0.0-beta.0\", \"4.0.0-rc.0\", \"4.0.0\", \"4.1.0-rc.0\", \"4.1.0\", \"4.2.0\", \"4.3.0-rc.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.3.3\", \"4.4.0-rc.1\", \"4.4.0\", \"4.4.1\", \"4.4.2\", \"4.5.0-rc.0\", \"4.5.0\", \"4.5.1\", \"4.5.2\", \"4.6.0-rc.0\", \"4.6.0\", \"4.7.0-rc.0\", \"4.7.0\", \"4.7.1\", \"4.7.2\", \"4.7.3\", \"4.8.0-rc.0\", \"4.8.0-rc.1\", \"4.8.0-rc.2\", \"4.8.0\", \"4.8.1\", \"4.8.2\", \"4.8.3\", \"4.9.0-rc.0\", \"4.9.0-rc.1\", \"4.9.0\", \"4.9.1\", \"4.9.2\", \"4.9.3\", \"5.0.0-rc.0\", \"5.0.0-rc.1\"]", - "@uniswap-universal-router = [\"1.0.0\", \"1.0.1\", \"1.1.0\", \"1.1.1\", \"1.2.1\", \"1.2.2\", \"1.3.0\", \"1.3.1\", \"1.4.0-beta.0\", \"1.4.0\", \"1.4.1-beta.0\", \"1.4.1-beta.1\", \"1.4.1\", \"1.4.2\", \"1.4.3\", \"1.5.0\", \"1.5.1\"]", - "@uniswap-v2-core = [\"1.0.0-beta.0\", \"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0\", \"1.0.1\"]", - "@uniswap-v2-periphery = [\"1.0.0-beta.0\", \"1.1.0-beta.0\"]", - "@uniswap-swap-router-contracts = [\"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.5\", \"1.0.0\", \"1.1.0\", \"1.2.0\", \"1.2.1\", \"1.3.0\"]", - "@uniswap-v3-core = [\"1.0.0-beta.0\", \"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.5\", \"1.0.0-beta.6\", \"1.0.0-beta.7\", \"1.0.0-beta.8\", \"1.0.0-beta.9\", \"1.0.0-beta.10\", \"1.0.0-rc.0\", \"1.0.0-rc.1\", \"1.0.0-rc.2\", \"1.0.0\", \"1.0.1-solc-0.8-simulate\", \"1.0.1\", \"1.0.2-solc-0.8-simulate\"]", - "@uniswap-v3-periphery = [\"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.6\", \"1.0.0-beta.7\", \"1.0.0-beta.8\", \"1.0.0-beta.9\", \"1.0.0-beta.10\", \"1.0.0-beta.11\", \"1.0.0-beta.12\", \"1.0.0-beta.13\", \"1.0.0-beta.14\", \"1.0.0-beta.15\", \"1.0.0-beta.16\", \"1.0.0-beta.17\", \"1.0.0-beta.18\", \"1.0.0-beta.19\", \"1.0.0-beta.20\", \"1.0.0-beta.21\", \"1.0.0-beta.22\", \"1.0.0-beta.23\", \"1.0.0-rc.0\", \"1.0.0\", \"1.0.1\", \"1.1.0\", \"1.1.1\", \"1.2.0\", \"1.2.1\", \"1.3.0\", \"1.4.0\", \"1.4.1\", \"1.4.2\", \"1.4.3\", \"1.4.4\"]", - "solmate = [\"6.1.0\", \"6.2.0\", \"6.5.0\", \"6.6.0\", \"6.6.1\", \"6.7.0\"]", - "@prb-math = [\"2.5.0\", \"3.0.0\", \"3.1.0\", \"3.2.0\", \"3.3.0\", \"3.3.1\", \"4.0.0\", \"4.0.1\"]", - "@prb-contracts = [\"3.8.0\", \"3.8.1\", \"3.9.0\", \"4.0.0\", \"4.1.0\", \"4.1.1\", \"5.0.0\", \"5.0.1\", \"5.0.2\", \"5.0.3\", \"5.0.4\", \"5.0.5\", \"5.0.6\"]", - "@prb-proxy = [\"2.0.0\", \"4.0.0-beta.1\", \"4.0.0-beta.5\", \"4.0.0-beta.6\", \"4.0.0\", \"4.0.1\"]", - "@prb-test = [\"0.1.1\", \"0.1.2\", \"0.1.3\", \"0.2.0\", \"0.2.1\", \"0.4.0\", \"0.5.1\", \"0.5.2\", \"0.5.3\", \"0.5.4\", \"0.5.5\", \"0.5.6\", \"0.6.0\", \"0.6.1\", \"0.6.2\", \"0.6.3\"]", - "@gelatonetwork-relay-context = [\"0.0.1\", \"0.0.2\", \"0.0.3\", \"0.0.4\", \"0.0.5\", \"0.0.6\", \"0.1.0\", \"0.1.1\", \"0.2.0\", \"0.3.0\", \"0.4.0\", \"0.4.1\", \"0.5.0\", \"1.0.0\", \"2.0.0-0\", \"2.0.0-4\", \"2.0.0-5\", \"2.0.0-6\", \"2.0.0\", \"2.1.0\", \"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\"]", - "@axelar-network-axelar-cgp-solidity = [\"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\", \"3.2.1\", \"3.2.2\", \"4.0.0\", \"4.1.0\", \"4.2.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.5.0\", \"5.0.0\", \"5.0.1\", \"6.0.0\", \"6.1.0\", \"6.1.2\"]", - "@axelar-network-axelar-gmp-sdk-solidity = [\"1.0.0\", \"1.1.0\", \"1.2.0\", \"1.3.0\", \"2.0.0\", \"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\", \"3.2.1\", \"3.3.0\", \"3.5.0\", \"3.6.0\", \"3.6.1\", \"4.0.0\", \"4.0.1\", \"4.0.2\", \"4.0.3\", \"5.0.0\", \"5.1.0\", \"5.1.1\", \"5.2.0\", \"5.3.0\", \"5.3.1\", \"5.3.3\", \"5.3.4\"]", - "@axelar-network-interchain-token-service = [\"0.1.0\", \"0.2.0\", \"0.3.0\"]", - "solady = [\"0.0.1\", \"0.0.2\", \"0.0.3\", \"0.0.4\", \"0.0.5\", \"0.0.6\", \"0.0.7\", \"0.0.9\", \"0.0.10\", \"0.0.12\", \"0.0.13\", \"0.0.15\", \"0.0.16\", \"0.0.17\", \"0.0.18\", \"0.0.19\", \"0.0.20\", \"0.0.21\", \"0.0.22\", \"0.0.23\", \"0.0.25\", \"0.0.26\", \"0.0.27\", \"0.0.28\", \"0.0.29\", \"0.0.30\", \"0.0.31\", \"0.0.32\", \"0.0.33\", \"0.0.34\", \"0.0.35\", \"0.0.36\", \"0.0.43\", \"0.0.44\", \"0.0.45\", \"0.0.46\", \"0.0.47\", \"0.0.48\", \"0.0.49\", \"0.0.50\", \"0.0.51\", \"0.0.52\", \"0.0.53\", \"0.0.54\", \"0.0.55\", \"0.0.56\", \"0.0.57\", \"0.0.58\", \"0.0.59\", \"0.0.60\", \"0.0.61\", \"0.0.62\", \"0.0.63\", \"0.0.64\", \"0.0.65\", \"0.0.66\", \"0.0.67\", \"0.0.68\", \"0.0.69\", \"0.0.70\", \"0.0.71\", \"0.0.72\", \"0.0.73\", \"0.0.74\", \"0.0.75\", \"0.0.76\", \"0.0.77\", \"0.0.78\", \"0.0.79\", \"0.0.80\", \"0.0.81\", \"0.0.82\", \"0.0.83\", \"0.0.84\", \"0.0.85\", \"0.0.86\", \"0.0.87\", \"0.0.88\", \"0.0.89\", \"0.0.90\", \"0.0.91\", \"0.0.92\", \"0.0.93\", \"0.0.94\", \"0.0.95\", \"0.0.96\", \"0.0.97\", \"0.0.98\", \"0.0.99\", \"0.0.100\", \"0.0.101\", \"0.0.102\", \"0.0.103\", \"0.0.104\", \"0.0.105\", \"0.0.106\", \"0.0.107\", \"0.0.108\", \"0.0.109\", \"0.0.110\", \"0.0.111\", \"0.0.112\", \"0.0.113\", \"0.0.114\", \"0.0.115\", \"0.0.116\", \"0.0.117\", \"0.0.118\", \"0.0.119\", \"0.0.120\", \"0.0.121\", \"0.0.122\", \"0.0.123\"]" +data_entries =[ +"@openzeppelin-contracts = [\"2.3.0\", \"2.4.0-beta.0\", \"2.4.0-beta.1\", \"2.4.0-beta.2\", \"2.4.0\", \"2.5.0-rc.0\", \"2.5.0\", \"2.5.1\", \"3.0.0-beta.0\", \"3.0.0-rc.0\", \"3.0.0-rc.1\", \"3.0.0\", \"3.0.1\", \"3.0.2\", \"3.1.0-rc.0\", \"3.1.0-solc-0.7\", \"3.1.0\", \"3.2.0-rc.0\", \"3.2.0-solc-0.7\", \"3.2.0\", \"3.2.1-solc-0.7\", \"3.2.2-solc-0.7\", \"3.3.0-rc.0\", \"3.3.0-rc.1\", \"3.3.0-rc.2\", \"3.3.0-solc-0.7\", \"3.3.0\", \"3.4.0-rc.0\", \"3.4.0-solc-0.7\", \"3.4.0\", \"3.4.1-solc-0.7\", \"3.4.1-solc-0.7-2\", \"3.4.1\", \"3.4.2-solc-0.7\", \"3.4.2\", \"4.0.0-beta.0\", \"4.0.0-beta.1\", \"4.0.0-rc.0\", \"4.0.0\", \"4.1.0-rc.0\", \"4.1.0\", \"4.2.0-rc.0\", \"4.2.0\", \"4.3.0-rc.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.3.3\", \"4.4.0-rc.0\", \"4.4.0-rc.1\", \"4.4.0\", \"4.4.1\", \"4.4.2\", \"4.5.0-rc.0\", \"4.5.0\", \"4.6.0-rc.0\", \"4.6.0\", \"4.7.0-rc.0\", \"4.7.0\", \"4.7.1\", \"4.7.2\", \"4.7.3\", \"4.8.0-rc.0\", \"4.8.0-rc.1\", \"4.8.0-rc.2\", \"4.8.0\", \"4.8.1\", \"4.8.2\", \"4.8.3\", \"4.9.0-rc.0\", \"4.9.0-rc.1\", \"4.9.0\", \"4.9.1\", \"4.9.2\", \"4.9.3\", \"5.0.0-rc.0\", \"5.0.0-rc.1\", \"5.0.0-rc.2\", \"5.0.0\"]", +"@openzeppelin-contracts-upgradeable = [\"3.2.0\", \"3.2.2-solc-0.7\", \"3.3.0-solc-0.7\", \"3.3.0\", \"3.4.0-rc.0\", \"3.4.0-solc-0.7\", \"3.4.0-solc-0.7-2\", \"3.4.0\", \"3.4.1-solc-0.7\", \"3.4.1-solc-0.7-2\", \"3.4.1\", \"3.4.2-solc-0.7\", \"3.4.2\", \"4.0.0-beta.0\", \"4.0.0-rc.0\", \"4.0.0\", \"4.1.0-rc.0\", \"4.1.0\", \"4.2.0\", \"4.3.0-rc.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.3.3\", \"4.4.0-rc.1\", \"4.4.0\", \"4.4.1\", \"4.4.2\", \"4.5.0-rc.0\", \"4.5.0\", \"4.5.1\", \"4.5.2\", \"4.6.0-rc.0\", \"4.6.0\", \"4.7.0-rc.0\", \"4.7.0\", \"4.7.1\", \"4.7.2\", \"4.7.3\", \"4.8.0-rc.0\", \"4.8.0-rc.1\", \"4.8.0-rc.2\", \"4.8.0\", \"4.8.1\", \"4.8.2\", \"4.8.3\", \"4.9.0-rc.0\", \"4.9.0-rc.1\", \"4.9.0\", \"4.9.1\", \"4.9.2\", \"4.9.3\", \"5.0.0-rc.0\", \"5.0.0-rc.1\", \"5.0.0-rc.2\", \"5.0.0\"]" , +"@uniswap-universal-router = [\"1.0.0\", \"1.0.1\", \"1.1.0\", \"1.1.1\", \"1.2.1\", \"1.2.2\", \"1.3.0\", \"1.3.1\", \"1.4.0-beta.0\", \"1.4.0\", \"1.4.1-beta.0\", \"1.4.1-beta.1\", \"1.4.1\", \"1.4.2\", \"1.4.3\", \"1.5.0\", \"1.5.1\"]" , +"@uniswap-v2-core = [\"1.0.0-beta.0\", \"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0\", \"1.0.1\"]" , +"@uniswap-v2-periphery = [\"1.0.0-beta.0\", \"1.1.0-beta.0\"]" , +"@uniswap-swap-router-contracts = [\"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.5\", \"1.0.0\", \"1.1.0\", \"1.2.0\", \"1.2.1\", \"1.3.0\", \"1.3.1\"]" , +"@uniswap-v3-core = [\"1.0.0-beta.0\", \"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.5\", \"1.0.0-beta.6\", \"1.0.0-beta.7\", \"1.0.0-beta.8\", \"1.0.0-beta.9\", \"1.0.0-beta.10\", \"1.0.0-rc.0\", \"1.0.0-rc.1\", \"1.0.0-rc.2\", \"1.0.0\", \"1.0.1-solc-0.8-simulate\", \"1.0.1\", \"1.0.2-solc-0.8-simulate\"]" , +"@uniswap-v3-periphery = [\"1.0.0-beta.1\", \"1.0.0-beta.2\", \"1.0.0-beta.3\", \"1.0.0-beta.4\", \"1.0.0-beta.6\", \"1.0.0-beta.7\", \"1.0.0-beta.8\", \"1.0.0-beta.9\", \"1.0.0-beta.10\", \"1.0.0-beta.11\", \"1.0.0-beta.12\", \"1.0.0-beta.13\", \"1.0.0-beta.14\", \"1.0.0-beta.15\", \"1.0.0-beta.16\", \"1.0.0-beta.17\", \"1.0.0-beta.18\", \"1.0.0-beta.19\", \"1.0.0-beta.20\", \"1.0.0-beta.21\", \"1.0.0-beta.22\", \"1.0.0-beta.23\", \"1.0.0-rc.0\", \"1.0.0\", \"1.0.1\", \"1.1.0\", \"1.1.1\", \"1.2.0\", \"1.2.1\", \"1.3.0\", \"1.4.0\", \"1.4.1\", \"1.4.2\", \"1.4.3\", \"1.4.4\"]" , +"solmate = [\"6.1.0\", \"6.2.0\", \"6.5.0\", \"6.6.0\", \"6.6.1\", \"6.7.0\"]" , +"@prb-math = [\"2.5.0\", \"3.0.0\", \"3.1.0\", \"3.2.0\", \"3.3.0\", \"3.3.1\", \"4.0.0\", \"4.0.1\"]" , +"@prb-contracts = [\"3.8.0\", \"3.8.1\", \"3.9.0\", \"4.0.0\", \"4.1.0\", \"4.1.1\", \"5.0.0\", \"5.0.1\", \"5.0.2\", \"5.0.3\", \"5.0.4\", \"5.0.5\", \"5.0.6\"]" , +"@prb-proxy = [\"2.0.0\", \"4.0.0-beta.1\", \"4.0.0-beta.5\", \"4.0.0-beta.6\", \"4.0.0\", \"4.0.1\"]" , +"@prb-test = [\"0.1.1\", \"0.1.2\", \"0.1.3\", \"0.2.0\", \"0.2.1\", \"0.4.0\", \"0.5.1\", \"0.5.2\", \"0.5.3\", \"0.5.4\", \"0.5.5\", \"0.5.6\", \"0.6.0\", \"0.6.1\", \"0.6.2\", \"0.6.3\", \"0.6.4\", \"0.6.5\"]" , +"@gelatonetwork-relay-context = [\"0.0.1\", \"0.0.2\", \"0.0.3\", \"0.0.4\", \"0.0.5\", \"0.0.6\", \"0.1.0\", \"0.1.1\", \"0.2.0\", \"0.3.0\", \"0.4.0\", \"0.4.1\", \"0.5.0\", \"1.0.0\", \"2.0.0-0\", \"2.0.0-4\", \"2.0.0-5\", \"2.0.0-6\", \"2.0.0\", \"2.1.0\", \"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\"]" , +"@axelar-network-axelar-cgp-solidity = [\"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\", \"3.2.1\", \"3.2.2\", \"4.0.0\", \"4.1.0\", \"4.2.0\", \"4.3.0\", \"4.3.1\", \"4.3.2\", \"4.5.0\", \"5.0.0\", \"5.0.1\", \"6.0.0\", \"6.1.0\", \"6.1.2\"]" , +"@axelar-network-axelar-gmp-sdk-solidity = [\"1.0.0\", \"1.1.0\", \"1.2.0\", \"1.3.0\", \"2.0.0\", \"3.0.0\", \"3.1.0\", \"3.1.1\", \"3.2.0\", \"3.2.1\", \"3.3.0\", \"3.5.0\", \"3.6.0\", \"3.6.1\", \"4.0.0\", \"4.0.1\", \"4.0.2\", \"4.0.3\", \"5.0.0\", \"5.1.0\", \"5.1.1\", \"5.2.0\", \"5.3.0\", \"5.3.1\", \"5.3.3\", \"5.3.4\"]" , +"@axelar-network-interchain-token-service = [\"0.1.0\", \"0.2.0\", \"0.3.0\"]" , +"solady = [\"0.0.1\", \"0.0.2\", \"0.0.3\", \"0.0.4\", \"0.0.5\", \"0.0.6\", \"0.0.7\", \"0.0.9\", \"0.0.10\", \"0.0.12\", \"0.0.13\", \"0.0.15\", \"0.0.16\", \"0.0.17\", \"0.0.18\", \"0.0.19\", \"0.0.20\", \"0.0.21\", \"0.0.22\", \"0.0.23\", \"0.0.25\", \"0.0.26\", \"0.0.27\", \"0.0.28\", \"0.0.29\", \"0.0.30\", \"0.0.31\", \"0.0.32\", \"0.0.33\", \"0.0.34\", \"0.0.35\", \"0.0.36\", \"0.0.43\", \"0.0.44\", \"0.0.45\", \"0.0.46\", \"0.0.47\", \"0.0.48\", \"0.0.49\", \"0.0.50\", \"0.0.51\", \"0.0.52\", \"0.0.53\", \"0.0.54\", \"0.0.55\", \"0.0.56\", \"0.0.57\", \"0.0.58\", \"0.0.59\", \"0.0.60\", \"0.0.61\", \"0.0.62\", \"0.0.63\", \"0.0.64\", \"0.0.65\", \"0.0.66\", \"0.0.67\", \"0.0.68\", \"0.0.69\", \"0.0.70\", \"0.0.71\", \"0.0.72\", \"0.0.73\", \"0.0.74\", \"0.0.75\", \"0.0.76\", \"0.0.77\", \"0.0.78\", \"0.0.79\", \"0.0.80\", \"0.0.81\", \"0.0.82\", \"0.0.83\", \"0.0.84\", \"0.0.85\", \"0.0.86\", \"0.0.87\", \"0.0.88\", \"0.0.89\", \"0.0.90\", \"0.0.91\", \"0.0.92\", \"0.0.93\", \"0.0.94\", \"0.0.95\", \"0.0.96\", \"0.0.97\", \"0.0.98\", \"0.0.99\", \"0.0.100\", \"0.0.101\", \"0.0.102\", \"0.0.103\", \"0.0.104\", \"0.0.105\", \"0.0.106\", \"0.0.107\", \"0.0.108\", \"0.0.109\", \"0.0.110\", \"0.0.111\", \"0.0.112\", \"0.0.113\", \"0.0.114\", \"0.0.115\", \"0.0.116\", \"0.0.117\", \"0.0.118\", \"0.0.119\", \"0.0.120\", \"0.0.121\", \"0.0.122\", \"0.0.123\", \"0.0.124\"]" ] # URL format diff --git a/soldeer.toml b/soldeer.toml index f2fa85d..363ab03 100644 --- a/soldeer.toml +++ b/soldeer.toml @@ -3,3 +3,5 @@ foundry-config = false [sdependencies] + "@gelatonetwork-relay-context~3.2.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@gelatonetwork-relay-context~3.2.0.zip" + "@openzeppelin-contracts~5.0.0" = "https://github.com/mario-eth/soldeer-versions/raw/main/all_versions/@openzeppelin-contracts~5.0.0.zip" diff --git a/src/main.rs b/src/main.rs index 1e2188b..440883d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ use crate::dependency_downloader::{ download_dependencies, unzip_dependencies, u use crate::janitor::{ healthcheck_dependencies, cleanup_after }; const REMOTE_REPOSITORY: &str = - "https://raw.githubusercontent.com/mario-eth/soldeer/main/all_dependencies.toml"; + "https://raw.githubusercontent.com/mario-eth/soldeer-versions/main/all_dependencies.toml"; #[derive(Debug)] pub struct FOUNDRY { @@ -39,6 +39,7 @@ async fn main() { if command.2 != "" { remote_url = command.2; } + match dependency_downloader::download_dependency_remote( &dependency_name,