-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 8.26 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 8.26 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
{
"name": "@uniswap/v3-core",
"description": "🦄 Core smart contracts of Uniswap V3",
"license": "BUSL-1.1",
"publishConfig": {
"access": "public"
},
"version": "1.0.1",
"homepage": "https://uniswap.org",
"keywords": [
"uniswap",
"core",
"v3"
],
"repository": {
"type": "git",
"url": "https://github.com/Uniswap/uniswap-v3-core"
},
"files": [
"contracts/interfaces",
"contracts/libraries",
"artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json",
"artifacts/contracts/UniswapV3Pool.sol/UniswapV3Pool.json",
"artifacts/contracts/interfaces/**/*.json",
"!artifacts/contracts/interfaces/**/*.dbg.json"
],
"engines": {
"node": ">=10"
},
"dependencies": {
"dotenv": "^16.0.1",
"mochawesome-merge": "^4.2.1",
"npm-run-all": "^4.1.5"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^4.0.0",
"@types/chai": "^4.2.6",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"decimal.js": "^10.2.1",
"ethereum-waffle": "^3.0.2",
"ethers": "^5.6.9",
"hardhat": "^2.17.1",
"hardhat-typechain": "^0.3.5",
"mocha-chai-jest-snapshot": "^1.1.0",
"mochawesome": "^7.1.3",
"mochawesome-report-generator": "^6.2.0",
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"solhint": "^3.2.1",
"solhint-plugin-prettier": "^0.0.5",
"ts-generator": "^0.1.1",
"ts-node": "^8.5.4",
"typechain": "^4.0.0",
"typescript": "^3.7.3"
},
"scripts": {
"compile": "hardhat compile",
"addRpcLog": "patch-package",
"test": "hardhat test --grep \"BitMath #leastSignificantBit\"",
"test:prepare": "hardhat test --config ./hardhat.init.config.ts --network testRpc --grep \"initAccount\"",
"test:BitMath": "hardhat test --config ./hardhat.config.BitMath.ts --network testRpc --grep \"BitMath\"",
"test:fullMath": "hardhat test --config ./hardhat.config.FullMath.ts --network testRpc --grep \"FullMath\"",
"test:LiquidityMath": "hardhat test --config ./hardhat.config.LiquidityMath.ts --network testRpc --grep \"LiquidityMath\"",
"test:NoDelegateCall": "hardhat test --config ./hardhat.config.NoDelegateCall.ts --network testRpc --grep \"proxy cannot call the method that calls a private method with the modifier\"",
"test:Oracle": "hardhat test --config ./hardhat.config.Oracle.ts --network testRpc --grep \"Oracle\"",
"test:SqrtPriceMath": "hardhat test --config ./hardhat.config.SqrtPriceMath.ts --network testRpc --grep \"SqrtPriceMath\"",
"test:SwapMath": "hardhat test --config ./hardhat.config.SwapMath.ts --network testRpc --grep \"SwapMath\"",
"test:Tick": "hardhat test --config ./hardhat.config.Tick.ts --network testRpc --grep \"Tick\"",
"test:UniswapV3Factory": "hardhat test --config ./hardhat.config.UniswapV3Factory.ts --network testRpc --grep \"UniswapV3Factory\"",
"test:UniswapV3PoolArbitrage-1": "hardhat test --config hardhat.config.UniswapV3Pool.arbitrage.1.ts --network testRpc --grep \"UniswapV3Pool arbitrage tests -1\"",
"test:UniswapV3PoolArbitrage-2": "hardhat test --config hardhat.config.UniswapV3Pool.arbitrage.2.ts --network testRpc --grep \"UniswapV3Pool arbitrage tests -2\"",
"test:UniswapV3PoolGas": "hardhat test --config ./hardhat.config.UniswapV3Pool.gas.ts --network testRpc --grep \"UniswapV3Pool gas tests\"",
"test:UniswapV3Pool": "hardhat test --config ./hardhat.config.UniswapV3Pool.ts --network testRpc --grep \"UniswapV3Pool 1\"",
"test:UniswapV3PoolSwaps": "hardhat test --config ./hardhat.config.UniswapV3Pool.swaps.ts --network testRpc --grep \"UniswapV3Pool swap tests\"",
"test:UniswapV3Router": "hardhat test --config ./hardhat.config.UniswapV3Router.ts --network testRpc --grep \"UniswapV3Pool Router\"",
"test:UniswapV3Pool1Test": "hardhat test --config ./hardhat.config.UniswapV3Pool1.1.ts --network testRpc --grep \"UniswapV3Pool 1 constructor initializes immutables|UniswapV3Pool 1 tick transition cannot run twice if zero for one swap ends at fractional price just below tick\"",
"test:UniswapV3Pool1initialize": "hardhat test --config ./hardhat.config.UniswapV3Pool1.2.ts --network testRpc --grep \"UniswapV3Pool 1 #initialize\"",
"test:UniswapV3Pool1mint": "hardhat test --config ./hardhat.config.UniswapV3Pool1.3.ts --network testRpc --grep \"UniswapV3Pool 1 #mint\"",
"test:UniswapV3Pool1burn": "hardhat test --config ./hardhat.config.UniswapV3Pool1.4.ts --network testRpc --grep \"UniswapV3Pool 1 #burn\"",
"test:UniswapV3Pool1observe": "hardhat test --config ./hardhat.config.UniswapV3Pool1.5.ts --network testRpc --grep \"UniswapV3Pool 1 #observe\"",
"test:UniswapV3Pool1miscellaneousminttests": "hardhat test --config ./hardhat.config.UniswapV3Pool1.6.ts --network testRpc --grep \"UniswapV3Pool 1 miscellaneous mint tests\"",
"test:UniswapV3Pool1post-initializeatmediumfee": "hardhat test --config ./hardhat.config.UniswapV3Pool1.1.ts --network testRpc --grep \"UniswapV3Pool 1 post-initialize at medium fee\"",
"test:UniswapV3Pool1limitorders": "hardhat test --config ./hardhat.config.UniswapV3Pool1.2.ts --network testRpc --grep \"UniswapV3Pool 1 limit orders\"",
"test:UniswapV3Pool1collect": "hardhat test --config ./hardhat.config.UniswapV3Pool1.3.ts --network testRpc --grep \"UniswapV3Pool 1 #collect\"",
"test:UniswapV3Pool1feeProtocol": "hardhat test --config ./hardhat.config.UniswapV3Pool1.4.ts --network testRpc --grep \"UniswapV3Pool 1 #feeProtocol\"",
"test:UniswapV3Pool1tickSpacing": "hardhat test --config ./hardhat.config.UniswapV3Pool1.5.ts --network testRpc --grep \"UniswapV3Pool 1 #tickSpacing\"",
"test:UniswapV3Pool1flash": "hardhat test --config ./hardhat.config.UniswapV3Pool1.6.ts --network testRpc --grep \"UniswapV3Pool 1 #flash\"",
"test:UniswapV3Pool1increaseObservationCardinalityNext": "hardhat test --config ./hardhat.config.UniswapV3Pool1.1.ts --network testRpc --grep \"UniswapV3Pool 1 #increaseObservationCardinalityNext\"",
"test:UniswapV3Pool1setFeeProtocol": "hardhat test --config ./hardhat.config.UniswapV3Pool1.2.ts --network testRpc --grep \"UniswapV3Pool 1 #setFeeProtocol\"",
"test:UniswapV3Pool1lock": "hardhat test --config ./hardhat.config.UniswapV3Pool1.3.ts --network testRpc --grep \"UniswapV3Pool 1 #lock\"",
"test:UniswapV3Pool1snapshotCumulativesInside": "hardhat test --config ./hardhat.config.UniswapV3Pool1.4.ts --network testRpc --grep \"UniswapV3Pool 1 #snapshotCumulativesInside\"",
"test:UniswapV3Pool1feesoverflowscenarios": "hardhat test --config ./hardhat.config.UniswapV3Pool1.5.ts --network testRpc --grep \"UniswapV3Pool 1 fees overflow scenarios\"",
"test:UniswapV3Pool1swapunderpaymenttests": "hardhat test --config ./hardhat.config.UniswapV3Pool1.6.ts --network testRpc --grep \"UniswapV3Pool 1 swap underpayment tests\"",
"test:runAll0": "npm-run-all -p -c test:BitMath test:fullMath test:LiquidityMath test:NoDelegateCall",
"test:runAll1": "npm-run-all -p -c test:SqrtPriceMath test:SwapMath test:UniswapV3Factory test:UniswapV3Router",
"test:runAll2": "npm-run-all -p -c test:Tick test:Oracle test:UniswapV3PoolArbitrage-1 test:UniswapV3PoolArbitrage-2",
"test:runAll3": "test:UniswapV3PoolGas test:UniswapV3Pool test:UniswapV3PoolSwaps",
"test:UniswapV3Pool11": "npm-run-all -p -c test:UniswapV3Pool1initialize test:UniswapV3Pool1mint test:UniswapV3Pool1burn test:UniswapV3Pool1observe test:UniswapV3Pool1miscellaneousminttests",
"test:UniswapV3Pool12": "npm-run-all -p -c test:UniswapV3Pool1post-initializeatmediumfee test:UniswapV3Pool1limitorders test:UniswapV3Pool1collect test:UniswapV3Pool1feeProtocol test:UniswapV3Pool1feeProtocol test:UniswapV3Pool1tickSpacing test:UniswapV3Pool1flash",
"test:UniswapV3Pool13": "npm-run-all -p -c test:UniswapV3Pool1increaseObservationCardinalityNext test:UniswapV3Pool1setFeeProtocol test:UniswapV3Pool1lock test:UniswapV3Pool1snapshotCumulativesInside test:UniswapV3Pool1feesoverflowscenarios test:UniswapV3Pool1swapunderpaymenttests",
"test:mergyReport": "mochawesome-merge mochawesome-report-eth/*report.json > mochawesome-report-eth/merge-report.json",
"test:genHtml": "npx mochawesome-report-generator mochawesome-report-eth/merge-report.json",
"test:mergy": "npm-run-all -"
}
}