Skip to content

Commit

Permalink
cc (#85)
Browse files Browse the repository at this point in the history
* cct hardhat

* update

* init cct foundry

* foundry - lib

* lib submodule

* clean

* clean

* update

* nit

---------

Co-authored-by: Karim <[email protected]>
  • Loading branch information
aelmanaa and khadni authored Oct 29, 2024
1 parent b2f35e0 commit b3fb094
Show file tree
Hide file tree
Showing 63 changed files with 22,430 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@
[submodule "ccip/ccip-cla-rate-limits/lib/forge-std"]
path = ccip/ccip-cla-rate-limits/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "ccip/cct/foundry/lib/forge-std"]
path = ccip/cct/foundry/lib/forge-std
url = https://github.com/foundry-rs/forge-std
5 changes: 5 additions & 0 deletions ccip/cct/foundry/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PRIVATE_KEY=
RPC_URL_FUJI=
RPC_URL_ARBITRUM_SEPOLIA=
ETHERSCAN_API_KEY=
ARBISCAN_API_KEY=
16 changes: 16 additions & 0 deletions ccip/cct/foundry/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node_modules/

# Compiler files
cache/
out/

# Ignores all broadcast logs except specific exclusions
/broadcast/*/
/broadcast/**/dry-run/
/broadcast/**/31337/

# Docs
docs/

# Dotenv file
.env
21 changes: 21 additions & 0 deletions ccip/cct/foundry/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 SmartContract Chainlink Limited SEZC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
668 changes: 668 additions & 0 deletions ccip/cct/foundry/README.md

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions ccip/cct/foundry/foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc_version = "0.8.24"
optimizer = true
optimizer_runs = 200

remappings = [
'@chainlink/contracts-ccip/=node_modules/@chainlink/contracts-ccip/'
]

fs_permissions = [{ access = "read-write", path = "./" }]

[etherscan]
avalanche-fuji = { key = "${ETHERSCAN_API_KEY}", chain = 43113, url = "https://api-testnet.snowtrace.io/api" }
arbitrum-sepolia = { key = "${ARBISCAN_API_KEY}", chain = 421613, url = "https://api-sepolia.arbiscan.io/api" }

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
1 change: 1 addition & 0 deletions ccip/cct/foundry/lib/forge-std
Submodule forge-std added at 1eea5b
Loading

0 comments on commit b3fb094

Please sign in to comment.