@nexusmutual/sdk 0.0.15 → 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/{product-types.json → data/product-types.json} +7 -0
  36. package/dist/{products.json → data/products.json} +78 -0
  37. package/dist/index.d.mts +2012 -0
  38. package/dist/index.d.ts +2012 -4
  39. package/dist/index.html +4 -4
  40. package/dist/index.js +25656 -9
  41. package/dist/index.js.map +1 -0
  42. package/dist/index.mjs +25489 -0
  43. package/dist/index.mjs.map +1 -0
  44. package/dist/logos/aavev2.svg +1 -0
  45. package/dist/logos/aavev3.svg +1 -0
  46. package/dist/logos/abracadabra.svg +1 -0
  47. package/dist/logos/ajna.svg +1 -0
  48. package/dist/logos/akropolis.svg +1 -0
  49. package/dist/logos/alchemix.svg +1 -0
  50. package/dist/logos/alpaca.svg +1 -0
  51. package/dist/logos/alpha-homora.svg +1 -0
  52. package/dist/logos/ampleforth.svg +1 -0
  53. package/dist/logos/anchor.svg +1 -0
  54. package/dist/logos/angle.svg +1 -0
  55. package/dist/logos/arbitrum.svg +1 -0
  56. package/dist/logos/argent.svg +1 -0
  57. package/dist/logos/aura.svg +1 -0
  58. package/dist/logos/aurora.svg +1 -0
  59. package/dist/logos/avalanche.svg +1 -0
  60. package/dist/logos/babylon.svg +1 -0
  61. package/dist/logos/badgerdao.svg +1 -0
  62. package/dist/logos/balancer.svg +1 -0
  63. package/dist/logos/bancor.svg +1 -0
  64. package/dist/logos/beefy.svg +1 -0
  65. package/dist/logos/binance.svg +1 -0
  66. package/dist/logos/blockFi.svg +1 -0
  67. package/dist/logos/buffer-finance.svg +1 -0
  68. package/dist/logos/bunnypancake.svg +1 -0
  69. package/dist/logos/celo.svg +1 -0
  70. package/dist/logos/celsius.svg +1 -0
  71. package/dist/logos/centrifuge.svg +1 -0
  72. package/dist/logos/chorusone.svg +1 -0
  73. package/dist/logos/coinbase.svg +1 -0
  74. package/dist/logos/compoundv2.svg +1 -0
  75. package/dist/logos/convex.svg +1 -0
  76. package/dist/logos/cowswap.svg +1 -0
  77. package/dist/logos/cronos.svg +1 -0
  78. package/dist/logos/crypto-com.svg +1 -0
  79. package/dist/logos/curve.svg +1 -0
  80. package/dist/logos/dforce.svg +1 -0
  81. package/dist/logos/dodo.svg +1 -0
  82. package/dist/logos/dydx.svg +1 -0
  83. package/dist/logos/ease.svg +1 -0
  84. package/dist/logos/eigenlayer.png +0 -0
  85. package/dist/logos/element-finance.svg +1 -0
  86. package/dist/logos/enzyme.svg +1 -0
  87. package/dist/logos/eth.svg +1 -0
  88. package/dist/logos/etherfi.png +0 -0
  89. package/dist/logos/euler.svg +1 -0
  90. package/dist/logos/exactly.svg +1 -0
  91. package/dist/logos/fantom.svg +1 -0
  92. package/dist/logos/figment.svg +1 -0
  93. package/dist/logos/fodl.svg +1 -0
  94. package/dist/logos/ftx.svg +1 -0
  95. package/dist/logos/fuse.svg +1 -0
  96. package/dist/logos/gamma.svg +1 -0
  97. package/dist/logos/gearbox.svg +1 -0
  98. package/dist/logos/gelt.svg +1 -0
  99. package/dist/logos/gemini.svg +1 -0
  100. package/dist/logos/gmx.svg +1 -0
  101. package/dist/logos/gnosis-multisig.svg +1 -0
  102. package/dist/logos/gnosis-safe.svg +1 -0
  103. package/dist/logos/goldfinch.svg +1 -0
  104. package/dist/logos/harmony.svg +1 -0
  105. package/dist/logos/heco.svg +1 -0
  106. package/dist/logos/hodlnaut.svg +1 -0
  107. package/dist/logos/holyheld.jpeg +0 -0
  108. package/dist/logos/homora.svg +1 -0
  109. package/dist/logos/hook.jpeg +0 -0
  110. package/dist/logos/idleDAIYield.svg +1 -0
  111. package/dist/logos/idleUSDTYield.svg +1 -0
  112. package/dist/logos/ironbank.svg +1 -0
  113. package/dist/logos/kiln.svg +1 -0
  114. package/dist/logos/kraken.svg +1 -0
  115. package/dist/logos/ledn.svg +1 -0
  116. package/dist/logos/level-finance.png +0 -0
  117. package/dist/logos/liquidcollective.svg +1 -0
  118. package/dist/logos/liquify.svg +1 -0
  119. package/dist/logos/liquity.svg +1 -0
  120. package/dist/logos/lyra.svg +1 -0
  121. package/dist/logos/mahalend.svg +1 -0
  122. package/dist/logos/makerdao.svg +1 -0
  123. package/dist/logos/metis.svg +1 -0
  124. package/dist/logos/moonbeam.svg +1 -0
  125. package/dist/logos/mooniswap.svg +1 -0
  126. package/dist/logos/moonriver.svg +1 -0
  127. package/dist/logos/morpho.svg +1 -0
  128. package/dist/logos/mstable.svg +1 -0
  129. package/dist/logos/nested.svg +1 -0
  130. package/dist/logos/nexo.svg +1 -0
  131. package/dist/logos/nexus-mutual.svg +1 -0
  132. package/dist/logos/notional-finance.svg +1 -0
  133. package/dist/logos/nucypher.svg +1 -0
  134. package/dist/logos/offramp.png +0 -0
  135. package/dist/logos/olympusdao.svg +1 -0
  136. package/dist/logos/ondo.svg +1 -0
  137. package/dist/logos/oneinch.svg +1 -0
  138. package/dist/logos/openq.png +0 -0
  139. package/dist/logos/optimism.svg +1 -0
  140. package/dist/logos/opyn.png +0 -0
  141. package/dist/logos/originusd.svg +1 -0
  142. package/dist/logos/pancakeswap.svg +1 -0
  143. package/dist/logos/pangolin.svg +1 -0
  144. package/dist/logos/perennial.jpeg +0 -0
  145. package/dist/logos/perpetual.svg +1 -0
  146. package/dist/logos/polkadot.svg +1 -0
  147. package/dist/logos/polygon.svg +1 -0
  148. package/dist/logos/pooltogether.svg +1 -0
  149. package/dist/logos/popsicle.svg +1 -0
  150. package/dist/logos/premia.svg +1 -0
  151. package/dist/logos/rage-trade.svg +1 -0
  152. package/dist/logos/rari.svg +1 -0
  153. package/dist/logos/reflexer.png +0 -0
  154. package/dist/logos/ren.svg +1 -0
  155. package/dist/logos/ribbon.svg +1 -0
  156. package/dist/logos/scallop.svg +1 -0
  157. package/dist/logos/self.svg +1 -0
  158. package/dist/logos/sentiment.png +0 -0
  159. package/dist/logos/sherlock.svg +1 -0
  160. package/dist/logos/solana.svg +1 -0
  161. package/dist/logos/squeeth-by-opyn.svg +1 -0
  162. package/dist/logos/stakedao.svg +1 -0
  163. package/dist/logos/stakewise.svg +1 -0
  164. package/dist/logos/starkware.svg +1 -0
  165. package/dist/logos/sushiswap.svg +1 -0
  166. package/dist/logos/synthetix.svg +1 -0
  167. package/dist/logos/tbtc.svg +1 -0
  168. package/dist/logos/teller.svg +1 -0
  169. package/dist/logos/terra-chain.svg +1 -0
  170. package/dist/logos/the-retail-mutual.png +0 -0
  171. package/dist/logos/thorchain.svg +1 -0
  172. package/dist/logos/tokensets.svg +1 -0
  173. package/dist/logos/trader-joe.svg +1 -0
  174. package/dist/logos/union-finance.svg +1 -0
  175. package/dist/logos/uniswapv2.svg +1 -0
  176. package/dist/logos/vector.svg +1 -0
  177. package/dist/logos/venus.svg +1 -0
  178. package/dist/logos/vertex.svg +1 -0
  179. package/dist/logos/vesper-veth.svg +1 -0
  180. package/dist/logos/vesper.svg +1 -0
  181. package/dist/logos/vox.png +0 -0
  182. package/dist/logos/wefi.png +0 -0
  183. package/dist/logos/yearn.svg +1 -0
  184. package/dist/logos/yeti.png +0 -0
  185. package/dist/logos/yield-app.svg +1 -0
  186. package/dist/logos/zerox.svg +1 -0
  187. package/dist/logos/zksync.svg +1 -0
  188. package/dist/logos/zktsunami.svg +1 -0
  189. package/dist/scripts/copy-logos.cjs +33 -0
  190. package/package.json +12 -5
  191. package/dist/abis/Assessment.json +0 -700
  192. package/dist/abis/Cover.json +0 -1258
  193. package/dist/abis/CoverMigrator.json +0 -189
  194. package/dist/abis/CoverNFT.json +0 -498
  195. package/dist/abis/CoverNFTDescriptor.json +0 -200
  196. package/dist/abis/CoverViewer.json +0 -124
  197. package/dist/abis/EACAggregatorProxy.json +0 -58
  198. package/dist/abis/ERC20.json +0 -364
  199. package/dist/abis/Governance.json +0 -975
  200. package/dist/abis/IndividualClaims.json +0 -528
  201. package/dist/abis/LegacyClaimProofs.json +0 -64
  202. package/dist/abis/LegacyClaimsData.json +0 -1912
  203. package/dist/abis/LegacyClaimsReward.json +0 -179
  204. package/dist/abis/LegacyGateway.json +0 -542
  205. package/dist/abis/LegacyPooledStaking.json +0 -1320
  206. package/dist/abis/LegacyQuotationData.json +0 -1121
  207. package/dist/abis/MemberRoles.json +0 -681
  208. package/dist/abis/NXMToken.json +0 -498
  209. package/dist/abis/NXMaster.json +0 -501
  210. package/dist/abis/Pool.json +0 -928
  211. package/dist/abis/PriceFeedOracle.json +0 -122
  212. package/dist/abis/ProductsV1.json +0 -21
  213. package/dist/abis/ProposalCategory.json +0 -550
  214. package/dist/abis/StakingNFT.json +0 -569
  215. package/dist/abis/StakingNFTDescriptor.json +0 -222
  216. package/dist/abis/StakingPool.json +0 -1433
  217. package/dist/abis/StakingPoolFactory.json +0 -108
  218. package/dist/abis/StakingProducts.json +0 -885
  219. package/dist/abis/SwapOperator.json +0 -754
  220. package/dist/abis/TokenController.json +0 -1024
  221. package/dist/abis/YieldTokenIncidents.json +0 -438
  222. package/dist/abis/index.js +0 -69
  223. /package/dist/{addresses.json → data/addresses.json} +0 -0
@@ -0,0 +1,1530 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_stakingNFT",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_token",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_coverContract",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_tokenController",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "address",
26
+ "name": "_master",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "address",
31
+ "name": "_stakingProducts",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "stateMutability": "nonpayable",
36
+ "type": "constructor"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "allocationId",
43
+ "type": "uint256"
44
+ }
45
+ ],
46
+ "name": "AlreadyDeallocated",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "InsufficientCapacity",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "InsufficientDepositAmount",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "InvalidStakingPoolForToken",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "InvalidTokenId",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "ManagerNxmIsLockedForGovernanceVote",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "MaxPoolFeeAbove100",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "NewTrancheEndsBeforeInitialTranche",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "NotTokenOwnerOrApproved",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "NxmIsLockedForGovernanceVote",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "OnlyCoverContract",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "OnlyManager",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "PoolFeeExceedsMax",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "PoolHalted",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "PrivatePool",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "RequestedTrancheIsExpired",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "RequestedTrancheIsNotYetActive",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "index",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "RevertedWithoutReason",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "RewardRatioTooHigh",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "SystemPaused",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "anonymous": false,
152
+ "inputs": [
153
+ {
154
+ "indexed": false,
155
+ "internalType": "uint256",
156
+ "name": "bucketId",
157
+ "type": "uint256"
158
+ }
159
+ ],
160
+ "name": "BucketExpired",
161
+ "type": "event"
162
+ },
163
+ {
164
+ "anonymous": false,
165
+ "inputs": [
166
+ {
167
+ "indexed": false,
168
+ "internalType": "uint256",
169
+ "name": "productId",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "Deallocated",
174
+ "type": "event"
175
+ },
176
+ {
177
+ "anonymous": false,
178
+ "inputs": [
179
+ {
180
+ "indexed": true,
181
+ "internalType": "address",
182
+ "name": "user",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "indexed": false,
187
+ "internalType": "uint256",
188
+ "name": "tokenId",
189
+ "type": "uint256"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "internalType": "uint256",
194
+ "name": "initialTrancheId",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "uint256",
200
+ "name": "newTrancheId",
201
+ "type": "uint256"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "uint256",
206
+ "name": "topUpAmount",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "name": "DepositExtended",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": false,
218
+ "internalType": "string",
219
+ "name": "ipfsDescriptionHash",
220
+ "type": "string"
221
+ }
222
+ ],
223
+ "name": "PoolDescriptionSet",
224
+ "type": "event"
225
+ },
226
+ {
227
+ "anonymous": false,
228
+ "inputs": [
229
+ {
230
+ "indexed": true,
231
+ "internalType": "address",
232
+ "name": "manager",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "indexed": false,
237
+ "internalType": "uint256",
238
+ "name": "newFee",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "name": "PoolFeeChanged",
243
+ "type": "event"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
248
+ {
249
+ "indexed": true,
250
+ "internalType": "address",
251
+ "name": "manager",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "indexed": false,
256
+ "internalType": "bool",
257
+ "name": "isPrivate",
258
+ "type": "bool"
259
+ }
260
+ ],
261
+ "name": "PoolPrivacyChanged",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "anonymous": false,
266
+ "inputs": [
267
+ {
268
+ "indexed": false,
269
+ "internalType": "uint256",
270
+ "name": "amount",
271
+ "type": "uint256"
272
+ }
273
+ ],
274
+ "name": "StakeBurned",
275
+ "type": "event"
276
+ },
277
+ {
278
+ "anonymous": false,
279
+ "inputs": [
280
+ {
281
+ "indexed": true,
282
+ "internalType": "address",
283
+ "name": "user",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "indexed": false,
288
+ "internalType": "uint256",
289
+ "name": "amount",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "uint256",
295
+ "name": "trancheId",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "uint256",
301
+ "name": "tokenId",
302
+ "type": "uint256"
303
+ }
304
+ ],
305
+ "name": "StakeDeposited",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": false,
313
+ "internalType": "uint256",
314
+ "name": "trancheId",
315
+ "type": "uint256"
316
+ }
317
+ ],
318
+ "name": "TrancheExpired",
319
+ "type": "event"
320
+ },
321
+ {
322
+ "anonymous": false,
323
+ "inputs": [
324
+ {
325
+ "indexed": true,
326
+ "internalType": "address",
327
+ "name": "user",
328
+ "type": "address"
329
+ },
330
+ {
331
+ "indexed": true,
332
+ "internalType": "uint256",
333
+ "name": "tokenId",
334
+ "type": "uint256"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "tranche",
340
+ "type": "uint256"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint256",
345
+ "name": "amountStakeWithdrawn",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "uint256",
351
+ "name": "amountRewardsWithdrawn",
352
+ "type": "uint256"
353
+ }
354
+ ],
355
+ "name": "Withdraw",
356
+ "type": "event"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "ALLOCATION_UNITS_PER_NXM",
361
+ "outputs": [
362
+ {
363
+ "internalType": "uint256",
364
+ "name": "",
365
+ "type": "uint256"
366
+ }
367
+ ],
368
+ "stateMutability": "view",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [],
373
+ "name": "BUCKET_DURATION",
374
+ "outputs": [
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "BUCKET_TRANCHE_GROUP_SIZE",
387
+ "outputs": [
388
+ {
389
+ "internalType": "uint256",
390
+ "name": "",
391
+ "type": "uint256"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [],
399
+ "name": "CAPACITY_REDUCTION_DENOMINATOR",
400
+ "outputs": [
401
+ {
402
+ "internalType": "uint256",
403
+ "name": "",
404
+ "type": "uint256"
405
+ }
406
+ ],
407
+ "stateMutability": "view",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [],
412
+ "name": "COVER_TRANCHE_GROUP_SIZE",
413
+ "outputs": [
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [],
425
+ "name": "GLOBAL_CAPACITY_DENOMINATOR",
426
+ "outputs": [
427
+ {
428
+ "internalType": "uint256",
429
+ "name": "",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "MAX_ACTIVE_TRANCHES",
439
+ "outputs": [
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [],
451
+ "name": "NXM_PER_ALLOCATION_UNIT",
452
+ "outputs": [
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [],
464
+ "name": "ONE_NXM",
465
+ "outputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [],
477
+ "name": "POOL_FEE_DENOMINATOR",
478
+ "outputs": [
479
+ {
480
+ "internalType": "uint256",
481
+ "name": "",
482
+ "type": "uint256"
483
+ }
484
+ ],
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [],
490
+ "name": "REWARDS_DENOMINATOR",
491
+ "outputs": [
492
+ {
493
+ "internalType": "uint256",
494
+ "name": "",
495
+ "type": "uint256"
496
+ }
497
+ ],
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [],
503
+ "name": "REWARD_BONUS_PER_TRANCHE_DENOMINATOR",
504
+ "outputs": [
505
+ {
506
+ "internalType": "uint256",
507
+ "name": "",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "stateMutability": "view",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [],
516
+ "name": "REWARD_BONUS_PER_TRANCHE_RATIO",
517
+ "outputs": [
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "",
521
+ "type": "uint256"
522
+ }
523
+ ],
524
+ "stateMutability": "view",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [],
529
+ "name": "TRANCHE_DURATION",
530
+ "outputs": [
531
+ {
532
+ "internalType": "uint256",
533
+ "name": "",
534
+ "type": "uint256"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "WEIGHT_DENOMINATOR",
543
+ "outputs": [
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "",
547
+ "type": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "amount",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "components": [
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "allocationId",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "productId",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "internalType": "uint256",
574
+ "name": "start",
575
+ "type": "uint256"
576
+ },
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "period",
580
+ "type": "uint256"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "deallocationAmount",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "internalType": "struct BurnStakeParams",
589
+ "name": "params",
590
+ "type": "tuple"
591
+ }
592
+ ],
593
+ "name": "burnStake",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "uint256",
602
+ "name": "initialStakeShares",
603
+ "type": "uint256"
604
+ },
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "stakeSharesIncrease",
608
+ "type": "uint256"
609
+ },
610
+ {
611
+ "internalType": "uint256",
612
+ "name": "initialTrancheId",
613
+ "type": "uint256"
614
+ },
615
+ {
616
+ "internalType": "uint256",
617
+ "name": "newTrancheId",
618
+ "type": "uint256"
619
+ },
620
+ {
621
+ "internalType": "uint256",
622
+ "name": "blockTimestamp",
623
+ "type": "uint256"
624
+ }
625
+ ],
626
+ "name": "calculateNewRewardShares",
627
+ "outputs": [
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "",
631
+ "type": "uint256"
632
+ }
633
+ ],
634
+ "stateMutability": "pure",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [],
639
+ "name": "coverContract",
640
+ "outputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "",
644
+ "type": "address"
645
+ }
646
+ ],
647
+ "stateMutability": "view",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "name": "coverTrancheAllocations",
659
+ "outputs": [
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "",
663
+ "type": "uint256"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "uint256",
673
+ "name": "amount",
674
+ "type": "uint256"
675
+ },
676
+ {
677
+ "internalType": "uint256",
678
+ "name": "trancheId",
679
+ "type": "uint256"
680
+ },
681
+ {
682
+ "internalType": "uint256",
683
+ "name": "requestTokenId",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "internalType": "address",
688
+ "name": "destination",
689
+ "type": "address"
690
+ }
691
+ ],
692
+ "name": "depositTo",
693
+ "outputs": [
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "tokenId",
697
+ "type": "uint256"
698
+ }
699
+ ],
700
+ "stateMutability": "nonpayable",
701
+ "type": "function"
702
+ },
703
+ {
704
+ "inputs": [
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "",
708
+ "type": "uint256"
709
+ },
710
+ {
711
+ "internalType": "uint256",
712
+ "name": "",
713
+ "type": "uint256"
714
+ }
715
+ ],
716
+ "name": "deposits",
717
+ "outputs": [
718
+ {
719
+ "internalType": "uint96",
720
+ "name": "lastAccNxmPerRewardShare",
721
+ "type": "uint96"
722
+ },
723
+ {
724
+ "internalType": "uint96",
725
+ "name": "pendingRewards",
726
+ "type": "uint96"
727
+ },
728
+ {
729
+ "internalType": "uint128",
730
+ "name": "stakeShares",
731
+ "type": "uint128"
732
+ },
733
+ {
734
+ "internalType": "uint128",
735
+ "name": "rewardsShares",
736
+ "type": "uint128"
737
+ }
738
+ ],
739
+ "stateMutability": "view",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "",
747
+ "type": "uint256"
748
+ },
749
+ {
750
+ "internalType": "uint256",
751
+ "name": "",
752
+ "type": "uint256"
753
+ },
754
+ {
755
+ "internalType": "uint256",
756
+ "name": "",
757
+ "type": "uint256"
758
+ }
759
+ ],
760
+ "name": "expiringCoverBuckets",
761
+ "outputs": [
762
+ {
763
+ "internalType": "TrancheGroupBucket",
764
+ "name": "",
765
+ "type": "uint256"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "tokenId",
776
+ "type": "uint256"
777
+ },
778
+ {
779
+ "internalType": "uint256",
780
+ "name": "initialTrancheId",
781
+ "type": "uint256"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "newTrancheId",
786
+ "type": "uint256"
787
+ },
788
+ {
789
+ "internalType": "uint256",
790
+ "name": "topUpAmount",
791
+ "type": "uint256"
792
+ }
793
+ ],
794
+ "name": "extendDeposit",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "getAccNxmPerRewardsShare",
802
+ "outputs": [
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "stateMutability": "view",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "uint256",
816
+ "name": "productId",
817
+ "type": "uint256"
818
+ }
819
+ ],
820
+ "name": "getActiveAllocations",
821
+ "outputs": [
822
+ {
823
+ "internalType": "uint256[]",
824
+ "name": "trancheAllocations",
825
+ "type": "uint256[]"
826
+ }
827
+ ],
828
+ "stateMutability": "view",
829
+ "type": "function"
830
+ },
831
+ {
832
+ "inputs": [],
833
+ "name": "getActiveStake",
834
+ "outputs": [
835
+ {
836
+ "internalType": "uint256",
837
+ "name": "",
838
+ "type": "uint256"
839
+ }
840
+ ],
841
+ "stateMutability": "view",
842
+ "type": "function"
843
+ },
844
+ {
845
+ "inputs": [
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "productId",
849
+ "type": "uint256"
850
+ },
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "globalCapacityRatio",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "capacityReductionRatio",
859
+ "type": "uint256"
860
+ }
861
+ ],
862
+ "name": "getActiveTrancheCapacities",
863
+ "outputs": [
864
+ {
865
+ "internalType": "uint256[]",
866
+ "name": "trancheCapacities",
867
+ "type": "uint256[]"
868
+ },
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "totalCapacity",
872
+ "type": "uint256"
873
+ }
874
+ ],
875
+ "stateMutability": "view",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "tokenId",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "trancheId",
888
+ "type": "uint256"
889
+ }
890
+ ],
891
+ "name": "getDeposit",
892
+ "outputs": [
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "lastAccNxmPerRewardShare",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "internalType": "uint256",
900
+ "name": "pendingRewards",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "internalType": "uint256",
905
+ "name": "stakeShares",
906
+ "type": "uint256"
907
+ },
908
+ {
909
+ "internalType": "uint256",
910
+ "name": "rewardsShares",
911
+ "type": "uint256"
912
+ }
913
+ ],
914
+ "stateMutability": "view",
915
+ "type": "function"
916
+ },
917
+ {
918
+ "inputs": [
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "trancheId",
922
+ "type": "uint256"
923
+ }
924
+ ],
925
+ "name": "getExpiredTranche",
926
+ "outputs": [
927
+ {
928
+ "internalType": "uint256",
929
+ "name": "accNxmPerRewardShareAtExpiry",
930
+ "type": "uint256"
931
+ },
932
+ {
933
+ "internalType": "uint256",
934
+ "name": "stakeAmountAtExpiry",
935
+ "type": "uint256"
936
+ },
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "stakeSharesSupplyAtExpiry",
940
+ "type": "uint256"
941
+ }
942
+ ],
943
+ "stateMutability": "view",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [],
948
+ "name": "getFirstActiveBucketId",
949
+ "outputs": [
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "",
953
+ "type": "uint256"
954
+ }
955
+ ],
956
+ "stateMutability": "view",
957
+ "type": "function"
958
+ },
959
+ {
960
+ "inputs": [],
961
+ "name": "getFirstActiveTrancheId",
962
+ "outputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "stateMutability": "view",
970
+ "type": "function"
971
+ },
972
+ {
973
+ "inputs": [],
974
+ "name": "getLastAccNxmUpdate",
975
+ "outputs": [
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "",
979
+ "type": "uint256"
980
+ }
981
+ ],
982
+ "stateMutability": "view",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [],
987
+ "name": "getMaxPoolFee",
988
+ "outputs": [
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [],
1000
+ "name": "getNextAllocationId",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "uint256",
1004
+ "name": "",
1005
+ "type": "uint256"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [],
1013
+ "name": "getPoolFee",
1014
+ "outputs": [
1015
+ {
1016
+ "internalType": "uint256",
1017
+ "name": "",
1018
+ "type": "uint256"
1019
+ }
1020
+ ],
1021
+ "stateMutability": "view",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "inputs": [],
1026
+ "name": "getPoolId",
1027
+ "outputs": [
1028
+ {
1029
+ "internalType": "uint256",
1030
+ "name": "",
1031
+ "type": "uint256"
1032
+ }
1033
+ ],
1034
+ "stateMutability": "view",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [],
1039
+ "name": "getRewardPerSecond",
1040
+ "outputs": [
1041
+ {
1042
+ "internalType": "uint256",
1043
+ "name": "",
1044
+ "type": "uint256"
1045
+ }
1046
+ ],
1047
+ "stateMutability": "view",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [],
1052
+ "name": "getRewardsSharesSupply",
1053
+ "outputs": [
1054
+ {
1055
+ "internalType": "uint256",
1056
+ "name": "",
1057
+ "type": "uint256"
1058
+ }
1059
+ ],
1060
+ "stateMutability": "view",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [],
1065
+ "name": "getStakeSharesSupply",
1066
+ "outputs": [
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "",
1070
+ "type": "uint256"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "view",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "trancheId",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "name": "getTranche",
1085
+ "outputs": [
1086
+ {
1087
+ "internalType": "uint256",
1088
+ "name": "stakeShares",
1089
+ "type": "uint256"
1090
+ },
1091
+ {
1092
+ "internalType": "uint256",
1093
+ "name": "rewardsShares",
1094
+ "type": "uint256"
1095
+ }
1096
+ ],
1097
+ "stateMutability": "view",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [
1102
+ {
1103
+ "internalType": "uint256",
1104
+ "name": "productId",
1105
+ "type": "uint256"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "firstTrancheId",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "trancheCount",
1115
+ "type": "uint256"
1116
+ },
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "capacityRatio",
1120
+ "type": "uint256"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "reductionRatio",
1125
+ "type": "uint256"
1126
+ }
1127
+ ],
1128
+ "name": "getTrancheCapacities",
1129
+ "outputs": [
1130
+ {
1131
+ "internalType": "uint256[]",
1132
+ "name": "trancheCapacities",
1133
+ "type": "uint256[]"
1134
+ }
1135
+ ],
1136
+ "stateMutability": "view",
1137
+ "type": "function"
1138
+ },
1139
+ {
1140
+ "inputs": [
1141
+ {
1142
+ "internalType": "bool",
1143
+ "name": "_isPrivatePool",
1144
+ "type": "bool"
1145
+ },
1146
+ {
1147
+ "internalType": "uint256",
1148
+ "name": "_initialPoolFee",
1149
+ "type": "uint256"
1150
+ },
1151
+ {
1152
+ "internalType": "uint256",
1153
+ "name": "_maxPoolFee",
1154
+ "type": "uint256"
1155
+ },
1156
+ {
1157
+ "internalType": "uint256",
1158
+ "name": "_poolId",
1159
+ "type": "uint256"
1160
+ },
1161
+ {
1162
+ "internalType": "string",
1163
+ "name": "ipfsDescriptionHash",
1164
+ "type": "string"
1165
+ }
1166
+ ],
1167
+ "name": "initialize",
1168
+ "outputs": [],
1169
+ "stateMutability": "nonpayable",
1170
+ "type": "function"
1171
+ },
1172
+ {
1173
+ "inputs": [],
1174
+ "name": "isHalted",
1175
+ "outputs": [
1176
+ {
1177
+ "internalType": "bool",
1178
+ "name": "",
1179
+ "type": "bool"
1180
+ }
1181
+ ],
1182
+ "stateMutability": "view",
1183
+ "type": "function"
1184
+ },
1185
+ {
1186
+ "inputs": [],
1187
+ "name": "isPrivatePool",
1188
+ "outputs": [
1189
+ {
1190
+ "internalType": "bool",
1191
+ "name": "",
1192
+ "type": "bool"
1193
+ }
1194
+ ],
1195
+ "stateMutability": "view",
1196
+ "type": "function"
1197
+ },
1198
+ {
1199
+ "inputs": [],
1200
+ "name": "manager",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "",
1205
+ "type": "address"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "masterContract",
1214
+ "outputs": [
1215
+ {
1216
+ "internalType": "contract INXMMaster",
1217
+ "name": "",
1218
+ "type": "address"
1219
+ }
1220
+ ],
1221
+ "stateMutability": "view",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "bytes[]",
1228
+ "name": "data",
1229
+ "type": "bytes[]"
1230
+ }
1231
+ ],
1232
+ "name": "multicall",
1233
+ "outputs": [
1234
+ {
1235
+ "internalType": "bytes[]",
1236
+ "name": "results",
1237
+ "type": "bytes[]"
1238
+ }
1239
+ ],
1240
+ "stateMutability": "nonpayable",
1241
+ "type": "function"
1242
+ },
1243
+ {
1244
+ "inputs": [],
1245
+ "name": "nxm",
1246
+ "outputs": [
1247
+ {
1248
+ "internalType": "contract INXMToken",
1249
+ "name": "",
1250
+ "type": "address"
1251
+ }
1252
+ ],
1253
+ "stateMutability": "view",
1254
+ "type": "function"
1255
+ },
1256
+ {
1257
+ "inputs": [
1258
+ {
1259
+ "internalType": "bool",
1260
+ "name": "updateUntilCurrentTimestamp",
1261
+ "type": "bool"
1262
+ }
1263
+ ],
1264
+ "name": "processExpirations",
1265
+ "outputs": [],
1266
+ "stateMutability": "nonpayable",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "inputs": [
1271
+ {
1272
+ "internalType": "uint256",
1273
+ "name": "amount",
1274
+ "type": "uint256"
1275
+ },
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "previousPremium",
1279
+ "type": "uint256"
1280
+ },
1281
+ {
1282
+ "components": [
1283
+ {
1284
+ "internalType": "uint256",
1285
+ "name": "productId",
1286
+ "type": "uint256"
1287
+ },
1288
+ {
1289
+ "internalType": "uint256",
1290
+ "name": "coverId",
1291
+ "type": "uint256"
1292
+ },
1293
+ {
1294
+ "internalType": "uint256",
1295
+ "name": "allocationId",
1296
+ "type": "uint256"
1297
+ },
1298
+ {
1299
+ "internalType": "uint256",
1300
+ "name": "period",
1301
+ "type": "uint256"
1302
+ },
1303
+ {
1304
+ "internalType": "uint256",
1305
+ "name": "gracePeriod",
1306
+ "type": "uint256"
1307
+ },
1308
+ {
1309
+ "internalType": "bool",
1310
+ "name": "useFixedPrice",
1311
+ "type": "bool"
1312
+ },
1313
+ {
1314
+ "internalType": "uint256",
1315
+ "name": "previousStart",
1316
+ "type": "uint256"
1317
+ },
1318
+ {
1319
+ "internalType": "uint256",
1320
+ "name": "previousExpiration",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "previousRewardsRatio",
1326
+ "type": "uint256"
1327
+ },
1328
+ {
1329
+ "internalType": "uint256",
1330
+ "name": "globalCapacityRatio",
1331
+ "type": "uint256"
1332
+ },
1333
+ {
1334
+ "internalType": "uint256",
1335
+ "name": "capacityReductionRatio",
1336
+ "type": "uint256"
1337
+ },
1338
+ {
1339
+ "internalType": "uint256",
1340
+ "name": "rewardRatio",
1341
+ "type": "uint256"
1342
+ },
1343
+ {
1344
+ "internalType": "uint256",
1345
+ "name": "globalMinPrice",
1346
+ "type": "uint256"
1347
+ }
1348
+ ],
1349
+ "internalType": "struct AllocationRequest",
1350
+ "name": "request",
1351
+ "type": "tuple"
1352
+ }
1353
+ ],
1354
+ "name": "requestAllocation",
1355
+ "outputs": [
1356
+ {
1357
+ "internalType": "uint256",
1358
+ "name": "premium",
1359
+ "type": "uint256"
1360
+ },
1361
+ {
1362
+ "internalType": "uint256",
1363
+ "name": "allocationId",
1364
+ "type": "uint256"
1365
+ }
1366
+ ],
1367
+ "stateMutability": "nonpayable",
1368
+ "type": "function"
1369
+ },
1370
+ {
1371
+ "inputs": [
1372
+ {
1373
+ "internalType": "uint256",
1374
+ "name": "",
1375
+ "type": "uint256"
1376
+ }
1377
+ ],
1378
+ "name": "rewardPerSecondCut",
1379
+ "outputs": [
1380
+ {
1381
+ "internalType": "uint256",
1382
+ "name": "",
1383
+ "type": "uint256"
1384
+ }
1385
+ ],
1386
+ "stateMutability": "view",
1387
+ "type": "function"
1388
+ },
1389
+ {
1390
+ "inputs": [
1391
+ {
1392
+ "internalType": "string",
1393
+ "name": "ipfsDescriptionHash",
1394
+ "type": "string"
1395
+ }
1396
+ ],
1397
+ "name": "setPoolDescription",
1398
+ "outputs": [],
1399
+ "stateMutability": "nonpayable",
1400
+ "type": "function"
1401
+ },
1402
+ {
1403
+ "inputs": [
1404
+ {
1405
+ "internalType": "uint256",
1406
+ "name": "newFee",
1407
+ "type": "uint256"
1408
+ }
1409
+ ],
1410
+ "name": "setPoolFee",
1411
+ "outputs": [],
1412
+ "stateMutability": "nonpayable",
1413
+ "type": "function"
1414
+ },
1415
+ {
1416
+ "inputs": [
1417
+ {
1418
+ "internalType": "bool",
1419
+ "name": "_isPrivatePool",
1420
+ "type": "bool"
1421
+ }
1422
+ ],
1423
+ "name": "setPoolPrivacy",
1424
+ "outputs": [],
1425
+ "stateMutability": "nonpayable",
1426
+ "type": "function"
1427
+ },
1428
+ {
1429
+ "inputs": [],
1430
+ "name": "stakingNFT",
1431
+ "outputs": [
1432
+ {
1433
+ "internalType": "contract IStakingNFT",
1434
+ "name": "",
1435
+ "type": "address"
1436
+ }
1437
+ ],
1438
+ "stateMutability": "view",
1439
+ "type": "function"
1440
+ },
1441
+ {
1442
+ "inputs": [],
1443
+ "name": "stakingProducts",
1444
+ "outputs": [
1445
+ {
1446
+ "internalType": "contract IStakingProducts",
1447
+ "name": "",
1448
+ "type": "address"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "view",
1452
+ "type": "function"
1453
+ },
1454
+ {
1455
+ "inputs": [],
1456
+ "name": "tokenController",
1457
+ "outputs": [
1458
+ {
1459
+ "internalType": "contract ITokenController",
1460
+ "name": "",
1461
+ "type": "address"
1462
+ }
1463
+ ],
1464
+ "stateMutability": "view",
1465
+ "type": "function"
1466
+ },
1467
+ {
1468
+ "inputs": [
1469
+ {
1470
+ "internalType": "uint256",
1471
+ "name": "",
1472
+ "type": "uint256"
1473
+ },
1474
+ {
1475
+ "internalType": "uint256",
1476
+ "name": "",
1477
+ "type": "uint256"
1478
+ }
1479
+ ],
1480
+ "name": "trancheAllocationGroups",
1481
+ "outputs": [
1482
+ {
1483
+ "internalType": "TrancheAllocationGroup",
1484
+ "name": "",
1485
+ "type": "uint256"
1486
+ }
1487
+ ],
1488
+ "stateMutability": "view",
1489
+ "type": "function"
1490
+ },
1491
+ {
1492
+ "inputs": [
1493
+ {
1494
+ "internalType": "uint256",
1495
+ "name": "tokenId",
1496
+ "type": "uint256"
1497
+ },
1498
+ {
1499
+ "internalType": "bool",
1500
+ "name": "withdrawStake",
1501
+ "type": "bool"
1502
+ },
1503
+ {
1504
+ "internalType": "bool",
1505
+ "name": "withdrawRewards",
1506
+ "type": "bool"
1507
+ },
1508
+ {
1509
+ "internalType": "uint256[]",
1510
+ "name": "trancheIds",
1511
+ "type": "uint256[]"
1512
+ }
1513
+ ],
1514
+ "name": "withdraw",
1515
+ "outputs": [
1516
+ {
1517
+ "internalType": "uint256",
1518
+ "name": "withdrawnStake",
1519
+ "type": "uint256"
1520
+ },
1521
+ {
1522
+ "internalType": "uint256",
1523
+ "name": "withdrawnRewards",
1524
+ "type": "uint256"
1525
+ }
1526
+ ],
1527
+ "stateMutability": "nonpayable",
1528
+ "type": "function"
1529
+ }
1530
+ ]