-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
159 lines (159 loc) · 8.73 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
{
"name": "switchboard-push-function",
"version": "1.0.0",
"description": "The Switchboard Push implementation for the Ethereum Virtual Machine (EVM).",
"keywords": [
"switchboard",
"oracle",
"ethereum",
"smart-contracts",
"solidity",
"foundry",
"hardhat"
],
"repository": {
"type": "git",
"url": "git+https://github.com/switchboard-xyz/switchboard-evm.git"
},
"author": "",
"license": "MIT",
"scripts": {
"help": "npx hardhat help",
"types": "rm -rf javascript/evm.js/src/typechain-types; npx hardhat typechain && cp -R typechain-types javascript/evm.js/src",
"accounts": "npx hardhat accounts",
"balances": "npx hardhat balances",
"node:hh": "npx hardhat node",
"clean": "npx hardhat clean",
"test:hh": "npx hardhat test",
"test:forge": "forge test -vvv --root . -C contracts/src --match-path \"contracts/test/*\" --out forge-artifacts",
"coverage": "npx hardhat coverage",
"compile": "npx hardhat compile",
"build": "forge build --root . -C contracts/src --optimize --out forge-artifacts",
"size": "npx hardhat size-contracts",
"xdeploy": "npx hardhat xdeploy",
"abi": "hardhat export-abi",
"deploy:hh": "npx hardhat run --network hardhat scripts/deploy.ts",
"deploy:localhost": "npx hardhat run --network localhost scripts/deploy.ts",
"deploy:dashboard": "npx hardhat run --network truffleDashboard scripts/deploy.ts",
"deploy:tenderly": "npx hardhat run --network tenderly scripts/deploy.ts",
"deploy:devnet": "npx hardhat run --network devnet scripts/deploy.ts",
"deploy:rinkeby": "npx hardhat run --network rinkeby scripts/deploy.ts",
"deploy:ropsten": "npx hardhat run --network ropsten scripts/deploy.ts",
"deploy:kovan": "npx hardhat run --network kovan scripts/deploy.ts",
"deploy:goerli": "npx hardhat run --network goerli scripts/deploy.ts",
"deploy:sepolia": "npx hardhat run --network sepolia scripts/deploy.ts",
"deploy:ethmain": "npx hardhat run --network ethMain scripts/deploy.ts",
"deploy:coredaotestnet": "npx hardhat run --network coredaoTestnet scripts/deploy.ts",
"deploy:coredaomain": "npx hardhat run --network coredaoMain scripts/deploy.ts",
"deploy:bsctestnet": "npx hardhat run --network bscTestnet scripts/deploy.ts",
"deploy:bscmain": "npx hardhat run --network bscMain scripts/deploy.ts",
"deploy:optimismtestnet": "npx hardhat run --network optimismTestnet scripts/deploy.ts",
"deploy:optimismmain": "npx hardhat run --network optimismMain scripts/deploy.ts",
"test:arbitrumtestnet": "npx hardhat run --network arbitrumTestnet scripts/test_sdk.ts | grep -v 'duplicate definition'",
"deploy:arbitrumtestnet": "npx hardhat run --network arbitrumTestnet scripts/deploy.ts",
"init:arbitrumtestnet": "npx hardhat run --network arbitrumTestnet scripts/initialize_switchboard.ts",
"deploy:arbitrummain": "npx hardhat run --network arbitrumMain scripts/deploy.ts",
"deploy:arbitrumnova": "npx hardhat run --network arbitrumNova scripts/deploy.ts",
"deploy:mumbai": "npx hardhat run --network mumbai scripts/deploy.ts",
"deploy:polygonzkevmtestnet": "npx hardhat run --network polygonZkEVMTestnet scripts/deploy.ts",
"deploy:polygon": "npx hardhat run --network polygon scripts/deploy.ts",
"deploy:polygonzkevmmain": "npx hardhat run --network polygonZkEVMMain scripts/deploy.ts",
"deploy:hecotestnet": "npx hardhat run --network hecoTestnet scripts/deploy.ts",
"deploy:hecomain": "npx hardhat run --network hecoMain scripts/deploy.ts",
"deploy:fantomtestnet": "npx hardhat run --network fantomTestnet scripts/deploy.ts",
"deploy:fantommain": "npx hardhat run --network fantomMain scripts/deploy.ts",
"deploy:fuji": "npx hardhat run --network fuji scripts/deploy.ts",
"deploy:avalanche": "npx hardhat run --network avalanche scripts/deploy.ts",
"deploy:sokol": "npx hardhat run --network sokol scripts/deploy.ts",
"deploy:chiado": "npx hardhat run --network chiado scripts/deploy.ts",
"deploy:gnosis": "npx hardhat run --network gnosis scripts/deploy.ts",
"deploy:moonbasealpha": "npx hardhat run --network moonbaseAlpha scripts/deploy.ts",
"deploy:moonriver": "npx hardhat run --network moonriver scripts/deploy.ts",
"deploy:moonbeam": "npx hardhat run --network moonbeam scripts/deploy.ts",
"deploy:alfajores": "npx hardhat run --network alfajores scripts/deploy.ts",
"deploy:celo": "npx hardhat run --network celo scripts/deploy.ts",
"deploy:auroratestnet": "npx hardhat run --network auroraTestnet scripts/deploy.ts",
"deploy:auroramain": "npx hardhat run --network auroraMain scripts/deploy.ts",
"deploy:harmonytestnet": "npx hardhat run --network harmonyTestnet scripts/deploy.ts",
"deploy:harmonymain": "npx hardhat run --network harmonyMain scripts/deploy.ts",
"deploy:autobahntestnet": "npx hardhat run --network autobahnTestnet scripts/deploy.ts",
"deploy:autobahn": "npx hardhat run --network autobahn scripts/deploy.ts",
"deploy:spark": "npx hardhat run --network spark scripts/deploy.ts",
"deploy:fuse": "npx hardhat run --network fuse scripts/deploy.ts",
"deploy:cronostestnet": "npx hardhat run --network cronosTestnet scripts/deploy.ts",
"deploy:cronosmain": "npx hardhat run --network cronosMain scripts/deploy.ts",
"deploy:evmostestnet": "npx hardhat run --network evmosTestnet scripts/deploy.ts",
"deploy:evmosmain": "npx hardhat run --network evmosMain scripts/deploy.ts",
"deploy:bobatestnet": "npx hardhat run --network bobaTestnet scripts/deploy.ts",
"deploy:bobamain": "npx hardhat run --network bobaMain scripts/deploy.ts",
"deploy:cantotestnet": "npx hardhat run --network cantoTestnet scripts/deploy.ts",
"deploy:cantomain": "npx hardhat run --network cantoMain scripts/deploy.ts",
"deploy:basetestnet": "npx hardhat run --network baseTestnet scripts/deploy.ts",
"deploy:zksynctestnet": "npx hardhat deploy-zksync --network zkSyncTestnet --script deploy-zksync.ts",
"deploy:zksyncmain": "npx hardhat deploy-zksync --network zkSyncMain --script deploy-zksync.ts",
"deploy:mantletestnet": "npx hardhat run --network mantleTestnet scripts/deploy.ts",
"deploy:filecointestnet": "npx hardhat run --network filecoinTestnet scripts/deploy.ts",
"deploy:scrolltestnet": "npx hardhat run --network scrollTestnet scripts/deploy.ts",
"deploy:lineatestnet": "npx hardhat run --network lineaTestnet scripts/deploy.ts",
"deploy:shimmerevmtestnet": "npx hardhat run --network shimmerEVMTestnet scripts/deploy.ts",
"prettier:check": "prettier -c '**/*.{js,ts,md,sol,json,yml}'",
"prettier:fix": "prettier -w '**/*.{js,ts,md,sol,json,yml}'",
"solhint:check": "npx solhint 'contracts/**/*.sol'",
"solhint:fix": "npx solhint 'contracts/**/*.sol' --fix",
"lint:check": "yarn prettier:check && yarn solhint:check && npx eslint '**/*.{js,ts}'",
"lint:fix": "yarn prettier:fix && yarn solhint:fix && npx eslint '**/*.{js,ts}' --fix"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@matterlabs/hardhat-zksync-deploy": "^0.6.3",
"@matterlabs/hardhat-zksync-solc": "^0.3.17",
"@matterlabs/hardhat-zksync-verify": "^0.1.7",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^1.0.2",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@openzeppelin/contracts": "^4.8.3",
"@openzeppelin/hardhat-upgrades": "^1.26.0",
"@switchboard-xyz/common": "^2.2.3",
"@switchboard-xyz/evm.js": "3.12.34-alpha1.0.11",
"@tenderly/hardhat-tenderly": "^1.7.7",
"@truffle/dashboard-hardhat-plugin": "^0.1.1",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.2.3",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"ethers": "^5.7.2",
"hardhat": "^2.17.1",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-diamond-abi": "^3.0.1",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solidity-coverage": "^0.7.22",
"ts-node": "^10.9.1",
"typechain": "^8.2.0",
"typescript": "^5.0.4",
"undici": "^5.22.1",
"xdeployer": "^1.2.5",
"zksync-web3": "^0.14.3"
},
"dependencies": {
"@ethersproject/bytes": "^5.0.0",
"@solana/web3.js": "^1.68.0",
"bignumber.js": "^9.1.1",
"ethereumjs-util": "^7.1.5",
"moment-timezone": "^0.5.43",
"pnpm": "^8.7.4"
}
}