-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 8.96 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 8.96 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
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
{
"name": "ledgity-yield",
"version": "1.268.0",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "next dev",
"build": "prisma generate && node --max-old-space-size=8192 node_modules/next/dist/bin/next build",
"build:analyze": "npx cross-env ANALYZE=true next build",
"start": "next start",
"lint": "next lint",
"compile": "hardhat compile && hardhat export --export-all contracts/deployments.json && cross-env HARDHAT_DEPLOY_FORK=base wagmi generate",
"deploy-reset:fork": "hardhat deploy --reset --network hardhat",
"deploy-reset:fork-base": "cross-env HARDHAT_DEPLOY_FORK=base hardhat deploy --reset --network hardhat",
"deploy-reset:base": "hardhat deploy --reset --network base",
"deploy:fork": "hardhat deploy --network hardhat",
"deploy:fork-base": "cross-env HARDHAT_DEPLOY_FORK=base hardhat deploy --network hardhat",
"deploy:fork-hedera": "cross-env HARDHAT_DEPLOY_FORK=hedera hardhat deploy --network hardhat",
"deploy:fork-sonic": "cross-env HARDHAT_DEPLOY_FORK=sonic hardhat deploy --network hardhat",
"deploy:base": "hardhat deploy --network base",
"deploy:sonic": "hardhat deploy --network sonic",
"deploy:hedera": "hardhat deploy --network hedera",
"verify:base": "hardhat verify-deploys --chain base --network base",
"verify:sonic": "hardhat verify-deploys --chain sonic --network sonic",
"cc:test": "forge test --use 0.8.18",
"cc:coverage": "bash scripts/coverage.sh",
"cc:size": "hardhat size-contracts",
"cc:slither:report": "slither . --compile-force-framework hardhat --hardhat-artifacts-directory ./contracts/hardhat/artifacts/ --checklist > report.md ",
"cc:slither:triage": "slither . --compile-force-framework hardhat --hardhat-artifacts-directory ./contracts/hardhat/artifacts/ --triage-mode",
"cc:slither:pausable": "slither . --compile-force-framework hardhat --hardhat-artifacts-directory ./contracts/hardhat/artifacts/ --print not-pausable",
"cc:node": "hardhat node --hostname 0.0.0.0",
"cc:compile": "hardhat compile && hardhat export --export-all contracts/deployments.json && ts-node --esm scripts/extract-abis.mts && wagmi generate",
"graph:client": "graphclient build",
"graph:generate": "cd subgraph && graph codegen ./subgraph.yaml && graph build ./subgraph.yaml",
"graph:node": "cd subgraph/local-node && docker-compose up",
"graph:local-gen": "cd subgraph && graph codegen ./localhost-subgraph.yaml && graph build ./localhost-subgraph.yaml ",
"graph:local-create": "graph create --node http://0.0.0.0:8020/ LedgityLabs/LedgityYield",
"graph:local-deploy": "graph deploy --node http://0.0.0.0:8020/ --ipfs http://0.0.0.0:5001 LedgityLabs/LedgityYield ./subgraph/localhost-subgraph.yaml",
"graph:local-remove": "graph remove --node http://0.0.0.0:8020/ LedgityLabs/LedgityYield",
"graph:linea-gen": "cd subgraph && graph codegen ./linea-subgraph.yaml && graph build ./linea-subgraph.yaml",
"graph:linea-create": "graph create --node https://graph-deploy.linea.build/ LedgityLabs/LedgityYield",
"graph:linea-deploy": "graph deploy --node https://graph-deploy.linea.build/ --ipfs https://graph-ipfs.linea.build LedgityLabs/LedgityYield ./subgraph/linea-subgraph.yaml",
"graph:linea-remove": "graph remove --node https://graph-deploy.linea.build/ LedgityLabs/LedgityYield",
"graph:arbitrum-gen": "cd subgraph && graph codegen ./arbitrum-subgraph.yaml && graph build ./arbitrum-subgraph.yaml",
"graph:arbitrum-deploy": "graph deploy --studio ledgity-yield-arbitrum ./subgraph/arbitrum-subgraph.yaml",
"graph:OKX_X1_Testnet-remove": "graph remove --node https://www.okx.com/api/v1/x1-testnet/index/subgraphs/name/LedgityLabs/LedgityYield/",
"graph:prepare-eth-sepolia": "cd subgraph && mustache ./config/ethereum-sepolia.json ./subgraph.template.yaml > ./subgraph.yaml",
"graph:deploy-eth-sepolia": "cd subgraph && graph deploy --node https://api.studio.thegraph.com/deploy/ ledgity-sepolia ./subgraph.yaml",
"graph:prepare-okx-mainnet": "cd subgraph && mustache ./config/okx-mainnet.json ./subgraph.template.yaml > ./subgraph.yaml",
"graph:deploy-okx-mainnet": "cd subgraph && graph deploy --node https://api.studio.thegraph.com/deploy/ ledgity-okxmain ./subgraph.yaml",
"graph:prepare-eth-mainnet": "cd subgraph && mustache ./config/ethereum-mainnet.json ./subgraph.template.yaml > ./subgraph.yaml",
"graph:deploy-eth-mainnet": "cd subgraph && graph deploy --node https://api.studio.thegraph.com/deploy/ ledgity-eth-mainnet ./subgraph.yaml",
"graph:prepare-arbi-mainnet": "cd subgraph && mustache ./config/arbitrum-mainnet.json ./subgraph.template.yaml > ./subgraph.yaml",
"graph:deploy-arbi-mainnet": "cd subgraph && graph deploy --node https://api.studio.thegraph.com/deploy/ ledgity-arbi-main ./subgraph.yaml",
"graph:prepare-base-sepolia": "cd subgraph && mustache ./config/base-sepolia.json ./subgraph.template.yaml > ./subgraph.yaml",
"graph:deploy-base-sepolia": "cd subgraph && graph deploy --node https://api.studio.thegraph.com/deploy/ ldystaking-subgraph ./subgraph.yaml",
"graph:deploy-arbi-sepolia": "cd subgraph && graph deploy ledgity-arbi-sepolia --version-label v0.0.1 ./subgraph.yaml --node https://subgraphs.alchemy.com/api/subgraphs/deploy --deploy-key 4SaXil3Dh3K9O --ipfs https://ipfs.satsuma.xyz",
"prettier:check": "prettier --check --config ./.prettierrc.json --plugin=prettier-plugin-solidity .",
"prettier:write": "prettier --write --config ./.prettierrc.json --plugin=prettier-plugin-solidity .",
"deploy-web:staging": "git checkout staging& git pull& git merge dev& git push& git checkout dev",
"deploy-web:prod": "git checkout prod& git pull& git merge dev& git push& git checkout dev"
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.11",
"@chainlink/contracts": "^1.3.0",
"@chainlink/contracts-ccip": "^1.5.0",
"@graphprotocol/client-add-source-name": "2.0.0",
"@graphprotocol/graph-cli": "^0.68.0",
"@graphql-mesh/transform-prefix": "0.93.1",
"@graphql-tools/utils": "9.2.1",
"@lifi/widget": "^3.13.2",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@okxweb3/hardhat-explorer-verify": "^1.6.4",
"@prisma/client": "^5.7.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@rainbow-me/rainbowkit": "^2",
"@t3-oss/env-nextjs": "^0",
"@tanstack/react-query": "^5.65.1",
"@tanstack/react-table": "^8.11.2",
"@wagmi/core": "^2",
"@xswap-link/sdk": "^0.10.5",
"chart.js": "^4.4.1",
"chartjs-adapter-luxon": "^1.3.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"colors": "^1.4.0",
"cookies-next": "^4.1.0",
"d3-format": "^3.1.0",
"dayjs": "^1.11.11",
"dotenv": "^16.4.7",
"embla-carousel-react": "^8.0.2",
"ethereum-blockies-base64": "^1.0.2",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"lucide-react": "^0.366.0",
"luxon": "^3.4.4",
"next": "^14.2.28",
"next-auth": "^4.24.11",
"pino-pretty": "^13.0.0",
"react": "^18.2.0",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"remixicon": "^4",
"sharp": "^0.33.5",
"tailwindcss-animate": "^1.0.7",
"viem": "^2.22.17",
"wagmi": "^2.14.9",
"zod": "^3.22.4"
},
"devDependencies": {
"@graphprotocol/client-cli": "3.0.0",
"@graphprotocol/graph-ts": "0.31.0",
"@hashgraph/system-contracts-forking": "^0.1.2",
"@next/bundle-analyzer": "^14.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.14",
"@openzeppelin/contracts": "4.9.0",
"@openzeppelin/contracts-upgradeable": "4.9.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/d3-format": "^3.0.4",
"@types/lodash.merge": "^4.6.9",
"@types/mustache": "^4.2.5",
"@types/node": "^20.8.6",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.18",
"@wagmi/cli": "^2",
"autoprefixer": "^10.4.17",
"conventional-changelog-conventionalcommits": "^7.0.2",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.51.0",
"eslint-config-next": "^14.1.0",
"hardhat": "^2.24.3",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^1.0.3",
"next-bundle-analyzer": "^0.6.8",
"postcss": "^8.4.35",
"prettier": "^3.1.1",
"prettier-plugin-jsdoc": "^1",
"prettier-plugin-solidity": "^1.3.1",
"prettier-plugin-tailwindcss": "^0.5.9",
"prisma": "^5.7.0",
"semantic-release": "^23",
"tailwind-merge": "^2.5.5",
"tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.4.1",
"tap": "^18.6.1",
"ts-node": "^10.9.2",
"typescript": "^5.2.2"
}
}