@nexusmutual/sdk 0.3.10 → 0.3.12

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.
@@ -0,0 +1,470 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "_investmentLimit",
7
+ "type": "uint256"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_safe",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_usdc",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_dai",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "address",
26
+ "name": "_weth",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "address",
31
+ "name": "_aweth",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "address",
36
+ "name": "_debtUsdc",
37
+ "type": "address"
38
+ }
39
+ ],
40
+ "stateMutability": "nonpayable",
41
+ "type": "constructor"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "InvestmentSurpassesLimit",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "OnlySafe",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "anonymous": false,
55
+ "inputs": [
56
+ {
57
+ "indexed": true,
58
+ "internalType": "address",
59
+ "name": "owner",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "spender",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": false,
70
+ "internalType": "uint256",
71
+ "name": "value",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "Approval",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": false,
83
+ "internalType": "uint256",
84
+ "name": "investedUSDC",
85
+ "type": "uint256"
86
+ }
87
+ ],
88
+ "name": "CoverReInvestmentUSDCUpdated",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "from",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": true,
102
+ "internalType": "address",
103
+ "name": "to",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "uint256",
109
+ "name": "value",
110
+ "type": "uint256"
111
+ }
112
+ ],
113
+ "name": "Transfer",
114
+ "type": "event"
115
+ },
116
+ {
117
+ "inputs": [
118
+ {
119
+ "internalType": "address",
120
+ "name": "",
121
+ "type": "address"
122
+ },
123
+ {
124
+ "internalType": "address",
125
+ "name": "",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "name": "allowance",
130
+ "outputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "stateMutability": "pure",
138
+ "type": "function"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "spender",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "uint256",
149
+ "name": "value",
150
+ "type": "uint256"
151
+ }
152
+ ],
153
+ "name": "approve",
154
+ "outputs": [
155
+ {
156
+ "internalType": "bool",
157
+ "name": "",
158
+ "type": "bool"
159
+ }
160
+ ],
161
+ "stateMutability": "nonpayable",
162
+ "type": "function"
163
+ },
164
+ {
165
+ "inputs": [],
166
+ "name": "aweth",
167
+ "outputs": [
168
+ {
169
+ "internalType": "contract IERC20",
170
+ "name": "",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "stateMutability": "view",
175
+ "type": "function"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "address",
181
+ "name": "account",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "name": "balanceOf",
186
+ "outputs": [
187
+ {
188
+ "internalType": "uint256",
189
+ "name": "",
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "changeDependentContractAddress",
199
+ "outputs": [],
200
+ "stateMutability": "nonpayable",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "address",
207
+ "name": "masterAddress",
208
+ "type": "address"
209
+ }
210
+ ],
211
+ "name": "changeMasterAddress",
212
+ "outputs": [],
213
+ "stateMutability": "nonpayable",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "coverReInvestmentUSDC",
219
+ "outputs": [
220
+ {
221
+ "internalType": "uint256",
222
+ "name": "",
223
+ "type": "uint256"
224
+ }
225
+ ],
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "dai",
232
+ "outputs": [
233
+ {
234
+ "internalType": "contract IERC20",
235
+ "name": "",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "debtUsdc",
245
+ "outputs": [
246
+ {
247
+ "internalType": "contract IERC20",
248
+ "name": "",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "decimals",
258
+ "outputs": [
259
+ {
260
+ "internalType": "uint8",
261
+ "name": "",
262
+ "type": "uint8"
263
+ }
264
+ ],
265
+ "stateMutability": "view",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "uint256",
272
+ "name": "",
273
+ "type": "uint256"
274
+ }
275
+ ],
276
+ "name": "internalContracts",
277
+ "outputs": [
278
+ {
279
+ "internalType": "address payable",
280
+ "name": "",
281
+ "type": "address"
282
+ }
283
+ ],
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "investmentLimit",
290
+ "outputs": [
291
+ {
292
+ "internalType": "uint256",
293
+ "name": "",
294
+ "type": "uint256"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "latestAnswer",
303
+ "outputs": [
304
+ {
305
+ "internalType": "uint256",
306
+ "name": "",
307
+ "type": "uint256"
308
+ }
309
+ ],
310
+ "stateMutability": "pure",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "master",
316
+ "outputs": [
317
+ {
318
+ "internalType": "contract INXMMaster",
319
+ "name": "",
320
+ "type": "address"
321
+ }
322
+ ],
323
+ "stateMutability": "view",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [],
328
+ "name": "name",
329
+ "outputs": [
330
+ {
331
+ "internalType": "string",
332
+ "name": "",
333
+ "type": "string"
334
+ }
335
+ ],
336
+ "stateMutability": "view",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "safe",
342
+ "outputs": [
343
+ {
344
+ "internalType": "address",
345
+ "name": "",
346
+ "type": "address"
347
+ }
348
+ ],
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [],
354
+ "name": "symbol",
355
+ "outputs": [
356
+ {
357
+ "internalType": "string",
358
+ "name": "",
359
+ "type": "string"
360
+ }
361
+ ],
362
+ "stateMutability": "view",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [],
367
+ "name": "totalSupply",
368
+ "outputs": [
369
+ {
370
+ "internalType": "uint256",
371
+ "name": "",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "address",
382
+ "name": "to",
383
+ "type": "address"
384
+ },
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "amount",
388
+ "type": "uint256"
389
+ }
390
+ ],
391
+ "name": "transfer",
392
+ "outputs": [
393
+ {
394
+ "internalType": "bool",
395
+ "name": "",
396
+ "type": "bool"
397
+ }
398
+ ],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "address",
406
+ "name": "from",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "address",
411
+ "name": "to",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "amount",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "name": "transferFrom",
421
+ "outputs": [
422
+ {
423
+ "internalType": "bool",
424
+ "name": "",
425
+ "type": "bool"
426
+ }
427
+ ],
428
+ "stateMutability": "nonpayable",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "investedUSDC",
436
+ "type": "uint256"
437
+ }
438
+ ],
439
+ "name": "updateCoverReInvestmentUSDC",
440
+ "outputs": [],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [],
446
+ "name": "usdc",
447
+ "outputs": [
448
+ {
449
+ "internalType": "contract IERC20",
450
+ "name": "",
451
+ "type": "address"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [],
459
+ "name": "weth",
460
+ "outputs": [
461
+ {
462
+ "internalType": "contract IERC20",
463
+ "name": "",
464
+ "type": "address"
465
+ }
466
+ ],
467
+ "stateMutability": "view",
468
+ "type": "function"
469
+ }
470
+ ]
@@ -23,15 +23,16 @@
23
23
  "NXMToken": "0xd7c49CEE7E9188cCa6AD8FF264C1DA2e69D4Cf3B",
24
24
  "NXMaster": "0x01BFd82675DBCc7762C84019cA518e701C0cD07e",
25
25
  "Pool": "0xcafeaBED7e0653aFe9674A3ad862b78DB3F36e60",
26
- "PriceFeedOracle": "0xcafeaf6f31b54931795DA9055910DA7C83D23495",
26
+ "PriceFeedOracle": "0xcafea210B662b19bbd1692873A46be324a482672",
27
27
  "ProductsV1": "0xcafeab02966FdC69Ce5aFDD532DD51466892E32B",
28
28
  "ProposalCategory": "0x888eA6Ab349c854936b98586CE6a17E98BF254b2",
29
29
  "Ramm": "0xcafea54f03E1Cc036653444e581A10a43B2487CD",
30
+ "SafeTracker": "0xcafeaB8B01C74c2239eA9b2B0F6aB2dD409c6c13",
30
31
  "StakingNFT": "0xcafea508a477D94c502c253A58239fb8F948e97f",
31
32
  "StakingPoolFactory": "0xcafeafb97BF8831D95C0FC659b8eB3946B101CB3",
32
33
  "StakingProducts": "0xcafea573fBd815B5f59e8049E71E554bde3477E4",
33
34
  "StakingViewer": "0xcafea970135C07B07a3eCA76C6c00AAC849767b3",
34
- "SwapOperator": "0xcafea5C050E74a21C11Af78C927e17853153097D",
35
+ "SwapOperator": "0xcafea3cA5366964A102388EAd5f3eBb0769C46Cb",
35
36
  "TokenController": "0x5407381b6c251cFd498ccD4A1d877739CB7960B8",
36
37
  "wNXM": "0x0d438F3b5175Bebc262bF23753C1E53d03432bDE",
37
38
  "YieldTokenIncidents": "0xcafeac831dC5ca0D7ef467953b7822D2f44C8f83",
@@ -1360,7 +1360,7 @@
1360
1360
  "DAI"
1361
1361
  ],
1362
1362
  "isPrivate": true,
1363
- "timestamp": 1704980411
1363
+ "timestamp": 1684312727
1364
1364
  },
1365
1365
  {
1366
1366
  "id": 84,
@@ -1422,7 +1422,7 @@
1422
1422
  "DAI"
1423
1423
  ],
1424
1424
  "isPrivate": true,
1425
- "timestamp": 1704981731
1425
+ "timestamp": 1704980411
1426
1426
  },
1427
1427
  {
1428
1428
  "id": 88,
@@ -1516,7 +1516,7 @@
1516
1516
  "DAI"
1517
1517
  ],
1518
1518
  "isPrivate": true,
1519
- "timestamp": 1704980411
1519
+ "timestamp": 1684312727
1520
1520
  },
1521
1521
  {
1522
1522
  "id": 94,
@@ -1700,7 +1700,7 @@
1700
1700
  "DAI"
1701
1701
  ],
1702
1702
  "isPrivate": true,
1703
- "timestamp": 1704980411
1703
+ "timestamp": 1689782903
1704
1704
  },
1705
1705
  {
1706
1706
  "id": 106,
@@ -2165,7 +2165,7 @@
2165
2165
  "ETH"
2166
2166
  ],
2167
2167
  "isPrivate": false,
2168
- "timestamp": 1709310707
2168
+ "timestamp": 1709311739
2169
2169
  },
2170
2170
  {
2171
2171
  "id": 137,
@@ -2257,7 +2257,7 @@
2257
2257
  "DAI"
2258
2258
  ],
2259
2259
  "isPrivate": false,
2260
- "timestamp": 1710254231
2260
+ "timestamp": 1715349875
2261
2261
  },
2262
2262
  {
2263
2263
  "id": 143,
@@ -2273,7 +2273,7 @@
2273
2273
  "ETH"
2274
2274
  ],
2275
2275
  "isPrivate": false,
2276
- "timestamp": 1715349875
2276
+ "timestamp": 1710254231
2277
2277
  },
2278
2278
  {
2279
2279
  "id": 144,
@@ -2290,7 +2290,7 @@
2290
2290
  "DAI"
2291
2291
  ],
2292
2292
  "isPrivate": false,
2293
- "timestamp": 1710254231
2293
+ "timestamp": 1715349875
2294
2294
  },
2295
2295
  {
2296
2296
  "id": 145,
@@ -2307,7 +2307,7 @@
2307
2307
  "DAI"
2308
2308
  ],
2309
2309
  "isPrivate": false,
2310
- "timestamp": 1710254231
2310
+ "timestamp": 1715349875
2311
2311
  },
2312
2312
  {
2313
2313
  "id": 146,
@@ -2324,7 +2324,7 @@
2324
2324
  "DAI"
2325
2325
  ],
2326
2326
  "isPrivate": false,
2327
- "timestamp": 1715349875
2327
+ "timestamp": 1710254231
2328
2328
  },
2329
2329
  {
2330
2330
  "id": 147,
@@ -2371,7 +2371,7 @@
2371
2371
  "DAI"
2372
2372
  ],
2373
2373
  "isPrivate": false,
2374
- "timestamp": 1715349875
2374
+ "timestamp": 1710850979
2375
2375
  },
2376
2376
  {
2377
2377
  "id": 150,
@@ -2436,7 +2436,7 @@
2436
2436
  "ETH"
2437
2437
  ],
2438
2438
  "isPrivate": false,
2439
- "timestamp": 1711473767
2439
+ "timestamp": 1715349875
2440
2440
  },
2441
2441
  {
2442
2442
  "id": 154,
@@ -2549,7 +2549,7 @@
2549
2549
  "ETH"
2550
2550
  ],
2551
2551
  "isPrivate": false,
2552
- "timestamp": 1713185771
2552
+ "timestamp": 1715349875
2553
2553
  },
2554
2554
  {
2555
2555
  "id": 161,
@@ -2565,7 +2565,7 @@
2565
2565
  "ETH"
2566
2566
  ],
2567
2567
  "isPrivate": false,
2568
- "timestamp": 1713185771
2568
+ "timestamp": 1715349875
2569
2569
  },
2570
2570
  {
2571
2571
  "id": 162,
@@ -2581,7 +2581,7 @@
2581
2581
  "ETH"
2582
2582
  ],
2583
2583
  "isPrivate": false,
2584
- "timestamp": 1713185771
2584
+ "timestamp": 1715349875
2585
2585
  },
2586
2586
  {
2587
2587
  "id": 163,
@@ -2680,5 +2680,21 @@
2680
2680
  ],
2681
2681
  "isPrivate": false,
2682
2682
  "timestamp": 1715349875
2683
+ },
2684
+ {
2685
+ "id": 169,
2686
+ "name": "RockX",
2687
+ "productType": 6,
2688
+ "isDeprecated": false,
2689
+ "useFixedPrice": true,
2690
+ "logo": "rockX.png",
2691
+ "metadata": {
2692
+ "schedule": "QmRQVYLhC1QpB32g5UZbHPK5kot6oqXVYnr4CG1oYajsmt"
2693
+ },
2694
+ "coverAssets": [
2695
+ "ETH"
2696
+ ],
2697
+ "isPrivate": false,
2698
+ "timestamp": 1716897371
2683
2699
  }
2684
2700
  ]