@nexusmutual/sdk 0.0.16 → 0.1.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.
Files changed (223) hide show
  1. package/dist/data/abis/Assessment.json +751 -0
  2. package/dist/data/abis/Cover.json +1446 -0
  3. package/dist/data/abis/CoverMigrator.json +195 -0
  4. package/dist/data/abis/CoverNFT.json +511 -0
  5. package/dist/data/abis/CoverNFTDescriptor.json +209 -0
  6. package/dist/data/abis/CoverViewer.json +142 -0
  7. package/dist/data/abis/EACAggregatorProxy.json +15 -0
  8. package/dist/data/abis/ERC20.json +249 -0
  9. package/dist/data/abis/Governance.json +1105 -0
  10. package/dist/data/abis/IndividualClaims.json +574 -0
  11. package/dist/data/abis/LegacyClaimProofs.json +45 -0
  12. package/dist/data/abis/LegacyClaimsData.json +2084 -0
  13. package/dist/data/abis/LegacyClaimsReward.json +168 -0
  14. package/dist/data/abis/LegacyGateway.json +583 -0
  15. package/dist/data/abis/LegacyPooledStaking.json +1351 -0
  16. package/dist/data/abis/LegacyQuotationData.json +1200 -0
  17. package/dist/{abis → data/abis}/MCR.json +151 -163
  18. package/dist/data/abis/MemberRoles.json +679 -0
  19. package/dist/data/abis/NXMToken.json +570 -0
  20. package/dist/data/abis/NXMaster.json +501 -0
  21. package/dist/data/abis/Pool.json +963 -0
  22. package/dist/data/abis/PriceFeedOracle.json +127 -0
  23. package/dist/data/abis/ProductsV1.json +21 -0
  24. package/dist/data/abis/ProposalCategory.json +653 -0
  25. package/dist/data/abis/StakingNFT.json +582 -0
  26. package/dist/data/abis/StakingNFTDescriptor.json +227 -0
  27. package/dist/data/abis/StakingPool.json +1530 -0
  28. package/dist/data/abis/StakingPoolFactory.json +108 -0
  29. package/dist/data/abis/StakingProducts.json +1042 -0
  30. package/dist/{abis → data/abis}/StakingViewer.json +1 -19
  31. package/dist/data/abis/SwapOperator.json +826 -0
  32. package/dist/data/abis/TokenController.json +1035 -0
  33. package/dist/data/abis/YieldTokenIncidents.json +467 -0
  34. package/dist/data/product-logos.json +115 -0
  35. package/dist/index.d.mts +2012 -0
  36. package/dist/index.d.ts +2012 -4
  37. package/dist/index.html +4 -4
  38. package/dist/index.js +25656 -9
  39. package/dist/index.js.map +1 -0
  40. package/dist/index.mjs +25489 -0
  41. package/dist/index.mjs.map +1 -0
  42. package/dist/logos/aavev2.svg +1 -0
  43. package/dist/logos/aavev3.svg +1 -0
  44. package/dist/logos/abracadabra.svg +1 -0
  45. package/dist/logos/ajna.svg +1 -0
  46. package/dist/logos/akropolis.svg +1 -0
  47. package/dist/logos/alchemix.svg +1 -0
  48. package/dist/logos/alpaca.svg +1 -0
  49. package/dist/logos/alpha-homora.svg +1 -0
  50. package/dist/logos/ampleforth.svg +1 -0
  51. package/dist/logos/anchor.svg +1 -0
  52. package/dist/logos/angle.svg +1 -0
  53. package/dist/logos/arbitrum.svg +1 -0
  54. package/dist/logos/argent.svg +1 -0
  55. package/dist/logos/aura.svg +1 -0
  56. package/dist/logos/aurora.svg +1 -0
  57. package/dist/logos/avalanche.svg +1 -0
  58. package/dist/logos/babylon.svg +1 -0
  59. package/dist/logos/badgerdao.svg +1 -0
  60. package/dist/logos/balancer.svg +1 -0
  61. package/dist/logos/bancor.svg +1 -0
  62. package/dist/logos/beefy.svg +1 -0
  63. package/dist/logos/binance.svg +1 -0
  64. package/dist/logos/blockFi.svg +1 -0
  65. package/dist/logos/buffer-finance.svg +1 -0
  66. package/dist/logos/bunnypancake.svg +1 -0
  67. package/dist/logos/celo.svg +1 -0
  68. package/dist/logos/celsius.svg +1 -0
  69. package/dist/logos/centrifuge.svg +1 -0
  70. package/dist/logos/chorusone.svg +1 -0
  71. package/dist/logos/coinbase.svg +1 -0
  72. package/dist/logos/compoundv2.svg +1 -0
  73. package/dist/logos/convex.svg +1 -0
  74. package/dist/logos/cowswap.svg +1 -0
  75. package/dist/logos/cronos.svg +1 -0
  76. package/dist/logos/crypto-com.svg +1 -0
  77. package/dist/logos/curve.svg +1 -0
  78. package/dist/logos/dforce.svg +1 -0
  79. package/dist/logos/dodo.svg +1 -0
  80. package/dist/logos/dydx.svg +1 -0
  81. package/dist/logos/ease.svg +1 -0
  82. package/dist/logos/eigenlayer.png +0 -0
  83. package/dist/logos/element-finance.svg +1 -0
  84. package/dist/logos/enzyme.svg +1 -0
  85. package/dist/logos/eth.svg +1 -0
  86. package/dist/logos/etherfi.png +0 -0
  87. package/dist/logos/euler.svg +1 -0
  88. package/dist/logos/exactly.svg +1 -0
  89. package/dist/logos/fantom.svg +1 -0
  90. package/dist/logos/figment.svg +1 -0
  91. package/dist/logos/fodl.svg +1 -0
  92. package/dist/logos/ftx.svg +1 -0
  93. package/dist/logos/fuse.svg +1 -0
  94. package/dist/logos/gamma.svg +1 -0
  95. package/dist/logos/gearbox.svg +1 -0
  96. package/dist/logos/gelt.svg +1 -0
  97. package/dist/logos/gemini.svg +1 -0
  98. package/dist/logos/gmx.svg +1 -0
  99. package/dist/logos/gnosis-multisig.svg +1 -0
  100. package/dist/logos/gnosis-safe.svg +1 -0
  101. package/dist/logos/goldfinch.svg +1 -0
  102. package/dist/logos/harmony.svg +1 -0
  103. package/dist/logos/heco.svg +1 -0
  104. package/dist/logos/hodlnaut.svg +1 -0
  105. package/dist/logos/holyheld.jpeg +0 -0
  106. package/dist/logos/homora.svg +1 -0
  107. package/dist/logos/hook.jpeg +0 -0
  108. package/dist/logos/idleDAIYield.svg +1 -0
  109. package/dist/logos/idleUSDTYield.svg +1 -0
  110. package/dist/logos/ironbank.svg +1 -0
  111. package/dist/logos/kiln.svg +1 -0
  112. package/dist/logos/kraken.svg +1 -0
  113. package/dist/logos/ledn.svg +1 -0
  114. package/dist/logos/level-finance.png +0 -0
  115. package/dist/logos/liquidcollective.svg +1 -0
  116. package/dist/logos/liquify.svg +1 -0
  117. package/dist/logos/liquity.svg +1 -0
  118. package/dist/logos/lyra.svg +1 -0
  119. package/dist/logos/mahalend.svg +1 -0
  120. package/dist/logos/makerdao.svg +1 -0
  121. package/dist/logos/metis.svg +1 -0
  122. package/dist/logos/moonbeam.svg +1 -0
  123. package/dist/logos/mooniswap.svg +1 -0
  124. package/dist/logos/moonriver.svg +1 -0
  125. package/dist/logos/morpho.svg +1 -0
  126. package/dist/logos/mstable.svg +1 -0
  127. package/dist/logos/nested.svg +1 -0
  128. package/dist/logos/nexo.svg +1 -0
  129. package/dist/logos/nexus-mutual.svg +1 -0
  130. package/dist/logos/notional-finance.svg +1 -0
  131. package/dist/logos/nucypher.svg +1 -0
  132. package/dist/logos/offramp.png +0 -0
  133. package/dist/logos/olympusdao.svg +1 -0
  134. package/dist/logos/ondo.svg +1 -0
  135. package/dist/logos/oneinch.svg +1 -0
  136. package/dist/logos/openq.png +0 -0
  137. package/dist/logos/optimism.svg +1 -0
  138. package/dist/logos/opyn.png +0 -0
  139. package/dist/logos/originusd.svg +1 -0
  140. package/dist/logos/pancakeswap.svg +1 -0
  141. package/dist/logos/pangolin.svg +1 -0
  142. package/dist/logos/perennial.jpeg +0 -0
  143. package/dist/logos/perpetual.svg +1 -0
  144. package/dist/logos/polkadot.svg +1 -0
  145. package/dist/logos/polygon.svg +1 -0
  146. package/dist/logos/pooltogether.svg +1 -0
  147. package/dist/logos/popsicle.svg +1 -0
  148. package/dist/logos/premia.svg +1 -0
  149. package/dist/logos/rage-trade.svg +1 -0
  150. package/dist/logos/rari.svg +1 -0
  151. package/dist/logos/reflexer.png +0 -0
  152. package/dist/logos/ren.svg +1 -0
  153. package/dist/logos/ribbon.svg +1 -0
  154. package/dist/logos/scallop.svg +1 -0
  155. package/dist/logos/self.svg +1 -0
  156. package/dist/logos/sentiment.png +0 -0
  157. package/dist/logos/sherlock.svg +1 -0
  158. package/dist/logos/solana.svg +1 -0
  159. package/dist/logos/squeeth-by-opyn.svg +1 -0
  160. package/dist/logos/stakedao.svg +1 -0
  161. package/dist/logos/stakewise.svg +1 -0
  162. package/dist/logos/starkware.svg +1 -0
  163. package/dist/logos/sushiswap.svg +1 -0
  164. package/dist/logos/synthetix.svg +1 -0
  165. package/dist/logos/tbtc.svg +1 -0
  166. package/dist/logos/teller.svg +1 -0
  167. package/dist/logos/terra-chain.svg +1 -0
  168. package/dist/logos/the-retail-mutual.png +0 -0
  169. package/dist/logos/thorchain.svg +1 -0
  170. package/dist/logos/tokensets.svg +1 -0
  171. package/dist/logos/trader-joe.svg +1 -0
  172. package/dist/logos/union-finance.svg +1 -0
  173. package/dist/logos/uniswapv2.svg +1 -0
  174. package/dist/logos/vector.svg +1 -0
  175. package/dist/logos/venus.svg +1 -0
  176. package/dist/logos/vertex.svg +1 -0
  177. package/dist/logos/vesper-veth.svg +1 -0
  178. package/dist/logos/vesper.svg +1 -0
  179. package/dist/logos/vox.png +0 -0
  180. package/dist/logos/wefi.png +0 -0
  181. package/dist/logos/yearn.svg +1 -0
  182. package/dist/logos/yeti.png +0 -0
  183. package/dist/logos/yield-app.svg +1 -0
  184. package/dist/logos/zerox.svg +1 -0
  185. package/dist/logos/zksync.svg +1 -0
  186. package/dist/logos/zktsunami.svg +1 -0
  187. package/dist/scripts/copy-logos.cjs +33 -0
  188. package/package.json +11 -4
  189. package/dist/abis/Assessment.json +0 -700
  190. package/dist/abis/Cover.json +0 -1258
  191. package/dist/abis/CoverMigrator.json +0 -189
  192. package/dist/abis/CoverNFT.json +0 -498
  193. package/dist/abis/CoverNFTDescriptor.json +0 -200
  194. package/dist/abis/CoverViewer.json +0 -124
  195. package/dist/abis/EACAggregatorProxy.json +0 -58
  196. package/dist/abis/ERC20.json +0 -364
  197. package/dist/abis/Governance.json +0 -975
  198. package/dist/abis/IndividualClaims.json +0 -528
  199. package/dist/abis/LegacyClaimProofs.json +0 -64
  200. package/dist/abis/LegacyClaimsData.json +0 -1912
  201. package/dist/abis/LegacyClaimsReward.json +0 -179
  202. package/dist/abis/LegacyGateway.json +0 -542
  203. package/dist/abis/LegacyPooledStaking.json +0 -1320
  204. package/dist/abis/LegacyQuotationData.json +0 -1121
  205. package/dist/abis/MemberRoles.json +0 -681
  206. package/dist/abis/NXMToken.json +0 -498
  207. package/dist/abis/NXMaster.json +0 -501
  208. package/dist/abis/Pool.json +0 -928
  209. package/dist/abis/PriceFeedOracle.json +0 -122
  210. package/dist/abis/ProductsV1.json +0 -21
  211. package/dist/abis/ProposalCategory.json +0 -550
  212. package/dist/abis/StakingNFT.json +0 -569
  213. package/dist/abis/StakingNFTDescriptor.json +0 -222
  214. package/dist/abis/StakingPool.json +0 -1433
  215. package/dist/abis/StakingPoolFactory.json +0 -108
  216. package/dist/abis/StakingProducts.json +0 -885
  217. package/dist/abis/SwapOperator.json +0 -754
  218. package/dist/abis/TokenController.json +0 -1024
  219. package/dist/abis/YieldTokenIncidents.json +0 -438
  220. package/dist/abis/index.js +0 -69
  221. /package/dist/{addresses.json → data/addresses.json} +0 -0
  222. /package/dist/{product-types.json → data/product-types.json} +0 -0
  223. /package/dist/{products.json → data/products.json} +0 -0
@@ -1,1320 +0,0 @@
1
- [
2
- {
3
- "type": "constructor",
4
- "payable": false,
5
- "inputs": [
6
- {
7
- "type": "address",
8
- "name": "coverAddress"
9
- },
10
- {
11
- "type": "address",
12
- "name": "productsV1Address"
13
- },
14
- {
15
- "type": "address",
16
- "name": "stakingNFTAddress"
17
- }
18
- ]
19
- },
20
- {
21
- "type": "event",
22
- "anonymous": false,
23
- "name": "BurnRequested",
24
- "inputs": [
25
- {
26
- "type": "address",
27
- "name": "contractAddress",
28
- "indexed": true
29
- },
30
- {
31
- "type": "uint256",
32
- "name": "amount",
33
- "indexed": false
34
- }
35
- ]
36
- },
37
- {
38
- "type": "event",
39
- "anonymous": false,
40
- "name": "Burned",
41
- "inputs": [
42
- {
43
- "type": "address",
44
- "name": "contractAddress",
45
- "indexed": true
46
- },
47
- {
48
- "type": "uint256",
49
- "name": "amount",
50
- "indexed": false
51
- },
52
- {
53
- "type": "uint256",
54
- "name": "contractStakeBeforeBurn",
55
- "indexed": false
56
- }
57
- ]
58
- },
59
- {
60
- "type": "event",
61
- "anonymous": false,
62
- "name": "Deposited",
63
- "inputs": [
64
- {
65
- "type": "address",
66
- "name": "staker",
67
- "indexed": true
68
- },
69
- {
70
- "type": "uint256",
71
- "name": "amount",
72
- "indexed": false
73
- }
74
- ]
75
- },
76
- {
77
- "type": "event",
78
- "anonymous": false,
79
- "name": "PendingActionsProcessed",
80
- "inputs": [
81
- {
82
- "type": "bool",
83
- "name": "finished",
84
- "indexed": false
85
- }
86
- ]
87
- },
88
- {
89
- "type": "event",
90
- "anonymous": false,
91
- "name": "ProductNotFound",
92
- "inputs": [
93
- {
94
- "type": "address",
95
- "name": "oldProductId",
96
- "indexed": false
97
- }
98
- ]
99
- },
100
- {
101
- "type": "event",
102
- "anonymous": false,
103
- "name": "RewardAdded",
104
- "inputs": [
105
- {
106
- "type": "address",
107
- "name": "contractAddress",
108
- "indexed": true
109
- },
110
- {
111
- "type": "uint256",
112
- "name": "amount",
113
- "indexed": false
114
- }
115
- ]
116
- },
117
- {
118
- "type": "event",
119
- "anonymous": false,
120
- "name": "RewardRequested",
121
- "inputs": [
122
- {
123
- "type": "address",
124
- "name": "contractAddress",
125
- "indexed": true
126
- },
127
- {
128
- "type": "uint256",
129
- "name": "amount",
130
- "indexed": false
131
- }
132
- ]
133
- },
134
- {
135
- "type": "event",
136
- "anonymous": false,
137
- "name": "RewardWithdrawn",
138
- "inputs": [
139
- {
140
- "type": "address",
141
- "name": "staker",
142
- "indexed": true
143
- },
144
- {
145
- "type": "uint256",
146
- "name": "amount",
147
- "indexed": false
148
- }
149
- ]
150
- },
151
- {
152
- "type": "event",
153
- "anonymous": false,
154
- "name": "Rewarded",
155
- "inputs": [
156
- {
157
- "type": "address",
158
- "name": "contractAddress",
159
- "indexed": true
160
- },
161
- {
162
- "type": "uint256",
163
- "name": "amount",
164
- "indexed": false
165
- },
166
- {
167
- "type": "uint256",
168
- "name": "contractStake",
169
- "indexed": false
170
- }
171
- ]
172
- },
173
- {
174
- "type": "event",
175
- "anonymous": false,
176
- "name": "Staked",
177
- "inputs": [
178
- {
179
- "type": "address",
180
- "name": "contractAddress",
181
- "indexed": true
182
- },
183
- {
184
- "type": "address",
185
- "name": "staker",
186
- "indexed": true
187
- },
188
- {
189
- "type": "uint256",
190
- "name": "amount",
191
- "indexed": false
192
- }
193
- ]
194
- },
195
- {
196
- "type": "event",
197
- "anonymous": false,
198
- "name": "UnstakeRequested",
199
- "inputs": [
200
- {
201
- "type": "address",
202
- "name": "contractAddress",
203
- "indexed": true
204
- },
205
- {
206
- "type": "address",
207
- "name": "staker",
208
- "indexed": true
209
- },
210
- {
211
- "type": "uint256",
212
- "name": "amount",
213
- "indexed": false
214
- },
215
- {
216
- "type": "uint256",
217
- "name": "unstakeAt",
218
- "indexed": false
219
- }
220
- ]
221
- },
222
- {
223
- "type": "event",
224
- "anonymous": false,
225
- "name": "Unstaked",
226
- "inputs": [
227
- {
228
- "type": "address",
229
- "name": "contractAddress",
230
- "indexed": true
231
- },
232
- {
233
- "type": "address",
234
- "name": "staker",
235
- "indexed": true
236
- },
237
- {
238
- "type": "uint256",
239
- "name": "amount",
240
- "indexed": false
241
- }
242
- ]
243
- },
244
- {
245
- "type": "event",
246
- "anonymous": false,
247
- "name": "Withdrawn",
248
- "inputs": [
249
- {
250
- "type": "address",
251
- "name": "staker",
252
- "indexed": true
253
- },
254
- {
255
- "type": "uint256",
256
- "name": "amount",
257
- "indexed": false
258
- }
259
- ]
260
- },
261
- {
262
- "type": "function",
263
- "name": "MAX_EXPOSURE",
264
- "constant": true,
265
- "stateMutability": "view",
266
- "payable": false,
267
-
268
- "inputs": [],
269
- "outputs": [
270
- {
271
- "type": "uint256"
272
- }
273
- ]
274
- },
275
- {
276
- "type": "function",
277
- "name": "MIN_STAKE",
278
- "constant": true,
279
- "stateMutability": "view",
280
- "payable": false,
281
-
282
- "inputs": [],
283
- "outputs": [
284
- {
285
- "type": "uint256"
286
- }
287
- ]
288
- },
289
- {
290
- "type": "function",
291
- "name": "MIN_UNSTAKE",
292
- "constant": true,
293
- "stateMutability": "view",
294
- "payable": false,
295
-
296
- "inputs": [],
297
- "outputs": [
298
- {
299
- "type": "uint256"
300
- }
301
- ]
302
- },
303
- {
304
- "type": "function",
305
- "name": "REWARD_ROUNDS_START",
306
- "constant": true,
307
- "stateMutability": "view",
308
- "payable": false,
309
-
310
- "inputs": [],
311
- "outputs": [
312
- {
313
- "type": "uint256"
314
- }
315
- ]
316
- },
317
- {
318
- "type": "function",
319
- "name": "REWARD_ROUND_DURATION",
320
- "constant": true,
321
- "stateMutability": "view",
322
- "payable": false,
323
-
324
- "inputs": [],
325
- "outputs": [
326
- {
327
- "type": "uint256"
328
- }
329
- ]
330
- },
331
- {
332
- "type": "function",
333
- "name": "UNSTAKE_LOCK_TIME",
334
- "constant": true,
335
- "stateMutability": "view",
336
- "payable": false,
337
-
338
- "inputs": [],
339
- "outputs": [
340
- {
341
- "type": "uint256"
342
- }
343
- ]
344
- },
345
- {
346
- "type": "function",
347
- "name": "_processPendingActions",
348
- "constant": false,
349
- "payable": false,
350
-
351
- "inputs": [
352
- {
353
- "type": "uint256",
354
- "name": "maxIterations"
355
- }
356
- ],
357
- "outputs": [
358
- {
359
- "type": "bool",
360
- "name": "finished"
361
- },
362
- {
363
- "type": "uint256",
364
- "name": "iterationsLeft"
365
- }
366
- ]
367
- },
368
- {
369
- "type": "function",
370
- "name": "accumulateReward",
371
- "constant": true,
372
- "stateMutability": "pure",
373
- "payable": false,
374
-
375
- "inputs": [
376
- {
377
- "type": "address"
378
- },
379
- {
380
- "type": "uint256"
381
- }
382
- ],
383
- "outputs": []
384
- },
385
- {
386
- "type": "function",
387
- "name": "accumulatedRewards",
388
- "constant": true,
389
- "stateMutability": "view",
390
- "payable": false,
391
-
392
- "inputs": [
393
- {
394
- "type": "address"
395
- }
396
- ],
397
- "outputs": [
398
- {
399
- "type": "uint256",
400
- "name": "amount"
401
- },
402
- {
403
- "type": "uint256",
404
- "name": "lastDistributionRound"
405
- }
406
- ]
407
- },
408
- {
409
- "type": "function",
410
- "name": "burn",
411
- "constant": true,
412
- "stateMutability": "view",
413
- "payable": false,
414
-
415
- "inputs": [],
416
- "outputs": [
417
- {
418
- "type": "uint256",
419
- "name": "amount"
420
- },
421
- {
422
- "type": "uint256",
423
- "name": "burnedAt"
424
- },
425
- {
426
- "type": "address",
427
- "name": "contractAddress"
428
- }
429
- ]
430
- },
431
- {
432
- "type": "function",
433
- "name": "changeDependentContractAddress",
434
- "constant": false,
435
- "payable": false,
436
-
437
- "inputs": [],
438
- "outputs": []
439
- },
440
- {
441
- "type": "function",
442
- "name": "changeMasterAddress",
443
- "constant": false,
444
- "payable": false,
445
-
446
- "inputs": [
447
- {
448
- "type": "address",
449
- "name": "masterAddress"
450
- }
451
- ],
452
- "outputs": []
453
- },
454
- {
455
- "type": "function",
456
- "name": "contractBurned",
457
- "constant": true,
458
- "stateMutability": "view",
459
- "payable": false,
460
-
461
- "inputs": [],
462
- "outputs": [
463
- {
464
- "type": "uint256"
465
- }
466
- ]
467
- },
468
- {
469
- "type": "function",
470
- "name": "contractRewarded",
471
- "constant": true,
472
- "stateMutability": "view",
473
- "payable": false,
474
-
475
- "inputs": [],
476
- "outputs": [
477
- {
478
- "type": "uint256"
479
- }
480
- ]
481
- },
482
- {
483
- "type": "function",
484
- "name": "contractStake",
485
- "constant": true,
486
- "stateMutability": "view",
487
- "payable": false,
488
-
489
- "inputs": [
490
- {
491
- "type": "address",
492
- "name": "contractAddress"
493
- }
494
- ],
495
- "outputs": [
496
- {
497
- "type": "uint256"
498
- }
499
- ]
500
- },
501
- {
502
- "type": "function",
503
- "name": "contractStaked",
504
- "constant": true,
505
- "stateMutability": "view",
506
- "payable": false,
507
-
508
- "inputs": [],
509
- "outputs": [
510
- {
511
- "type": "uint256"
512
- }
513
- ]
514
- },
515
- {
516
- "type": "function",
517
- "name": "contractStakerAtIndex",
518
- "constant": true,
519
- "stateMutability": "view",
520
- "payable": false,
521
-
522
- "inputs": [
523
- {
524
- "type": "address",
525
- "name": "contractAddress"
526
- },
527
- {
528
- "type": "uint256",
529
- "name": "stakerIndex"
530
- }
531
- ],
532
- "outputs": [
533
- {
534
- "type": "address"
535
- }
536
- ]
537
- },
538
- {
539
- "type": "function",
540
- "name": "contractStakerCount",
541
- "constant": true,
542
- "stateMutability": "view",
543
- "payable": false,
544
-
545
- "inputs": [
546
- {
547
- "type": "address",
548
- "name": "contractAddress"
549
- }
550
- ],
551
- "outputs": [
552
- {
553
- "type": "uint256"
554
- }
555
- ]
556
- },
557
- {
558
- "type": "function",
559
- "name": "contractStakers",
560
- "constant": true,
561
- "stateMutability": "view",
562
- "payable": false,
563
-
564
- "inputs": [
565
- {
566
- "type": "address"
567
- },
568
- {
569
- "type": "uint256"
570
- }
571
- ],
572
- "outputs": [
573
- {
574
- "type": "address"
575
- }
576
- ]
577
- },
578
- {
579
- "type": "function",
580
- "name": "contractStakersArray",
581
- "constant": true,
582
- "stateMutability": "view",
583
- "payable": false,
584
-
585
- "inputs": [
586
- {
587
- "type": "address",
588
- "name": "contractAddress"
589
- }
590
- ],
591
- "outputs": [
592
- {
593
- "type": "address[]",
594
- "name": "_stakers"
595
- }
596
- ]
597
- },
598
- {
599
- "type": "function",
600
- "name": "cover",
601
- "constant": true,
602
- "stateMutability": "view",
603
- "payable": false,
604
-
605
- "inputs": [],
606
- "outputs": [
607
- {
608
- "type": "address"
609
- }
610
- ]
611
- },
612
- {
613
- "type": "function",
614
- "name": "depositAndStake",
615
- "constant": true,
616
- "stateMutability": "pure",
617
- "payable": false,
618
-
619
- "inputs": [
620
- {
621
- "type": "uint256"
622
- },
623
- {
624
- "type": "address[]"
625
- },
626
- {
627
- "type": "uint256[]"
628
- }
629
- ],
630
- "outputs": []
631
- },
632
- {
633
- "type": "function",
634
- "name": "firstReward",
635
- "constant": true,
636
- "stateMutability": "view",
637
- "payable": false,
638
-
639
- "inputs": [],
640
- "outputs": [
641
- {
642
- "type": "uint256"
643
- }
644
- ]
645
- },
646
- {
647
- "type": "function",
648
- "name": "getCurrentRewardsRound",
649
- "constant": true,
650
- "stateMutability": "view",
651
- "payable": false,
652
-
653
- "inputs": [],
654
- "outputs": [
655
- {
656
- "type": "uint256"
657
- }
658
- ]
659
- },
660
- {
661
- "type": "function",
662
- "name": "getV1PriceForProduct",
663
- "constant": true,
664
- "stateMutability": "pure",
665
- "payable": false,
666
-
667
- "inputs": [
668
- {
669
- "type": "uint256",
670
- "name": "id"
671
- }
672
- ],
673
- "outputs": [
674
- {
675
- "type": "uint96"
676
- }
677
- ]
678
- },
679
- {
680
- "type": "function",
681
- "name": "hasPendingActions",
682
- "constant": true,
683
- "stateMutability": "view",
684
- "payable": false,
685
-
686
- "inputs": [],
687
- "outputs": [
688
- {
689
- "type": "bool"
690
- }
691
- ]
692
- },
693
- {
694
- "type": "function",
695
- "name": "hasPendingBurns",
696
- "constant": true,
697
- "stateMutability": "view",
698
- "payable": false,
699
-
700
- "inputs": [],
701
- "outputs": [
702
- {
703
- "type": "bool"
704
- }
705
- ]
706
- },
707
- {
708
- "type": "function",
709
- "name": "hasPendingRewards",
710
- "constant": true,
711
- "stateMutability": "view",
712
- "payable": false,
713
-
714
- "inputs": [],
715
- "outputs": [
716
- {
717
- "type": "bool"
718
- }
719
- ]
720
- },
721
- {
722
- "type": "function",
723
- "name": "hasPendingUnstakeRequests",
724
- "constant": true,
725
- "stateMutability": "view",
726
- "payable": false,
727
-
728
- "inputs": [],
729
- "outputs": [
730
- {
731
- "type": "bool"
732
- }
733
- ]
734
- },
735
- {
736
- "type": "function",
737
- "name": "internalContracts",
738
- "constant": true,
739
- "stateMutability": "view",
740
- "payable": false,
741
-
742
- "inputs": [
743
- {
744
- "type": "uint256"
745
- }
746
- ],
747
- "outputs": [
748
- {
749
- "type": "address"
750
- }
751
- ]
752
- },
753
- {
754
- "type": "function",
755
- "name": "isContractStakeCalculated",
756
- "constant": true,
757
- "stateMutability": "view",
758
- "payable": false,
759
-
760
- "inputs": [],
761
- "outputs": [
762
- {
763
- "type": "bool"
764
- }
765
- ]
766
- },
767
- {
768
- "type": "function",
769
- "name": "lastRewardId",
770
- "constant": true,
771
- "stateMutability": "view",
772
- "payable": false,
773
-
774
- "inputs": [],
775
- "outputs": [
776
- {
777
- "type": "uint256"
778
- }
779
- ]
780
- },
781
- {
782
- "type": "function",
783
- "name": "lastUnstakeRequestId",
784
- "constant": true,
785
- "stateMutability": "view",
786
- "payable": false,
787
-
788
- "inputs": [],
789
- "outputs": [
790
- {
791
- "type": "uint256"
792
- }
793
- ]
794
- },
795
- {
796
- "type": "function",
797
- "name": "master",
798
- "constant": true,
799
- "stateMutability": "view",
800
- "payable": false,
801
-
802
- "inputs": [],
803
- "outputs": [
804
- {
805
- "type": "address"
806
- }
807
- ]
808
- },
809
- {
810
- "type": "function",
811
- "name": "migrateToExistingV2Pool",
812
- "constant": false,
813
- "payable": false,
814
-
815
- "inputs": [
816
- {
817
- "type": "uint256",
818
- "name": "stakingPoolId"
819
- },
820
- {
821
- "type": "uint256",
822
- "name": "trancheId"
823
- }
824
- ],
825
- "outputs": []
826
- },
827
- {
828
- "type": "function",
829
- "name": "migrateToNewV2Pool",
830
- "constant": false,
831
- "payable": false,
832
-
833
- "inputs": [
834
- {
835
- "type": "address",
836
- "name": "stakerAddress"
837
- }
838
- ],
839
- "outputs": []
840
- },
841
- {
842
- "type": "function",
843
- "name": "processPendingActions",
844
- "constant": false,
845
- "payable": false,
846
-
847
- "inputs": [
848
- {
849
- "type": "uint256",
850
- "name": "maxIterations"
851
- }
852
- ],
853
- "outputs": [
854
- {
855
- "type": "bool",
856
- "name": "finished"
857
- }
858
- ]
859
- },
860
- {
861
- "type": "function",
862
- "name": "processPendingActionsReturnLeft",
863
- "constant": false,
864
- "payable": false,
865
-
866
- "inputs": [
867
- {
868
- "type": "uint256",
869
- "name": "maxIterations"
870
- }
871
- ],
872
- "outputs": [
873
- {
874
- "type": "bool",
875
- "name": "finished"
876
- },
877
- {
878
- "type": "uint256",
879
- "name": "iterationsLeft"
880
- }
881
- ]
882
- },
883
- {
884
- "type": "function",
885
- "name": "processedToStakerIndex",
886
- "constant": true,
887
- "stateMutability": "view",
888
- "payable": false,
889
-
890
- "inputs": [],
891
- "outputs": [
892
- {
893
- "type": "uint256"
894
- }
895
- ]
896
- },
897
- {
898
- "type": "function",
899
- "name": "productsV1",
900
- "constant": true,
901
- "stateMutability": "view",
902
- "payable": false,
903
-
904
- "inputs": [],
905
- "outputs": [
906
- {
907
- "type": "address"
908
- }
909
- ]
910
- },
911
- {
912
- "type": "function",
913
- "name": "pushBurn",
914
- "constant": true,
915
- "stateMutability": "pure",
916
- "payable": false,
917
-
918
- "inputs": [
919
- {
920
- "type": "address"
921
- },
922
- {
923
- "type": "uint256"
924
- }
925
- ],
926
- "outputs": []
927
- },
928
- {
929
- "type": "function",
930
- "name": "pushRewards",
931
- "constant": false,
932
- "payable": false,
933
-
934
- "inputs": [
935
- {
936
- "type": "address[]",
937
- "name": "contractAddresses"
938
- }
939
- ],
940
- "outputs": []
941
- },
942
- {
943
- "type": "function",
944
- "name": "requestUnstake",
945
- "constant": true,
946
- "stateMutability": "pure",
947
- "payable": false,
948
-
949
- "inputs": [
950
- {
951
- "type": "address[]"
952
- },
953
- {
954
- "type": "uint256[]"
955
- },
956
- {
957
- "type": "uint256"
958
- }
959
- ],
960
- "outputs": []
961
- },
962
- {
963
- "type": "function",
964
- "name": "rewards",
965
- "constant": true,
966
- "stateMutability": "view",
967
- "payable": false,
968
-
969
- "inputs": [
970
- {
971
- "type": "uint256"
972
- }
973
- ],
974
- "outputs": [
975
- {
976
- "type": "uint256",
977
- "name": "amount"
978
- },
979
- {
980
- "type": "uint256",
981
- "name": "rewardedAt"
982
- },
983
- {
984
- "type": "address",
985
- "name": "contractAddress"
986
- }
987
- ]
988
- },
989
- {
990
- "type": "function",
991
- "name": "stakerContractAtIndex",
992
- "constant": true,
993
- "stateMutability": "view",
994
- "payable": false,
995
-
996
- "inputs": [
997
- {
998
- "type": "address",
999
- "name": "staker"
1000
- },
1001
- {
1002
- "type": "uint256",
1003
- "name": "contractIndex"
1004
- }
1005
- ],
1006
- "outputs": [
1007
- {
1008
- "type": "address"
1009
- }
1010
- ]
1011
- },
1012
- {
1013
- "type": "function",
1014
- "name": "stakerContractCount",
1015
- "constant": true,
1016
- "stateMutability": "view",
1017
- "payable": false,
1018
-
1019
- "inputs": [
1020
- {
1021
- "type": "address",
1022
- "name": "staker"
1023
- }
1024
- ],
1025
- "outputs": [
1026
- {
1027
- "type": "uint256"
1028
- }
1029
- ]
1030
- },
1031
- {
1032
- "type": "function",
1033
- "name": "stakerContractPendingUnstakeTotal",
1034
- "constant": true,
1035
- "stateMutability": "view",
1036
- "payable": false,
1037
-
1038
- "inputs": [
1039
- {
1040
- "type": "address",
1041
- "name": "staker"
1042
- },
1043
- {
1044
- "type": "address",
1045
- "name": "contractAddress"
1046
- }
1047
- ],
1048
- "outputs": [
1049
- {
1050
- "type": "uint256"
1051
- }
1052
- ]
1053
- },
1054
- {
1055
- "type": "function",
1056
- "name": "stakerContractStake",
1057
- "constant": true,
1058
- "stateMutability": "view",
1059
- "payable": false,
1060
-
1061
- "inputs": [
1062
- {
1063
- "type": "address",
1064
- "name": "staker"
1065
- },
1066
- {
1067
- "type": "address",
1068
- "name": "contractAddress"
1069
- }
1070
- ],
1071
- "outputs": [
1072
- {
1073
- "type": "uint256"
1074
- }
1075
- ]
1076
- },
1077
- {
1078
- "type": "function",
1079
- "name": "stakerContractsArray",
1080
- "constant": true,
1081
- "stateMutability": "view",
1082
- "payable": false,
1083
-
1084
- "inputs": [
1085
- {
1086
- "type": "address",
1087
- "name": "staker"
1088
- }
1089
- ],
1090
- "outputs": [
1091
- {
1092
- "type": "address[]"
1093
- }
1094
- ]
1095
- },
1096
- {
1097
- "type": "function",
1098
- "name": "stakerDeposit",
1099
- "constant": true,
1100
- "stateMutability": "view",
1101
- "payable": false,
1102
-
1103
- "inputs": [
1104
- {
1105
- "type": "address",
1106
- "name": "staker"
1107
- }
1108
- ],
1109
- "outputs": [
1110
- {
1111
- "type": "uint256"
1112
- }
1113
- ]
1114
- },
1115
- {
1116
- "type": "function",
1117
- "name": "stakerMaxWithdrawable",
1118
- "constant": true,
1119
- "stateMutability": "view",
1120
- "payable": false,
1121
-
1122
- "inputs": [
1123
- {
1124
- "type": "address",
1125
- "name": "stakerAddress"
1126
- }
1127
- ],
1128
- "outputs": [
1129
- {
1130
- "type": "uint256"
1131
- }
1132
- ]
1133
- },
1134
- {
1135
- "type": "function",
1136
- "name": "stakerReward",
1137
- "constant": true,
1138
- "stateMutability": "view",
1139
- "payable": false,
1140
-
1141
- "inputs": [
1142
- {
1143
- "type": "address",
1144
- "name": "staker"
1145
- }
1146
- ],
1147
- "outputs": [
1148
- {
1149
- "type": "uint256"
1150
- }
1151
- ]
1152
- },
1153
- {
1154
- "type": "function",
1155
- "name": "stakers",
1156
- "constant": true,
1157
- "stateMutability": "view",
1158
- "payable": false,
1159
-
1160
- "inputs": [
1161
- {
1162
- "type": "address"
1163
- }
1164
- ],
1165
- "outputs": [
1166
- {
1167
- "type": "uint256",
1168
- "name": "deposit"
1169
- },
1170
- {
1171
- "type": "uint256",
1172
- "name": "reward"
1173
- }
1174
- ]
1175
- },
1176
- {
1177
- "type": "function",
1178
- "name": "stakingNFT",
1179
- "constant": true,
1180
- "stateMutability": "view",
1181
- "payable": false,
1182
-
1183
- "inputs": [],
1184
- "outputs": [
1185
- {
1186
- "type": "address"
1187
- }
1188
- ]
1189
- },
1190
- {
1191
- "type": "function",
1192
- "name": "unstakeRequestAtIndex",
1193
- "constant": true,
1194
- "stateMutability": "view",
1195
- "payable": false,
1196
-
1197
- "inputs": [
1198
- {
1199
- "type": "uint256",
1200
- "name": "unstakeRequestId"
1201
- }
1202
- ],
1203
- "outputs": [
1204
- {
1205
- "type": "uint256",
1206
- "name": "amount"
1207
- },
1208
- {
1209
- "type": "uint256",
1210
- "name": "unstakeAt"
1211
- },
1212
- {
1213
- "type": "address",
1214
- "name": "contractAddress"
1215
- },
1216
- {
1217
- "type": "address",
1218
- "name": "stakerAddress"
1219
- },
1220
- {
1221
- "type": "uint256",
1222
- "name": "next"
1223
- }
1224
- ]
1225
- },
1226
- {
1227
- "type": "function",
1228
- "name": "unstakeRequests",
1229
- "constant": true,
1230
- "stateMutability": "view",
1231
- "payable": false,
1232
-
1233
- "inputs": [
1234
- {
1235
- "type": "uint256"
1236
- }
1237
- ],
1238
- "outputs": [
1239
- {
1240
- "type": "uint256",
1241
- "name": "amount"
1242
- },
1243
- {
1244
- "type": "uint256",
1245
- "name": "unstakeAt"
1246
- },
1247
- {
1248
- "type": "address",
1249
- "name": "contractAddress"
1250
- },
1251
- {
1252
- "type": "address",
1253
- "name": "stakerAddress"
1254
- },
1255
- {
1256
- "type": "uint256",
1257
- "name": "next"
1258
- }
1259
- ]
1260
- },
1261
- {
1262
- "type": "function",
1263
- "name": "updateUintParameters",
1264
- "constant": false,
1265
- "payable": false,
1266
-
1267
- "inputs": [
1268
- {
1269
- "type": "bytes8",
1270
- "name": "code"
1271
- },
1272
- {
1273
- "type": "uint256",
1274
- "name": "value"
1275
- }
1276
- ],
1277
- "outputs": []
1278
- },
1279
- {
1280
- "type": "function",
1281
- "name": "withdraw",
1282
- "constant": false,
1283
- "payable": false,
1284
-
1285
- "inputs": [
1286
- {
1287
- "type": "uint256"
1288
- }
1289
- ],
1290
- "outputs": []
1291
- },
1292
- {
1293
- "type": "function",
1294
- "name": "withdrawForUser",
1295
- "constant": false,
1296
- "payable": false,
1297
-
1298
- "inputs": [
1299
- {
1300
- "type": "address",
1301
- "name": "user"
1302
- }
1303
- ],
1304
- "outputs": []
1305
- },
1306
- {
1307
- "type": "function",
1308
- "name": "withdrawReward",
1309
- "constant": false,
1310
- "payable": false,
1311
-
1312
- "inputs": [
1313
- {
1314
- "type": "address",
1315
- "name": "stakerAddress"
1316
- }
1317
- ],
1318
- "outputs": []
1319
- }
1320
- ]