forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·115 lines (115 loc) · 5.14 KB
/
package.json
File metadata and controls
executable file
·115 lines (115 loc) · 5.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@metis.io/contracts",
"version": "1.3.0",
"main": "dist/index",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/types/*.ts",
"artifacts/contracts/**/*.json",
"deployments/**/*.json",
"chugsplash",
"L1",
"L2",
"libraries",
"standards"
],
"types": "dist/index",
"author": "Optimism PBC and Metis.io",
"license": "MIT",
"scripts": {
"build": "yarn build:contracts && yarn autogen:artifacts && yarn build:typescript",
"build:typescript": "tsc -p ./tsconfig.build.json",
"build:contracts": "hardhat compile --show-stack-traces",
"build:dump": "ts-node bin/take-dump.ts",
"build:dumpaddr": "ts-node bin/dump-addresses.ts",
"autogen:markdown": "node scripts/generate-markdown.js",
"autogen:artifacts": "node scripts/generate-artifacts.js && node scripts/generate-deployed-artifacts.js",
"test": "yarn test:contracts",
"test:contracts": "hardhat test --show-stack-traces",
"test:coverage": "NODE_OPTIONS=--max_old_space_size=8192 hardhat coverage",
"test:slither": "slither .",
"pretest:slither": "rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat",
"posttest:slither": "rm -f @openzeppelin && rm -f @ens && rm -f hardhat",
"lint:ts:check": "eslint .",
"lint:contracts:check": "yarn solhint -f table 'contracts/**/*.sol'",
"lint:check": "yarn lint:contracts:check && yarn lint:ts:check",
"lint:ts:fix": "eslint --fix .",
"lint:contracts:fix": "yarn prettier --write 'contracts/**/*.sol'",
"lint:fix": "yarn lint:contracts:fix && yarn lint:ts:fix",
"lint": "yarn lint:fix && yarn lint:check",
"format": "prettier --write '**/*.ts' 'contracts/**/*.sol'",
"clean": "rm -rf ./dist ./artifacts ./cache ./tsconfig.build.tsbuildinfo",
"deploy": "ts-node bin/deploy.ts && yarn autogen:markdown",
"prepublishOnly": "yarn copyfiles -u 1 -e \"**/test-*/**/*\" \"contracts/**/*\" ./",
"postpublish": "rimraf chugsplash L1 L2 libraries standards",
"prepack": "yarn prepublishOnly",
"postpack": "yarn postpublish",
"pre-commit": "lint-staged",
"deploy-test": "npx hardhat deploy --network devnet --num-deploy-confirmations 1 --l2chainid 57005 --l1-block-time-seconds 3 --mvm-metis-address 0x2A0668FD7D959B96aD1b64D0d066909a4250Fe28 --mvm-metis-manager 0x012347D9D1cC9df8d53289d43d84b5bCdED7F480 --ovm-address-manager-owner 0x012347D9D1cC9df8d53289d43d84b5bCdED7F480 --ovm-proposer-address 0x1001f5e463E3446D7B3D3a09e6256284dF517de0 --ovm-sequencer-address 0x100222702c050613c5b9264bBE71DfB1B6796b3F --scc-fraud-proof-window 604800 --scc-sequencer-publish-window 0 --allow-all-x-domain-senders true --inbox-sender-address 0x100222702c050613c5b9264bBE71DfB1B6796b3F --inbox-blob-sender-address 0x000575a8342247916851cE0f79fe5Dc05c8767eE --tags faultproof --absolute-prestate 0x03185913a712f95f20d135c6bf3959e476fab8cf687b6f381bfdd8e6448d874e --fault-dispute-proposer 0x012347D9D1cC9df8d53289d43d84b5bCdED7F480 --fault-dispute-challenger 0x012347D9D1cC9df8d53289d43d84b5bCdED7F480"
},
"dependencies": {
"@ethersproject/abstract-provider": "^5.4.1",
"@ethersproject/abstract-signer": "^5.4.1",
"@ethersproject/contracts": "^5.4.1",
"@ethersproject/hardware-wallets": "^5.4.0"
},
"devDependencies": {
"@codechecks/client": "^0.1.11",
"@defi-wonderland/smock": "^2.0.2",
"@eth-optimism/smock": "^1.1.10",
"@ethersproject/transactions": "^5.4.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "4.7.3",
"@openzeppelin/contracts-upgradeable": "4.7.3",
"@openzeppelin/hardhat-upgrades": "^1.28.0",
"@rari-capital/solmate": "7.0.0-alpha.3",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.2.18",
"@types/lodash": "^4.14.168",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"chai": "^4.3.4",
"copyfiles": "^2.3.0",
"directory-tree": "^2.2.7",
"dotenv": "^10.0.0",
"eslint": "^7.27.0",
"eslint-plugin-ban": "^1.5.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^35.1.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-unicorn": "^32.0.1",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.4.5",
"glob": "^7.1.6",
"hardhat": "^2.3.0",
"hardhat-deploy": "1.0.2",
"hardhat-gas-reporter": "^1.0.4",
"lint-staged": "11.0.0",
"lodash": "^4.17.21",
"merkle-patricia-tree": "^4.0.0",
"merkletreejs": "^0.2.18",
"mkdirp": "^1.0.4",
"mocha": "^8.4.0",
"prettier": "^2.3.1",
"random-bytes-seed": "^1.0.3",
"rlp": "^2.2.6",
"solady": "0.0.158",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.16",
"ts-generator": "0.0.8",
"ts-node": "^10.0.0",
"typechain": "^5.1.0",
"typescript": "^4.3.5",
"yargs": "^16.2.0"
},
"peerDependencies": {
"ethers": "^5.4.5"
}
}