@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,326 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "payable": false,
5
+ "inputs": [
6
+ {
7
+ "type": "address",
8
+ "name": "masterAddress"
9
+ }
10
+ ]
11
+ },
12
+ {
13
+ "type": "event",
14
+ "anonymous": false,
15
+ "name": "MCRUpdated",
16
+ "inputs": [
17
+ {
18
+ "type": "uint256",
19
+ "name": "mcr",
20
+ "indexed": false
21
+ },
22
+ {
23
+ "type": "uint256",
24
+ "name": "desiredMCR",
25
+ "indexed": false
26
+ },
27
+ {
28
+ "type": "uint256",
29
+ "name": "mcrFloor",
30
+ "indexed": false
31
+ },
32
+ {
33
+ "type": "uint256",
34
+ "name": "mcrETHWithGear",
35
+ "indexed": false
36
+ },
37
+ {
38
+ "type": "uint256",
39
+ "name": "totalSumAssured",
40
+ "indexed": false
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "function",
46
+ "name": "changeDependentContractAddress",
47
+ "constant": false,
48
+ "payable": false,
49
+
50
+ "inputs": [],
51
+ "outputs": []
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "changeMasterAddress",
56
+ "constant": false,
57
+ "payable": false,
58
+
59
+ "inputs": [
60
+ {
61
+ "type": "address",
62
+ "name": "masterAddress"
63
+ }
64
+ ],
65
+ "outputs": []
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "desiredMCR",
70
+ "constant": true,
71
+ "stateMutability": "view",
72
+ "payable": false,
73
+
74
+ "inputs": [],
75
+ "outputs": [
76
+ {
77
+ "type": "uint112"
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "type": "function",
83
+ "name": "gearingFactor",
84
+ "constant": true,
85
+ "stateMutability": "view",
86
+ "payable": false,
87
+
88
+ "inputs": [],
89
+ "outputs": [
90
+ {
91
+ "type": "uint24"
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "type": "function",
97
+ "name": "getAllSumAssurance",
98
+ "constant": true,
99
+ "stateMutability": "view",
100
+ "payable": false,
101
+
102
+ "inputs": [],
103
+ "outputs": [
104
+ {
105
+ "type": "uint256"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "type": "function",
111
+ "name": "getGearedMCR",
112
+ "constant": true,
113
+ "stateMutability": "view",
114
+ "payable": false,
115
+
116
+ "inputs": [],
117
+ "outputs": [
118
+ {
119
+ "type": "uint256"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "type": "function",
125
+ "name": "getMCR",
126
+ "constant": true,
127
+ "stateMutability": "view",
128
+ "payable": false,
129
+
130
+ "inputs": [],
131
+ "outputs": [
132
+ {
133
+ "type": "uint256"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "type": "function",
139
+ "name": "internalContracts",
140
+ "constant": true,
141
+ "stateMutability": "view",
142
+ "payable": false,
143
+
144
+ "inputs": [
145
+ {
146
+ "type": "uint256"
147
+ }
148
+ ],
149
+ "outputs": [
150
+ {
151
+ "type": "address"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "type": "function",
157
+ "name": "lastUpdateTime",
158
+ "constant": true,
159
+ "stateMutability": "view",
160
+ "payable": false,
161
+
162
+ "inputs": [],
163
+ "outputs": [
164
+ {
165
+ "type": "uint32"
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "master",
172
+ "constant": true,
173
+ "stateMutability": "view",
174
+ "payable": false,
175
+
176
+ "inputs": [],
177
+ "outputs": [
178
+ {
179
+ "type": "address"
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "maxMCRFloorIncrement",
186
+ "constant": true,
187
+ "stateMutability": "view",
188
+ "payable": false,
189
+
190
+ "inputs": [],
191
+ "outputs": [
192
+ {
193
+ "type": "uint24"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "type": "function",
199
+ "name": "maxMCRIncrement",
200
+ "constant": true,
201
+ "stateMutability": "view",
202
+ "payable": false,
203
+
204
+ "inputs": [],
205
+ "outputs": [
206
+ {
207
+ "type": "uint24"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "type": "function",
213
+ "name": "mcr",
214
+ "constant": true,
215
+ "stateMutability": "view",
216
+ "payable": false,
217
+
218
+ "inputs": [],
219
+ "outputs": [
220
+ {
221
+ "type": "uint112"
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "type": "function",
227
+ "name": "mcrFloor",
228
+ "constant": true,
229
+ "stateMutability": "view",
230
+ "payable": false,
231
+
232
+ "inputs": [],
233
+ "outputs": [
234
+ {
235
+ "type": "uint112"
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "type": "function",
241
+ "name": "mcrFloorIncrementThreshold",
242
+ "constant": true,
243
+ "stateMutability": "view",
244
+ "payable": false,
245
+
246
+ "inputs": [],
247
+ "outputs": [
248
+ {
249
+ "type": "uint24"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "type": "function",
255
+ "name": "minUpdateTime",
256
+ "constant": true,
257
+ "stateMutability": "view",
258
+ "payable": false,
259
+
260
+ "inputs": [],
261
+ "outputs": [
262
+ {
263
+ "type": "uint24"
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "type": "function",
269
+ "name": "previousMCR",
270
+ "constant": true,
271
+ "stateMutability": "view",
272
+ "payable": false,
273
+
274
+ "inputs": [],
275
+ "outputs": [
276
+ {
277
+ "type": "address"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "type": "function",
283
+ "name": "updateMCR",
284
+ "constant": false,
285
+ "payable": false,
286
+
287
+ "inputs": [],
288
+ "outputs": []
289
+ },
290
+ {
291
+ "type": "function",
292
+ "name": "updateMCRInternal",
293
+ "constant": false,
294
+ "payable": false,
295
+
296
+ "inputs": [
297
+ {
298
+ "type": "uint256",
299
+ "name": "poolValueInEth"
300
+ },
301
+ {
302
+ "type": "bool",
303
+ "name": "forceUpdate"
304
+ }
305
+ ],
306
+ "outputs": []
307
+ },
308
+ {
309
+ "type": "function",
310
+ "name": "updateUintParameters",
311
+ "constant": false,
312
+ "payable": false,
313
+
314
+ "inputs": [
315
+ {
316
+ "type": "bytes8",
317
+ "name": "code"
318
+ },
319
+ {
320
+ "type": "uint256",
321
+ "name": "val"
322
+ }
323
+ ],
324
+ "outputs": []
325
+ }
326
+ ]