@hinkal/common 0.0.113 → 0.0.115

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 (270) hide show
  1. package/assets/{snarkjsWorkerLauncher-fuD5h_j0.js → snarkjsWorkerLauncher-CaBCnle3.js} +283 -257
  2. package/assets/snarkjsWorkerLogic-BAbiO5gj.js +17935 -0
  3. package/assets/snarkjsWorkerLogic-wHJfYCfg.js +15636 -0
  4. package/assets/{utxoWorkerLogic-CtFLQiAX.js → utxoWorkerLogic-BGFm-Zl2.js} +2 -2
  5. package/assets/{zkProofWorkerLauncher-J3Ts5_Ba.js → zkProofWorkerLauncher-BteYxRBn.js} +1 -1
  6. package/assets/{zkProofWorkerLogic-CPNuu61R.js → zkProofWorkerLogic-DiLbAhAo.js} +8354 -8298
  7. package/common.mjs +644 -0
  8. package/common10.mjs +30 -0
  9. package/common100.mjs +156 -0
  10. package/common101.mjs +568 -0
  11. package/common102.mjs +1603 -0
  12. package/common103.mjs +1764 -0
  13. package/common104.mjs +2030 -0
  14. package/common105.mjs +701 -0
  15. package/common106.mjs +480 -0
  16. package/common107.mjs +2082 -0
  17. package/common108.mjs +39 -0
  18. package/common109.mjs +24 -0
  19. package/common11.mjs +30 -0
  20. package/common110.mjs +41 -0
  21. package/common111.mjs +206 -0
  22. package/common112.mjs +48 -0
  23. package/common113.mjs +39 -0
  24. package/common114.mjs +70 -0
  25. package/common115.mjs +67 -0
  26. package/common116.mjs +5 -0
  27. package/common117.mjs +61 -0
  28. package/common118.mjs +20 -0
  29. package/common119.mjs +7 -0
  30. package/common12.mjs +58 -0
  31. package/common120.mjs +22 -0
  32. package/common121.mjs +16 -0
  33. package/common122.mjs +57 -0
  34. package/common123.mjs +45 -0
  35. package/common124.mjs +57 -0
  36. package/common125.mjs +229 -0
  37. package/common126.mjs +203 -0
  38. package/common127.mjs +29 -0
  39. package/common128.mjs +38 -0
  40. package/common129.mjs +15 -0
  41. package/common13.mjs +156 -0
  42. package/common130.mjs +105 -0
  43. package/common131.mjs +4 -0
  44. package/common132.mjs +14 -0
  45. package/common133.mjs +7 -0
  46. package/common134.mjs +6 -0
  47. package/common135.mjs +8 -0
  48. package/common136.mjs +40 -0
  49. package/common137.mjs +41 -0
  50. package/common138.mjs +72 -0
  51. package/common139.mjs +107 -0
  52. package/common14.mjs +32 -0
  53. package/common140.mjs +9 -0
  54. package/common141.mjs +10 -0
  55. package/common142.mjs +97 -0
  56. package/common143.mjs +65 -0
  57. package/common144.mjs +61 -0
  58. package/common145.mjs +95 -0
  59. package/common146.mjs +129 -0
  60. package/common147.mjs +105 -0
  61. package/common148.mjs +96 -0
  62. package/common149.mjs +18 -0
  63. package/common15.mjs +16 -0
  64. package/common150.mjs +45 -0
  65. package/common151.mjs +41 -0
  66. package/common152.mjs +108 -0
  67. package/common153.mjs +40 -0
  68. package/common154.mjs +19 -0
  69. package/common155.mjs +24 -0
  70. package/common156.mjs +21 -0
  71. package/common157.mjs +22 -0
  72. package/common158.mjs +4 -0
  73. package/common159.mjs +4 -0
  74. package/common16.mjs +6 -0
  75. package/common160.mjs +15 -0
  76. package/common161.mjs +13 -0
  77. package/common162.mjs +4 -0
  78. package/common163.mjs +15 -0
  79. package/common164.mjs +36 -0
  80. package/common165.mjs +58 -0
  81. package/common166.mjs +27 -0
  82. package/common167.mjs +15 -0
  83. package/common168.mjs +25 -0
  84. package/common169.mjs +4 -0
  85. package/common17.mjs +6877 -0
  86. package/common170.mjs +85 -0
  87. package/common171.mjs +2251 -0
  88. package/common172.mjs +856 -0
  89. package/common173.mjs +973 -0
  90. package/common174.mjs +1255 -0
  91. package/common175.mjs +591 -0
  92. package/common176.mjs +1392 -0
  93. package/common177.mjs +463 -0
  94. package/common178.mjs +137 -0
  95. package/common179.mjs +2700 -0
  96. package/common18.mjs +7415 -0
  97. package/common180.mjs +946 -0
  98. package/common181.mjs +973 -0
  99. package/common182.mjs +1327 -0
  100. package/common183.mjs +591 -0
  101. package/common184.mjs +1455 -0
  102. package/common185.mjs +490 -0
  103. package/common186.mjs +137 -0
  104. package/common187.mjs +2768 -0
  105. package/common188.mjs +8 -0
  106. package/common189.mjs +14 -0
  107. package/common19.mjs +11427 -0
  108. package/common190.mjs +115623 -0
  109. package/common191.mjs +42 -0
  110. package/common192.mjs +1022 -0
  111. package/common193.mjs +1423 -0
  112. package/common194.mjs +208 -0
  113. package/common195.mjs +340 -0
  114. package/common196.mjs +674 -0
  115. package/common197.mjs +1002 -0
  116. package/common198.mjs +883 -0
  117. package/common199.mjs +262 -0
  118. package/common2.mjs +67 -0
  119. package/common20.mjs +7417 -0
  120. package/common200.mjs +264 -0
  121. package/common201.mjs +173 -0
  122. package/common202.mjs +999 -0
  123. package/common203.mjs +80 -0
  124. package/common204.mjs +56 -0
  125. package/common205.mjs +42 -0
  126. package/common206.mjs +14 -0
  127. package/common207.mjs +4 -0
  128. package/common208.mjs +62 -0
  129. package/common209.mjs +4 -0
  130. package/common21.mjs +7439 -0
  131. package/common210.mjs +4 -0
  132. package/common211.mjs +58 -0
  133. package/common212.mjs +40 -0
  134. package/common213.mjs +45 -0
  135. package/common214.mjs +36 -0
  136. package/common215.mjs +32 -0
  137. package/common216.mjs +44 -0
  138. package/common217.mjs +32 -0
  139. package/common218.mjs +38 -0
  140. package/common219.mjs +9 -0
  141. package/common22.mjs +7411 -0
  142. package/common220.mjs +32 -0
  143. package/common221.mjs +47 -0
  144. package/common222.mjs +14 -0
  145. package/common223.mjs +30 -0
  146. package/common224.mjs +91 -0
  147. package/common225.mjs +112 -0
  148. package/common226.mjs +96 -0
  149. package/common227.mjs +30 -0
  150. package/common228.mjs +138 -0
  151. package/common229.mjs +18 -0
  152. package/common23.mjs +8425 -0
  153. package/common230.mjs +42 -0
  154. package/common231.mjs +60 -0
  155. package/common232.mjs +48 -0
  156. package/common233.mjs +47 -0
  157. package/common234.mjs +44 -0
  158. package/common235.mjs +74 -0
  159. package/common236.mjs +4 -0
  160. package/common237.mjs +60 -0
  161. package/common238.mjs +4 -0
  162. package/common239.mjs +30 -0
  163. package/common24.mjs +9600 -0
  164. package/common240.mjs +4 -0
  165. package/common241.mjs +153 -0
  166. package/common242.mjs +31 -0
  167. package/common243.mjs +30 -0
  168. package/common244.mjs +68 -0
  169. package/common245.mjs +57 -0
  170. package/common246.mjs +97 -0
  171. package/common247.mjs +36 -0
  172. package/common248.mjs +43 -0
  173. package/common249.mjs +44 -0
  174. package/common25.mjs +13283 -0
  175. package/common250.mjs +59 -0
  176. package/common251.mjs +75 -0
  177. package/{snarkjsWorkerLogic-CVna_BW9.mjs → common252.mjs} +1 -1
  178. package/common253.mjs +66 -0
  179. package/common254.mjs +70 -0
  180. package/common255.mjs +211 -0
  181. package/common256.mjs +8 -0
  182. package/{workerProxy-BDj498Ht.mjs → common257.mjs} +1 -1
  183. package/common26.mjs +4329 -0
  184. package/common27.mjs +4329 -0
  185. package/common28.mjs +204 -0
  186. package/common29.mjs +57 -0
  187. package/common3.mjs +27 -0
  188. package/common30.mjs +276 -0
  189. package/common31.mjs +118 -0
  190. package/common32.mjs +157 -0
  191. package/common33.mjs +29 -0
  192. package/common34.mjs +26 -0
  193. package/common35.mjs +53 -0
  194. package/common36.mjs +55 -0
  195. package/common37.mjs +18 -0
  196. package/common38.mjs +636 -0
  197. package/common39.mjs +24 -0
  198. package/common4.mjs +37 -0
  199. package/common40.mjs +13 -0
  200. package/common41.mjs +27 -0
  201. package/common42.mjs +15 -0
  202. package/common43.mjs +24 -0
  203. package/common44.mjs +253 -0
  204. package/common45.mjs +26 -0
  205. package/common46.mjs +15 -0
  206. package/common47.mjs +9 -0
  207. package/common48.mjs +25 -0
  208. package/common49.mjs +40 -0
  209. package/common5.mjs +37 -0
  210. package/common50.mjs +41 -0
  211. package/common51.mjs +90 -0
  212. package/common52.mjs +10 -0
  213. package/common53.mjs +299 -0
  214. package/common54.mjs +101 -0
  215. package/common55.mjs +83 -0
  216. package/common56.mjs +112 -0
  217. package/common57.mjs +140 -0
  218. package/common58.mjs +95 -0
  219. package/common59.mjs +98 -0
  220. package/common6.mjs +32 -0
  221. package/common60.mjs +5 -0
  222. package/common61.mjs +91 -0
  223. package/common62.mjs +66 -0
  224. package/common63.mjs +49 -0
  225. package/common64.mjs +177 -0
  226. package/common65.mjs +8 -0
  227. package/common66.mjs +131 -0
  228. package/common67.mjs +132 -0
  229. package/common68.mjs +59 -0
  230. package/common69.mjs +35 -0
  231. package/common7.mjs +37 -0
  232. package/common70.mjs +118 -0
  233. package/common71.mjs +134 -0
  234. package/common72.mjs +33 -0
  235. package/common73.mjs +29 -0
  236. package/common74.mjs +218 -0
  237. package/common75.mjs +194 -0
  238. package/common76.mjs +62 -0
  239. package/common77.mjs +181 -0
  240. package/common78.mjs +83 -0
  241. package/common79.mjs +9 -0
  242. package/common8.mjs +38 -0
  243. package/common80.mjs +21 -0
  244. package/common81.mjs +184 -0
  245. package/common82.mjs +53 -0
  246. package/common83.mjs +35 -0
  247. package/common84.mjs +7 -0
  248. package/common85.mjs +4 -0
  249. package/common86.mjs +350 -0
  250. package/common87.mjs +570 -0
  251. package/common88.mjs +519 -0
  252. package/common89.mjs +1422 -0
  253. package/common9.mjs +41 -0
  254. package/common90.mjs +1136 -0
  255. package/common91.mjs +334 -0
  256. package/common92.mjs +291 -0
  257. package/common93.mjs +205 -0
  258. package/common94.mjs +201 -0
  259. package/common95.mjs +89 -0
  260. package/common96.mjs +721 -0
  261. package/common97.mjs +346 -0
  262. package/common98.mjs +542 -0
  263. package/common99.mjs +393 -0
  264. package/package.json +4 -4
  265. package/assets/snarkjsWorkerLogic-B6N4z_eM.js +0 -12136
  266. package/assets/snarkjsWorkerLogic-Fv0M38Mc.js +0 -12087
  267. package/index-DXElTGy9.mjs +0 -254449
  268. package/index.js +0 -457
  269. package/utxoWorkerLogic-B1Hh-bq4.mjs +0 -64
  270. package/zkProofWorkerLogic-D9rxuuiK.mjs +0 -60
package/common193.mjs ADDED
@@ -0,0 +1,1423 @@
1
+ const e = [
2
+ {
3
+ anonymous: !1,
4
+ inputs: [
5
+ {
6
+ indexed: !1,
7
+ internalType: "uint256",
8
+ name: "callFees",
9
+ type: "uint256"
10
+ },
11
+ {
12
+ indexed: !1,
13
+ internalType: "uint256",
14
+ name: "beefyFees",
15
+ type: "uint256"
16
+ },
17
+ {
18
+ indexed: !1,
19
+ internalType: "uint256",
20
+ name: "strategistFees",
21
+ type: "uint256"
22
+ }
23
+ ],
24
+ name: "ChargedFees",
25
+ type: "event"
26
+ },
27
+ {
28
+ anonymous: !1,
29
+ inputs: [
30
+ {
31
+ indexed: !1,
32
+ internalType: "uint256",
33
+ name: "tvl",
34
+ type: "uint256"
35
+ }
36
+ ],
37
+ name: "Deposit",
38
+ type: "event"
39
+ },
40
+ {
41
+ anonymous: !1,
42
+ inputs: [
43
+ {
44
+ indexed: !1,
45
+ internalType: "uint8",
46
+ name: "version",
47
+ type: "uint8"
48
+ }
49
+ ],
50
+ name: "Initialized",
51
+ type: "event"
52
+ },
53
+ {
54
+ anonymous: !1,
55
+ inputs: [
56
+ {
57
+ indexed: !0,
58
+ internalType: "address",
59
+ name: "previousOwner",
60
+ type: "address"
61
+ },
62
+ {
63
+ indexed: !0,
64
+ internalType: "address",
65
+ name: "newOwner",
66
+ type: "address"
67
+ }
68
+ ],
69
+ name: "OwnershipTransferred",
70
+ type: "event"
71
+ },
72
+ {
73
+ anonymous: !1,
74
+ inputs: [
75
+ {
76
+ indexed: !1,
77
+ internalType: "address",
78
+ name: "account",
79
+ type: "address"
80
+ }
81
+ ],
82
+ name: "Paused",
83
+ type: "event"
84
+ },
85
+ {
86
+ anonymous: !1,
87
+ inputs: [
88
+ {
89
+ indexed: !1,
90
+ internalType: "address",
91
+ name: "beefyFeeConfig",
92
+ type: "address"
93
+ }
94
+ ],
95
+ name: "SetBeefyFeeConfig",
96
+ type: "event"
97
+ },
98
+ {
99
+ anonymous: !1,
100
+ inputs: [
101
+ {
102
+ indexed: !1,
103
+ internalType: "address",
104
+ name: "beefyFeeRecipient",
105
+ type: "address"
106
+ }
107
+ ],
108
+ name: "SetBeefyFeeRecipient",
109
+ type: "event"
110
+ },
111
+ {
112
+ anonymous: !1,
113
+ inputs: [
114
+ {
115
+ indexed: !1,
116
+ internalType: "address",
117
+ name: "keeper",
118
+ type: "address"
119
+ }
120
+ ],
121
+ name: "SetKeeper",
122
+ type: "event"
123
+ },
124
+ {
125
+ anonymous: !1,
126
+ inputs: [
127
+ {
128
+ indexed: !1,
129
+ internalType: "uint256",
130
+ name: "feeId",
131
+ type: "uint256"
132
+ }
133
+ ],
134
+ name: "SetStratFeeId",
135
+ type: "event"
136
+ },
137
+ {
138
+ anonymous: !1,
139
+ inputs: [
140
+ {
141
+ indexed: !1,
142
+ internalType: "address",
143
+ name: "strategist",
144
+ type: "address"
145
+ }
146
+ ],
147
+ name: "SetStrategist",
148
+ type: "event"
149
+ },
150
+ {
151
+ anonymous: !1,
152
+ inputs: [
153
+ {
154
+ indexed: !1,
155
+ internalType: "address",
156
+ name: "unirouter",
157
+ type: "address"
158
+ }
159
+ ],
160
+ name: "SetUnirouter",
161
+ type: "event"
162
+ },
163
+ {
164
+ anonymous: !1,
165
+ inputs: [
166
+ {
167
+ indexed: !1,
168
+ internalType: "address",
169
+ name: "vault",
170
+ type: "address"
171
+ }
172
+ ],
173
+ name: "SetVault",
174
+ type: "event"
175
+ },
176
+ {
177
+ anonymous: !1,
178
+ inputs: [
179
+ {
180
+ indexed: !1,
181
+ internalType: "uint256",
182
+ name: "withdrawalFee",
183
+ type: "uint256"
184
+ }
185
+ ],
186
+ name: "SetWithdrawalFee",
187
+ type: "event"
188
+ },
189
+ {
190
+ anonymous: !1,
191
+ inputs: [
192
+ {
193
+ indexed: !0,
194
+ internalType: "address",
195
+ name: "harvester",
196
+ type: "address"
197
+ },
198
+ {
199
+ indexed: !1,
200
+ internalType: "uint256",
201
+ name: "wantHarvested",
202
+ type: "uint256"
203
+ },
204
+ {
205
+ indexed: !1,
206
+ internalType: "uint256",
207
+ name: "tvl",
208
+ type: "uint256"
209
+ }
210
+ ],
211
+ name: "StratHarvest",
212
+ type: "event"
213
+ },
214
+ {
215
+ anonymous: !1,
216
+ inputs: [
217
+ {
218
+ indexed: !1,
219
+ internalType: "address",
220
+ name: "account",
221
+ type: "address"
222
+ }
223
+ ],
224
+ name: "Unpaused",
225
+ type: "event"
226
+ },
227
+ {
228
+ anonymous: !1,
229
+ inputs: [
230
+ {
231
+ indexed: !1,
232
+ internalType: "uint256",
233
+ name: "tvl",
234
+ type: "uint256"
235
+ }
236
+ ],
237
+ name: "Withdraw",
238
+ type: "event"
239
+ },
240
+ {
241
+ inputs: [],
242
+ name: "NO_PID",
243
+ outputs: [
244
+ {
245
+ internalType: "uint256",
246
+ name: "",
247
+ type: "uint256"
248
+ }
249
+ ],
250
+ stateMutability: "view",
251
+ type: "function"
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "WITHDRAWAL_FEE_CAP",
256
+ outputs: [
257
+ {
258
+ internalType: "uint256",
259
+ name: "",
260
+ type: "uint256"
261
+ }
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function"
265
+ },
266
+ {
267
+ inputs: [],
268
+ name: "WITHDRAWAL_MAX",
269
+ outputs: [
270
+ {
271
+ internalType: "uint256",
272
+ name: "",
273
+ type: "uint256"
274
+ }
275
+ ],
276
+ stateMutability: "view",
277
+ type: "function"
278
+ },
279
+ {
280
+ inputs: [
281
+ {
282
+ internalType: "address[9]",
283
+ name: "_rewardToNativeRoute",
284
+ type: "address[9]"
285
+ },
286
+ {
287
+ internalType: "uint256[3][4]",
288
+ name: "_swapParams",
289
+ type: "uint256[3][4]"
290
+ },
291
+ {
292
+ internalType: "uint256",
293
+ name: "_minAmount",
294
+ type: "uint256"
295
+ }
296
+ ],
297
+ name: "addReward",
298
+ outputs: [],
299
+ stateMutability: "nonpayable",
300
+ type: "function"
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "address",
306
+ name: "_router",
307
+ type: "address"
308
+ },
309
+ {
310
+ internalType: "address[]",
311
+ name: "_rewardToNativeRoute",
312
+ type: "address[]"
313
+ },
314
+ {
315
+ internalType: "uint256",
316
+ name: "_minAmount",
317
+ type: "uint256"
318
+ }
319
+ ],
320
+ name: "addRewardV2",
321
+ outputs: [],
322
+ stateMutability: "nonpayable",
323
+ type: "function"
324
+ },
325
+ {
326
+ inputs: [
327
+ {
328
+ internalType: "bytes",
329
+ name: "_rewardToNativePath",
330
+ type: "bytes"
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "_minAmount",
335
+ type: "uint256"
336
+ }
337
+ ],
338
+ name: "addRewardV3",
339
+ outputs: [],
340
+ stateMutability: "nonpayable",
341
+ type: "function"
342
+ },
343
+ {
344
+ inputs: [],
345
+ name: "balanceOf",
346
+ outputs: [
347
+ {
348
+ internalType: "uint256",
349
+ name: "",
350
+ type: "uint256"
351
+ }
352
+ ],
353
+ stateMutability: "view",
354
+ type: "function"
355
+ },
356
+ {
357
+ inputs: [],
358
+ name: "balanceOfPool",
359
+ outputs: [
360
+ {
361
+ internalType: "uint256",
362
+ name: "",
363
+ type: "uint256"
364
+ }
365
+ ],
366
+ stateMutability: "view",
367
+ type: "function"
368
+ },
369
+ {
370
+ inputs: [],
371
+ name: "balanceOfWant",
372
+ outputs: [
373
+ {
374
+ internalType: "uint256",
375
+ name: "",
376
+ type: "uint256"
377
+ }
378
+ ],
379
+ stateMutability: "view",
380
+ type: "function"
381
+ },
382
+ {
383
+ inputs: [],
384
+ name: "beefyFeeConfig",
385
+ outputs: [
386
+ {
387
+ internalType: "contract IFeeConfig",
388
+ name: "",
389
+ type: "address"
390
+ }
391
+ ],
392
+ stateMutability: "view",
393
+ type: "function"
394
+ },
395
+ {
396
+ inputs: [],
397
+ name: "beefyFeeRecipient",
398
+ outputs: [
399
+ {
400
+ internalType: "address",
401
+ name: "",
402
+ type: "address"
403
+ }
404
+ ],
405
+ stateMutability: "view",
406
+ type: "function"
407
+ },
408
+ {
409
+ inputs: [],
410
+ name: "beforeDeposit",
411
+ outputs: [],
412
+ stateMutability: "nonpayable",
413
+ type: "function"
414
+ },
415
+ {
416
+ inputs: [],
417
+ name: "booster",
418
+ outputs: [
419
+ {
420
+ internalType: "contract IConvexBooster",
421
+ name: "",
422
+ type: "address"
423
+ }
424
+ ],
425
+ stateMutability: "view",
426
+ type: "function"
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: "callReward",
431
+ outputs: [
432
+ {
433
+ internalType: "uint256",
434
+ name: "",
435
+ type: "uint256"
436
+ }
437
+ ],
438
+ stateMutability: "pure",
439
+ type: "function"
440
+ },
441
+ {
442
+ inputs: [
443
+ {
444
+ internalType: "uint256",
445
+ name: "i",
446
+ type: "uint256"
447
+ }
448
+ ],
449
+ name: "curveReward",
450
+ outputs: [
451
+ {
452
+ internalType: "address[9]",
453
+ name: "",
454
+ type: "address[9]"
455
+ },
456
+ {
457
+ internalType: "uint256[3][4]",
458
+ name: "",
459
+ type: "uint256[3][4]"
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "",
464
+ type: "uint256"
465
+ }
466
+ ],
467
+ stateMutability: "view",
468
+ type: "function"
469
+ },
470
+ {
471
+ inputs: [
472
+ {
473
+ internalType: "uint256",
474
+ name: "",
475
+ type: "uint256"
476
+ }
477
+ ],
478
+ name: "curveRewards",
479
+ outputs: [
480
+ {
481
+ internalType: "uint256",
482
+ name: "minAmount",
483
+ type: "uint256"
484
+ }
485
+ ],
486
+ stateMutability: "view",
487
+ type: "function"
488
+ },
489
+ {
490
+ inputs: [],
491
+ name: "curveRewardsLength",
492
+ outputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "",
496
+ type: "uint256"
497
+ }
498
+ ],
499
+ stateMutability: "view",
500
+ type: "function"
501
+ },
502
+ {
503
+ inputs: [],
504
+ name: "curveRouter",
505
+ outputs: [
506
+ {
507
+ internalType: "address",
508
+ name: "",
509
+ type: "address"
510
+ }
511
+ ],
512
+ stateMutability: "view",
513
+ type: "function"
514
+ },
515
+ {
516
+ inputs: [],
517
+ name: "deposit",
518
+ outputs: [],
519
+ stateMutability: "nonpayable",
520
+ type: "function"
521
+ },
522
+ {
523
+ inputs: [],
524
+ name: "depositFee",
525
+ outputs: [
526
+ {
527
+ internalType: "uint256",
528
+ name: "",
529
+ type: "uint256"
530
+ }
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function"
534
+ },
535
+ {
536
+ inputs: [],
537
+ name: "depositToWant",
538
+ outputs: [
539
+ {
540
+ internalType: "uint256",
541
+ name: "minAmount",
542
+ type: "uint256"
543
+ }
544
+ ],
545
+ stateMutability: "view",
546
+ type: "function"
547
+ },
548
+ {
549
+ inputs: [],
550
+ name: "depositToWantRoute",
551
+ outputs: [
552
+ {
553
+ internalType: "address[9]",
554
+ name: "",
555
+ type: "address[9]"
556
+ },
557
+ {
558
+ internalType: "uint256[3][4]",
559
+ name: "",
560
+ type: "uint256[3][4]"
561
+ },
562
+ {
563
+ internalType: "uint256",
564
+ name: "",
565
+ type: "uint256"
566
+ }
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function"
570
+ },
571
+ {
572
+ inputs: [],
573
+ name: "gauge",
574
+ outputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "",
578
+ type: "address"
579
+ }
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function"
583
+ },
584
+ {
585
+ inputs: [],
586
+ name: "getAllFees",
587
+ outputs: [
588
+ {
589
+ components: [
590
+ {
591
+ components: [
592
+ {
593
+ internalType: "uint256",
594
+ name: "total",
595
+ type: "uint256"
596
+ },
597
+ {
598
+ internalType: "uint256",
599
+ name: "beefy",
600
+ type: "uint256"
601
+ },
602
+ {
603
+ internalType: "uint256",
604
+ name: "call",
605
+ type: "uint256"
606
+ },
607
+ {
608
+ internalType: "uint256",
609
+ name: "strategist",
610
+ type: "uint256"
611
+ },
612
+ {
613
+ internalType: "string",
614
+ name: "label",
615
+ type: "string"
616
+ },
617
+ {
618
+ internalType: "bool",
619
+ name: "active",
620
+ type: "bool"
621
+ }
622
+ ],
623
+ internalType: "struct IFeeConfig.FeeCategory",
624
+ name: "performance",
625
+ type: "tuple"
626
+ },
627
+ {
628
+ internalType: "uint256",
629
+ name: "deposit",
630
+ type: "uint256"
631
+ },
632
+ {
633
+ internalType: "uint256",
634
+ name: "withdraw",
635
+ type: "uint256"
636
+ }
637
+ ],
638
+ internalType: "struct IFeeConfig.AllFees",
639
+ name: "",
640
+ type: "tuple"
641
+ }
642
+ ],
643
+ stateMutability: "view",
644
+ type: "function"
645
+ },
646
+ {
647
+ inputs: [],
648
+ name: "getStratFeeId",
649
+ outputs: [
650
+ {
651
+ internalType: "uint256",
652
+ name: "",
653
+ type: "uint256"
654
+ }
655
+ ],
656
+ stateMutability: "view",
657
+ type: "function"
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "address",
663
+ name: "callFeeRecipient",
664
+ type: "address"
665
+ }
666
+ ],
667
+ name: "harvest",
668
+ outputs: [],
669
+ stateMutability: "nonpayable",
670
+ type: "function"
671
+ },
672
+ {
673
+ inputs: [],
674
+ name: "harvest",
675
+ outputs: [],
676
+ stateMutability: "nonpayable",
677
+ type: "function"
678
+ },
679
+ {
680
+ inputs: [],
681
+ name: "harvestOnDeposit",
682
+ outputs: [
683
+ {
684
+ internalType: "bool",
685
+ name: "",
686
+ type: "bool"
687
+ }
688
+ ],
689
+ stateMutability: "view",
690
+ type: "function"
691
+ },
692
+ {
693
+ inputs: [
694
+ {
695
+ internalType: "address",
696
+ name: "_want",
697
+ type: "address"
698
+ },
699
+ {
700
+ internalType: "address",
701
+ name: "_gauge",
702
+ type: "address"
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "_pid",
707
+ type: "uint256"
708
+ },
709
+ {
710
+ internalType: "bytes",
711
+ name: "_crvToNativePath",
712
+ type: "bytes"
713
+ },
714
+ {
715
+ internalType: "bytes",
716
+ name: "_cvxToNativePath",
717
+ type: "bytes"
718
+ },
719
+ {
720
+ internalType: "bytes",
721
+ name: "_nativeToDepositPath",
722
+ type: "bytes"
723
+ },
724
+ {
725
+ components: [
726
+ {
727
+ internalType: "address[9]",
728
+ name: "route",
729
+ type: "address[9]"
730
+ },
731
+ {
732
+ internalType: "uint256[3][4]",
733
+ name: "swapParams",
734
+ type: "uint256[3][4]"
735
+ },
736
+ {
737
+ internalType: "uint256",
738
+ name: "minAmount",
739
+ type: "uint256"
740
+ }
741
+ ],
742
+ internalType: "struct StrategyCurveConvex.CurveRoute",
743
+ name: "_depositToWant",
744
+ type: "tuple"
745
+ },
746
+ {
747
+ components: [
748
+ {
749
+ internalType: "address",
750
+ name: "vault",
751
+ type: "address"
752
+ },
753
+ {
754
+ internalType: "address",
755
+ name: "unirouter",
756
+ type: "address"
757
+ },
758
+ {
759
+ internalType: "address",
760
+ name: "keeper",
761
+ type: "address"
762
+ },
763
+ {
764
+ internalType: "address",
765
+ name: "strategist",
766
+ type: "address"
767
+ },
768
+ {
769
+ internalType: "address",
770
+ name: "beefyFeeRecipient",
771
+ type: "address"
772
+ },
773
+ {
774
+ internalType: "address",
775
+ name: "beefyFeeConfig",
776
+ type: "address"
777
+ }
778
+ ],
779
+ internalType: "struct StratFeeManagerInitializable.CommonAddresses",
780
+ name: "_commonAddresses",
781
+ type: "tuple"
782
+ }
783
+ ],
784
+ name: "initialize",
785
+ outputs: [],
786
+ stateMutability: "nonpayable",
787
+ type: "function"
788
+ },
789
+ {
790
+ inputs: [],
791
+ name: "isCrvMintable",
792
+ outputs: [
793
+ {
794
+ internalType: "bool",
795
+ name: "",
796
+ type: "bool"
797
+ }
798
+ ],
799
+ stateMutability: "view",
800
+ type: "function"
801
+ },
802
+ {
803
+ inputs: [],
804
+ name: "keeper",
805
+ outputs: [
806
+ {
807
+ internalType: "address",
808
+ name: "",
809
+ type: "address"
810
+ }
811
+ ],
812
+ stateMutability: "view",
813
+ type: "function"
814
+ },
815
+ {
816
+ inputs: [],
817
+ name: "lastHarvest",
818
+ outputs: [
819
+ {
820
+ internalType: "uint256",
821
+ name: "",
822
+ type: "uint256"
823
+ }
824
+ ],
825
+ stateMutability: "view",
826
+ type: "function"
827
+ },
828
+ {
829
+ inputs: [],
830
+ name: "minter",
831
+ outputs: [
832
+ {
833
+ internalType: "contract ICrvMinter",
834
+ name: "",
835
+ type: "address"
836
+ }
837
+ ],
838
+ stateMutability: "view",
839
+ type: "function"
840
+ },
841
+ {
842
+ inputs: [],
843
+ name: "native",
844
+ outputs: [
845
+ {
846
+ internalType: "address",
847
+ name: "",
848
+ type: "address"
849
+ }
850
+ ],
851
+ stateMutability: "view",
852
+ type: "function"
853
+ },
854
+ {
855
+ inputs: [],
856
+ name: "nativeToDepositPath",
857
+ outputs: [
858
+ {
859
+ internalType: "bytes",
860
+ name: "",
861
+ type: "bytes"
862
+ }
863
+ ],
864
+ stateMutability: "view",
865
+ type: "function"
866
+ },
867
+ {
868
+ inputs: [],
869
+ name: "owner",
870
+ outputs: [
871
+ {
872
+ internalType: "address",
873
+ name: "",
874
+ type: "address"
875
+ }
876
+ ],
877
+ stateMutability: "view",
878
+ type: "function"
879
+ },
880
+ {
881
+ inputs: [],
882
+ name: "panic",
883
+ outputs: [],
884
+ stateMutability: "nonpayable",
885
+ type: "function"
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "pause",
890
+ outputs: [],
891
+ stateMutability: "nonpayable",
892
+ type: "function"
893
+ },
894
+ {
895
+ inputs: [],
896
+ name: "paused",
897
+ outputs: [
898
+ {
899
+ internalType: "bool",
900
+ name: "",
901
+ type: "bool"
902
+ }
903
+ ],
904
+ stateMutability: "view",
905
+ type: "function"
906
+ },
907
+ {
908
+ inputs: [],
909
+ name: "pid",
910
+ outputs: [
911
+ {
912
+ internalType: "uint256",
913
+ name: "",
914
+ type: "uint256"
915
+ }
916
+ ],
917
+ stateMutability: "view",
918
+ type: "function"
919
+ },
920
+ {
921
+ inputs: [],
922
+ name: "renounceOwnership",
923
+ outputs: [],
924
+ stateMutability: "nonpayable",
925
+ type: "function"
926
+ },
927
+ {
928
+ inputs: [],
929
+ name: "resetCurveRewards",
930
+ outputs: [],
931
+ stateMutability: "nonpayable",
932
+ type: "function"
933
+ },
934
+ {
935
+ inputs: [],
936
+ name: "resetRewardsV2",
937
+ outputs: [],
938
+ stateMutability: "nonpayable",
939
+ type: "function"
940
+ },
941
+ {
942
+ inputs: [],
943
+ name: "resetRewardsV3",
944
+ outputs: [],
945
+ stateMutability: "nonpayable",
946
+ type: "function"
947
+ },
948
+ {
949
+ inputs: [],
950
+ name: "retireStrat",
951
+ outputs: [],
952
+ stateMutability: "nonpayable",
953
+ type: "function"
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "rewardPool",
958
+ outputs: [
959
+ {
960
+ internalType: "address",
961
+ name: "",
962
+ type: "address"
963
+ }
964
+ ],
965
+ stateMutability: "view",
966
+ type: "function"
967
+ },
968
+ {
969
+ inputs: [
970
+ {
971
+ internalType: "uint256",
972
+ name: "i",
973
+ type: "uint256"
974
+ }
975
+ ],
976
+ name: "rewardV2",
977
+ outputs: [
978
+ {
979
+ internalType: "address",
980
+ name: "",
981
+ type: "address"
982
+ },
983
+ {
984
+ internalType: "address[]",
985
+ name: "",
986
+ type: "address[]"
987
+ },
988
+ {
989
+ internalType: "uint256",
990
+ name: "",
991
+ type: "uint256"
992
+ }
993
+ ],
994
+ stateMutability: "view",
995
+ type: "function"
996
+ },
997
+ {
998
+ inputs: [
999
+ {
1000
+ internalType: "uint256",
1001
+ name: "i",
1002
+ type: "uint256"
1003
+ }
1004
+ ],
1005
+ name: "rewardV3Route",
1006
+ outputs: [
1007
+ {
1008
+ internalType: "address[]",
1009
+ name: "",
1010
+ type: "address[]"
1011
+ }
1012
+ ],
1013
+ stateMutability: "view",
1014
+ type: "function"
1015
+ },
1016
+ {
1017
+ inputs: [],
1018
+ name: "rewardsAvailable",
1019
+ outputs: [
1020
+ {
1021
+ internalType: "uint256",
1022
+ name: "",
1023
+ type: "uint256"
1024
+ }
1025
+ ],
1026
+ stateMutability: "view",
1027
+ type: "function"
1028
+ },
1029
+ {
1030
+ inputs: [
1031
+ {
1032
+ internalType: "uint256",
1033
+ name: "",
1034
+ type: "uint256"
1035
+ }
1036
+ ],
1037
+ name: "rewardsV2",
1038
+ outputs: [
1039
+ {
1040
+ internalType: "address",
1041
+ name: "token",
1042
+ type: "address"
1043
+ },
1044
+ {
1045
+ internalType: "address",
1046
+ name: "router",
1047
+ type: "address"
1048
+ },
1049
+ {
1050
+ internalType: "uint256",
1051
+ name: "minAmount",
1052
+ type: "uint256"
1053
+ }
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function"
1057
+ },
1058
+ {
1059
+ inputs: [],
1060
+ name: "rewardsV2Length",
1061
+ outputs: [
1062
+ {
1063
+ internalType: "uint256",
1064
+ name: "",
1065
+ type: "uint256"
1066
+ }
1067
+ ],
1068
+ stateMutability: "view",
1069
+ type: "function"
1070
+ },
1071
+ {
1072
+ inputs: [
1073
+ {
1074
+ internalType: "uint256",
1075
+ name: "",
1076
+ type: "uint256"
1077
+ }
1078
+ ],
1079
+ name: "rewardsV3",
1080
+ outputs: [
1081
+ {
1082
+ internalType: "address",
1083
+ name: "token",
1084
+ type: "address"
1085
+ },
1086
+ {
1087
+ internalType: "bytes",
1088
+ name: "toNativePath",
1089
+ type: "bytes"
1090
+ },
1091
+ {
1092
+ internalType: "uint256",
1093
+ name: "minAmount",
1094
+ type: "uint256"
1095
+ }
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function"
1099
+ },
1100
+ {
1101
+ inputs: [],
1102
+ name: "rewardsV3Length",
1103
+ outputs: [
1104
+ {
1105
+ internalType: "uint256",
1106
+ name: "",
1107
+ type: "uint256"
1108
+ }
1109
+ ],
1110
+ stateMutability: "view",
1111
+ type: "function"
1112
+ },
1113
+ {
1114
+ inputs: [
1115
+ {
1116
+ internalType: "address",
1117
+ name: "_beefyFeeConfig",
1118
+ type: "address"
1119
+ }
1120
+ ],
1121
+ name: "setBeefyFeeConfig",
1122
+ outputs: [],
1123
+ stateMutability: "nonpayable",
1124
+ type: "function"
1125
+ },
1126
+ {
1127
+ inputs: [
1128
+ {
1129
+ internalType: "address",
1130
+ name: "_beefyFeeRecipient",
1131
+ type: "address"
1132
+ }
1133
+ ],
1134
+ name: "setBeefyFeeRecipient",
1135
+ outputs: [],
1136
+ stateMutability: "nonpayable",
1137
+ type: "function"
1138
+ },
1139
+ {
1140
+ inputs: [
1141
+ {
1142
+ internalType: "uint256",
1143
+ name: "_pid",
1144
+ type: "uint256"
1145
+ }
1146
+ ],
1147
+ name: "setConvexPid",
1148
+ outputs: [],
1149
+ stateMutability: "nonpayable",
1150
+ type: "function"
1151
+ },
1152
+ {
1153
+ inputs: [
1154
+ {
1155
+ internalType: "bool",
1156
+ name: "_isCrvMintable",
1157
+ type: "bool"
1158
+ }
1159
+ ],
1160
+ name: "setCrvMintable",
1161
+ outputs: [],
1162
+ stateMutability: "nonpayable",
1163
+ type: "function"
1164
+ },
1165
+ {
1166
+ inputs: [
1167
+ {
1168
+ internalType: "address[9]",
1169
+ name: "_route",
1170
+ type: "address[9]"
1171
+ },
1172
+ {
1173
+ internalType: "uint256[3][4]",
1174
+ name: "_swapParams",
1175
+ type: "uint256[3][4]"
1176
+ },
1177
+ {
1178
+ internalType: "uint256",
1179
+ name: "minAmount",
1180
+ type: "uint256"
1181
+ }
1182
+ ],
1183
+ name: "setDepositToWant",
1184
+ outputs: [],
1185
+ stateMutability: "nonpayable",
1186
+ type: "function"
1187
+ },
1188
+ {
1189
+ inputs: [
1190
+ {
1191
+ internalType: "bool",
1192
+ name: "_harvestOnDeposit",
1193
+ type: "bool"
1194
+ }
1195
+ ],
1196
+ name: "setHarvestOnDeposit",
1197
+ outputs: [],
1198
+ stateMutability: "nonpayable",
1199
+ type: "function"
1200
+ },
1201
+ {
1202
+ inputs: [
1203
+ {
1204
+ internalType: "address",
1205
+ name: "_keeper",
1206
+ type: "address"
1207
+ }
1208
+ ],
1209
+ name: "setKeeper",
1210
+ outputs: [],
1211
+ stateMutability: "nonpayable",
1212
+ type: "function"
1213
+ },
1214
+ {
1215
+ inputs: [
1216
+ {
1217
+ internalType: "bytes",
1218
+ name: "_nativeToDepositPath",
1219
+ type: "bytes"
1220
+ }
1221
+ ],
1222
+ name: "setNativeToDepositPath",
1223
+ outputs: [],
1224
+ stateMutability: "nonpayable",
1225
+ type: "function"
1226
+ },
1227
+ {
1228
+ inputs: [
1229
+ {
1230
+ internalType: "bool",
1231
+ name: "_skipEarmarkRewards",
1232
+ type: "bool"
1233
+ }
1234
+ ],
1235
+ name: "setSkipEarmarkRewards",
1236
+ outputs: [],
1237
+ stateMutability: "nonpayable",
1238
+ type: "function"
1239
+ },
1240
+ {
1241
+ inputs: [
1242
+ {
1243
+ internalType: "uint256",
1244
+ name: "_feeId",
1245
+ type: "uint256"
1246
+ }
1247
+ ],
1248
+ name: "setStratFeeId",
1249
+ outputs: [],
1250
+ stateMutability: "nonpayable",
1251
+ type: "function"
1252
+ },
1253
+ {
1254
+ inputs: [
1255
+ {
1256
+ internalType: "address",
1257
+ name: "_strategist",
1258
+ type: "address"
1259
+ }
1260
+ ],
1261
+ name: "setStrategist",
1262
+ outputs: [],
1263
+ stateMutability: "nonpayable",
1264
+ type: "function"
1265
+ },
1266
+ {
1267
+ inputs: [
1268
+ {
1269
+ internalType: "address",
1270
+ name: "_unirouter",
1271
+ type: "address"
1272
+ }
1273
+ ],
1274
+ name: "setUnirouter",
1275
+ outputs: [],
1276
+ stateMutability: "nonpayable",
1277
+ type: "function"
1278
+ },
1279
+ {
1280
+ inputs: [
1281
+ {
1282
+ internalType: "address",
1283
+ name: "_vault",
1284
+ type: "address"
1285
+ }
1286
+ ],
1287
+ name: "setVault",
1288
+ outputs: [],
1289
+ stateMutability: "nonpayable",
1290
+ type: "function"
1291
+ },
1292
+ {
1293
+ inputs: [
1294
+ {
1295
+ internalType: "uint256",
1296
+ name: "_fee",
1297
+ type: "uint256"
1298
+ }
1299
+ ],
1300
+ name: "setWithdrawalFee",
1301
+ outputs: [],
1302
+ stateMutability: "nonpayable",
1303
+ type: "function"
1304
+ },
1305
+ {
1306
+ inputs: [],
1307
+ name: "skipEarmarkRewards",
1308
+ outputs: [
1309
+ {
1310
+ internalType: "bool",
1311
+ name: "",
1312
+ type: "bool"
1313
+ }
1314
+ ],
1315
+ stateMutability: "view",
1316
+ type: "function"
1317
+ },
1318
+ {
1319
+ inputs: [],
1320
+ name: "strategist",
1321
+ outputs: [
1322
+ {
1323
+ internalType: "address",
1324
+ name: "",
1325
+ type: "address"
1326
+ }
1327
+ ],
1328
+ stateMutability: "view",
1329
+ type: "function"
1330
+ },
1331
+ {
1332
+ inputs: [
1333
+ {
1334
+ internalType: "address",
1335
+ name: "newOwner",
1336
+ type: "address"
1337
+ }
1338
+ ],
1339
+ name: "transferOwnership",
1340
+ outputs: [],
1341
+ stateMutability: "nonpayable",
1342
+ type: "function"
1343
+ },
1344
+ {
1345
+ inputs: [],
1346
+ name: "unirouter",
1347
+ outputs: [
1348
+ {
1349
+ internalType: "address",
1350
+ name: "",
1351
+ type: "address"
1352
+ }
1353
+ ],
1354
+ stateMutability: "view",
1355
+ type: "function"
1356
+ },
1357
+ {
1358
+ inputs: [],
1359
+ name: "unpause",
1360
+ outputs: [],
1361
+ stateMutability: "nonpayable",
1362
+ type: "function"
1363
+ },
1364
+ {
1365
+ inputs: [],
1366
+ name: "vault",
1367
+ outputs: [
1368
+ {
1369
+ internalType: "address",
1370
+ name: "",
1371
+ type: "address"
1372
+ }
1373
+ ],
1374
+ stateMutability: "view",
1375
+ type: "function"
1376
+ },
1377
+ {
1378
+ inputs: [],
1379
+ name: "want",
1380
+ outputs: [
1381
+ {
1382
+ internalType: "address",
1383
+ name: "",
1384
+ type: "address"
1385
+ }
1386
+ ],
1387
+ stateMutability: "view",
1388
+ type: "function"
1389
+ },
1390
+ {
1391
+ inputs: [
1392
+ {
1393
+ internalType: "uint256",
1394
+ name: "_amount",
1395
+ type: "uint256"
1396
+ }
1397
+ ],
1398
+ name: "withdraw",
1399
+ outputs: [],
1400
+ stateMutability: "nonpayable",
1401
+ type: "function"
1402
+ },
1403
+ {
1404
+ inputs: [],
1405
+ name: "withdrawFee",
1406
+ outputs: [
1407
+ {
1408
+ internalType: "uint256",
1409
+ name: "",
1410
+ type: "uint256"
1411
+ }
1412
+ ],
1413
+ stateMutability: "view",
1414
+ type: "function"
1415
+ },
1416
+ {
1417
+ stateMutability: "payable",
1418
+ type: "receive"
1419
+ }
1420
+ ];
1421
+ export {
1422
+ e as abi
1423
+ };