forked from Velvet-Capital/velvet-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·121 lines (121 loc) · 4.98 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
{
"name": "velvet-capital-v2",
"description": "velvet-capital smart contracts",
"version": "1.0.0",
"main": "portfolio.js",
"repository": "https://github.com/Velvet-Capital/",
"author": "velvet.capital Team",
"homepage": "https://www.velvet.capital/",
"license": "BUSL-1.1",
"scripts": {
"build": "yarn clean && yarn compile",
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"balance": "npx hardhat balance --account",
"block-number": "npx hardhat block-number",
"deploy": "npx hardhat run scripts/deploy.ts",
"deploy:network": "hardhat run scripts/deploy.ts --network",
"deployBsc": "npx hardhat run scripts/deployBsc.ts --network bscMainnet",
"deployBsc:safe": "npx hardhat run scripts/deploySafeBsc.ts --network bscMainnet",
"deployBsc:common": "npx hardhat run scripts/deployPersistentBsc.ts --network bscMainnet",
"deployArbitrum": "npx hardhat run scripts/deployArbitrum.ts --network TenderlyArbitrum",
"verify:network": "hardhat verify --network",
"test": "npx hardhat test",
"testAll": "npx hardhat test test/AllGenericHandlers.test.ts && npx hardhat test test/PortfolioFactory.test.ts && npx hardhat test test/PortfolioSwap_1.test.ts && npx hardhat test test/PortfolioSwap_2.test.ts && npx hardhat test test/OffChainPortfolioSwap.test.ts && npx hardhat test test/RebalanceAggregator.test.ts && npx hardhat test test/ZeroExSwap.test.ts && npx hardhat test test/TimeDependentTest.test.ts",
"coverageBsc": "npx hardhat coverage --testfiles \"test/Bsc/*test.*\" ",
"coverageArbitrum": "npx hardhat coverage --testfiles \"test/Arbitrum/*test.*\" ",
"account": "npx hardhat accounts",
"postinstall": "husky install",
"size": "npx hardhat size-contracts",
"lint": "solhint \"contracts/**/*.sol\" && eslint . --max-warnings=0",
"lint:sol": "solhint \"contracts/**/*.sol\"",
"lint:fix": "solhint \"contracts/**/*.sol\" && eslint . --fix",
"prettier": "prettier -l --write . '**/*.{js,ts,json}'",
"compile-types": "npx hardhat typechain && npx hardhat export-abi",
"test:arb": "CHAIN_ID=42161 hardhat test test/Arbitrum",
"test:bsc": "CHAIN_ID=56 hardhat test test/Bsc"
},
"private": true,
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^4.8.2",
"@openzeppelin/contracts-upgradeable": "^4.9.6",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@typechain/ethers-v5": "7.2.0",
"@typechain/hardhat": "^2.1.2",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.10",
"chai": "^4.3.4",
"dotenv": "^10.0.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.6.9",
"hardhat": "2.20.1",
"hardhat-abi-exporter": "^2.2.1",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-deploy": "^0.8.11",
"hardhat-deploy-ethers": "^0.3.0-beta.6",
"hardhat-docgen": "^1.1.1",
"hardhat-gas-reporter": "^1.0.10",
"husky": "^7.0.4",
"keccak256": "1.0.6",
"lint-staged": "^12.2.2",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.1.3",
"solidity-coverage": "0.8.11",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"typechain": "^5.2.0",
"typescript": "^4.5.5"
},
"packageManager": "yarn@3.1.1",
"dependencies": {
"@chainlink/contracts": "^0.4.2",
"@gnosis.pm/safe-core-sdk": "^2.1.0",
"@gnosis.pm/safe-core-sdk-types": "^1.1.0",
"@gnosis.pm/safe-ethers-lib": "^1.1.0",
"@gnosis.pm/safe-service-client": "^1.1.2",
"@gnosis.pm/zodiac": "^1.0.11",
"@nomicfoundation/hardhat-foundry": "^1.1.2",
"@openzeppelin/contracts-4.8.2": "npm:@openzeppelin/contracts@^4.8.2",
"@openzeppelin/contracts-upgradeable-4.9.6": "npm:@openzeppelin/contracts-upgradeable@^4.9.6",
"@openzeppelin/defender-admin-client": "^1.49.0",
"@safe-global/api-kit": "^1.1.0",
"@safe-global/protocol-kit": "^1.0.1",
"@safe-global/safe-core-sdk-types": "^2.0.0",
"@safe-global/safe-ethers-adapters": "^0.2.0-alpha.0",
"@tenderly/hardhat-tenderly": "^1.7.7",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "5.14.0",
"@uniswap/lib": "^4.0.1-alpha",
"@uniswap/permit2-sdk": "^1.2.1",
"@uniswap/sdk": "^3.0.3",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"chai-bignumber": "^3.0.0",
"eslint": "8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-no-only-tests": "^3.0.0",
"eslint-plugin-prettier": "^4.0.0",
"hardhat-tracer": "^2.8.1",
"merkletreejs": "^0.3.9",
"prompt-sync": "^4.2.0",
"solhint": "^3.3.6",
"solmate": "^6.2.0",
"uniswap": "^0.0.1"
},
"lint-staged": {
"*.sol": [
"solhint -w 0",
"prettier --write"
],
"*.{ts,js}": [
"prettier --write"
],
"*.ts": "eslint --max-warnings=0",
"*.js": "eslint --cache --fix"
}
}