-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
186 lines (186 loc) · 12.9 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
181
182
183
184
185
186
{
"name": "@umee/protocol-v2",
"version": "1.0.1",
"description": "Umee Protocol V2 smart contracts",
"files": [
"contracts",
"artifacts"
],
"scripts": {
"run-env": "npm i && tail -f /dev/null",
"hardhat": "hardhat --show-stack-traces",
"hardhat:kovan": "hardhat --network kovan ",
"hardhat:rinkeby": "hardhat --network rinkeby ",
"hardhat:tenderly-main": "hardhat --network tenderlyMain",
"hardhat:ropsten": "hardhat --network ropsten",
"hardhat:goerli": "hardhat --network goerli",
"hardhat:main": "hardhat --network main",
"hardhat:docker": "hardhat --network hardhatevm_docker",
"hardhat:mumbai": "hardhat --network mumbai",
"hardhat:matic": "hardhat --network matic",
"compile": "SKIP_LOAD=true hardhat compile",
"console:fork": "FORK=main hardhat console",
"test": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-umee/*.spec.ts",
"test-amm": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-amm/*.spec.ts",
"test-amm-scenarios": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-amm/__setup.spec.ts test-suites/test-amm/scenario.spec.ts",
"test-cosmos": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-cosmos/*.spec.ts",
"test-cosmos-scenarios": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test-suites/test-cosmos/__setup.spec.ts test-suites/test-cosmos/scenario.spec.ts",
"test-scenarios": "npm run compile && npx hardhat test test-suites/test-umee/__setup.spec.ts test-suites/test-umee/scenario.spec.ts",
"test-subgraph:scenarios": "npm run compile && hardhat --network hardhatevm_docker test test-suites/test-umee/__setup.spec.ts test-suites/test-umee/subgraph-scenarios.spec.ts",
"test:main:check-list": "npm run compile && FORK=main TS_NODE_TRANSPILE_ONLY=1 hardhat test test-suites/test-umee/__setup.spec.ts test-suites/test-umee/mainnet/check-list.spec.ts",
"dev:coverage": "buidler compile --force && buidler coverage --network coverage",
"umee:evm:dev:migration": "npm run compile && hardhat umee:dev",
"umee:docker:full:migration": "npm run compile && npm run hardhat:docker -- umee:mainnet --skip-registry",
"umee:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- umee:mainnet --skip-registry --verify",
"cosmos:goerli:full:migration": "npm run compile && npm run hardhat:goerli -- cosmos:mainnet --skip-registry --verify",
"cosmos:rinkeby:full:migration": "npm run compile && npm run hardhat:rinkeby -- cosmos:mainnet --skip-registry --verify",
"umee:rinkeby:full:migration": "npm run compile && npm run hardhat:rinkeby -- umee:mainnet --skip-registry --verify",
"matic:mumbai:full:migration": "npm run compile && npm run hardhat:mumbai sidechain:mainnet -- --pool Matic --skip-registry",
"matic:matic:full:migration": "npm run compile && npm run hardhat:matic sidechain:mainnet -- --pool Matic --skip-registry",
"amm:kovan:full:migration": "npm run compile && npm run hardhat:kovan -- amm:mainnet --skip-registry",
"umee:docker:full:migration:add-registry": "npm run compile && npm run hardhat:docker -- umee:mainnet",
"umee:kovan:full:migration:add-registry": "npm run compile && npm run hardhat:kovan -- umee:mainnet",
"matic:mumbai:full:migration:add-registry": "npm run compile && npm run hardhat:mumbai sidechain:mainnet -- --pool Matic",
"matic:matic:full:migration:add-registry": "npm run compile && npm run hardhat:matic sidechain:mainnet -- --pool Matic",
"amm:kovan:full:migration:add-registry": "npm run compile && npm run hardhat:kovan -- amm:mainnet",
"umee:docker:add-market-to-registry-from-config": "npm run compile && npm run hardhat:docker -- add-market-to-registry --pool Umee",
"umee:kovan:add-market-to-registry-from-config": "npm run compile && npm run hardhat:kovan -- add-market-to-registry --pool Umee",
"matic:mumbai:add-market-to-registry-from-config": "npm run compile && npm run hardhat:mumbai add-market-to-registry --pool Matic",
"amm:kovan:add-market-to-registry-from-config": "npm run compile && npm run hardhat:kovan -- add-market-to-registry --pool Amm",
"matic:matic:add-market-to-registry-from-config": "npm run compile && npm run hardhat:matic add-market-to-registry --pool Matic",
"umee:main:add-market-to-registry-from-config": "npm run compile && npm run hardhat:main -- add-market-to-registry --pool Umee",
"umee:docker:add-market-to-new-registry": "npm run compile && npm run hardhat:docker -- add-market-to-registry --pool Umee --deploy-registry",
"umee:kovan:add-market-to-new-registry": "npm run compile && npm run hardhat:kovan -- add-market-to-registry --pool Umee --verify --deploy-registry",
"cosmos:goerli:add-market-to-new-registry": "npm run compile && npm run hardhat:goerli -- add-market-to-registry --pool Cosmos --verify --deploy-registry",
"matic:mumbai:add-market-to-new-registry": "npm run compile && npm run hardhat:mumbai add-market-to-registry --pool Matic --verify --deploy-registry",
"amm:kovan:add-market-to-new-registry": "npm run compile && npm run hardhat:kovan -- add-market-to-registry --pool Amm --verify --deploy-registry",
"matic:matic:add-market-to-new-registry": "npm run compile && npm run hardhat:matic -- add-market-to-registry --pool Matic --verify --deploy-registry",
"umee:main:add-market-to-new-registry": "npm run compile && npm run hardhat:matic -- add-market-to-registry --pool Matic --verify --deploy-registry",
"umee:kovan:full:initialize": "npm run hardhat:kovan -- full:initialize-lending-pool --verify --pool Umee",
"umee:ropsten:full:migration": "npm run compile && npm run hardhat:ropsten -- umee:mainnet --verify",
"umee:fork:main:tenderly": "npm run compile && npm run hardhat:tenderly-main -- umee:mainnet",
"umee:fork:main": "npm run compile && FORK=main hardhat umee:mainnet",
"umee:fork:kovan": "npm run compile && FORK=kovan hardhat umee:mainnet",
"umee:fork:rinkeby": "npm run compile && FORK=rinkeby hardhat umee:mainnet",
"amm:fork:main": "npm run compile && FORK=main hardhat amm:mainnet",
"amm:fork:kovan": "npm run compile && FORK=kovan hardhat amm:mainnet",
"amm:fork:main:tenderly": "npm run compile && npm run hardhat:tenderly-main -- amm:mainnet",
"umee:main:full:migration": "npm run compile && npm run hardhat:main -- umee:mainnet --verify",
"umee:main:full:initialize": "npm run compile && FORK=main full:initialize-tokens --pool Umee",
"amm:main:full:migration": "npm run compile && npm run hardhat:main -- amm:mainnet --verify",
"prettier:check": "npx prettier -c 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-umee/**/*.ts'",
"prettier:write": "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test-suites/test-umee/**/*.ts'",
"ci:test": "npm run compile && npm run test",
"ci:clean": "rm -rf ./artifacts ./cache ./types",
"print-reserve-data:goerli": "npm run hardhat:goerli -- print-reserve-data",
"print-user-account-data:goerli": "npm run hardhat:goerli -- print-user-account-data",
"print-contracts:kovan": "npm run hardhat:kovan -- print-contracts",
"print-contracts:main": "npm run hardhat:main -- print-contracts",
"print-contracts:ropsten": "npm run hardhat:main -- print-contracts",
"dev:addressesProviderRegistry": "hardhat --network kovan deploy-UiPoolDataProvider --verify",
"dev:deployUIProvider": "hardhat --network kovan deploy-UiPoolDataProvider --verify",
"main:deployUIProvider": "hardhat --network main deploy-UiPoolDataProvider --verify",
"goerli:deployUIProvider": "hardhat --network goerli deploy-UiPoolDataProvider --verify",
"matic:deployUIProvider": "hardhat --network matic deploy-UiPoolDataProvider",
"mumbai:deployUIProvider": "hardhat --network mumbai deploy-UiPoolDataProvider",
"dev:deployMockTokens": "npm run compile && npm run hardhat:goerli -- deploy-MockTokens",
"dev:deployMockChainlinkAggregators": "npm run compile && npm run hardhat:goerli -- deploy-MockChainlinkAggregators",
"dev:deployUniswapRepayAdapter": "hardhat --network kovan deploy-UniswapRepayAdapter --provider 0x88757f2f99175387aB4C6a4b3067c77A695b0349 --router 0xfcd87315f0e4067070ade8682fcdbc3006631441 --weth 0xd0a1e359811322d97991e03f863a0c30c2cf029c",
"dev:UniswapLiquiditySwapAdapter": "hardhat --network kovan deploy-UniswapLiquiditySwapAdapter --provider 0x88757f2f99175387aB4C6a4b3067c77A695b0349 --router 0xfcd87315f0e4067070ade8682fcdbc3006631441 --weth 0xd0a1e359811322d97991e03f863a0c30c2cf029c",
"main:deployUniswapRepayAdapter": "hardhat --network main deploy-UniswapRepayAdapter --provider 0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5 --router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D --weth 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"main:UniswapLiquiditySwapAdapter": "hardhat --network main deploy-UniswapLiquiditySwapAdapter --provider 0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5 --router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D --weth 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"kovan:verify": "npm run hardhat:kovan verify:general -- --all --pool Umee",
"rinkeby:verify": "npm run hardhat:rinkeby verify:general -- --all --",
"goerli:verify": "npm run hardhat:goerli verify:general -- --all --pool Cosmos",
"ropsten:verify": "npm run hardhat:ropsten verify:general -- --all --pool Umee",
"mainnet:verify": "npm run hardhat:main verify:general -- --all --pool Umee",
"matic:mumbai:verify": "npm run hardhat:mumbai verify:general -- --all --pool Matic",
"matic:mainnet:verify": "npm run hardhat:matic verify:general -- --all --pool Matic",
"matic:mumbai:verify:tokens": "npm run hardhat:mumbai verify:tokens -- --pool Matic",
"matic:mainnet:verify:tokens": "npm run hardhat:matic verify:tokens -- --pool Matic",
"kovan:verify:tokens": "npm run hardhat:kovan verify:tokens -- --pool Umee",
"rinkeby:verify:tokens": "npm run hardhat:rinkeby verify:tokens -- --pool Cosmos",
"goerli:verify:tokens": "npm run hardhat:goerli verify:tokens -- --pool Cosmos",
"ropsten:verify:tokens": "npm run hardhat:ropsten verify:tokens -- --pool Umee",
"mainnet:verify:tokens": "npm run hardhat:main verify:tokens -- --pool Umee",
"print-config:fork:mainnet": "FORK=main hardhat print-config:fork",
"print-config:kovan": "hardhat --network kovan print-config --pool Umee --data-provider 0xA1901785c29cBd48bfA74e46b67C736b26054fa4",
"external:deploy-assets-kovan": "npm run compile && hardhat --network kovan external:deploy-new-asset --symbol ${SYMBOL} --verify",
"external:deploy-assets-main": "npm run compile && hardhat --network main external:deploy-new-asset --symbol ${SYMBOL} --verify",
"prepublishOnly": "npm run compile"
},
"devDependencies": {
"@nomiclabs/buidler": "^1.4.7",
"@nomiclabs/buidler-ethers": "2.0.0",
"@nomiclabs/buidler-etherscan": "^2.1.0",
"@nomiclabs/buidler-waffle": "2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/contracts": "3.1.0",
"@tenderly/hardhat-tenderly": "1.1.0-beta.5",
"@typechain/ethers-v4": "1.0.0",
"@typechain/ethers-v5": "^2.0.0",
"@typechain/truffle-v4": "2.0.2",
"@typechain/truffle-v5": "2.0.2",
"@typechain/web3-v1": "1.0.0",
"@types/chai": "4.2.11",
"@types/lowdb": "1.0.9",
"@types/mocha": "7.0.2",
"@types/node": "14.0.5",
"bignumber.js": "9.0.0",
"buidler-typechain": "0.1.1",
"chai": "4.2.0",
"chai-bignumber": "3.0.0",
"chai-bn": "^0.2.1",
"defender-relay-client": "^1.7.0",
"dotenv": "^8.2.0",
"eth-sig-util": "2.5.3",
"ethereum-waffle": "3.0.2",
"ethereumjs-util": "7.0.2",
"ethers": "^5.0.19",
"globby": "^11.0.1",
"hardhat": "^2.2.0",
"hardhat-gas-reporter": "^1.0.0",
"hardhat-typechain": "^0.3.3",
"husky": "^4.2.5",
"lowdb": "1.0.0",
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.53",
"pretty-quick": "^2.0.1",
"solidity-coverage": "^0.7.16",
"temp-hardhat-etherscan": "^2.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typechain": "^4.0.0",
"typescript": "^4.0.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern 'contracts/**/*.sol' --pattern 'helpers/**/*.ts' --pattern 'test-suites/test-umee/**/*.ts' --pattern 'tasks/**/*.ts'"
}
},
"author": "Umee",
"contributors": [
"Ernesto Boado <ernesto@umee.com>",
"Emilio Frangella <emilio@umee.com>",
"Andrey Kozlov <andrey@umee.com>",
"David Racero <david.k@umee.com>",
"Pol Sendra <pol@umee.com>",
"David Truong <david@umee.com>"
],
"license": "AGPLv3",
"dependencies": {
"axios-curlirize": "^1.3.7",
"tmp-promise": "^3.0.2"
},
"keywords": [
"umee",
"protocol",
"protocol-v2",
"ethereum",
"solidity"
]
}