modified .gitmodules +3 -0
| @@ -1,3 +1,6 @@ |
| 1 | 1 | [submodule "lib/forge-std"] |
| 2 | 2 | path = lib/forge-std |
| 3 | 3 | url = https://github.com/foundry-rs/forge-std |
| 4 | +[submodule "lib/openzeppelin-contracts"] |
| 5 | + path = lib/openzeppelin-contracts |
| 6 | + url = https://github.com/OpenZeppelin/openzeppelin-contracts |
| @@ -1,3 +1,6 @@ |
| 1 | [submodule "lib/forge-std"] | 1 | [submodule "lib/forge-std"] |
| 2 | path = lib/forge-std | 2 | path = lib/forge-std |
| 3 | url = https://github.com/foundry-rs/forge-std | 3 | url = https://github.com/foundry-rs/forge-std |
| | 4 | +[submodule "lib/openzeppelin-contracts"] |
| | 5 | + path = lib/openzeppelin-contracts |
| | 6 | + url = https://github.com/OpenZeppelin/openzeppelin-contracts |
modified foundry.lock +6 -0
| @@ -4,5 +4,11 @@ |
| 4 | 4 | "name": "v1.16.2", |
| 5 | 5 | "rev": "bf647bd6046f2f7da30d0c2bf435e5c76a780c1b" |
| 6 | 6 | } |
| 7 | + }, |
| 8 | + "lib/openzeppelin-contracts": { |
| 9 | + "tag": { |
| 10 | + "name": "v5.7.0", |
| 11 | + "rev": "cab19933c33c2ad1d4c7a84864a3601dddfd16f3" |
| 12 | + } |
| 7 | 13 | } |
| 8 | 14 | } |
| | \ No newline at end of file |
| @@ -4,5 +4,11 @@ |
| 4 | "name": "v1.16.2", | 4 | "name": "v1.16.2", |
| 5 | "rev": "bf647bd6046f2f7da30d0c2bf435e5c76a780c1b" | 5 | "rev": "bf647bd6046f2f7da30d0c2bf435e5c76a780c1b" |
| 6 | } | 6 | } |
| | 7 | + }, |
| | 8 | + "lib/openzeppelin-contracts": { |
| | 9 | + "tag": { |
| | 10 | + "name": "v5.7.0", |
| | 11 | + "rev": "cab19933c33c2ad1d4c7a84864a3601dddfd16f3" |
| | 12 | + } |
| 7 | } | 13 | } |
| 8 | } | 14 | } |
| \ No newline at end of file | | \ No newline at end of file |
modified foundry.toml +0 -6
| @@ -39,15 +39,9 @@ multiline_func_header = "attributes_first" |
| 39 | 39 | sort_imports = true |
| 40 | 40 | |
| 41 | 41 | [rpc_endpoints] |
| 42 | | -mainnet = "${MAINNET_RPC_URL}" |
| 43 | | -sepolia = "${SEPOLIA_RPC_URL}" |
| 44 | | -base = "${BASE_RPC_URL}" |
| 45 | 42 | base_sepolia = "${BASE_SEPOLIA_RPC_URL}" |
| 46 | 43 | |
| 47 | 44 | [etherscan] |
| 48 | | -mainnet = { key = "${ETHERSCAN_API_KEY}" } |
| 49 | | -sepolia = { key = "${ETHERSCAN_API_KEY}" } |
| 50 | | -base = { key = "${ETHERSCAN_API_KEY}", chain = 8453 } |
| 51 | 45 | base_sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 84532 } |
| 52 | 46 | |
| 53 | 47 | # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options |
| @@ -39,15 +39,9 @@ multiline_func_header = "attributes_first" |
| 39 | sort_imports = true | 39 | sort_imports = true |
| 40 | | 40 | |
| 41 | [rpc_endpoints] | 41 | [rpc_endpoints] |
| 42 | -mainnet = "${MAINNET_RPC_URL}" | | |
| 43 | -sepolia = "${SEPOLIA_RPC_URL}" | | |
| 44 | -base = "${BASE_RPC_URL}" | | |
| 45 | base_sepolia = "${BASE_SEPOLIA_RPC_URL}" | 42 | base_sepolia = "${BASE_SEPOLIA_RPC_URL}" |
| 46 | | 43 | |
| 47 | [etherscan] | 44 | [etherscan] |
| 48 | -mainnet = { key = "${ETHERSCAN_API_KEY}" } | | |
| 49 | -sepolia = { key = "${ETHERSCAN_API_KEY}" } | | |
| 50 | -base = { key = "${ETHERSCAN_API_KEY}", chain = 8453 } | | |
| 51 | base_sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 84532 } | 45 | base_sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 84532 } |
| 52 | | 46 | |
| 53 | # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options | 47 | # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options |
added lib/openzeppelin-contracts +1 -0
| new file mode 160000 |
| @@ -0,0 +1 @@ |
| 1 | +Subproject commit cab19933c33c2ad1d4c7a84864a3601dddfd16f3 |
| new file mode 160000 |
| @@ -0,0 +1 @@ |
| | 1 | +Subproject commit cab19933c33c2ad1d4c7a84864a3601dddfd16f3 |
added remappings.txt +2 -0
| new file mode 100644 |
| @@ -0,0 +1,2 @@ |
| 1 | +@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/ |
| 2 | +forge-std/=lib/forge-std/src/ |
| new file mode 100644 |
| @@ -0,0 +1,2 @@ |
| | 1 | +@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/ |
| | 2 | +forge-std/=lib/forge-std/src/ |