@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,364 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "payable": false,
5
+ "inputs": [
6
+ {
7
+ "type": "string",
8
+ "name": "name"
9
+ },
10
+ {
11
+ "type": "string",
12
+ "name": "symbol"
13
+ },
14
+ {
15
+ "type": "uint8",
16
+ "name": "decimals"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "type": "event",
22
+ "anonymous": false,
23
+ "name": "Approval",
24
+ "inputs": [
25
+ {
26
+ "type": "address",
27
+ "name": "owner",
28
+ "indexed": true
29
+ },
30
+ {
31
+ "type": "address",
32
+ "name": "spender",
33
+ "indexed": true
34
+ },
35
+ {
36
+ "type": "uint256",
37
+ "name": "value",
38
+ "indexed": false
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "type": "event",
44
+ "anonymous": false,
45
+ "name": "MinterAdded",
46
+ "inputs": [
47
+ {
48
+ "type": "address",
49
+ "name": "account",
50
+ "indexed": true
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "type": "event",
56
+ "anonymous": false,
57
+ "name": "MinterRemoved",
58
+ "inputs": [
59
+ {
60
+ "type": "address",
61
+ "name": "account",
62
+ "indexed": true
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "type": "event",
68
+ "anonymous": false,
69
+ "name": "Transfer",
70
+ "inputs": [
71
+ {
72
+ "type": "address",
73
+ "name": "from",
74
+ "indexed": true
75
+ },
76
+ {
77
+ "type": "address",
78
+ "name": "to",
79
+ "indexed": true
80
+ },
81
+ {
82
+ "type": "uint256",
83
+ "name": "value",
84
+ "indexed": false
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "type": "function",
90
+ "name": "addMinter",
91
+ "constant": false,
92
+ "payable": false,
93
+
94
+ "inputs": [
95
+ {
96
+ "type": "address",
97
+ "name": "account"
98
+ }
99
+ ],
100
+ "outputs": []
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": "amount"
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": "account"
158
+ }
159
+ ],
160
+ "outputs": [
161
+ {
162
+ "type": "uint256"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "type": "function",
168
+ "name": "decimals",
169
+ "constant": true,
170
+ "stateMutability": "view",
171
+ "payable": false,
172
+
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "type": "uint8"
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "type": "function",
182
+ "name": "decreaseAllowance",
183
+ "constant": false,
184
+ "payable": false,
185
+
186
+ "inputs": [
187
+ {
188
+ "type": "address",
189
+ "name": "spender"
190
+ },
191
+ {
192
+ "type": "uint256",
193
+ "name": "subtractedValue"
194
+ }
195
+ ],
196
+ "outputs": [
197
+ {
198
+ "type": "bool"
199
+ }
200
+ ]
201
+ },
202
+ {
203
+ "type": "function",
204
+ "name": "increaseAllowance",
205
+ "constant": false,
206
+ "payable": false,
207
+
208
+ "inputs": [
209
+ {
210
+ "type": "address",
211
+ "name": "spender"
212
+ },
213
+ {
214
+ "type": "uint256",
215
+ "name": "addedValue"
216
+ }
217
+ ],
218
+ "outputs": [
219
+ {
220
+ "type": "bool"
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "type": "function",
226
+ "name": "isMinter",
227
+ "constant": true,
228
+ "stateMutability": "view",
229
+ "payable": false,
230
+
231
+ "inputs": [
232
+ {
233
+ "type": "address",
234
+ "name": "account"
235
+ }
236
+ ],
237
+ "outputs": [
238
+ {
239
+ "type": "bool"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "type": "function",
245
+ "name": "mint",
246
+ "constant": false,
247
+ "payable": false,
248
+
249
+ "inputs": [
250
+ {
251
+ "type": "address",
252
+ "name": "account"
253
+ },
254
+ {
255
+ "type": "uint256",
256
+ "name": "amount"
257
+ }
258
+ ],
259
+ "outputs": [
260
+ {
261
+ "type": "bool"
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "type": "function",
267
+ "name": "name",
268
+ "constant": true,
269
+ "stateMutability": "view",
270
+ "payable": false,
271
+
272
+ "inputs": [],
273
+ "outputs": [
274
+ {
275
+ "type": "string"
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "type": "function",
281
+ "name": "renounceMinter",
282
+ "constant": false,
283
+ "payable": false,
284
+
285
+ "inputs": [],
286
+ "outputs": []
287
+ },
288
+ {
289
+ "type": "function",
290
+ "name": "symbol",
291
+ "constant": true,
292
+ "stateMutability": "view",
293
+ "payable": false,
294
+
295
+ "inputs": [],
296
+ "outputs": [
297
+ {
298
+ "type": "string"
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "type": "function",
304
+ "name": "totalSupply",
305
+ "constant": true,
306
+ "stateMutability": "view",
307
+ "payable": false,
308
+
309
+ "inputs": [],
310
+ "outputs": [
311
+ {
312
+ "type": "uint256"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "type": "function",
318
+ "name": "transfer",
319
+ "constant": false,
320
+ "payable": false,
321
+
322
+ "inputs": [
323
+ {
324
+ "type": "address",
325
+ "name": "recipient"
326
+ },
327
+ {
328
+ "type": "uint256",
329
+ "name": "amount"
330
+ }
331
+ ],
332
+ "outputs": [
333
+ {
334
+ "type": "bool"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "type": "function",
340
+ "name": "transferFrom",
341
+ "constant": false,
342
+ "payable": false,
343
+
344
+ "inputs": [
345
+ {
346
+ "type": "address",
347
+ "name": "sender"
348
+ },
349
+ {
350
+ "type": "address",
351
+ "name": "recipient"
352
+ },
353
+ {
354
+ "type": "uint256",
355
+ "name": "amount"
356
+ }
357
+ ],
358
+ "outputs": [
359
+ {
360
+ "type": "bool"
361
+ }
362
+ ]
363
+ }
364
+ ]