@ape.swap/bonds-sdk 1.0.470 → 1.0.474

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 (134) hide show
  1. package/dist/components/Modals/BondModal/BondModal.d.ts +6 -2
  2. package/dist/components/Modals/BondModal/BondModal.js +6 -7
  3. package/dist/components/YourBondsModal/YourBondsModal.d.ts +6 -2
  4. package/dist/components/YourBondsModal/YourBondsModal.js +8 -9
  5. package/dist/config/abi/bondNft.json +424 -0
  6. package/dist/config/abi/ens-public-resolver.json +816 -0
  7. package/dist/config/abi/ens-registrar.json +422 -0
  8. package/dist/config/abi/erc20_bytes32.json +30 -0
  9. package/dist/config/abi/jungleChef.json +291 -0
  10. package/dist/config/abi/launchBonds.json +2014 -0
  11. package/dist/config/abi/lockVeAbond.json +2198 -0
  12. package/dist/config/abi/migrationBond.json +1639 -0
  13. package/dist/config/abi/migrationFveAbond.json +160 -0
  14. package/dist/config/abi/multicallv3.json +92 -0
  15. package/dist/config/abi/sousChef.json +649 -0
  16. package/dist/config/abi/types/Banana.d.ts +417 -0
  17. package/dist/config/abi/types/Banana.js +1 -0
  18. package/dist/config/abi/types/Bond.d.ts +803 -0
  19. package/dist/config/abi/types/Bond.js +1 -0
  20. package/dist/config/abi/types/BondNft.d.ts +603 -0
  21. package/dist/config/abi/types/BondNft.js +1 -0
  22. package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
  23. package/dist/config/abi/types/EnsPublicResolver.js +1 -0
  24. package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
  25. package/dist/config/abi/types/EnsRegistrar.js +1 -0
  26. package/dist/config/abi/types/Erc20.d.ts +168 -0
  27. package/dist/config/abi/types/Erc20.js +1 -0
  28. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  29. package/dist/config/abi/types/Erc20_bytes32.js +1 -0
  30. package/dist/config/abi/types/JungleChef.d.ts +260 -0
  31. package/dist/config/abi/types/JungleChef.js +1 -0
  32. package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
  33. package/dist/config/abi/types/LaunchBonds.js +1 -0
  34. package/dist/config/abi/types/LensContract.d.ts +295 -0
  35. package/dist/config/abi/types/LensContract.js +1 -0
  36. package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
  37. package/dist/config/abi/types/LockVeAbond.js +1 -0
  38. package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
  39. package/dist/config/abi/types/MigrationBond.js +1 -0
  40. package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
  41. package/dist/config/abi/types/MigrationFveAbond.js +1 -0
  42. package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
  43. package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
  44. package/dist/config/abi/types/Multicallv2.d.ts +150 -0
  45. package/dist/config/abi/types/Multicallv2.js +1 -0
  46. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  47. package/dist/config/abi/types/Multicallv3.js +1 -0
  48. package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
  49. package/dist/config/abi/types/NonFungibleApes.js +1 -0
  50. package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
  51. package/dist/config/abi/types/NonFungibleBananas.js +1 -0
  52. package/dist/config/abi/types/PriceGetter.d.ts +713 -0
  53. package/dist/config/abi/types/PriceGetter.js +1 -0
  54. package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
  55. package/dist/config/abi/types/PriceGetterLinea.js +1 -0
  56. package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
  57. package/dist/config/abi/types/PriceGetterV2.js +1 -0
  58. package/dist/config/abi/types/SousChef.d.ts +579 -0
  59. package/dist/config/abi/types/SousChef.js +1 -0
  60. package/dist/config/abi/types/Treasury.d.ts +277 -0
  61. package/dist/config/abi/types/Treasury.js +1 -0
  62. package/dist/config/abi/types/Weth.d.ts +221 -0
  63. package/dist/config/abi/types/Weth.js +1 -0
  64. package/dist/config/abi/types/Zap.d.ts +528 -0
  65. package/dist/config/abi/types/Zap.js +1 -0
  66. package/dist/config/abi/types/common.d.ts +22 -0
  67. package/dist/config/abi/types/common.js +1 -0
  68. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  69. package/dist/config/abi/types/factories/Banana__factory.js +628 -0
  70. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  71. package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
  72. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  73. package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
  74. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  75. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
  76. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  77. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
  78. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  79. package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
  80. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  81. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
  82. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  83. package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
  84. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  85. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
  86. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  87. package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
  88. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  89. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
  90. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  91. package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
  92. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  93. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
  94. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  95. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
  96. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  97. package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
  98. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  99. package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
  100. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  101. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
  102. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  103. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
  104. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  105. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
  106. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  107. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
  108. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  109. package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
  110. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  111. package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
  112. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  113. package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
  114. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  115. package/dist/config/abi/types/factories/Weth__factory.js +296 -0
  116. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  117. package/dist/config/abi/types/factories/Zap__factory.js +889 -0
  118. package/dist/config/abi/types/factories/index.d.ts +25 -0
  119. package/dist/config/abi/types/factories/index.js +28 -0
  120. package/dist/config/abi/types/index.d.ts +51 -0
  121. package/dist/config/abi/types/index.js +26 -0
  122. package/dist/config/abi/weth.json +279 -0
  123. package/dist/hooks/useClaimBill.d.ts +4 -0
  124. package/dist/hooks/useClaimBill.js +59 -0
  125. package/dist/hooks/useContract.d.ts +25 -0
  126. package/dist/hooks/useContract.js +107 -0
  127. package/dist/pages/Bonds/Bonds.d.ts +6 -1
  128. package/dist/pages/Bonds/Bonds.js +12 -13
  129. package/dist/pages/YourBonds/YourBonds.js +37 -10
  130. package/dist/utils/index.d.ts +16 -0
  131. package/dist/utils/index.js +127 -0
  132. package/dist/utils/track.d.ts +7 -0
  133. package/dist/utils/track.js +17 -0
  134. package/package.json +1 -1
@@ -0,0 +1,889 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ var _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "contract IApeRouter02",
10
+ name: "_router",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ anonymous: false,
19
+ inputs: [
20
+ {
21
+ indexed: false,
22
+ internalType: "contract IApePair",
23
+ name: "lp",
24
+ type: "address",
25
+ },
26
+ {
27
+ indexed: false,
28
+ internalType: "contract IApeRouter02",
29
+ name: "fromRouter",
30
+ type: "address",
31
+ },
32
+ {
33
+ indexed: false,
34
+ internalType: "contract IApeRouter02",
35
+ name: "toRouter",
36
+ type: "address",
37
+ },
38
+ {
39
+ indexed: false,
40
+ internalType: "uint256",
41
+ name: "amount",
42
+ type: "uint256",
43
+ },
44
+ ],
45
+ name: "LPMigrated",
46
+ type: "event",
47
+ },
48
+ {
49
+ anonymous: false,
50
+ inputs: [
51
+ {
52
+ indexed: false,
53
+ internalType: "address",
54
+ name: "inputToken",
55
+ type: "address",
56
+ },
57
+ {
58
+ indexed: false,
59
+ internalType: "uint256",
60
+ name: "inputAmount",
61
+ type: "uint256",
62
+ },
63
+ {
64
+ indexed: false,
65
+ internalType: "address[]",
66
+ name: "lpTokens",
67
+ type: "address[]",
68
+ },
69
+ ],
70
+ name: "Zap",
71
+ type: "event",
72
+ },
73
+ {
74
+ anonymous: false,
75
+ inputs: [
76
+ {
77
+ indexed: false,
78
+ internalType: "contract IERC20",
79
+ name: "inputToken",
80
+ type: "address",
81
+ },
82
+ {
83
+ indexed: false,
84
+ internalType: "uint256",
85
+ name: "inputAmount",
86
+ type: "uint256",
87
+ },
88
+ {
89
+ indexed: false,
90
+ internalType: "contract IBEP20RewardApeV5",
91
+ name: "pool",
92
+ type: "address",
93
+ },
94
+ ],
95
+ name: "ZapLPPool",
96
+ type: "event",
97
+ },
98
+ {
99
+ anonymous: false,
100
+ inputs: [
101
+ {
102
+ indexed: false,
103
+ internalType: "uint256",
104
+ name: "inputAmount",
105
+ type: "uint256",
106
+ },
107
+ {
108
+ indexed: false,
109
+ internalType: "contract IBEP20RewardApeV5",
110
+ name: "pool",
111
+ type: "address",
112
+ },
113
+ ],
114
+ name: "ZapLPPoolNative",
115
+ type: "event",
116
+ },
117
+ {
118
+ anonymous: false,
119
+ inputs: [
120
+ {
121
+ indexed: false,
122
+ internalType: "contract IERC20",
123
+ name: "inputToken",
124
+ type: "address",
125
+ },
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "inputAmount",
130
+ type: "uint256",
131
+ },
132
+ {
133
+ indexed: false,
134
+ internalType: "uint256",
135
+ name: "pid",
136
+ type: "uint256",
137
+ },
138
+ ],
139
+ name: "ZapMiniApeV2",
140
+ type: "event",
141
+ },
142
+ {
143
+ anonymous: false,
144
+ inputs: [
145
+ {
146
+ indexed: false,
147
+ internalType: "uint256",
148
+ name: "inputAmount",
149
+ type: "uint256",
150
+ },
151
+ {
152
+ indexed: false,
153
+ internalType: "uint256",
154
+ name: "pid",
155
+ type: "uint256",
156
+ },
157
+ ],
158
+ name: "ZapMiniApeV2Native",
159
+ type: "event",
160
+ },
161
+ {
162
+ anonymous: false,
163
+ inputs: [
164
+ {
165
+ indexed: false,
166
+ internalType: "uint256",
167
+ name: "inputAmount",
168
+ type: "uint256",
169
+ },
170
+ {
171
+ indexed: false,
172
+ internalType: "address[]",
173
+ name: "lpTokens",
174
+ type: "address[]",
175
+ },
176
+ ],
177
+ name: "ZapNative",
178
+ type: "event",
179
+ },
180
+ {
181
+ anonymous: false,
182
+ inputs: [
183
+ {
184
+ indexed: false,
185
+ internalType: "contract IERC20",
186
+ name: "inputToken",
187
+ type: "address",
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: "uint256",
192
+ name: "inputAmount",
193
+ type: "uint256",
194
+ },
195
+ {
196
+ indexed: false,
197
+ internalType: "contract IBEP20RewardApeV5",
198
+ name: "pool",
199
+ type: "address",
200
+ },
201
+ ],
202
+ name: "ZapSingleAssetPool",
203
+ type: "event",
204
+ },
205
+ {
206
+ anonymous: false,
207
+ inputs: [
208
+ {
209
+ indexed: false,
210
+ internalType: "uint256",
211
+ name: "inputAmount",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ indexed: false,
216
+ internalType: "contract IBEP20RewardApeV5",
217
+ name: "pool",
218
+ type: "address",
219
+ },
220
+ ],
221
+ name: "ZapSingleAssetPoolNative",
222
+ type: "event",
223
+ },
224
+ {
225
+ anonymous: false,
226
+ inputs: [
227
+ {
228
+ indexed: false,
229
+ internalType: "contract IERC20",
230
+ name: "inputToken",
231
+ type: "address",
232
+ },
233
+ {
234
+ indexed: false,
235
+ internalType: "uint256",
236
+ name: "inputAmount",
237
+ type: "uint256",
238
+ },
239
+ {
240
+ indexed: false,
241
+ internalType: "contract ICustomBill",
242
+ name: "bill",
243
+ type: "address",
244
+ },
245
+ ],
246
+ name: "ZapTBill",
247
+ type: "event",
248
+ },
249
+ {
250
+ anonymous: false,
251
+ inputs: [
252
+ {
253
+ indexed: false,
254
+ internalType: "uint256",
255
+ name: "inputAmount",
256
+ type: "uint256",
257
+ },
258
+ {
259
+ indexed: false,
260
+ internalType: "contract ICustomBill",
261
+ name: "bill",
262
+ type: "address",
263
+ },
264
+ ],
265
+ name: "ZapTBillNative",
266
+ type: "event",
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: "WNATIVE",
271
+ outputs: [
272
+ {
273
+ internalType: "address",
274
+ name: "",
275
+ type: "address",
276
+ },
277
+ ],
278
+ stateMutability: "view",
279
+ type: "function",
280
+ },
281
+ {
282
+ inputs: [],
283
+ name: "apeRouter",
284
+ outputs: [
285
+ {
286
+ internalType: "contract IApeRouter02",
287
+ name: "",
288
+ type: "address",
289
+ },
290
+ ],
291
+ stateMutability: "view",
292
+ type: "function",
293
+ },
294
+ {
295
+ inputs: [],
296
+ name: "factory",
297
+ outputs: [
298
+ {
299
+ internalType: "contract IApeFactory",
300
+ name: "",
301
+ type: "address",
302
+ },
303
+ ],
304
+ stateMutability: "view",
305
+ type: "function",
306
+ },
307
+ {
308
+ inputs: [
309
+ {
310
+ internalType: "uint256",
311
+ name: "inputAmount",
312
+ type: "uint256",
313
+ },
314
+ {
315
+ internalType: "address[]",
316
+ name: "path0",
317
+ type: "address[]",
318
+ },
319
+ {
320
+ internalType: "address[]",
321
+ name: "path1",
322
+ type: "address[]",
323
+ },
324
+ ],
325
+ name: "getMinAmounts",
326
+ outputs: [
327
+ {
328
+ internalType: "uint256[2]",
329
+ name: "minAmountsSwap",
330
+ type: "uint256[2]",
331
+ },
332
+ {
333
+ internalType: "uint256[2]",
334
+ name: "minAmountsLP",
335
+ type: "uint256[2]",
336
+ },
337
+ ],
338
+ stateMutability: "view",
339
+ type: "function",
340
+ },
341
+ {
342
+ inputs: [],
343
+ name: "router",
344
+ outputs: [
345
+ {
346
+ internalType: "contract IApeRouter02",
347
+ name: "",
348
+ type: "address",
349
+ },
350
+ ],
351
+ stateMutability: "view",
352
+ type: "function",
353
+ },
354
+ {
355
+ inputs: [
356
+ {
357
+ internalType: "contract IERC20",
358
+ name: "inputToken",
359
+ type: "address",
360
+ },
361
+ {
362
+ internalType: "uint256",
363
+ name: "inputAmount",
364
+ type: "uint256",
365
+ },
366
+ {
367
+ internalType: "address[]",
368
+ name: "lpTokens",
369
+ type: "address[]",
370
+ },
371
+ {
372
+ internalType: "address[]",
373
+ name: "path0",
374
+ type: "address[]",
375
+ },
376
+ {
377
+ internalType: "address[]",
378
+ name: "path1",
379
+ type: "address[]",
380
+ },
381
+ {
382
+ internalType: "uint256[]",
383
+ name: "minAmountsSwap",
384
+ type: "uint256[]",
385
+ },
386
+ {
387
+ internalType: "uint256[]",
388
+ name: "minAmountsLP",
389
+ type: "uint256[]",
390
+ },
391
+ {
392
+ internalType: "address",
393
+ name: "to",
394
+ type: "address",
395
+ },
396
+ {
397
+ internalType: "uint256",
398
+ name: "deadline",
399
+ type: "uint256",
400
+ },
401
+ ],
402
+ name: "zap",
403
+ outputs: [],
404
+ stateMutability: "nonpayable",
405
+ type: "function",
406
+ },
407
+ {
408
+ inputs: [
409
+ {
410
+ internalType: "contract IApeRouter02",
411
+ name: "router",
412
+ type: "address",
413
+ },
414
+ {
415
+ internalType: "contract IApePair",
416
+ name: "lp",
417
+ type: "address",
418
+ },
419
+ {
420
+ internalType: "uint256",
421
+ name: "amount",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ internalType: "uint256",
426
+ name: "amountAMinRemove",
427
+ type: "uint256",
428
+ },
429
+ {
430
+ internalType: "uint256",
431
+ name: "amountBMinRemove",
432
+ type: "uint256",
433
+ },
434
+ {
435
+ internalType: "uint256",
436
+ name: "amountAMinAdd",
437
+ type: "uint256",
438
+ },
439
+ {
440
+ internalType: "uint256",
441
+ name: "amountBMinAdd",
442
+ type: "uint256",
443
+ },
444
+ {
445
+ internalType: "uint256",
446
+ name: "deadline",
447
+ type: "uint256",
448
+ },
449
+ ],
450
+ name: "zapLPMigrator",
451
+ outputs: [],
452
+ stateMutability: "nonpayable",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [
457
+ {
458
+ internalType: "contract IERC20",
459
+ name: "inputToken",
460
+ type: "address",
461
+ },
462
+ {
463
+ internalType: "uint256",
464
+ name: "inputAmount",
465
+ type: "uint256",
466
+ },
467
+ {
468
+ internalType: "address[]",
469
+ name: "lpTokens",
470
+ type: "address[]",
471
+ },
472
+ {
473
+ internalType: "address[]",
474
+ name: "path0",
475
+ type: "address[]",
476
+ },
477
+ {
478
+ internalType: "address[]",
479
+ name: "path1",
480
+ type: "address[]",
481
+ },
482
+ {
483
+ internalType: "uint256[]",
484
+ name: "minAmountsSwap",
485
+ type: "uint256[]",
486
+ },
487
+ {
488
+ internalType: "uint256[]",
489
+ name: "minAmountsLP",
490
+ type: "uint256[]",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "deadline",
495
+ type: "uint256",
496
+ },
497
+ {
498
+ internalType: "contract IBEP20RewardApeV5",
499
+ name: "pool",
500
+ type: "address",
501
+ },
502
+ ],
503
+ name: "zapLPPool",
504
+ outputs: [],
505
+ stateMutability: "nonpayable",
506
+ type: "function",
507
+ },
508
+ {
509
+ inputs: [
510
+ {
511
+ internalType: "address[]",
512
+ name: "lpTokens",
513
+ type: "address[]",
514
+ },
515
+ {
516
+ internalType: "address[]",
517
+ name: "path0",
518
+ type: "address[]",
519
+ },
520
+ {
521
+ internalType: "address[]",
522
+ name: "path1",
523
+ type: "address[]",
524
+ },
525
+ {
526
+ internalType: "uint256[]",
527
+ name: "minAmountsSwap",
528
+ type: "uint256[]",
529
+ },
530
+ {
531
+ internalType: "uint256[]",
532
+ name: "minAmountsLP",
533
+ type: "uint256[]",
534
+ },
535
+ {
536
+ internalType: "uint256",
537
+ name: "deadline",
538
+ type: "uint256",
539
+ },
540
+ {
541
+ internalType: "contract IBEP20RewardApeV5",
542
+ name: "pool",
543
+ type: "address",
544
+ },
545
+ ],
546
+ name: "zapLPPoolNative",
547
+ outputs: [],
548
+ stateMutability: "payable",
549
+ type: "function",
550
+ },
551
+ {
552
+ inputs: [
553
+ {
554
+ internalType: "contract IERC20",
555
+ name: "inputToken",
556
+ type: "address",
557
+ },
558
+ {
559
+ internalType: "uint256",
560
+ name: "inputAmount",
561
+ type: "uint256",
562
+ },
563
+ {
564
+ internalType: "address[]",
565
+ name: "lpTokens",
566
+ type: "address[]",
567
+ },
568
+ {
569
+ internalType: "address[]",
570
+ name: "path0",
571
+ type: "address[]",
572
+ },
573
+ {
574
+ internalType: "address[]",
575
+ name: "path1",
576
+ type: "address[]",
577
+ },
578
+ {
579
+ internalType: "uint256[]",
580
+ name: "minAmountsSwap",
581
+ type: "uint256[]",
582
+ },
583
+ {
584
+ internalType: "uint256[]",
585
+ name: "minAmountsLP",
586
+ type: "uint256[]",
587
+ },
588
+ {
589
+ internalType: "uint256",
590
+ name: "deadline",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "contract IMiniApeV2",
595
+ name: "miniApe",
596
+ type: "address",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "pid",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ name: "zapMiniApeV2",
605
+ outputs: [],
606
+ stateMutability: "nonpayable",
607
+ type: "function",
608
+ },
609
+ {
610
+ inputs: [
611
+ {
612
+ internalType: "address[]",
613
+ name: "lpTokens",
614
+ type: "address[]",
615
+ },
616
+ {
617
+ internalType: "address[]",
618
+ name: "path0",
619
+ type: "address[]",
620
+ },
621
+ {
622
+ internalType: "address[]",
623
+ name: "path1",
624
+ type: "address[]",
625
+ },
626
+ {
627
+ internalType: "uint256[]",
628
+ name: "minAmountsSwap",
629
+ type: "uint256[]",
630
+ },
631
+ {
632
+ internalType: "uint256[]",
633
+ name: "minAmountsLP",
634
+ type: "uint256[]",
635
+ },
636
+ {
637
+ internalType: "uint256",
638
+ name: "deadline",
639
+ type: "uint256",
640
+ },
641
+ {
642
+ internalType: "contract IMiniApeV2",
643
+ name: "miniApe",
644
+ type: "address",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "pid",
649
+ type: "uint256",
650
+ },
651
+ ],
652
+ name: "zapMiniApeV2Native",
653
+ outputs: [],
654
+ stateMutability: "payable",
655
+ type: "function",
656
+ },
657
+ {
658
+ inputs: [
659
+ {
660
+ internalType: "address[]",
661
+ name: "lpTokens",
662
+ type: "address[]",
663
+ },
664
+ {
665
+ internalType: "address[]",
666
+ name: "path0",
667
+ type: "address[]",
668
+ },
669
+ {
670
+ internalType: "address[]",
671
+ name: "path1",
672
+ type: "address[]",
673
+ },
674
+ {
675
+ internalType: "uint256[]",
676
+ name: "minAmountsSwap",
677
+ type: "uint256[]",
678
+ },
679
+ {
680
+ internalType: "uint256[]",
681
+ name: "minAmountsLP",
682
+ type: "uint256[]",
683
+ },
684
+ {
685
+ internalType: "address",
686
+ name: "to",
687
+ type: "address",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "deadline",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ name: "zapNative",
696
+ outputs: [],
697
+ stateMutability: "payable",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [
702
+ {
703
+ internalType: "contract IERC20",
704
+ name: "inputToken",
705
+ type: "address",
706
+ },
707
+ {
708
+ internalType: "uint256",
709
+ name: "inputAmount",
710
+ type: "uint256",
711
+ },
712
+ {
713
+ internalType: "address[]",
714
+ name: "path",
715
+ type: "address[]",
716
+ },
717
+ {
718
+ internalType: "uint256",
719
+ name: "minAmountsSwap",
720
+ type: "uint256",
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "deadline",
725
+ type: "uint256",
726
+ },
727
+ {
728
+ internalType: "contract IBEP20RewardApeV5",
729
+ name: "pool",
730
+ type: "address",
731
+ },
732
+ ],
733
+ name: "zapSingleAssetPool",
734
+ outputs: [],
735
+ stateMutability: "nonpayable",
736
+ type: "function",
737
+ },
738
+ {
739
+ inputs: [
740
+ {
741
+ internalType: "address[]",
742
+ name: "path",
743
+ type: "address[]",
744
+ },
745
+ {
746
+ internalType: "uint256",
747
+ name: "minAmountsSwap",
748
+ type: "uint256",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "deadline",
753
+ type: "uint256",
754
+ },
755
+ {
756
+ internalType: "contract IBEP20RewardApeV5",
757
+ name: "pool",
758
+ type: "address",
759
+ },
760
+ ],
761
+ name: "zapSingleAssetPoolNative",
762
+ outputs: [],
763
+ stateMutability: "payable",
764
+ type: "function",
765
+ },
766
+ {
767
+ inputs: [
768
+ {
769
+ internalType: "contract IERC20",
770
+ name: "inputToken",
771
+ type: "address",
772
+ },
773
+ {
774
+ internalType: "uint256",
775
+ name: "inputAmount",
776
+ type: "uint256",
777
+ },
778
+ {
779
+ internalType: "address[]",
780
+ name: "lpTokens",
781
+ type: "address[]",
782
+ },
783
+ {
784
+ internalType: "address[]",
785
+ name: "path0",
786
+ type: "address[]",
787
+ },
788
+ {
789
+ internalType: "address[]",
790
+ name: "path1",
791
+ type: "address[]",
792
+ },
793
+ {
794
+ internalType: "uint256[]",
795
+ name: "minAmountsSwap",
796
+ type: "uint256[]",
797
+ },
798
+ {
799
+ internalType: "uint256[]",
800
+ name: "minAmountsLP",
801
+ type: "uint256[]",
802
+ },
803
+ {
804
+ internalType: "uint256",
805
+ name: "deadline",
806
+ type: "uint256",
807
+ },
808
+ {
809
+ internalType: "contract ICustomBill",
810
+ name: "bill",
811
+ type: "address",
812
+ },
813
+ {
814
+ internalType: "uint256",
815
+ name: "maxPrice",
816
+ type: "uint256",
817
+ },
818
+ ],
819
+ name: "zapTBill",
820
+ outputs: [],
821
+ stateMutability: "nonpayable",
822
+ type: "function",
823
+ },
824
+ {
825
+ inputs: [
826
+ {
827
+ internalType: "address[]",
828
+ name: "lpTokens",
829
+ type: "address[]",
830
+ },
831
+ {
832
+ internalType: "address[]",
833
+ name: "path0",
834
+ type: "address[]",
835
+ },
836
+ {
837
+ internalType: "address[]",
838
+ name: "path1",
839
+ type: "address[]",
840
+ },
841
+ {
842
+ internalType: "uint256[]",
843
+ name: "minAmountsSwap",
844
+ type: "uint256[]",
845
+ },
846
+ {
847
+ internalType: "uint256[]",
848
+ name: "minAmountsLP",
849
+ type: "uint256[]",
850
+ },
851
+ {
852
+ internalType: "uint256",
853
+ name: "deadline",
854
+ type: "uint256",
855
+ },
856
+ {
857
+ internalType: "contract ICustomBill",
858
+ name: "bill",
859
+ type: "address",
860
+ },
861
+ {
862
+ internalType: "uint256",
863
+ name: "maxPrice",
864
+ type: "uint256",
865
+ },
866
+ ],
867
+ name: "zapTBillNative",
868
+ outputs: [],
869
+ stateMutability: "payable",
870
+ type: "function",
871
+ },
872
+ {
873
+ stateMutability: "payable",
874
+ type: "receive",
875
+ },
876
+ ];
877
+ var Zap__factory = /** @class */ (function () {
878
+ function Zap__factory() {
879
+ }
880
+ Zap__factory.createInterface = function () {
881
+ return new utils.Interface(_abi);
882
+ };
883
+ Zap__factory.connect = function (address, signerOrProvider) {
884
+ return new Contract(address, _abi, signerOrProvider);
885
+ };
886
+ Zap__factory.abi = _abi;
887
+ return Zap__factory;
888
+ }());
889
+ export { Zap__factory };