@evedex/networks 3.4.3-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +24 -0
  2. package/networks/abi/AcrossSpokePoolMock.json +233 -0
  3. package/networks/abi/BadgeV1.json +1016 -0
  4. package/networks/abi/Billing.json +795 -0
  5. package/networks/abi/BridgeMiddleware.json +320 -0
  6. package/networks/abi/BridgeMiddlewareV2.json +431 -0
  7. package/networks/abi/BurnRegistryV1.json +541 -0
  8. package/networks/abi/CashbackVaultV1.json +397 -0
  9. package/networks/abi/CashbackVaultV2.json +434 -0
  10. package/networks/abi/ContestVault.json +484 -0
  11. package/networks/abi/DVFDepositContract.json +495 -0
  12. package/networks/abi/DVFDepositContractMock.json +425 -0
  13. package/networks/abi/DefaultBridgeGateway.json +23 -0
  14. package/networks/abi/DefaultBridgeMock.json +139 -0
  15. package/networks/abi/DepositManager.json +373 -0
  16. package/networks/abi/EHMarket.json +904 -0
  17. package/networks/abi/EHMarketLegacy.json +818 -0
  18. package/networks/abi/ERC20Mock.json +427 -0
  19. package/networks/abi/ERC20Paymaster.json +453 -0
  20. package/networks/abi/ERC721V1.json +916 -0
  21. package/networks/abi/ERC721V2.json +979 -0
  22. package/networks/abi/Eventum.json +515 -0
  23. package/networks/abi/GovernorMultisig.json +454 -0
  24. package/networks/abi/IAcrossSpokePool.json +111 -0
  25. package/networks/abi/IAllowanceTransfer.json +488 -0
  26. package/networks/abi/IDefaultBridgeGateway.json +23 -0
  27. package/networks/abi/IDepositManager.json +38 -0
  28. package/networks/abi/IEIP712.json +17 -0
  29. package/networks/abi/IEventHorizonMarket.json +214 -0
  30. package/networks/abi/IPermit2.json +867 -0
  31. package/networks/abi/IPriceFeed.json +50 -0
  32. package/networks/abi/ISignatureTransfer.json +396 -0
  33. package/networks/abi/ISwapManager.json +55 -0
  34. package/networks/abi/IWETH.json +17 -0
  35. package/networks/abi/LuckyShot.json +484 -0
  36. package/networks/abi/MinimalProxyFactory.json +130 -0
  37. package/networks/abi/Multicall3.json +442 -0
  38. package/networks/abi/Multiownable.json +418 -0
  39. package/networks/abi/OwnableValidator.json +596 -0
  40. package/networks/abi/Permit2Mock.json +147 -0
  41. package/networks/abi/PriceFeedMock.json +87 -0
  42. package/networks/abi/ProxyAdmin.json +125 -0
  43. package/networks/abi/Storage.json +396 -0
  44. package/networks/abi/SwapManager.json +414 -0
  45. package/networks/abi/SwapRouterMock.json +315 -0
  46. package/networks/abi/SwapRouterTestnetMock.json +323 -0
  47. package/networks/abi/TestnetERC20.json +456 -0
  48. package/networks/abi/TestnetWETH.json +503 -0
  49. package/networks/abi/TreasuryV1.json +292 -0
  50. package/networks/abi/USDC.json +515 -0
  51. package/networks/abi/USDT.json +515 -0
  52. package/networks/abi/UniversalRouterMock.json +101 -0
  53. package/networks/abi/UniversalRouterTestnetMock.json +85 -0
  54. package/networks/abi/VaultV1.json +435 -0
  55. package/networks/abi/VaultV2.json +506 -0
  56. package/networks/abi/WBTC.json +515 -0
  57. package/networks/abi/WETHMock.json +484 -0
  58. package/networks/arbitrum-bridges.json +66 -0
  59. package/networks/contracts-networks.json +863 -0
  60. package/networks/contracts.json +280 -0
  61. package/networks/networks.json +302 -0
  62. package/package.json +61 -0
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # Deploy
2
+
3
+ Check `.env` and `hardhat.config.js` before deploy modules.
4
+
5
+ - `npm run deploy -- --network sepolia --deploy ./deploy/dir` - deploy with scripts
6
+
7
+ # Export contracts addresses and ABI
8
+
9
+ - `npm run export-abi` - export ABI
10
+ - `npm run export-deploy-name -- --network eventum_testnet` - export contract addresses for this network
11
+
12
+ # Export for verification (example)!
13
+
14
+ - `node scripts/export-verify-json.js artifacts/contracts/governance/Multiownable.sol/Multiownable.dbg.json`
15
+
16
+ # Deploy flow (example)
17
+
18
+ 1. npx hardhat deploy --network eventum_testnet --tags LuckyShot
19
+ 2. npx hardhat deploy --network eventum_testnet --tags LuckyShotTransferOwnerToMultisig
20
+ 3. npx hardhat verify --network eventum_testnet CONTRACT_ADDRESS
21
+ 4. (optional deploy another proxy implementation) npx hardhat deploy --network eventum_testnet --tags UpgradeLuckyShot
22
+
23
+ 111
24
+ <!-- release pipeline smoke test -->
@@ -0,0 +1,233 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable",
6
+ "type": "constructor"
7
+ },
8
+ {
9
+ "inputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "target",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "name": "AddressEmptyCode",
17
+ "type": "error"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "account",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "name": "AddressInsufficientBalance",
28
+ "type": "error"
29
+ },
30
+ {
31
+ "inputs": [],
32
+ "name": "DepositFailed",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [],
37
+ "name": "FailedInnerCall",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [
42
+ {
43
+ "internalType": "address",
44
+ "name": "owner",
45
+ "type": "address"
46
+ }
47
+ ],
48
+ "name": "OwnableInvalidOwner",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [
53
+ {
54
+ "internalType": "address",
55
+ "name": "account",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "name": "OwnableUnauthorizedAccount",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "address",
66
+ "name": "token",
67
+ "type": "address"
68
+ }
69
+ ],
70
+ "name": "SafeERC20FailedOperation",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": true,
78
+ "internalType": "address",
79
+ "name": "previousOwner",
80
+ "type": "address"
81
+ },
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "newOwner",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "OwnershipTransferred",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "depositQuoteTimeBuffer",
95
+ "outputs": [
96
+ {
97
+ "internalType": "uint32",
98
+ "name": "",
99
+ "type": "uint32"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "address",
109
+ "name": "",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "internalType": "address",
114
+ "name": "recipient",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "internalType": "address",
119
+ "name": "inputToken",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "internalType": "address",
124
+ "name": "",
125
+ "type": "address"
126
+ },
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "inputAmount",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "",
135
+ "type": "uint256"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "",
140
+ "type": "uint256"
141
+ },
142
+ {
143
+ "internalType": "address",
144
+ "name": "",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "uint32",
149
+ "name": "",
150
+ "type": "uint32"
151
+ },
152
+ {
153
+ "internalType": "uint32",
154
+ "name": "",
155
+ "type": "uint32"
156
+ },
157
+ {
158
+ "internalType": "uint32",
159
+ "name": "",
160
+ "type": "uint32"
161
+ },
162
+ {
163
+ "internalType": "bytes",
164
+ "name": "",
165
+ "type": "bytes"
166
+ }
167
+ ],
168
+ "name": "depositV3",
169
+ "outputs": [],
170
+ "stateMutability": "payable",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "fillDeadlineBuffer",
176
+ "outputs": [
177
+ {
178
+ "internalType": "uint32",
179
+ "name": "",
180
+ "type": "uint32"
181
+ }
182
+ ],
183
+ "stateMutability": "view",
184
+ "type": "function"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "getCurrentTime",
189
+ "outputs": [
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "stateMutability": "view",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "owner",
202
+ "outputs": [
203
+ {
204
+ "internalType": "address",
205
+ "name": "",
206
+ "type": "address"
207
+ }
208
+ ],
209
+ "stateMutability": "view",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "renounceOwnership",
215
+ "outputs": [],
216
+ "stateMutability": "nonpayable",
217
+ "type": "function"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "address",
223
+ "name": "newOwner",
224
+ "type": "address"
225
+ }
226
+ ],
227
+ "name": "transferOwnership",
228
+ "outputs": [],
229
+ "stateMutability": "nonpayable",
230
+ "type": "function"
231
+ }
232
+ ]
233
+ }