-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 9.68 KB
/
Copy pathpackage.json
File metadata and controls
179 lines (179 loc) · 9.68 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "webex",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:linked0/web.git",
"author": "Hyunjae Lee <linked0@gmail.com>",
"license": "MIT",
"scripts": {
"build": "hardhat compile",
"clean": "rm -rf cache artifacts typechain typechain-types",
"test": "hardhat test",
"test:root": "node --max-old-space-size=8912 ./node_modules/.bin/hardhat test test/*.ts",
"test:hack": "hardhat test test/zhacking/*.ts",
"test:msca": "hardhat test test/erc6900/*.ts",
"test:assembly": "hardhat test test/assembly/*.ts",
"test:basic": "node --max-old-space-size=8912 ./node_modules/.bin/hardhat test test/all-basic.ts",
"test:basic:localnet": "EVM_VERSION=london hardhat test test/all-basic-sign.ts",
"test:basic5": "hardhat test test/all-basic-ethers5.ts",
"test:toobig": "hardhat test test/total/toobig.basic.ts",
"test:toobig:localnet": "hardhat test test/total/toobig.basic.ts --network localnet",
"test:seaport:basic": "hardhat test test/seaport/basic.spec.ts",
"test:zex": "NODE_OPTIONS=--max-old-space-size=8192 hardhat test test/zex/zex.ts",
"test:zex:diamond": "NODE_OPTIONS=--max-old-space-size=8192 hardhat test test/zex/DiamondPattern.test.ts",
"test:tload": "NODE_OPTIONS=--max-old-space-size=8192 hardhat test test/StorageSlot.local.test.js",
"dia:test:base": "hardhat test test/diamond/diamondTest.ts",
"dia:deploy": "hardhat run scripts/diamond/deploy.ts --network localhost",
"dia:get-value": "hardhat run scripts/diamond/get-value.ts --network localhost",
"seaport": "hardhat test test-seaport/basic.spec.ts",
"basic": "hardhat test test/all-basic.ts",
"oz:storage": "hardhat test test/oz/utils/StorageSlot.test.js",
"oz:storage:localnet": "hardhat test test/StorageSlot.local.test.js --network localnet",
"oz:permit": "hardhat test test/oz/token/ERC20/extensions/ERC20Permit.test.js",
"attack": "hardhat test test/zhacking/1-call-attack.ts",
"dao": "hardhat test test/zhacking/2-dao.ts",
"dos": "hardhat test test/zhacking/3-dos.ts",
"sensitive": "hardhat test test/zhacking/4-sensitive.ts",
"unchecked": "hardhat test test/zhacking/5-unchecked.ts",
"vault": "hardhat test test/zhacking/6-vault-1.ts",
"vault2": "hardhat test test/zhacking/6-vault-2.ts",
"burn": "hardhat test test/oz/burnable.ts",
"keys": "NODE_OPTIONS=--max-old-space-size=8192 hardhat test test/all-basic-keys.ts",
"basicd": "hardhat run scripts/allbasic/deploy.ts --network localhost",
"basicd:hardhatNode": "hardhat run scripts/allbasic/deploy.ts --network ",
"basicd:marigold:localnet": "ENV_FILE=.env.marigold.localnet hardhat run scripts/allbasic/deploy.ts --network marigoldlocalnet",
"basicadd": "hardhat run scripts/allbasic/add.ts --network localhost",
"basicadd:hardhatNode": "hardhat run scripts/allbasic/add.ts --network hardhatNode",
"basicadd:marigold:localnet": "ENV_FILE=.env.marigold.localnet hardhat run scripts/allbasic/add.ts --network marigoldlocalnet",
"basicget": "hardhat run scripts/allbasic/get-value.ts --network localhost",
"basicget:hardhatNode": "hardhat run scripts/allbasic/get-value.ts --network hardhatNode",
"basicget:marigold:localnet": "ENV_FILE=.env.marigold.localnet hardhat run scripts/allbasic/get-value.ts --network marigoldlocalnet",
"basic:localnet": "hardhat test test/all-basic-localnet.ts --network localnet",
"basic:add:localnet": "hardhat run scripts/allbasic/add.ts --network localnet",
"basic:get-value:localnet": "hardhat run scripts/allbasic/get-value.ts --network localnet",
"zex:deploy:localnet": "hardhat run scripts/zex/deploy.ts --network localnet",
"zex:deploy-v2:localnet": "hardhat run scripts/zex/deploy-v2.ts --network localnet",
"zex:add-plugin:localnet": "hardhat run scripts/zex/add-plugin.ts --network localnet",
"zex:get-plugin:localnet": "hardhat run scripts/zex/get-plugin.ts --network localnet",
"zex:set-store:localnet": "hardhat run scripts/zex/set-store.ts --network localnet",
"zex:get-store:localnet": "hardhat run scripts/zex/get-store.ts --network localnet",
"deploy": "hardhat run scripts/deploy.ts --network holesky",
"deploy:localnet": "hardhat run scripts/deploy.ts --network localnet",
"deploy:marigold:localnet": "ENV_FILE=.env.marigold.localnet hardhat run scripts/deploy.ts --network marigoldlocalnet",
"deploy:basic:localnet": "hardhat run scripts/allbasic/deploy.ts --network localnet",
"deploy:basic:sepolia": "hardhat run scripts/allbasic/deploy.ts --network sepolia",
"deploy:counter:sepolia": "hardhat run scripts/deploy-counter.ts --network sepolia",
"deploy:counter:optsepolia": "hardhat run scripts/deploy-counter.ts --network optsepolia",
"deploy:delegator:localnet": "hardhat run scripts/deploy-delegator.ts --network localnet",
"deploy:fund:localnet": "hardhat run scripts/deploy-poohnet-fund.ts --network localnet",
"deploy:deposit:localnet": "hardhat run scripts/deploy-deposit.ts --network localnet",
"deploy:apollo:localnet": "hardhat ignition deploy ignition/modules/apollo.ts --network localnet",
"sign": "hardhat run scripts/sign-message.ts",
"setdata": "hardhat run scripts/assembly/set-data.ts --network localnet",
"getdatavalue": "hardhat run scripts/assembly/get-data-value.ts --network localnet",
"addvalue": "hardhat run scripts/allbasic/add.ts --network localnet",
"getvalue": "hardhat run scripts/allbasic/get-value.ts --network localnet",
"contract": "hardhat run scripts/deploy-contract.ts",
"ethprice:sepolia": "hardhat run scripts/chainlink/get-feed.ts --network sepolia",
"check:localnet": "hardhat run scripts/check-receiver.ts --network localnet",
"balance-fund:localnet": "hardhat run scripts/balance-fund.ts --network localnet",
"unlock-account:localnet": "hardhat run scripts/unlock-account.ts --network localnet",
"fund-l2:marigold": "hardhat run scripts/fund-l2.ts --network marigold",
"bytecode": "hardhat run scripts/assembly/bytecode-size.ts",
"run:localnet": "hardhat node",
"coverage": "yarn clean; hardhat coverage --config ./hardhat-coverage.config.ts --solcoverjs ./config/.solcover.js",
"lint": "prettier --write --config .prettierrc 'contracts/**/*.sol' 'scripts/**/*.ts' 'test/**/*.ts'",
"lint:check": "yarn lint:check:format && yarn lint:check:solhint && yarn lint:check:eslint",
"lint:check:format": "prettier --check **.{sol,js,ts}",
"lint:check:solhint": "yarn build && solhint --config ./config/.solhint.json --ignore-path ./config/.solhintignore contracts/**/*.sol",
"lint:check:eslint": "eslint . --ext js,ts",
"lint:fix": "yarn lint:fix:format && yarn lint:fix:eslint",
"lint:fix:format": "prettier --write **.{sol,js,ts}",
"lint:fix:eslint": "eslint --fix . --ext js,ts"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-ignition": "^0.15.5",
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.9",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.0",
"@nomicfoundation/ignition-core": "^0.15.5",
"@openzeppelin/docs-utils": "^0.1.5",
"@openzeppelin/merkle-tree": "^1.0.7",
"@openzeppelin/upgrade-safe-transpiler": "^0.3.32",
"@openzeppelin/upgrades-core": "^1.20.6",
"@rari-capital/solmate": "^6.2.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.2.0",
"@types/mocha": ">=9.1.0",
"@types/node": ">=18.0.0",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@uniswap/v3-periphery": "^1.4.3",
"chai": "^4.3.4",
"dotenv": "^16.0.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^6.13.1",
"ethers-v5": "npm:ethers@5",
"fs": "^0.0.1-security",
"hardhat": "^2.22.5",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.23",
"hardhat-deploy-ethers": "^0.4.2",
"hardhat-exposed": "^0.3.15",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-ignore-warnings": "^0.2.11",
"husky": "^9.0.11",
"path": "^0.12.7",
"prettier-plugin-solidity": "^1.3.1",
"scuffed-abi": "^1.0.4",
"solhint": "^3.3.7",
"solidity-docgen": "^0.6.0-beta.29",
"ts-generator": "^0.1.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.1.0",
"typechain": "^8.1.0",
"yargs": "^17.7.2",
"zksync-web3": "0.14.3"
},
"dependencies": {
"@chainlink/contracts": "^1.1.1",
"@gnosis.pm/safe-contracts": "1.3.0",
"@openzeppelin/contracts": "^4.9.3",
"@thehubbleproject/bls": "^0.5.1",
"ethereumjs-util": "^7.1.0",
"ethereumjs-wallet": "^1.0.1",
"merkletreejs": "^0.3.9",
"solady": "^0.0.84",
"solidity-coverage": "^0.8.4",
"source-map-support": "^0.5.19",
"table": "^6.8.0",
"typescript": "^4.3.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "npx --no -- commitlint --edit ${1}"
}
},
"lint-staged": {
"*.sol": "prettier --write",
"*.js": "prettier --write",
"*.ts": "prettier --write"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}