@nexusmutual/sdk 0.3.10 → 0.3.11

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": 1704981731
1364
1364
  },
1365
1365
  {
1366
1366
  "id": 84,
@@ -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,
@@ -2452,7 +2452,7 @@
2452
2452
  "ETH"
2453
2453
  ],
2454
2454
  "isPrivate": false,
2455
- "timestamp": 1711473767
2455
+ "timestamp": 1715349875
2456
2456
  },
2457
2457
  {
2458
2458
  "id": 155,
@@ -2500,7 +2500,7 @@
2500
2500
  "DAI"
2501
2501
  ],
2502
2502
  "isPrivate": false,
2503
- "timestamp": 1712244083
2503
+ "timestamp": 1715349875
2504
2504
  },
2505
2505
  {
2506
2506
  "id": 158,
@@ -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,