-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dylan DesRosier
committed
Jun 29, 2023
1 parent
978ba4c
commit 12f35de
Showing
11 changed files
with
4,828 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Mnemonic phrase | ||
export MNEMONIC="" | ||
|
||
# Private key | ||
export PRIVATE_KEY="" | ||
|
||
# Mainnet RPC URLs | ||
export MAINNET_RPC_URL="" | ||
export ARBITRUM_RPC_URL="" | ||
export OPTIMISM_RPC_URL="" | ||
export POLYGON_RPC_URL="" | ||
|
||
# Testnet RPC URLs | ||
export GOERLI_RPC_URL="" | ||
export ARBITRUM_GOERLI_RPC_URL="" | ||
export OPTIMISM_GOERLI_RPC_URL="" | ||
export POLYGON_MUMBAI_RPC_URL="" | ||
|
||
# Used for verifying contracts on Etherscan | ||
export ETHERSCAN_API_KEY="" | ||
export ARBITRUM_ETHERSCAN_API_KEY="" | ||
export OPTIMISM_ETHERSCAN_API_KEY="" | ||
export POLYGONSCAN_API_KEY="" | ||
|
||
# Used to run Hardhat scripts in fork mode | ||
export FORK_ENABLED=true | ||
|
||
# Used to report gas usage when running Forge tests | ||
export FORGE_GAS_REPORT=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run lint-staged && npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"*.{json,md,sol,yml}": [ | ||
"npm run format" | ||
], | ||
"*.sol": [ | ||
"npm run hint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
artifacts | ||
broadcast | ||
cache | ||
cache_hardhat | ||
deployments | ||
lib | ||
out | ||
types | ||
|
||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"overrides": [ | ||
{ | ||
"files": "*.sol", | ||
"options": { | ||
"bracketSpacing": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "solhint:recommended", | ||
"plugins": ["prettier"], | ||
"rules": { | ||
"avoid-low-level-calls": "off", | ||
"compiler-version": ["error", "0.8.17"], | ||
"func-visibility": "off", | ||
"no-empty-blocks": "off", | ||
"no-inline-assembly": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.