2022-07-16 11:36:29 +00:00
|
|
|
# Full reference https://github.com/foundry-rs/foundry/tree/master/config
|
|
|
|
|
|
|
|
[profile.default]
|
2023-02-04 18:59:02 +00:00
|
|
|
auto_detect_solc = false
|
2023-04-01 06:46:05 +00:00
|
|
|
block_timestamp = 1_680_220_800 # March 31, 2023 at 00:00 GMT
|
2023-02-04 18:59:02 +00:00
|
|
|
bytecode_hash = "none"
|
|
|
|
cbor_metadata = false
|
2023-05-26 20:47:58 +00:00
|
|
|
evm_version = "paris"
|
2023-02-04 18:59:02 +00:00
|
|
|
fuzz = { runs = 1_000 }
|
|
|
|
gas_reports = ["*"]
|
|
|
|
libs = ["lib"]
|
|
|
|
optimizer = true
|
|
|
|
optimizer_runs = 10_000
|
|
|
|
out = "out"
|
2023-02-25 10:40:24 +00:00
|
|
|
script = "script"
|
|
|
|
solc = "0.8.19"
|
2023-02-04 18:59:02 +00:00
|
|
|
src = "src"
|
|
|
|
test = "test"
|
2022-07-16 11:36:29 +00:00
|
|
|
|
|
|
|
[profile.ci]
|
2023-02-04 18:59:02 +00:00
|
|
|
fuzz = { runs = 10_000 }
|
|
|
|
verbosity = 4
|
|
|
|
|
|
|
|
[etherscan]
|
2023-12-21 07:59:43 +00:00
|
|
|
arbitrum = { key = "${API_KEY_ARBISCAN}" }
|
2023-04-17 03:06:26 +00:00
|
|
|
avalanche = { key = "${API_KEY_SNOWTRACE}" }
|
2023-04-20 10:10:29 +00:00
|
|
|
bnb_smart_chain = { key = "${API_KEY_BSCSCAN}" }
|
2023-04-20 10:15:05 +00:00
|
|
|
gnosis_chain = { key = "${API_KEY_GNOSISSCAN}" }
|
2023-03-01 12:15:16 +00:00
|
|
|
goerli = { key = "${API_KEY_ETHERSCAN}" }
|
2023-03-15 09:23:21 +00:00
|
|
|
mainnet = { key = "${API_KEY_ETHERSCAN}" }
|
2023-03-01 12:15:16 +00:00
|
|
|
optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" }
|
|
|
|
polygon = { key = "${API_KEY_POLYGONSCAN}" }
|
|
|
|
sepolia = { key = "${API_KEY_ETHERSCAN}" }
|
2023-02-04 18:59:02 +00:00
|
|
|
|
|
|
|
[fmt]
|
|
|
|
bracket_spacing = true
|
|
|
|
int_types = "long"
|
|
|
|
line_length = 120
|
|
|
|
multiline_func_header = "all"
|
|
|
|
number_underscore = "thousands"
|
|
|
|
quote_style = "double"
|
|
|
|
tab_width = 4
|
|
|
|
wrap_comments = true
|
2023-01-03 19:18:14 +00:00
|
|
|
|
2023-01-08 20:15:38 +00:00
|
|
|
[rpc_endpoints]
|
2023-12-21 07:59:43 +00:00
|
|
|
arbitrum = "https://arbitrum-mainnet.infura.io/v3/${API_KEY_INFURA}"
|
2023-03-01 12:15:16 +00:00
|
|
|
avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}"
|
2023-04-20 10:10:29 +00:00
|
|
|
bnb_smart_chain = "https://bsc-dataseed.binance.org"
|
2023-04-20 10:15:05 +00:00
|
|
|
gnosis_chain = "https://rpc.gnosischain.com"
|
2023-03-01 12:15:16 +00:00
|
|
|
goerli = "https://goerli.infura.io/v3/${API_KEY_INFURA}"
|
2023-02-16 10:43:43 +00:00
|
|
|
localhost = "http://localhost:8545"
|
2023-03-15 09:23:21 +00:00
|
|
|
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
|
2023-03-01 12:15:16 +00:00
|
|
|
optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}"
|
|
|
|
polygon = "https://polygon-mainnet.infura.io/v3/${API_KEY_INFURA}"
|
|
|
|
sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"
|