@nexusmutual/sdk 1.19.0 → 1.20.0
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.
- package/README.md +22 -16
- package/dist/data/abis/{Assessment.json → Assessments.json} +370 -416
- package/dist/data/abis/{IndividualClaims.json → Claims.json} +325 -264
- package/dist/data/abis/Cover.json +447 -110
- package/dist/data/abis/CoverBroker.json +79 -34
- package/dist/data/abis/CoverProducts.json +55 -0
- package/dist/data/abis/Governor.json +803 -0
- package/dist/data/abis/LimitOrders.json +0 -7
- package/dist/data/abis/NXMaster.json +37 -223
- package/dist/data/abis/Pool.json +415 -229
- package/dist/data/abis/Ramm.json +97 -67
- package/dist/data/abis/{MemberRoles.json → Registry.json} +553 -249
- package/dist/data/abis/SafeTracker.json +94 -58
- package/dist/data/abis/StakingProducts.json +1 -14
- package/dist/data/abis/StakingViewer.json +87 -24
- package/dist/data/abis/SwapOperator.json +365 -209
- package/dist/data/abis/TokenController.json +77 -303
- package/dist/data/abis/VotePower.json +170 -0
- package/dist/data/addresses.json +9 -12
- package/dist/data/product-types.json +76 -26
- package/dist/data/products.json +13 -13
- package/dist/data/version.json +1 -1
- package/dist/index.d.mts +14024 -13632
- package/dist/index.d.ts +14024 -13632
- package/dist/index.js +9436 -9167
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9435 -9166
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/dist/data/abis/AssessmentViewer.json +0 -106
- package/dist/data/abis/MCR.json +0 -321
- package/dist/data/abis/NexusViewer.json +0 -199
- package/dist/data/abis/PriceFeedOracle.json +0 -312
- package/dist/data/abis/ProposalCategory.json +0 -653
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexusmutual/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Nexus Mutual SDK",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "node scripts/build.js",
|
|
6
|
+
"build": "npm run clean && node scripts/build.js",
|
|
7
|
+
"clean": "rm -rf dist generated",
|
|
7
8
|
"lint": "NODE_OPTIONS=--no-deprecation eslint --quiet --max-warnings 0 .",
|
|
8
9
|
"lint:fix": "NODE_OPTIONS=--no-deprecation npm run lint -- --fix --quiet",
|
|
9
10
|
"format": "prettier --loglevel silent --check 'src/**/*.{js,jsx,ts,tsx}'",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"node": ">=11.14.0"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@nexusmutual/deployments": "
|
|
42
|
+
"@nexusmutual/deployments": "3.0.0",
|
|
42
43
|
"axios": "^1.11.0",
|
|
43
44
|
"is-ipfs": "^6.0.2",
|
|
44
45
|
"svgo": "^3.0.2",
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{
|
|
5
|
-
"internalType": "contract INXMMaster",
|
|
6
|
-
"name": "_master",
|
|
7
|
-
"type": "address"
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"stateMutability": "nonpayable",
|
|
11
|
-
"type": "constructor"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"inputs": [],
|
|
15
|
-
"name": "assessment",
|
|
16
|
-
"outputs": [
|
|
17
|
-
{
|
|
18
|
-
"internalType": "contract IAssessment",
|
|
19
|
-
"name": "",
|
|
20
|
-
"type": "address"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"stateMutability": "view",
|
|
24
|
-
"type": "function"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"inputs": [
|
|
28
|
-
{
|
|
29
|
-
"internalType": "address",
|
|
30
|
-
"name": "member",
|
|
31
|
-
"type": "address"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"name": "getRewards",
|
|
35
|
-
"outputs": [
|
|
36
|
-
{
|
|
37
|
-
"components": [
|
|
38
|
-
{
|
|
39
|
-
"internalType": "uint256",
|
|
40
|
-
"name": "totalPendingAmountInNXM",
|
|
41
|
-
"type": "uint256"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"internalType": "uint256",
|
|
45
|
-
"name": "withdrawableAmountInNXM",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"internalType": "uint256",
|
|
50
|
-
"name": "withdrawableUntilIndex",
|
|
51
|
-
"type": "uint256"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"internalType": "struct IAssessmentViewer.AssessmentRewards",
|
|
55
|
-
"name": "",
|
|
56
|
-
"type": "tuple"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"stateMutability": "view",
|
|
60
|
-
"type": "function"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"inputs": [
|
|
64
|
-
{
|
|
65
|
-
"internalType": "address",
|
|
66
|
-
"name": "member",
|
|
67
|
-
"type": "address"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"name": "getStakeLocked",
|
|
71
|
-
"outputs": [
|
|
72
|
-
{
|
|
73
|
-
"components": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "bool",
|
|
76
|
-
"name": "isStakeLocked",
|
|
77
|
-
"type": "bool"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"internalType": "uint256",
|
|
81
|
-
"name": "stakeLockupExpiry",
|
|
82
|
-
"type": "uint256"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"internalType": "struct IAssessmentViewer.AssessmentStakeLockedState",
|
|
86
|
-
"name": "",
|
|
87
|
-
"type": "tuple"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"stateMutability": "view",
|
|
91
|
-
"type": "function"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"inputs": [],
|
|
95
|
-
"name": "master",
|
|
96
|
-
"outputs": [
|
|
97
|
-
{
|
|
98
|
-
"internalType": "contract INXMMaster",
|
|
99
|
-
"name": "",
|
|
100
|
-
"type": "address"
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
"stateMutability": "view",
|
|
104
|
-
"type": "function"
|
|
105
|
-
}
|
|
106
|
-
]
|
package/dist/data/abis/MCR.json
DELETED
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{
|
|
5
|
-
"internalType": "address",
|
|
6
|
-
"name": "masterAddress",
|
|
7
|
-
"type": "address"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "uint256",
|
|
11
|
-
"name": "mcrUpdateDeadline",
|
|
12
|
-
"type": "uint256"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"stateMutability": "nonpayable",
|
|
16
|
-
"type": "constructor"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"anonymous": false,
|
|
20
|
-
"inputs": [
|
|
21
|
-
{
|
|
22
|
-
"indexed": false,
|
|
23
|
-
"internalType": "uint256",
|
|
24
|
-
"name": "mcr",
|
|
25
|
-
"type": "uint256"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"indexed": false,
|
|
29
|
-
"internalType": "uint256",
|
|
30
|
-
"name": "desiredMCR",
|
|
31
|
-
"type": "uint256"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"indexed": false,
|
|
35
|
-
"internalType": "uint256",
|
|
36
|
-
"name": "mcrFloor",
|
|
37
|
-
"type": "uint256"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"indexed": false,
|
|
41
|
-
"internalType": "uint256",
|
|
42
|
-
"name": "mcrETHWithGear",
|
|
43
|
-
"type": "uint256"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"indexed": false,
|
|
47
|
-
"internalType": "uint256",
|
|
48
|
-
"name": "totalSumAssured",
|
|
49
|
-
"type": "uint256"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"name": "MCRUpdated",
|
|
53
|
-
"type": "event"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"inputs": [],
|
|
57
|
-
"name": "BASIS_PRECISION",
|
|
58
|
-
"outputs": [
|
|
59
|
-
{
|
|
60
|
-
"internalType": "uint256",
|
|
61
|
-
"name": "",
|
|
62
|
-
"type": "uint256"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"stateMutability": "view",
|
|
66
|
-
"type": "function"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"inputs": [],
|
|
70
|
-
"name": "MAX_MCR_ADJUSTMENT",
|
|
71
|
-
"outputs": [
|
|
72
|
-
{
|
|
73
|
-
"internalType": "uint256",
|
|
74
|
-
"name": "",
|
|
75
|
-
"type": "uint256"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"stateMutability": "view",
|
|
79
|
-
"type": "function"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"inputs": [],
|
|
83
|
-
"name": "MCR_UPDATE_DEADLINE",
|
|
84
|
-
"outputs": [
|
|
85
|
-
{
|
|
86
|
-
"internalType": "uint256",
|
|
87
|
-
"name": "",
|
|
88
|
-
"type": "uint256"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"stateMutability": "view",
|
|
92
|
-
"type": "function"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"inputs": [],
|
|
96
|
-
"name": "changeDependentContractAddress",
|
|
97
|
-
"outputs": [],
|
|
98
|
-
"stateMutability": "nonpayable",
|
|
99
|
-
"type": "function"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"inputs": [
|
|
103
|
-
{
|
|
104
|
-
"internalType": "address",
|
|
105
|
-
"name": "masterAddress",
|
|
106
|
-
"type": "address"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"name": "changeMasterAddress",
|
|
110
|
-
"outputs": [],
|
|
111
|
-
"stateMutability": "nonpayable",
|
|
112
|
-
"type": "function"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"inputs": [],
|
|
116
|
-
"name": "desiredMCR",
|
|
117
|
-
"outputs": [
|
|
118
|
-
{
|
|
119
|
-
"internalType": "uint80",
|
|
120
|
-
"name": "",
|
|
121
|
-
"type": "uint80"
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"stateMutability": "view",
|
|
125
|
-
"type": "function"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"inputs": [],
|
|
129
|
-
"name": "gearingFactor",
|
|
130
|
-
"outputs": [
|
|
131
|
-
{
|
|
132
|
-
"internalType": "uint24",
|
|
133
|
-
"name": "",
|
|
134
|
-
"type": "uint24"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"stateMutability": "view",
|
|
138
|
-
"type": "function"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"inputs": [],
|
|
142
|
-
"name": "getGearedMCR",
|
|
143
|
-
"outputs": [
|
|
144
|
-
{
|
|
145
|
-
"internalType": "uint256",
|
|
146
|
-
"name": "",
|
|
147
|
-
"type": "uint256"
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
"stateMutability": "view",
|
|
151
|
-
"type": "function"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"inputs": [],
|
|
155
|
-
"name": "getMCR",
|
|
156
|
-
"outputs": [
|
|
157
|
-
{
|
|
158
|
-
"internalType": "uint256",
|
|
159
|
-
"name": "",
|
|
160
|
-
"type": "uint256"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"stateMutability": "view",
|
|
164
|
-
"type": "function"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"inputs": [],
|
|
168
|
-
"name": "getTotalActiveCoverAmount",
|
|
169
|
-
"outputs": [
|
|
170
|
-
{
|
|
171
|
-
"internalType": "uint256",
|
|
172
|
-
"name": "",
|
|
173
|
-
"type": "uint256"
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"stateMutability": "view",
|
|
177
|
-
"type": "function"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"inputs": [
|
|
181
|
-
{
|
|
182
|
-
"internalType": "uint256",
|
|
183
|
-
"name": "",
|
|
184
|
-
"type": "uint256"
|
|
185
|
-
}
|
|
186
|
-
],
|
|
187
|
-
"name": "internalContracts",
|
|
188
|
-
"outputs": [
|
|
189
|
-
{
|
|
190
|
-
"internalType": "address payable",
|
|
191
|
-
"name": "",
|
|
192
|
-
"type": "address"
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"stateMutability": "view",
|
|
196
|
-
"type": "function"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"inputs": [],
|
|
200
|
-
"name": "lastUpdateTime",
|
|
201
|
-
"outputs": [
|
|
202
|
-
{
|
|
203
|
-
"internalType": "uint32",
|
|
204
|
-
"name": "",
|
|
205
|
-
"type": "uint32"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"stateMutability": "view",
|
|
209
|
-
"type": "function"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"inputs": [],
|
|
213
|
-
"name": "master",
|
|
214
|
-
"outputs": [
|
|
215
|
-
{
|
|
216
|
-
"internalType": "contract INXMMaster",
|
|
217
|
-
"name": "",
|
|
218
|
-
"type": "address"
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"stateMutability": "view",
|
|
222
|
-
"type": "function"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"inputs": [],
|
|
226
|
-
"name": "maxMCRIncrement",
|
|
227
|
-
"outputs": [
|
|
228
|
-
{
|
|
229
|
-
"internalType": "uint16",
|
|
230
|
-
"name": "",
|
|
231
|
-
"type": "uint16"
|
|
232
|
-
}
|
|
233
|
-
],
|
|
234
|
-
"stateMutability": "view",
|
|
235
|
-
"type": "function"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"inputs": [],
|
|
239
|
-
"name": "mcr",
|
|
240
|
-
"outputs": [
|
|
241
|
-
{
|
|
242
|
-
"internalType": "uint80",
|
|
243
|
-
"name": "",
|
|
244
|
-
"type": "uint80"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"stateMutability": "view",
|
|
248
|
-
"type": "function"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"inputs": [],
|
|
252
|
-
"name": "minUpdateTime",
|
|
253
|
-
"outputs": [
|
|
254
|
-
{
|
|
255
|
-
"internalType": "uint16",
|
|
256
|
-
"name": "",
|
|
257
|
-
"type": "uint16"
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
"stateMutability": "view",
|
|
261
|
-
"type": "function"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"inputs": [],
|
|
265
|
-
"name": "previousMCR",
|
|
266
|
-
"outputs": [
|
|
267
|
-
{
|
|
268
|
-
"internalType": "contract IMCR",
|
|
269
|
-
"name": "",
|
|
270
|
-
"type": "address"
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"stateMutability": "view",
|
|
274
|
-
"type": "function"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"inputs": [],
|
|
278
|
-
"name": "teleportMCR",
|
|
279
|
-
"outputs": [],
|
|
280
|
-
"stateMutability": "nonpayable",
|
|
281
|
-
"type": "function"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"inputs": [],
|
|
285
|
-
"name": "updateMCR",
|
|
286
|
-
"outputs": [],
|
|
287
|
-
"stateMutability": "nonpayable",
|
|
288
|
-
"type": "function"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"inputs": [
|
|
292
|
-
{
|
|
293
|
-
"internalType": "bool",
|
|
294
|
-
"name": "forceUpdate",
|
|
295
|
-
"type": "bool"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"name": "updateMCRInternal",
|
|
299
|
-
"outputs": [],
|
|
300
|
-
"stateMutability": "nonpayable",
|
|
301
|
-
"type": "function"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"inputs": [
|
|
305
|
-
{
|
|
306
|
-
"internalType": "bytes8",
|
|
307
|
-
"name": "code",
|
|
308
|
-
"type": "bytes8"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"internalType": "uint256",
|
|
312
|
-
"name": "value",
|
|
313
|
-
"type": "uint256"
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
"name": "updateUintParameters",
|
|
317
|
-
"outputs": [],
|
|
318
|
-
"stateMutability": "nonpayable",
|
|
319
|
-
"type": "function"
|
|
320
|
-
}
|
|
321
|
-
]
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{
|
|
5
|
-
"internalType": "contract INXMMaster",
|
|
6
|
-
"name": "_master",
|
|
7
|
-
"type": "address"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "contract IStakingViewer",
|
|
11
|
-
"name": "_stakingViewer",
|
|
12
|
-
"type": "address"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "contract IAssessmentViewer",
|
|
16
|
-
"name": "_assessmentViewer",
|
|
17
|
-
"type": "address"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"stateMutability": "nonpayable",
|
|
21
|
-
"type": "constructor"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"inputs": [
|
|
25
|
-
{
|
|
26
|
-
"internalType": "uint256",
|
|
27
|
-
"name": "index",
|
|
28
|
-
"type": "uint256"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"name": "RevertedWithoutReason",
|
|
32
|
-
"type": "error"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"inputs": [],
|
|
36
|
-
"name": "assessmentViewer",
|
|
37
|
-
"outputs": [
|
|
38
|
-
{
|
|
39
|
-
"internalType": "contract IAssessmentViewer",
|
|
40
|
-
"name": "",
|
|
41
|
-
"type": "address"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"stateMutability": "view",
|
|
45
|
-
"type": "function"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"inputs": [
|
|
49
|
-
{
|
|
50
|
-
"internalType": "address",
|
|
51
|
-
"name": "member",
|
|
52
|
-
"type": "address"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"internalType": "uint256[]",
|
|
56
|
-
"name": "tokenIds",
|
|
57
|
-
"type": "uint256[]"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"name": "getClaimableNXM",
|
|
61
|
-
"outputs": [
|
|
62
|
-
{
|
|
63
|
-
"components": [
|
|
64
|
-
{
|
|
65
|
-
"internalType": "uint256",
|
|
66
|
-
"name": "governanceRewards",
|
|
67
|
-
"type": "uint256"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"internalType": "uint256",
|
|
71
|
-
"name": "assessmentRewards",
|
|
72
|
-
"type": "uint256"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"internalType": "uint256",
|
|
76
|
-
"name": "assessmentStake",
|
|
77
|
-
"type": "uint256"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"internalType": "uint256",
|
|
81
|
-
"name": "stakingPoolTotalRewards",
|
|
82
|
-
"type": "uint256"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"internalType": "uint256",
|
|
86
|
-
"name": "stakingPoolTotalExpiredStake",
|
|
87
|
-
"type": "uint256"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "uint256",
|
|
91
|
-
"name": "managerTotalRewards",
|
|
92
|
-
"type": "uint256"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"internalType": "uint256",
|
|
96
|
-
"name": "legacyClaimAssessmentTokens",
|
|
97
|
-
"type": "uint256"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"internalType": "struct INexusViewer.ClaimableNXM",
|
|
101
|
-
"name": "",
|
|
102
|
-
"type": "tuple"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"stateMutability": "view",
|
|
106
|
-
"type": "function"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"inputs": [
|
|
110
|
-
{
|
|
111
|
-
"internalType": "address",
|
|
112
|
-
"name": "member",
|
|
113
|
-
"type": "address"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "uint256[]",
|
|
117
|
-
"name": "tokenIds",
|
|
118
|
-
"type": "uint256[]"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"name": "getStakedNXM",
|
|
122
|
-
"outputs": [
|
|
123
|
-
{
|
|
124
|
-
"components": [
|
|
125
|
-
{
|
|
126
|
-
"internalType": "uint256",
|
|
127
|
-
"name": "stakingPoolTotalActiveStake",
|
|
128
|
-
"type": "uint256"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"internalType": "uint256",
|
|
132
|
-
"name": "assessmentStake",
|
|
133
|
-
"type": "uint256"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"internalType": "uint256",
|
|
137
|
-
"name": "assessmentStakeLockupExpiry",
|
|
138
|
-
"type": "uint256"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"internalType": "uint256",
|
|
142
|
-
"name": "assessmentRewards",
|
|
143
|
-
"type": "uint256"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"internalType": "struct INexusViewer.StakedNXM",
|
|
147
|
-
"name": "",
|
|
148
|
-
"type": "tuple"
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"stateMutability": "view",
|
|
152
|
-
"type": "function"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"inputs": [],
|
|
156
|
-
"name": "master",
|
|
157
|
-
"outputs": [
|
|
158
|
-
{
|
|
159
|
-
"internalType": "contract INXMMaster",
|
|
160
|
-
"name": "",
|
|
161
|
-
"type": "address"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"stateMutability": "view",
|
|
165
|
-
"type": "function"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"inputs": [
|
|
169
|
-
{
|
|
170
|
-
"internalType": "bytes[]",
|
|
171
|
-
"name": "data",
|
|
172
|
-
"type": "bytes[]"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"name": "multicall",
|
|
176
|
-
"outputs": [
|
|
177
|
-
{
|
|
178
|
-
"internalType": "bytes[]",
|
|
179
|
-
"name": "results",
|
|
180
|
-
"type": "bytes[]"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"stateMutability": "nonpayable",
|
|
184
|
-
"type": "function"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"inputs": [],
|
|
188
|
-
"name": "stakingViewer",
|
|
189
|
-
"outputs": [
|
|
190
|
-
{
|
|
191
|
-
"internalType": "contract IStakingViewer",
|
|
192
|
-
"name": "",
|
|
193
|
-
"type": "address"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"stateMutability": "view",
|
|
197
|
-
"type": "function"
|
|
198
|
-
}
|
|
199
|
-
]
|