Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

feat(foundry): init #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ yarn-error.log
coverage
coverage.json
gasReport.txt
bin
bin
.DS_Store
out/
.cache
types/
*.tar.gz
*.tgz
*.zip
50 changes: 50 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[default]
auto_detect_solc = true
block_base_fee_per_gas = 0
block_coinbase = '0x0000000000000000000000000000000000000000'
block_difficulty = 0
block_number = 0
block_timestamp = 0
cache = true
cache_path = 'cache'
evm_version = 'london'
extra_output = []
extra_output_files = []
ffi = false
force = false
fuzz_max_global_rejects = 65536
fuzz_max_local_rejects = 1024
fuzz_runs = 256
gas_limit = 80000000
gas_price = 0
gas_reports = ['*']
ignored_error_codes = [1878]
initial_balance = '0xffffffffffffffffffffffff'
libraries = []
libs = ['node_modules']
names = false
no_storage_caching = false
offline = false
optimizer = true
optimizer_runs = 200
out = 'out'
remappings = [
'@boringcrypto/=node_modules/@boringcrypto/',
'@ensdomains/=node_modules/@ensdomains/',
'@sushiswap/=node_modules/@sushiswap/',
'eth-gas-reporter/=node_modules/eth-gas-reporter/',
'hardhat-deploy/=node_modules/@sushiswap/hardhat-framework/node_modules/hardhat-deploy/',
'hardhat/=node_modules/hardhat/',
]
sender = '0x00a329c0648769a73afac7f9381e08fb43dbea72'
sizes = false
src = 'contracts'
test = 'test'
tx_origin = '0x00a329c0648769a73afac7f9381e08fb43dbea72'
verbosity = 0
via_ir = false

[rpc_storage_caching]
chains = 'all'
endpoints = 'all'

13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
"coverage": "hardhat coverage"
},
"devDependencies": {
"@sushiswap/hardhat-framework": "sushiswap/hardhat-framework#44c25f9f9d861e812399a2d5773449b368f31619"
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@sushiswap/hardhat-framework": "sushiswap/hardhat-framework#44c25f9f9d861e812399a2d5773449b368f31619",
"@typechain/ethers-v5": "^10.0.0",
"@types/node": "^16",
"ethers": "^5.6.2",
"hardhat": "^2.9.2",
"hardhat-typechain": "^0.3.5",
"ts-generator": "^0.1.1",
"ts-node": "^10.7.0",
"tslib": "^2.3.1",
"typechain": "^8.0.0",
"typescript": "^4.6.3"
},
"dependencies": {
"@boringcrypto/boring-solidity": "boringcrypto/BoringSolidity#371a01c11465eb1c881193c60a53c0bf15ee8a19",
Expand Down
Loading