-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 7.68 KB
/
package.json
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
180
{
"name": "amm-v1",
"version": "1.1.1",
"description": "",
"main": "index.js",
"scripts": {
"hh:run": "hardhat run",
"hh:node": "hardhat node",
"compile": "hardhat compile",
"clean": "hardhat clean",
"test": "hardhat test",
"scaffold:local": "yarn hh:run scripts/testnet/scaffold.ts --network localhost",
"deploy:local:1": "hardhat run scripts/01-deploy-factory.ts --network localhost",
"deploy:local:2": "hardhat run scripts/02-deploy-assimilators.ts --network localhost",
"deploy:local:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network localhost",
"deploy:local:3": "hardhat run scripts/03-new-curves.ts --network localhost",
"deploy:local:4": "hardhat run scripts/04-deploy-zap.ts --network localhost",
"deploy:local:deposit": "hardhat run scripts/test/liquidity-add.ts --network localhost",
"deploy:local:all": "yarn deploy:local:1 && yarn deploy:local:2 && yarn deploy:local:assimilators && yarn deploy:local:3 && yarn deploy:local:4",
"deploy:kovan:1": "hardhat run scripts/01-deploy-factory.ts --network kovan",
"deploy:kovan:2": "hardhat run scripts/02-deploy-assimilators.ts --network kovan",
"deploy:kovan:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network kovan",
"deploy:kovan:3": "hardhat run scripts/03-new-curves.ts --network kovan",
"deploy:kovan:4": "hardhat run scripts/04-deploy-zap.ts --network kovan",
"deploy:kovan:deposit": "hardhat run scripts/test/liquidity-add.ts --network kovan",
"deploy:kovan:withdraw": "hardhat run scripts/test/liquidity-withdraw.ts --network kovan",
"deploy:kovan:swap": "hardhat run scripts/test/swap.ts --network kovan",
"deploy:kovan:verify": "hardhat run scripts/00-verify.ts --network kovan",
"deploy:kovan:all": "yarn deploy:kovan:1 && yarn deploy:kovan:2 && yarn deploy:kovan:assimilators && yarn deploy:kovan:3 && yarn deploy:kovan:4",
"deploy:rinkeby:1": "hardhat run scripts/01-deploy-factory.ts --network rinkeby",
"deploy:rinkeby:2": "hardhat run scripts/02-deploy-assimilators.ts --network rinkeby",
"deploy:rinkeby:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network rinkeby",
"deploy:rinkeby:3": "hardhat run scripts/03-new-curves.ts --network rinkeby",
"deploy:rinkeby:4": "hardhat run scripts/04-deploy-zap.ts --network rinkeby",
"deploy:rinkeby:deposit": "hardhat run scripts/test/liquidity-add.ts --network rinkeby",
"deploy:mainnet:1": "hardhat run scripts/01-deploy-factory.ts --network mainnet",
"deploy:mainnet:2": "hardhat run scripts/02-deploy-assimilators.ts --network mainnet",
"deploy:mainnet:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network mainnet",
"deploy:mainnet:3": "hardhat run scripts/03-new-curves.ts --network mainnet",
"deploy:mainnet:4": "hardhat run scripts/04-deploy-zap.ts --network mainnet",
"deploy:mainnet:verify": "hardhat run scripts/00-verify.ts --network mainnet",
"deploy:matic:1": "hardhat run scripts/01-deploy-factory.ts --network matic",
"deploy:matic:2": "hardhat run scripts/02-deploy-assimilators.ts --network matic",
"deploy:matic:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network matic",
"deploy:matic:3": "hardhat run scripts/03-new-curves.ts --network matic",
"deploy:matic:4": "hardhat run scripts/04-deploy-zap.ts --network matic",
"deploy:matic:deposit": "hardhat run scripts/test/liquidity-add.ts --network matic",
"deploy:matic:withdraw": "hardhat run scripts/test/liquidity-withdraw.ts --network matic",
"deploy:matic:swap": "hardhat run scripts/test/swap.ts --network matic",
"deploy:arbTest:1": "hardhat run scripts/01-deploy-factory.ts --network arbitrumTestnet",
"deploy:arbTest:2": "hardhat run scripts/02-deploy-assimilators.ts --network arbitrumTestnet",
"deploy:arbTest:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network arbitrumTestnet",
"deploy:arbTest:3": "hardhat run scripts/03-new-curves.ts --network arbitrumTestnet",
"deploy:arbTest:4": "hardhat run scripts/04-deploy-zap.ts --network arbitrumTestnet",
"deploy:arb:1": "hardhat run scripts/01-deploy-factory.ts --network arbitrum",
"deploy:arb:2": "hardhat run scripts/02-deploy-assimilators.ts --network arbitrum",
"deploy:arb:assimilators": "hardhat run scripts/halo/deployAssimilators.ts --network arbitrum",
"deploy:arb:3": "hardhat run scripts/03-new-curves.ts --network arbitrum",
"deploy:arb:4": "hardhat run scripts/04-deploy-zap.ts --network arbitrum",
"lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:list-different",
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --ext .js,.ts .",
"prettier:list-different": "prettier --list-different \"**/*.{js,json,md,sol,ts}\"",
"prettier": "prettier --write \"**/*.{js,json,md,sol,ts}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/HaloDAO/amm-v1.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://halodao.atlassian.net/jira/software/c/projects/HDEV/issues"
},
"homepage": "https://github.com/HaloDAO/amm-v1#readme",
"dependencies": {
"@ethersproject/abstract-provider": "^5.0.10",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.4",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.3.0",
"@typechain/ethers-v5": "^6.0.4",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"chai": "^4.2.0",
"chai-bignumber": "^3.0.0",
"chalk": "^4.1.1",
"dotenv": "^8.2.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.26",
"hardhat": "2.5.0",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-typechain": "^0.3.5",
"husky": "^5.0.8",
"mkdirp": "^1.0.4",
"ora": "^5.4.0",
"pinst": "^2.1.4",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.3",
"solc": "^0.7.3",
"solhint": "^3.3.2",
"solhint-plugin-prettier": "^0.0.5",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^4.0.3",
"typescript": "^4.1.3"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"printWidth": 120,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"overrides": [
{
"files": "*.sol",
"options": {
"tabWidth": 4
}
}
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json"
},
"env": {
"node": true,
"mocha": true,
"es6": true
},
"plugins": [
"@typescript-eslint"
],
"root": true,
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/no-floating-promises": [
"error",
{
"ignoreIIFE": true,
"ignoreVoid": true
}
],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_",
"varsIgnorePattern": "_"
}
]
},
"ignorePatterns": [
"artifacts/**",
"build/**",
"cache/**",
"coverage/**",
"dist/**",
"lib/**",
"node_modules/**",
"typechain/**"
]
}
}