@nexusmutual/sdk 0.0.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 (44) hide show
  1. package/.github/workflows/merge-master.yml +124 -0
  2. package/.github/workflows/pull_request.yml +62 -0
  3. package/README.md +32 -0
  4. package/dist/contracts/abis/Assessment.json +700 -0
  5. package/dist/contracts/abis/Cover.json +1258 -0
  6. package/dist/contracts/abis/CoverMigrator.json +189 -0
  7. package/dist/contracts/abis/CoverNFT.json +498 -0
  8. package/dist/contracts/abis/CoverNFTDescriptor.json +200 -0
  9. package/dist/contracts/abis/CoverViewer.json +124 -0
  10. package/dist/contracts/abis/EACAggregatorProxy.json +58 -0
  11. package/dist/contracts/abis/ERC20.json +364 -0
  12. package/dist/contracts/abis/Governance.json +975 -0
  13. package/dist/contracts/abis/IndividualClaims.json +528 -0
  14. package/dist/contracts/abis/LegacyClaimProofs.json +64 -0
  15. package/dist/contracts/abis/LegacyClaimsData.json +1912 -0
  16. package/dist/contracts/abis/LegacyClaimsReward.json +179 -0
  17. package/dist/contracts/abis/LegacyGateway.json +542 -0
  18. package/dist/contracts/abis/LegacyPooledStaking.json +1320 -0
  19. package/dist/contracts/abis/LegacyQuotationData.json +1121 -0
  20. package/dist/contracts/abis/MCR.json +326 -0
  21. package/dist/contracts/abis/MemberRoles.json +681 -0
  22. package/dist/contracts/abis/NXMToken.json +498 -0
  23. package/dist/contracts/abis/NXMaster.json +501 -0
  24. package/dist/contracts/abis/Pool.json +928 -0
  25. package/dist/contracts/abis/PriceFeedOracle.json +122 -0
  26. package/dist/contracts/abis/ProductsV1.json +21 -0
  27. package/dist/contracts/abis/ProposalCategory.json +550 -0
  28. package/dist/contracts/abis/StakingNFT.json +569 -0
  29. package/dist/contracts/abis/StakingNFTDescriptor.json +222 -0
  30. package/dist/contracts/abis/StakingPool.json +1433 -0
  31. package/dist/contracts/abis/StakingPoolFactory.json +108 -0
  32. package/dist/contracts/abis/StakingProducts.json +885 -0
  33. package/dist/contracts/abis/StakingViewer.json +777 -0
  34. package/dist/contracts/abis/SwapOperator.json +754 -0
  35. package/dist/contracts/abis/TokenController.json +1024 -0
  36. package/dist/contracts/abis/YieldTokenIncidents.json +438 -0
  37. package/dist/contracts/abis/index.js +69 -0
  38. package/dist/contracts/addresses.json +35 -0
  39. package/dist/index.d.ts +5 -0
  40. package/dist/index.js +13 -0
  41. package/dist/products/product-logos.json +103 -0
  42. package/dist/products/product-types.json +58 -0
  43. package/dist/products/products.json +1414 -0
  44. package/package.json +50 -0
@@ -0,0 +1,498 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "payable": false,
5
+ "inputs": [
6
+ {
7
+ "type": "address",
8
+ "name": "_founderAddress"
9
+ },
10
+ {
11
+ "type": "uint256",
12
+ "name": "_initialSupply"
13
+ }
14
+ ]
15
+ },
16
+ {
17
+ "type": "event",
18
+ "anonymous": false,
19
+ "name": "Approval",
20
+ "inputs": [
21
+ {
22
+ "type": "address",
23
+ "name": "owner",
24
+ "indexed": true
25
+ },
26
+ {
27
+ "type": "address",
28
+ "name": "spender",
29
+ "indexed": true
30
+ },
31
+ {
32
+ "type": "uint256",
33
+ "name": "value",
34
+ "indexed": false
35
+ }
36
+ ]
37
+ },
38
+ {
39
+ "type": "event",
40
+ "anonymous": false,
41
+ "name": "BlackListed",
42
+ "inputs": [
43
+ {
44
+ "type": "address",
45
+ "name": "member",
46
+ "indexed": true
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "type": "event",
52
+ "anonymous": false,
53
+ "name": "Transfer",
54
+ "inputs": [
55
+ {
56
+ "type": "address",
57
+ "name": "from",
58
+ "indexed": true
59
+ },
60
+ {
61
+ "type": "address",
62
+ "name": "to",
63
+ "indexed": true
64
+ },
65
+ {
66
+ "type": "uint256",
67
+ "name": "value",
68
+ "indexed": false
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "type": "event",
74
+ "anonymous": false,
75
+ "name": "WhiteListed",
76
+ "inputs": [
77
+ {
78
+ "type": "address",
79
+ "name": "member",
80
+ "indexed": true
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "addToWhiteList",
87
+ "constant": false,
88
+ "payable": false,
89
+
90
+ "inputs": [
91
+ {
92
+ "type": "address",
93
+ "name": "_member"
94
+ }
95
+ ],
96
+ "outputs": [
97
+ {
98
+ "type": "bool"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "type": "function",
104
+ "name": "allowance",
105
+ "constant": true,
106
+ "stateMutability": "view",
107
+ "payable": false,
108
+
109
+ "inputs": [
110
+ {
111
+ "type": "address",
112
+ "name": "owner"
113
+ },
114
+ {
115
+ "type": "address",
116
+ "name": "spender"
117
+ }
118
+ ],
119
+ "outputs": [
120
+ {
121
+ "type": "uint256"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "type": "function",
127
+ "name": "approve",
128
+ "constant": false,
129
+ "payable": false,
130
+
131
+ "inputs": [
132
+ {
133
+ "type": "address",
134
+ "name": "spender"
135
+ },
136
+ {
137
+ "type": "uint256",
138
+ "name": "value"
139
+ }
140
+ ],
141
+ "outputs": [
142
+ {
143
+ "type": "bool"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "type": "function",
149
+ "name": "balanceOf",
150
+ "constant": true,
151
+ "stateMutability": "view",
152
+ "payable": false,
153
+
154
+ "inputs": [
155
+ {
156
+ "type": "address",
157
+ "name": "owner"
158
+ }
159
+ ],
160
+ "outputs": [
161
+ {
162
+ "type": "uint256"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "type": "function",
168
+ "name": "burn",
169
+ "constant": false,
170
+ "payable": false,
171
+
172
+ "inputs": [
173
+ {
174
+ "type": "uint256",
175
+ "name": "amount"
176
+ }
177
+ ],
178
+ "outputs": [
179
+ {
180
+ "type": "bool"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "function",
186
+ "name": "burnFrom",
187
+ "constant": false,
188
+ "payable": false,
189
+
190
+ "inputs": [
191
+ {
192
+ "type": "address",
193
+ "name": "from"
194
+ },
195
+ {
196
+ "type": "uint256",
197
+ "name": "value"
198
+ }
199
+ ],
200
+ "outputs": [
201
+ {
202
+ "type": "bool"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "type": "function",
208
+ "name": "changeOperator",
209
+ "constant": false,
210
+ "payable": false,
211
+
212
+ "inputs": [
213
+ {
214
+ "type": "address",
215
+ "name": "_newOperator"
216
+ }
217
+ ],
218
+ "outputs": [
219
+ {
220
+ "type": "bool"
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "type": "function",
226
+ "name": "decimals",
227
+ "constant": true,
228
+ "stateMutability": "view",
229
+ "payable": false,
230
+
231
+ "inputs": [],
232
+ "outputs": [
233
+ {
234
+ "type": "uint8"
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "decreaseAllowance",
241
+ "constant": false,
242
+ "payable": false,
243
+
244
+ "inputs": [
245
+ {
246
+ "type": "address",
247
+ "name": "spender"
248
+ },
249
+ {
250
+ "type": "uint256",
251
+ "name": "subtractedValue"
252
+ }
253
+ ],
254
+ "outputs": [
255
+ {
256
+ "type": "bool"
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "type": "function",
262
+ "name": "increaseAllowance",
263
+ "constant": false,
264
+ "payable": false,
265
+
266
+ "inputs": [
267
+ {
268
+ "type": "address",
269
+ "name": "spender"
270
+ },
271
+ {
272
+ "type": "uint256",
273
+ "name": "addedValue"
274
+ }
275
+ ],
276
+ "outputs": [
277
+ {
278
+ "type": "bool"
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "type": "function",
284
+ "name": "isLockedForMV",
285
+ "constant": true,
286
+ "stateMutability": "view",
287
+ "payable": false,
288
+
289
+ "inputs": [
290
+ {
291
+ "type": "address"
292
+ }
293
+ ],
294
+ "outputs": [
295
+ {
296
+ "type": "uint256"
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "type": "function",
302
+ "name": "lockForMemberVote",
303
+ "constant": false,
304
+ "payable": false,
305
+
306
+ "inputs": [
307
+ {
308
+ "type": "address",
309
+ "name": "_of"
310
+ },
311
+ {
312
+ "type": "uint256",
313
+ "name": "_days"
314
+ }
315
+ ],
316
+ "outputs": []
317
+ },
318
+ {
319
+ "type": "function",
320
+ "name": "mint",
321
+ "constant": false,
322
+ "payable": false,
323
+
324
+ "inputs": [
325
+ {
326
+ "type": "address",
327
+ "name": "account"
328
+ },
329
+ {
330
+ "type": "uint256",
331
+ "name": "amount"
332
+ }
333
+ ],
334
+ "outputs": []
335
+ },
336
+ {
337
+ "type": "function",
338
+ "name": "name",
339
+ "constant": true,
340
+ "stateMutability": "view",
341
+ "payable": false,
342
+
343
+ "inputs": [],
344
+ "outputs": [
345
+ {
346
+ "type": "string"
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "type": "function",
352
+ "name": "operator",
353
+ "constant": true,
354
+ "stateMutability": "view",
355
+ "payable": false,
356
+
357
+ "inputs": [],
358
+ "outputs": [
359
+ {
360
+ "type": "address"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "type": "function",
366
+ "name": "operatorTransfer",
367
+ "constant": false,
368
+ "payable": false,
369
+
370
+ "inputs": [
371
+ {
372
+ "type": "address",
373
+ "name": "from"
374
+ },
375
+ {
376
+ "type": "uint256",
377
+ "name": "value"
378
+ }
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "type": "bool"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "function",
388
+ "name": "removeFromWhiteList",
389
+ "constant": false,
390
+ "payable": false,
391
+
392
+ "inputs": [
393
+ {
394
+ "type": "address",
395
+ "name": "_member"
396
+ }
397
+ ],
398
+ "outputs": [
399
+ {
400
+ "type": "bool"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "type": "function",
406
+ "name": "symbol",
407
+ "constant": true,
408
+ "stateMutability": "view",
409
+ "payable": false,
410
+
411
+ "inputs": [],
412
+ "outputs": [
413
+ {
414
+ "type": "string"
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "type": "function",
420
+ "name": "totalSupply",
421
+ "constant": true,
422
+ "stateMutability": "view",
423
+ "payable": false,
424
+
425
+ "inputs": [],
426
+ "outputs": [
427
+ {
428
+ "type": "uint256"
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "type": "function",
434
+ "name": "transfer",
435
+ "constant": false,
436
+ "payable": false,
437
+
438
+ "inputs": [
439
+ {
440
+ "type": "address",
441
+ "name": "to"
442
+ },
443
+ {
444
+ "type": "uint256",
445
+ "name": "value"
446
+ }
447
+ ],
448
+ "outputs": [
449
+ {
450
+ "type": "bool"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "type": "function",
456
+ "name": "transferFrom",
457
+ "constant": false,
458
+ "payable": false,
459
+
460
+ "inputs": [
461
+ {
462
+ "type": "address",
463
+ "name": "from"
464
+ },
465
+ {
466
+ "type": "address",
467
+ "name": "to"
468
+ },
469
+ {
470
+ "type": "uint256",
471
+ "name": "value"
472
+ }
473
+ ],
474
+ "outputs": [
475
+ {
476
+ "type": "bool"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "type": "function",
482
+ "name": "whiteListed",
483
+ "constant": true,
484
+ "stateMutability": "view",
485
+ "payable": false,
486
+
487
+ "inputs": [
488
+ {
489
+ "type": "address"
490
+ }
491
+ ],
492
+ "outputs": [
493
+ {
494
+ "type": "bool"
495
+ }
496
+ ]
497
+ }
498
+ ]