This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
161 lines (161 loc) · 6.96 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
{
"name": "zero-protocol",
"version": "0.1.0",
"description": "zeroDAO Protocol SDK",
"main": "dist/lib/zero.js",
"repository": "https://github.com/zerodao-finance/zero-protocol",
"types": "./lib/types.d.ts",
"scripts": {
"prettier:sol": "prettier --write ./**/*.sol",
"verify": "hardhat etherscan-verify --license MIT",
"verify:implementation": "bash -c 'hardhat verify `node scripts/get-implementation` --libraries scripts/libraries.js'",
"test": "hardhat test",
"test:p2p:unit": "NODE_ENV=test yarn mocha -r ts-node/register lib/p2p/test/mockPubsub.test.ts lib/p2p/test/mockZero.test.ts --exit --timeout 0",
"test:p2p:e2e": "NODE_ENV=integration yarn mocha -r ts-node/register lib/p2p/test/e2e.test.ts --timeout 0 --exit",
"test:rpc:unit": "NODE_ENV=test yarn mocha -r ts-node/register lib/rpc/test/btc.test.ts",
"test:external": "hardhat test --network localhost",
"test:sdk:unit": "NODE_ENV=test yarn mocha -r ts-node/register lib/test/sdk.test.ts",
"script:e2e": "NODE_ENV=development hardhat run scripts/e2eTransaction.js",
"test:badger": " yarn hardhat test test/test-badger.ts --network localhost",
"test:zec": " yarn hardhat test test/test-zec.ts --network localhost",
"test:badger:ethereum": "CHAIN=ETHEREUM yarn test:badger",
"test:zec:ethereum": "CHAIN=ETHEREUM yarn test:zec",
"test:badger:arbitrum": "BADGER=true CHAIN=ARBITRUM yarn test:badger",
"test:badger:avalanche": "BADGER=true CHAIN=AVALANCHE yarn test:badger",
"test:badger:polygon": "CHAIN=MATIC yarn test:badger",
"test:badger:optimism": "CHAIN=OPTIMISM yarn test:badger",
"script:keeper": "hardhat run scripts/keeper.js",
"start": "hardhat node",
"lint:check": "prettier --check **.sol && prettier --check **.js && prettier --check **.ts && hardhat compile --config ./hardhat.config.ts && npx solhint --config ./config/.solhint.json --ignore-path ./config/.solhintignore 'contracts/**/*.sol'",
"lint:fix": "prettier --write **.sol && prettier --write **.js && prettier --write **.ts",
"build": "tsc -p ./tsconfig.json",
"node:arbitrum": "CHAIN=ARBITRUM CHAIN_ID=42161 FORKING=true hardhat node",
"node:ethereum": "CHAIN=ETHEREUM CHAIN_ID=1 FORKING=true hardhat node --export-all deployments/deployments.json",
"node:badger:ethereum": "CHAIN=ETHEREUM CHAIN_ID=1 FORKING=true hardhat node",
"node:badger:avalanche": "BADGER=true CHAIN=AVALANCHE FORKING=true hardhat node",
"node:badger:arbitrum": "CHAIN=ARBITRUM DEPLOYARBITRUMQUICKCONVERT=true BADGER=true DEPLOYMENT_NUMBER=1 CHAIN_ID=42161 FORKING=true hardhat node",
"node:badger:polygon": "CHAIN=MATIC CHAIN_ID=137 FORKING=true hardhat node",
"node:badger:optimism": "CHAIN=OPTIMISM CHAIN_ID=10 FORKING=true hardhat node",
"deploy:arbitrum": "DEPLOYARBITRUMQUICKCONVERT=true CHAIN=ARBITRUM hardhat deploy --network arbitrum",
"node:polygon": "CHAIN=MATIC CHAIN_ID=137 FORKING=true hardhat node --no-deploy",
"node:mainnet": "CHAIN=ETHEREUM CHAIN_ID=1 FORKING=true hardhat node",
"node:badger": " DEPLOYMENT_NUMBER=1 yarn node:ethereum",
"node:badger:local": "DEPLOYMENT_NUMBER=1 yarn node:badger:ethereum --export-all deployments/deployments.json",
"script:harvester": "hardhat run scripts/harvester.js",
"test:ren": "CHAIN=ETHEREUM yarn hardhat test test/test-renv3.ts --network localhost"
},
"author": "zeroDAO",
"license": "MIT",
"private": false,
"devDependencies": {
"@babel/preset-typescript": "^7.14.5",
"@boringcrypto/boring-solidity": "https://github.com/boringcrypto/BoringSolidity",
"@ethersproject/cli": "^5.5.0",
"@gnosis.pm/safe-contracts": "^1.3.0",
"@gnosis.pm/safe-core-sdk": "^2.0.0",
"@gnosis.pm/safe-ethers-lib": "^1.0.0",
"@gnosis.pm/safe-service-client": "^1.1.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/contracts": "3.4.0",
"@openzeppelin/contracts-new": "npm:@openzeppelin/contracts",
"@openzeppelin/contracts-upgradeable": "3.4.1-solc-0.7-2",
"@types/bignumber.js": "^5.0.0",
"@types/chai": "^4.2.21",
"@types/mocha": "^8.2.3",
"@types/object-hash": "^2.1.1",
"@types/sinon": "^10.0.2",
"aegir": "^36.1.3",
"chai": "^4.3.4",
"core-js-pure": "^3.15.1",
"ethers-polygongastracker": "https://github.com/freelogstudio/ethers-polygongastracker",
"fetch-mock": "^9.11.0",
"ganache-cli": "^6.12.2",
"hardhat": "^2.10.1",
"hardhat-deploy": "^0.9.3",
"hardhat-gas-reporter": "^1.0.4",
"ioredis": "^4.27.6",
"ioredis-mock": "^5.6.0",
"nice-repl": "https://github.com/raymondpulver/nice-repl",
"oz410": "npm:@openzeppelin/[email protected]",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"request-debug": "^0.2.0",
"sinon": "^11.1.1",
"ts-node": "^10.1.0",
"typescript": "4.4.4",
"yargs": "^17.3.1"
},
"dependencies": {
"@0x/utils": "^6.4.3",
"@ethersproject/bytes": "^5.4.0",
"@ethersproject/hash": "^5.4.0",
"@ethersproject/random": "^5.4.0",
"@ethersproject/strings": "^5.4.0",
"@ethersproject/transactions": "^5.4.0",
"@nomiclabs/buidler": "^1.4.8",
"@openzeppelin/hardhat-upgrades": "^1.8.2",
"@renproject/chains": "^3.4.2",
"@renproject/chains-ethereum": "^2.5.13",
"@renproject/ren": "^3.4.2",
"@renproject/utils": "^3.4.2",
"@traderjoe-xyz/core": "^2.4.6",
"@traderjoe-xyz/sdk": "^1.6.4",
"@types/gun": "^0.9.3",
"@types/node": "^16.4.1",
"@uniswap/merkle-distributor": "^1.0.1",
"@uniswap/sdk": "^3.0.3",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v3-periphery": "^1.4.1",
"assert": "^2.0.0",
"axios": "^0.22.0",
"bignumber.js": "^9.0.1",
"bitcoin-address-validation": "^2.1.0",
"bitcoin-core": "^3.0.0",
"bitcore-lib": "^8.25.10",
"bluebird": "^3.7.2",
"eip712-helpers": "^1.0.2",
"ethers": "^5.6.9",
"ethers-gasnow": "https://github.com/kungfuflex/ethers-gasnow",
"gun": "^0.2020.1232",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"is-browser": "^2.1.0",
"keccak256": "^1.0.6",
"level": "^7.0.1",
"libp2p": "^0.35.8",
"libp2p-bootstrap": "^0.14.0",
"libp2p-crypto": "^0.21.0",
"libp2p-gossipsub": "^0.12.1",
"libp2p-interfaces": "^4.0.6",
"libp2p-kad-dht": "^0.28.1",
"libp2p-mdns": "^0.18.0",
"libp2p-mplex": "^0.10.5",
"libp2p-noise": "^4.0.0",
"libp2p-tcp": "^0.17.2",
"libp2p-webrtc-star": "^0.25.0",
"libp2p-websockets": "^0.16.2",
"memdown": "^6.1.1",
"object-hash": "^2.2.0",
"path": "^0.12.7",
"peer-info": "^0.17.5",
"pull-stream": "^3.6.14",
"rpc-bitcoin": "^2.0.0",
"send-crypto": "^0.2.37",
"the-global-object": "^1.0.2",
"tslint-config-prettier": "^1.18.0",
"winston": "^3.3.3",
"wrtc": "^0.4.7"
},
"prettier": {
"overrides": [
{
"files": "*.sol",
"options": {
"tabWidth": 2,
"printWidth": 120,
"bracketSpacing": true
}
}
]
}
}