@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
@@ -0,0 +1,1446 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract ICoverNFT",
6
+ "name": "_coverNFT",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "contract IStakingNFT",
11
+ "name": "_stakingNFT",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "contract IStakingPoolFactory",
16
+ "name": "_stakingPoolFactory",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_stakingPoolImplementation",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "AlreadyInitialized",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "CapacityReductionRatioAbove100Percent",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "CommissionRateTooHigh",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "coverId",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "CoverAlreadyExpired",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "CoverAmountIsZero",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "CoverAssetNotSupported",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "coverId",
69
+ "type": "uint256"
70
+ }
71
+ ],
72
+ "name": "CoverNotYetExpired",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "CoverOutsideOfTheGracePeriod",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "CoverPeriodTooLong",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "CoverPeriodTooShort",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "EditNotSupported",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [],
97
+ "name": "ExpiredCoversCannotBeEdited",
98
+ "type": "error"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "InitialPriceRatioAbove100Percent",
103
+ "type": "error"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "InitialPriceRatioBelowGlobalMinPriceRatio",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "InsufficientCoverAmountAllocated",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "InsufficientEthSent",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "InvalidPaymentAsset",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "InvalidProductType",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "OnlyMemberRolesCanOperateTransfer",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "OnlyOwnerOrApproved",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "productId",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "PoolNotAllowedForThisProduct",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "PriceExceedsMaxPremiumInAsset",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "ProductDoesntExist",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ProductDoesntExistOrIsDeprecated",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [],
168
+ "name": "ProductTypeNotFound",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "ReturningEthRemainderToSenderFailed",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "index",
181
+ "type": "uint256"
182
+ }
183
+ ],
184
+ "name": "RevertedWithoutReason",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [],
189
+ "name": "SendingEthToCommissionDestinationFailed",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "inputs": [],
194
+ "name": "SendingEthToPoolFailed",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "TargetPriceBelowGlobalMinPriceRatio",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [],
204
+ "name": "UnexpectedCoverAsset",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "UnexpectedEthSent",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "UnexpectedPoolId",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [],
219
+ "name": "UnexpectedProductId",
220
+ "type": "error"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "UnsupportedCoverAssets",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "anonymous": false,
229
+ "inputs": [
230
+ {
231
+ "indexed": true,
232
+ "internalType": "uint256",
233
+ "name": "coverId",
234
+ "type": "uint256"
235
+ },
236
+ {
237
+ "indexed": true,
238
+ "internalType": "uint256",
239
+ "name": "productId",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "indexed": true,
244
+ "internalType": "uint256",
245
+ "name": "segmentId",
246
+ "type": "uint256"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "address",
251
+ "name": "buyer",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "indexed": false,
256
+ "internalType": "string",
257
+ "name": "ipfsMetadata",
258
+ "type": "string"
259
+ }
260
+ ],
261
+ "name": "CoverEdited",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "anonymous": false,
266
+ "inputs": [
267
+ {
268
+ "indexed": false,
269
+ "internalType": "uint256",
270
+ "name": "id",
271
+ "type": "uint256"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "string",
276
+ "name": "ipfsMetadata",
277
+ "type": "string"
278
+ }
279
+ ],
280
+ "name": "ProductSet",
281
+ "type": "event"
282
+ },
283
+ {
284
+ "anonymous": false,
285
+ "inputs": [
286
+ {
287
+ "indexed": false,
288
+ "internalType": "uint256",
289
+ "name": "id",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "string",
295
+ "name": "ipfsMetadata",
296
+ "type": "string"
297
+ }
298
+ ],
299
+ "name": "ProductTypeSet",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "inputs": [],
304
+ "name": "GLOBAL_MIN_PRICE_RATIO",
305
+ "outputs": [
306
+ {
307
+ "internalType": "uint256",
308
+ "name": "",
309
+ "type": "uint256"
310
+ }
311
+ ],
312
+ "stateMutability": "view",
313
+ "type": "function"
314
+ },
315
+ {
316
+ "inputs": [],
317
+ "name": "MAX_COMMISSION_RATIO",
318
+ "outputs": [
319
+ {
320
+ "internalType": "uint256",
321
+ "name": "",
322
+ "type": "uint256"
323
+ }
324
+ ],
325
+ "stateMutability": "view",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [],
330
+ "name": "NXM_PER_ALLOCATION_UNIT",
331
+ "outputs": [
332
+ {
333
+ "internalType": "uint256",
334
+ "name": "",
335
+ "type": "uint256"
336
+ }
337
+ ],
338
+ "stateMutability": "view",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "activeCover",
350
+ "outputs": [
351
+ {
352
+ "internalType": "uint192",
353
+ "name": "totalActiveCoverInAsset",
354
+ "type": "uint192"
355
+ },
356
+ {
357
+ "internalType": "uint64",
358
+ "name": "lastBucketUpdateId",
359
+ "type": "uint64"
360
+ }
361
+ ],
362
+ "stateMutability": "view",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [
367
+ {
368
+ "internalType": "uint256",
369
+ "name": "productId",
370
+ "type": "uint256"
371
+ },
372
+ {
373
+ "internalType": "uint256",
374
+ "name": "coverAsset",
375
+ "type": "uint256"
376
+ },
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "amount",
380
+ "type": "uint256"
381
+ },
382
+ {
383
+ "internalType": "uint256",
384
+ "name": "start",
385
+ "type": "uint256"
386
+ },
387
+ {
388
+ "internalType": "uint256",
389
+ "name": "period",
390
+ "type": "uint256"
391
+ },
392
+ {
393
+ "internalType": "address",
394
+ "name": "newOwner",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "name": "addLegacyCover",
399
+ "outputs": [
400
+ {
401
+ "internalType": "uint256",
402
+ "name": "coverId",
403
+ "type": "uint256"
404
+ }
405
+ ],
406
+ "stateMutability": "nonpayable",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [
411
+ {
412
+ "internalType": "uint256",
413
+ "name": "",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "internalType": "uint256",
418
+ "name": "",
419
+ "type": "uint256"
420
+ }
421
+ ],
422
+ "name": "allowedPools",
423
+ "outputs": [
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "",
427
+ "type": "uint256"
428
+ }
429
+ ],
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [
435
+ {
436
+ "internalType": "uint256",
437
+ "name": "coverId",
438
+ "type": "uint256"
439
+ },
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "segmentId",
443
+ "type": "uint256"
444
+ },
445
+ {
446
+ "internalType": "uint256",
447
+ "name": "payoutAmountInAsset",
448
+ "type": "uint256"
449
+ }
450
+ ],
451
+ "name": "burnStake",
452
+ "outputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "",
456
+ "type": "address"
457
+ }
458
+ ],
459
+ "stateMutability": "nonpayable",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [
464
+ {
465
+ "components": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "coverId",
469
+ "type": "uint256"
470
+ },
471
+ {
472
+ "internalType": "address",
473
+ "name": "owner",
474
+ "type": "address"
475
+ },
476
+ {
477
+ "internalType": "uint24",
478
+ "name": "productId",
479
+ "type": "uint24"
480
+ },
481
+ {
482
+ "internalType": "uint8",
483
+ "name": "coverAsset",
484
+ "type": "uint8"
485
+ },
486
+ {
487
+ "internalType": "uint96",
488
+ "name": "amount",
489
+ "type": "uint96"
490
+ },
491
+ {
492
+ "internalType": "uint32",
493
+ "name": "period",
494
+ "type": "uint32"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "maxPremiumInAsset",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint8",
503
+ "name": "paymentAsset",
504
+ "type": "uint8"
505
+ },
506
+ {
507
+ "internalType": "uint16",
508
+ "name": "commissionRatio",
509
+ "type": "uint16"
510
+ },
511
+ {
512
+ "internalType": "address",
513
+ "name": "commissionDestination",
514
+ "type": "address"
515
+ },
516
+ {
517
+ "internalType": "string",
518
+ "name": "ipfsData",
519
+ "type": "string"
520
+ }
521
+ ],
522
+ "internalType": "struct BuyCoverParams",
523
+ "name": "params",
524
+ "type": "tuple"
525
+ },
526
+ {
527
+ "components": [
528
+ {
529
+ "internalType": "uint40",
530
+ "name": "poolId",
531
+ "type": "uint40"
532
+ },
533
+ {
534
+ "internalType": "bool",
535
+ "name": "skip",
536
+ "type": "bool"
537
+ },
538
+ {
539
+ "internalType": "uint256",
540
+ "name": "coverAmountInAsset",
541
+ "type": "uint256"
542
+ }
543
+ ],
544
+ "internalType": "struct PoolAllocationRequest[]",
545
+ "name": "poolAllocationRequests",
546
+ "type": "tuple[]"
547
+ }
548
+ ],
549
+ "name": "buyCover",
550
+ "outputs": [
551
+ {
552
+ "internalType": "uint256",
553
+ "name": "coverId",
554
+ "type": "uint256"
555
+ }
556
+ ],
557
+ "stateMutability": "payable",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [],
562
+ "name": "changeDependentContractAddress",
563
+ "outputs": [],
564
+ "stateMutability": "nonpayable",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [
569
+ {
570
+ "internalType": "address",
571
+ "name": "masterAddress",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "name": "changeMasterAddress",
576
+ "outputs": [],
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "coverId",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "name": "coverData",
589
+ "outputs": [
590
+ {
591
+ "components": [
592
+ {
593
+ "internalType": "uint24",
594
+ "name": "productId",
595
+ "type": "uint24"
596
+ },
597
+ {
598
+ "internalType": "uint8",
599
+ "name": "coverAsset",
600
+ "type": "uint8"
601
+ },
602
+ {
603
+ "internalType": "uint96",
604
+ "name": "amountPaidOut",
605
+ "type": "uint96"
606
+ }
607
+ ],
608
+ "internalType": "struct CoverData",
609
+ "name": "",
610
+ "type": "tuple"
611
+ }
612
+ ],
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "coverDataCount",
619
+ "outputs": [
620
+ {
621
+ "internalType": "uint256",
622
+ "name": "",
623
+ "type": "uint256"
624
+ }
625
+ ],
626
+ "stateMutability": "view",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [],
631
+ "name": "coverNFT",
632
+ "outputs": [
633
+ {
634
+ "internalType": "contract ICoverNFT",
635
+ "name": "",
636
+ "type": "address"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [
644
+ {
645
+ "internalType": "uint256",
646
+ "name": "",
647
+ "type": "uint256"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "internalType": "uint256",
656
+ "name": "",
657
+ "type": "uint256"
658
+ }
659
+ ],
660
+ "name": "coverSegmentAllocations",
661
+ "outputs": [
662
+ {
663
+ "internalType": "uint40",
664
+ "name": "poolId",
665
+ "type": "uint40"
666
+ },
667
+ {
668
+ "internalType": "uint96",
669
+ "name": "coverAmountInNXM",
670
+ "type": "uint96"
671
+ },
672
+ {
673
+ "internalType": "uint96",
674
+ "name": "premiumInNXM",
675
+ "type": "uint96"
676
+ },
677
+ {
678
+ "internalType": "uint24",
679
+ "name": "allocationId",
680
+ "type": "uint24"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "coverId",
691
+ "type": "uint256"
692
+ },
693
+ {
694
+ "internalType": "uint256",
695
+ "name": "segmentId",
696
+ "type": "uint256"
697
+ }
698
+ ],
699
+ "name": "coverSegmentWithRemainingAmount",
700
+ "outputs": [
701
+ {
702
+ "components": [
703
+ {
704
+ "internalType": "uint96",
705
+ "name": "amount",
706
+ "type": "uint96"
707
+ },
708
+ {
709
+ "internalType": "uint32",
710
+ "name": "start",
711
+ "type": "uint32"
712
+ },
713
+ {
714
+ "internalType": "uint32",
715
+ "name": "period",
716
+ "type": "uint32"
717
+ },
718
+ {
719
+ "internalType": "uint32",
720
+ "name": "gracePeriod",
721
+ "type": "uint32"
722
+ },
723
+ {
724
+ "internalType": "uint24",
725
+ "name": "globalRewardsRatio",
726
+ "type": "uint24"
727
+ },
728
+ {
729
+ "internalType": "uint24",
730
+ "name": "globalCapacityRatio",
731
+ "type": "uint24"
732
+ }
733
+ ],
734
+ "internalType": "struct CoverSegment",
735
+ "name": "",
736
+ "type": "tuple"
737
+ }
738
+ ],
739
+ "stateMutability": "view",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "coverId",
747
+ "type": "uint256"
748
+ }
749
+ ],
750
+ "name": "coverSegments",
751
+ "outputs": [
752
+ {
753
+ "components": [
754
+ {
755
+ "internalType": "uint96",
756
+ "name": "amount",
757
+ "type": "uint96"
758
+ },
759
+ {
760
+ "internalType": "uint32",
761
+ "name": "start",
762
+ "type": "uint32"
763
+ },
764
+ {
765
+ "internalType": "uint32",
766
+ "name": "period",
767
+ "type": "uint32"
768
+ },
769
+ {
770
+ "internalType": "uint32",
771
+ "name": "gracePeriod",
772
+ "type": "uint32"
773
+ },
774
+ {
775
+ "internalType": "uint24",
776
+ "name": "globalRewardsRatio",
777
+ "type": "uint24"
778
+ },
779
+ {
780
+ "internalType": "uint24",
781
+ "name": "globalCapacityRatio",
782
+ "type": "uint24"
783
+ }
784
+ ],
785
+ "internalType": "struct CoverSegment[]",
786
+ "name": "",
787
+ "type": "tuple[]"
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [
795
+ {
796
+ "internalType": "uint256",
797
+ "name": "coverId",
798
+ "type": "uint256"
799
+ }
800
+ ],
801
+ "name": "coverSegmentsCount",
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": "bool",
816
+ "name": "isPrivatePool",
817
+ "type": "bool"
818
+ },
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "initialPoolFee",
822
+ "type": "uint256"
823
+ },
824
+ {
825
+ "internalType": "uint256",
826
+ "name": "maxPoolFee",
827
+ "type": "uint256"
828
+ },
829
+ {
830
+ "components": [
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "productId",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint8",
838
+ "name": "weight",
839
+ "type": "uint8"
840
+ },
841
+ {
842
+ "internalType": "uint96",
843
+ "name": "initialPrice",
844
+ "type": "uint96"
845
+ },
846
+ {
847
+ "internalType": "uint96",
848
+ "name": "targetPrice",
849
+ "type": "uint96"
850
+ }
851
+ ],
852
+ "internalType": "struct ProductInitializationParams[]",
853
+ "name": "productInitParams",
854
+ "type": "tuple[]"
855
+ },
856
+ {
857
+ "internalType": "string",
858
+ "name": "ipfsDescriptionHash",
859
+ "type": "string"
860
+ }
861
+ ],
862
+ "name": "createStakingPool",
863
+ "outputs": [
864
+ {
865
+ "internalType": "uint256",
866
+ "name": "",
867
+ "type": "uint256"
868
+ },
869
+ {
870
+ "internalType": "address",
871
+ "name": "",
872
+ "type": "address"
873
+ }
874
+ ],
875
+ "stateMutability": "nonpayable",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "coverId",
883
+ "type": "uint256"
884
+ }
885
+ ],
886
+ "name": "expireCover",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "uint256[]",
895
+ "name": "productIds",
896
+ "type": "uint256[]"
897
+ }
898
+ ],
899
+ "name": "getPriceAndCapacityRatios",
900
+ "outputs": [
901
+ {
902
+ "internalType": "uint256",
903
+ "name": "_globalCapacityRatio",
904
+ "type": "uint256"
905
+ },
906
+ {
907
+ "internalType": "uint256",
908
+ "name": "_globalMinPriceRatio",
909
+ "type": "uint256"
910
+ },
911
+ {
912
+ "internalType": "uint256[]",
913
+ "name": "_initialPrices",
914
+ "type": "uint256[]"
915
+ },
916
+ {
917
+ "internalType": "uint256[]",
918
+ "name": "_capacityReductionRatios",
919
+ "type": "uint256[]"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getProducts",
928
+ "outputs": [
929
+ {
930
+ "components": [
931
+ {
932
+ "internalType": "uint16",
933
+ "name": "productType",
934
+ "type": "uint16"
935
+ },
936
+ {
937
+ "internalType": "address",
938
+ "name": "yieldTokenAddress",
939
+ "type": "address"
940
+ },
941
+ {
942
+ "internalType": "uint32",
943
+ "name": "coverAssets",
944
+ "type": "uint32"
945
+ },
946
+ {
947
+ "internalType": "uint16",
948
+ "name": "initialPriceRatio",
949
+ "type": "uint16"
950
+ },
951
+ {
952
+ "internalType": "uint16",
953
+ "name": "capacityReductionRatio",
954
+ "type": "uint16"
955
+ },
956
+ {
957
+ "internalType": "bool",
958
+ "name": "isDeprecated",
959
+ "type": "bool"
960
+ },
961
+ {
962
+ "internalType": "bool",
963
+ "name": "useFixedPrice",
964
+ "type": "bool"
965
+ }
966
+ ],
967
+ "internalType": "struct Product[]",
968
+ "name": "",
969
+ "type": "tuple[]"
970
+ }
971
+ ],
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [],
977
+ "name": "globalCapacityRatio",
978
+ "outputs": [
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "",
982
+ "type": "uint256"
983
+ }
984
+ ],
985
+ "stateMutability": "pure",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [],
990
+ "name": "globalRewardsRatio",
991
+ "outputs": [
992
+ {
993
+ "internalType": "uint256",
994
+ "name": "",
995
+ "type": "uint256"
996
+ }
997
+ ],
998
+ "stateMutability": "pure",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "",
1006
+ "type": "uint256"
1007
+ }
1008
+ ],
1009
+ "name": "internalContracts",
1010
+ "outputs": [
1011
+ {
1012
+ "internalType": "address payable",
1013
+ "name": "",
1014
+ "type": "address"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "productId",
1025
+ "type": "uint256"
1026
+ },
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "poolId",
1030
+ "type": "uint256"
1031
+ }
1032
+ ],
1033
+ "name": "isPoolAllowed",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "bool",
1037
+ "name": "",
1038
+ "type": "bool"
1039
+ }
1040
+ ],
1041
+ "stateMutability": "view",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [],
1046
+ "name": "master",
1047
+ "outputs": [
1048
+ {
1049
+ "internalType": "contract INXMMaster",
1050
+ "name": "",
1051
+ "type": "address"
1052
+ }
1053
+ ],
1054
+ "stateMutability": "view",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [
1059
+ {
1060
+ "internalType": "bytes[]",
1061
+ "name": "data",
1062
+ "type": "bytes[]"
1063
+ }
1064
+ ],
1065
+ "name": "multicall",
1066
+ "outputs": [
1067
+ {
1068
+ "internalType": "bytes[]",
1069
+ "name": "results",
1070
+ "type": "bytes[]"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "name": "productNames",
1085
+ "outputs": [
1086
+ {
1087
+ "internalType": "string",
1088
+ "name": "",
1089
+ "type": "string"
1090
+ }
1091
+ ],
1092
+ "stateMutability": "view",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "",
1100
+ "type": "uint256"
1101
+ }
1102
+ ],
1103
+ "name": "productTypeNames",
1104
+ "outputs": [
1105
+ {
1106
+ "internalType": "string",
1107
+ "name": "",
1108
+ "type": "string"
1109
+ }
1110
+ ],
1111
+ "stateMutability": "view",
1112
+ "type": "function"
1113
+ },
1114
+ {
1115
+ "inputs": [
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "id",
1119
+ "type": "uint256"
1120
+ }
1121
+ ],
1122
+ "name": "productTypes",
1123
+ "outputs": [
1124
+ {
1125
+ "components": [
1126
+ {
1127
+ "internalType": "uint8",
1128
+ "name": "claimMethod",
1129
+ "type": "uint8"
1130
+ },
1131
+ {
1132
+ "internalType": "uint32",
1133
+ "name": "gracePeriod",
1134
+ "type": "uint32"
1135
+ }
1136
+ ],
1137
+ "internalType": "struct ProductType",
1138
+ "name": "",
1139
+ "type": "tuple"
1140
+ }
1141
+ ],
1142
+ "stateMutability": "view",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [],
1147
+ "name": "productTypesCount",
1148
+ "outputs": [
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "",
1152
+ "type": "uint256"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "view",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "uint256",
1162
+ "name": "id",
1163
+ "type": "uint256"
1164
+ }
1165
+ ],
1166
+ "name": "products",
1167
+ "outputs": [
1168
+ {
1169
+ "components": [
1170
+ {
1171
+ "internalType": "uint16",
1172
+ "name": "productType",
1173
+ "type": "uint16"
1174
+ },
1175
+ {
1176
+ "internalType": "address",
1177
+ "name": "yieldTokenAddress",
1178
+ "type": "address"
1179
+ },
1180
+ {
1181
+ "internalType": "uint32",
1182
+ "name": "coverAssets",
1183
+ "type": "uint32"
1184
+ },
1185
+ {
1186
+ "internalType": "uint16",
1187
+ "name": "initialPriceRatio",
1188
+ "type": "uint16"
1189
+ },
1190
+ {
1191
+ "internalType": "uint16",
1192
+ "name": "capacityReductionRatio",
1193
+ "type": "uint16"
1194
+ },
1195
+ {
1196
+ "internalType": "bool",
1197
+ "name": "isDeprecated",
1198
+ "type": "bool"
1199
+ },
1200
+ {
1201
+ "internalType": "bool",
1202
+ "name": "useFixedPrice",
1203
+ "type": "bool"
1204
+ }
1205
+ ],
1206
+ "internalType": "struct Product",
1207
+ "name": "",
1208
+ "type": "tuple"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "view",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [],
1216
+ "name": "productsCount",
1217
+ "outputs": [
1218
+ {
1219
+ "internalType": "uint256",
1220
+ "name": "",
1221
+ "type": "uint256"
1222
+ }
1223
+ ],
1224
+ "stateMutability": "view",
1225
+ "type": "function"
1226
+ },
1227
+ {
1228
+ "inputs": [
1229
+ {
1230
+ "internalType": "uint256[]",
1231
+ "name": "productIds",
1232
+ "type": "uint256[]"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "poolId",
1237
+ "type": "uint256"
1238
+ }
1239
+ ],
1240
+ "name": "requirePoolIsAllowed",
1241
+ "outputs": [],
1242
+ "stateMutability": "view",
1243
+ "type": "function"
1244
+ },
1245
+ {
1246
+ "inputs": [
1247
+ {
1248
+ "components": [
1249
+ {
1250
+ "internalType": "string",
1251
+ "name": "productTypeName",
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "internalType": "uint256",
1256
+ "name": "productTypeId",
1257
+ "type": "uint256"
1258
+ },
1259
+ {
1260
+ "internalType": "string",
1261
+ "name": "ipfsMetadata",
1262
+ "type": "string"
1263
+ },
1264
+ {
1265
+ "components": [
1266
+ {
1267
+ "internalType": "uint8",
1268
+ "name": "claimMethod",
1269
+ "type": "uint8"
1270
+ },
1271
+ {
1272
+ "internalType": "uint32",
1273
+ "name": "gracePeriod",
1274
+ "type": "uint32"
1275
+ }
1276
+ ],
1277
+ "internalType": "struct ProductType",
1278
+ "name": "productType",
1279
+ "type": "tuple"
1280
+ }
1281
+ ],
1282
+ "internalType": "struct ProductTypeParam[]",
1283
+ "name": "productTypeParams",
1284
+ "type": "tuple[]"
1285
+ }
1286
+ ],
1287
+ "name": "setProductTypes",
1288
+ "outputs": [],
1289
+ "stateMutability": "nonpayable",
1290
+ "type": "function"
1291
+ },
1292
+ {
1293
+ "inputs": [
1294
+ {
1295
+ "components": [
1296
+ {
1297
+ "internalType": "string",
1298
+ "name": "productName",
1299
+ "type": "string"
1300
+ },
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "productId",
1304
+ "type": "uint256"
1305
+ },
1306
+ {
1307
+ "internalType": "string",
1308
+ "name": "ipfsMetadata",
1309
+ "type": "string"
1310
+ },
1311
+ {
1312
+ "components": [
1313
+ {
1314
+ "internalType": "uint16",
1315
+ "name": "productType",
1316
+ "type": "uint16"
1317
+ },
1318
+ {
1319
+ "internalType": "address",
1320
+ "name": "yieldTokenAddress",
1321
+ "type": "address"
1322
+ },
1323
+ {
1324
+ "internalType": "uint32",
1325
+ "name": "coverAssets",
1326
+ "type": "uint32"
1327
+ },
1328
+ {
1329
+ "internalType": "uint16",
1330
+ "name": "initialPriceRatio",
1331
+ "type": "uint16"
1332
+ },
1333
+ {
1334
+ "internalType": "uint16",
1335
+ "name": "capacityReductionRatio",
1336
+ "type": "uint16"
1337
+ },
1338
+ {
1339
+ "internalType": "bool",
1340
+ "name": "isDeprecated",
1341
+ "type": "bool"
1342
+ },
1343
+ {
1344
+ "internalType": "bool",
1345
+ "name": "useFixedPrice",
1346
+ "type": "bool"
1347
+ }
1348
+ ],
1349
+ "internalType": "struct Product",
1350
+ "name": "product",
1351
+ "type": "tuple"
1352
+ },
1353
+ {
1354
+ "internalType": "uint256[]",
1355
+ "name": "allowedPools",
1356
+ "type": "uint256[]"
1357
+ }
1358
+ ],
1359
+ "internalType": "struct ProductParam[]",
1360
+ "name": "productParams",
1361
+ "type": "tuple[]"
1362
+ }
1363
+ ],
1364
+ "name": "setProducts",
1365
+ "outputs": [],
1366
+ "stateMutability": "nonpayable",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [],
1371
+ "name": "stakingNFT",
1372
+ "outputs": [
1373
+ {
1374
+ "internalType": "contract IStakingNFT",
1375
+ "name": "",
1376
+ "type": "address"
1377
+ }
1378
+ ],
1379
+ "stateMutability": "view",
1380
+ "type": "function"
1381
+ },
1382
+ {
1383
+ "inputs": [
1384
+ {
1385
+ "internalType": "uint256",
1386
+ "name": "poolId",
1387
+ "type": "uint256"
1388
+ }
1389
+ ],
1390
+ "name": "stakingPool",
1391
+ "outputs": [
1392
+ {
1393
+ "internalType": "contract IStakingPool",
1394
+ "name": "",
1395
+ "type": "address"
1396
+ }
1397
+ ],
1398
+ "stateMutability": "view",
1399
+ "type": "function"
1400
+ },
1401
+ {
1402
+ "inputs": [],
1403
+ "name": "stakingPoolFactory",
1404
+ "outputs": [
1405
+ {
1406
+ "internalType": "contract IStakingPoolFactory",
1407
+ "name": "",
1408
+ "type": "address"
1409
+ }
1410
+ ],
1411
+ "stateMutability": "view",
1412
+ "type": "function"
1413
+ },
1414
+ {
1415
+ "inputs": [],
1416
+ "name": "stakingPoolImplementation",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "address",
1420
+ "name": "",
1421
+ "type": "address"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "uint256",
1431
+ "name": "assetId",
1432
+ "type": "uint256"
1433
+ }
1434
+ ],
1435
+ "name": "totalActiveCoverInAsset",
1436
+ "outputs": [
1437
+ {
1438
+ "internalType": "uint256",
1439
+ "name": "",
1440
+ "type": "uint256"
1441
+ }
1442
+ ],
1443
+ "stateMutability": "view",
1444
+ "type": "function"
1445
+ }
1446
+ ]