@ape.swap/bonds-sdk 7.0.3 → 7.0.4-test.1

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 (130) hide show
  1. package/dist/adapters/evm/index.d.ts +3 -2
  2. package/dist/adapters/evm/index.js +11 -2
  3. package/dist/adapters/evm/index.js.map +1 -1
  4. package/dist/adapters/evm/state/balances.js +1 -1
  5. package/dist/adapters/evm/state/balances.js.map +1 -1
  6. package/dist/adapters/evm/state/fetchBondsDataEVM.js +65 -2
  7. package/dist/adapters/evm/state/fetchBondsDataEVM.js.map +1 -1
  8. package/dist/adapters/evm/state/fetchUsersBondsEVM.js +234 -2
  9. package/dist/adapters/evm/state/fetchUsersBondsEVM.js.map +1 -1
  10. package/dist/adapters/evm/state/lpStaking/fetchLpStakingLimits.d.ts +24 -0
  11. package/dist/adapters/evm/state/lpStaking/fetchLpStakingLimits.js +118 -0
  12. package/dist/adapters/evm/state/lpStaking/fetchLpStakingLimits.js.map +1 -0
  13. package/dist/adapters/evm/state/lpStaking/useSoulZapLpStakingQuote.d.ts +4 -0
  14. package/dist/adapters/evm/state/lpStaking/useSoulZapLpStakingQuote.js +140 -0
  15. package/dist/adapters/evm/state/lpStaking/useSoulZapLpStakingQuote.js.map +1 -0
  16. package/dist/adapters/evm/state/useSoulZapBondQuote.js +1 -1
  17. package/dist/adapters/evm/views/BuyComponent.js +3 -3
  18. package/dist/adapters/evm/views/BuyComponent.js.map +1 -1
  19. package/dist/adapters/evm/views/lpStaking/BuyComponentLpStaking.d.ts +4 -0
  20. package/dist/adapters/evm/views/lpStaking/BuyComponentLpStaking.js +212 -0
  21. package/dist/adapters/evm/views/lpStaking/BuyComponentLpStaking.js.map +1 -0
  22. package/dist/adapters/evm/views/lpStaking/LpBondModalHeader.d.ts +7 -0
  23. package/dist/adapters/evm/views/lpStaking/LpBondModalHeader.js +66 -0
  24. package/dist/adapters/evm/views/lpStaking/LpBondModalHeader.js.map +1 -0
  25. package/dist/adapters/evm/views/lpStaking/LpStakingEstimations.d.ts +23 -0
  26. package/dist/adapters/evm/views/lpStaking/LpStakingEstimations.js +40 -0
  27. package/dist/adapters/evm/views/lpStaking/LpStakingEstimations.js.map +1 -0
  28. package/dist/adapters/evm/views/lpStaking/ModalHandlerLpStaking.d.ts +3 -0
  29. package/dist/adapters/evm/views/lpStaking/ModalHandlerLpStaking.js +90 -0
  30. package/dist/adapters/evm/views/lpStaking/ModalHandlerLpStaking.js.map +1 -0
  31. package/dist/adapters/evm/views/lpStaking/UserLpStakingBondRow.d.ts +5 -0
  32. package/dist/adapters/evm/views/lpStaking/UserLpStakingBondRow.js +32 -0
  33. package/dist/adapters/evm/views/lpStaking/UserLpStakingBondRow.js.map +1 -0
  34. package/dist/adapters/evm/views/lpStaking/YourLpBondModalHeader.d.ts +7 -0
  35. package/dist/adapters/evm/views/lpStaking/YourLpBondModalHeader.js +20 -0
  36. package/dist/adapters/evm/views/lpStaking/YourLpBondModalHeader.js.map +1 -0
  37. package/dist/adapters/evm/views/lpStaking/YourLpStakingBondModal.d.ts +7 -0
  38. package/dist/adapters/evm/views/lpStaking/YourLpStakingBondModal.js +78 -0
  39. package/dist/adapters/evm/views/lpStaking/YourLpStakingBondModal.js.map +1 -0
  40. package/dist/adapters/solana/views/BuyComponentSolana.js +3 -3
  41. package/dist/adapters/solana/views/BuyComponentSolana.js.map +1 -1
  42. package/dist/adapters/types.d.ts +20 -5
  43. package/dist/components/TokenInfoAndName/index.js +4 -1
  44. package/dist/components/TokenInfoAndName/index.js.map +1 -1
  45. package/dist/components/Tooltip/ButtonsRow.js +1 -1
  46. package/dist/components/Tooltip/ButtonsRow.js.map +1 -1
  47. package/dist/components/Tooltip/Tooltip.js +3 -2
  48. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  49. package/dist/components/uikit-sdk/TokenImage/index.js +3 -1
  50. package/dist/components/uikit-sdk/TokenImage/index.js.map +1 -1
  51. package/dist/config/abi/apeBondPositionAdapter.json.js +1347 -0
  52. package/dist/config/abi/apeBondPositionAdapter.json.js.map +1 -0
  53. package/dist/config/abi/bonusEscrow.json.js +33 -0
  54. package/dist/config/abi/bonusEscrow.json.js.map +1 -0
  55. package/dist/config/abi/lpStakingVault.json.js +34 -0
  56. package/dist/config/abi/lpStakingVault.json.js.map +1 -0
  57. package/dist/config/abi/uniswapV3Pool.json.js +47 -0
  58. package/dist/config/abi/uniswapV3Pool.json.js.map +1 -0
  59. package/dist/config/abi/uniswapV3QuoterV2.json.js +66 -0
  60. package/dist/config/abi/uniswapV3QuoterV2.json.js.map +1 -0
  61. package/dist/config/constants/addresses.d.ts +1 -0
  62. package/dist/config/constants/addresses.js +7 -1
  63. package/dist/config/constants/addresses.js.map +1 -1
  64. package/dist/config/constants/chains.js +3 -1
  65. package/dist/config/constants/chains.js.map +1 -1
  66. package/dist/config/constants/networks.js +1 -1
  67. package/dist/config/constants/networks.js.map +1 -1
  68. package/dist/config/constants/variables.d.ts +2 -2
  69. package/dist/config/constants/variables.js +3 -1
  70. package/dist/config/constants/variables.js.map +1 -1
  71. package/dist/hooks/useSendReferenceId.d.ts +4 -1
  72. package/dist/hooks/useSendReferenceId.js +9 -3
  73. package/dist/hooks/useSendReferenceId.js.map +1 -1
  74. package/dist/state/bonds/useBondsData.js +1 -0
  75. package/dist/state/bonds/useBondsData.js.map +1 -1
  76. package/dist/state/bonds/useUserBonds.d.ts +10 -1
  77. package/dist/state/bonds/useUserBonds.js +18 -11
  78. package/dist/state/bonds/useUserBonds.js.map +1 -1
  79. package/dist/state/useSDKConfig.js +11 -2
  80. package/dist/state/useSDKConfig.js.map +1 -1
  81. package/dist/state/zap/getChainParam.d.ts +1 -16
  82. package/dist/state/zap/getChainParam.js +16 -40
  83. package/dist/state/zap/getChainParam.js.map +1 -1
  84. package/dist/styles.css +1 -1
  85. package/dist/types/yourbonds.d.ts +24 -0
  86. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js +19 -2
  87. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js.map +1 -1
  88. package/dist/views/Bonds/components/BondRows/BondRow.d.ts +3 -2
  89. package/dist/views/Bonds/components/BondRows/BondRow.js +15 -10
  90. package/dist/views/Bonds/components/BondRows/BondRow.js.map +1 -1
  91. package/dist/views/Bonds/components/BondRows/ModalHandler.js +1 -1
  92. package/dist/views/Bonds/components/BondRows/ModalHandler.js.map +1 -1
  93. package/dist/views/Bonds/components/BondRows/SoldOutRows.js +1 -1
  94. package/dist/views/Bonds/components/BondRows/SoldOutRows.js.map +1 -1
  95. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js +1 -1
  96. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js.map +1 -1
  97. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js +1 -1
  98. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js.map +1 -1
  99. package/dist/views/Bonds/components/BuyAgainRow/index.js +1 -1
  100. package/dist/views/Bonds/components/BuyAgainRow/index.js.map +1 -1
  101. package/dist/views/Bonds/components/CheckURL/index.js +20 -15
  102. package/dist/views/Bonds/components/CheckURL/index.js.map +1 -1
  103. package/dist/views/BuyBond/ChainBuyComponent.d.ts +4 -1
  104. package/dist/views/BuyBond/ChainBuyComponent.js +14 -2
  105. package/dist/views/BuyBond/ChainBuyComponent.js.map +1 -1
  106. package/dist/views/BuyBond/components/BondCards/BondCards.js +1 -7
  107. package/dist/views/BuyBond/components/BondCards/BondCards.js.map +1 -1
  108. package/dist/views/BuyBond/components/BondModalHeader.d.ts +1 -2
  109. package/dist/views/BuyBond/components/BondModalHeader.js +13 -5
  110. package/dist/views/BuyBond/components/BondModalHeader.js.map +1 -1
  111. package/dist/views/BuyBond/components/Estimations.js +1 -1
  112. package/dist/views/BuyBond/components/Estimations.js.map +1 -1
  113. package/dist/views/BuyBond/components/ExpandedViewButton.d.ts +2 -2
  114. package/dist/views/BuyBond/components/ExpandedViewButton.js +2 -2
  115. package/dist/views/BuyBond/components/ExpandedViewButton.js.map +1 -1
  116. package/dist/views/FullBondsView/FullBondsView.js +2 -1
  117. package/dist/views/FullBondsView/FullBondsView.js.map +1 -1
  118. package/dist/views/FullBondsView/YourBondsStatus.d.ts +3 -0
  119. package/dist/views/FullBondsView/YourBondsStatus.js +54 -0
  120. package/dist/views/FullBondsView/YourBondsStatus.js.map +1 -0
  121. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js +2 -5
  122. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js.map +1 -1
  123. package/dist/views/YourBonds/YourBonds.js +6 -1
  124. package/dist/views/YourBonds/YourBonds.js.map +1 -1
  125. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js +2 -1
  126. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js.map +1 -1
  127. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.d.ts +2 -1
  128. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js +2 -2
  129. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js.map +1 -1
  130. package/package.json +2 -2
@@ -0,0 +1,1347 @@
1
+ var APE_BOND_POSITION_ADAPTER_ABI = [
2
+ {
3
+ inputs: [
4
+ {
5
+ internalType: "address",
6
+ name: "_positionManager",
7
+ type: "address"
8
+ },
9
+ {
10
+ internalType: "address",
11
+ name: "_vault",
12
+ type: "address"
13
+ },
14
+ {
15
+ internalType: "address",
16
+ name: "_escrow",
17
+ type: "address"
18
+ },
19
+ {
20
+ internalType: "address",
21
+ name: "_initialOwner",
22
+ type: "address"
23
+ },
24
+ {
25
+ internalType: "address",
26
+ name: "_guardian",
27
+ type: "address"
28
+ },
29
+ {
30
+ internalType: "uint64",
31
+ name: "minCliffSeconds_",
32
+ type: "uint64"
33
+ }
34
+ ],
35
+ stateMutability: "nonpayable",
36
+ type: "constructor"
37
+ },
38
+ {
39
+ inputs: [
40
+ {
41
+ internalType: "uint16",
42
+ name: "bonusBps",
43
+ type: "uint16"
44
+ }
45
+ ],
46
+ name: "BonusBpsTooHigh",
47
+ type: "error"
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "bonusToken",
54
+ type: "address"
55
+ },
56
+ {
57
+ internalType: "address",
58
+ name: "token0",
59
+ type: "address"
60
+ },
61
+ {
62
+ internalType: "address",
63
+ name: "token1",
64
+ type: "address"
65
+ }
66
+ ],
67
+ name: "BonusTokenNotInPool",
68
+ type: "error"
69
+ },
70
+ {
71
+ inputs: [
72
+ {
73
+ internalType: "bytes32",
74
+ name: "campaignId",
75
+ type: "bytes32"
76
+ }
77
+ ],
78
+ name: "CampaignDisabled",
79
+ type: "error"
80
+ },
81
+ {
82
+ inputs: [
83
+ {
84
+ internalType: "uint64",
85
+ name: "cliffSeconds",
86
+ type: "uint64"
87
+ },
88
+ {
89
+ internalType: "uint64",
90
+ name: "minCliffSeconds",
91
+ type: "uint64"
92
+ }
93
+ ],
94
+ name: "CliffBelowMinimum",
95
+ type: "error"
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "uint256",
101
+ name: "tokenId",
102
+ type: "uint256"
103
+ },
104
+ {
105
+ internalType: "address",
106
+ name: "owner",
107
+ type: "address"
108
+ },
109
+ {
110
+ internalType: "address",
111
+ name: "staker",
112
+ type: "address"
113
+ }
114
+ ],
115
+ name: "CustodyAssertFailed",
116
+ type: "error"
117
+ },
118
+ {
119
+ inputs: [
120
+ ],
121
+ name: "DepositsArePaused",
122
+ type: "error"
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "uint256",
128
+ name: "tokenId",
129
+ type: "uint256"
130
+ }
131
+ ],
132
+ name: "EmptyPosition",
133
+ type: "error"
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "vaultEscrow",
140
+ type: "address"
141
+ },
142
+ {
143
+ internalType: "address",
144
+ name: "escrow",
145
+ type: "address"
146
+ }
147
+ ],
148
+ name: "EscrowNotLinked",
149
+ type: "error"
150
+ },
151
+ {
152
+ inputs: [
153
+ {
154
+ internalType: "address",
155
+ name: "escrowVault",
156
+ type: "address"
157
+ },
158
+ {
159
+ internalType: "address",
160
+ name: "vault",
161
+ type: "address"
162
+ }
163
+ ],
164
+ name: "EscrowVaultMismatch",
165
+ type: "error"
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "beneficiary",
172
+ type: "address"
173
+ }
174
+ ],
175
+ name: "InvalidBeneficiary",
176
+ type: "error"
177
+ },
178
+ {
179
+ inputs: [
180
+ {
181
+ internalType: "int24",
182
+ name: "downTicks",
183
+ type: "int24"
184
+ },
185
+ {
186
+ internalType: "int24",
187
+ name: "upTicks",
188
+ type: "int24"
189
+ },
190
+ {
191
+ internalType: "int24",
192
+ name: "toleranceTicks",
193
+ type: "int24"
194
+ },
195
+ {
196
+ internalType: "int24",
197
+ name: "tickSpacing",
198
+ type: "int24"
199
+ }
200
+ ],
201
+ name: "InvalidCampaignOffsets",
202
+ type: "error"
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "uint256",
208
+ name: "tokenId",
209
+ type: "uint256"
210
+ },
211
+ {
212
+ internalType: "address",
213
+ name: "caller",
214
+ type: "address"
215
+ }
216
+ ],
217
+ name: "NftNotApproved",
218
+ type: "error"
219
+ },
220
+ {
221
+ inputs: [
222
+ {
223
+ internalType: "uint256",
224
+ name: "tokenId",
225
+ type: "uint256"
226
+ },
227
+ {
228
+ internalType: "address",
229
+ name: "owner",
230
+ type: "address"
231
+ },
232
+ {
233
+ internalType: "address",
234
+ name: "caller",
235
+ type: "address"
236
+ }
237
+ ],
238
+ name: "NftNotHeldByCaller",
239
+ type: "error"
240
+ },
241
+ {
242
+ inputs: [
243
+ {
244
+ internalType: "bytes32",
245
+ name: "campaignId",
246
+ type: "bytes32"
247
+ },
248
+ {
249
+ internalType: "address",
250
+ name: "caller",
251
+ type: "address"
252
+ }
253
+ ],
254
+ name: "NotCampaignCaller",
255
+ type: "error"
256
+ },
257
+ {
258
+ inputs: [
259
+ {
260
+ internalType: "address",
261
+ name: "caller",
262
+ type: "address"
263
+ },
264
+ {
265
+ internalType: "address",
266
+ name: "guardian",
267
+ type: "address"
268
+ }
269
+ ],
270
+ name: "NotGuardian",
271
+ type: "error"
272
+ },
273
+ {
274
+ inputs: [
275
+ {
276
+ internalType: "address",
277
+ name: "caller",
278
+ type: "address"
279
+ }
280
+ ],
281
+ name: "NotOwnerOrOperator",
282
+ type: "error"
283
+ },
284
+ {
285
+ inputs: [
286
+ {
287
+ internalType: "address",
288
+ name: "caller",
289
+ type: "address"
290
+ }
291
+ ],
292
+ name: "NotSoulZapCaller",
293
+ type: "error"
294
+ },
295
+ {
296
+ inputs: [
297
+ {
298
+ internalType: "address",
299
+ name: "owner",
300
+ type: "address"
301
+ }
302
+ ],
303
+ name: "OwnableInvalidOwner",
304
+ type: "error"
305
+ },
306
+ {
307
+ inputs: [
308
+ {
309
+ internalType: "address",
310
+ name: "account",
311
+ type: "address"
312
+ }
313
+ ],
314
+ name: "OwnableUnauthorizedAccount",
315
+ type: "error"
316
+ },
317
+ {
318
+ inputs: [
319
+ {
320
+ internalType: "uint256",
321
+ name: "tokenId",
322
+ type: "uint256"
323
+ },
324
+ {
325
+ internalType: "address",
326
+ name: "positionToken0",
327
+ type: "address"
328
+ },
329
+ {
330
+ internalType: "address",
331
+ name: "positionToken1",
332
+ type: "address"
333
+ },
334
+ {
335
+ internalType: "uint24",
336
+ name: "positionFee",
337
+ type: "uint24"
338
+ }
339
+ ],
340
+ name: "PositionPoolMismatch",
341
+ type: "error"
342
+ },
343
+ {
344
+ inputs: [
345
+ {
346
+ internalType: "int24",
347
+ name: "currentTick",
348
+ type: "int24"
349
+ },
350
+ {
351
+ internalType: "int24",
352
+ name: "twapTick",
353
+ type: "int24"
354
+ },
355
+ {
356
+ internalType: "int24",
357
+ name: "maxDeviationTicks",
358
+ type: "int24"
359
+ }
360
+ ],
361
+ name: "PriceOutsideTwapBounds",
362
+ type: "error"
363
+ },
364
+ {
365
+ inputs: [
366
+ ],
367
+ name: "ReentrancyGuardReentrantCall",
368
+ type: "error"
369
+ },
370
+ {
371
+ inputs: [
372
+ {
373
+ internalType: "uint8",
374
+ name: "bits",
375
+ type: "uint8"
376
+ },
377
+ {
378
+ internalType: "int256",
379
+ name: "value",
380
+ type: "int256"
381
+ }
382
+ ],
383
+ name: "SafeCastOverflowedIntDowncast",
384
+ type: "error"
385
+ },
386
+ {
387
+ inputs: [
388
+ {
389
+ internalType: "uint8",
390
+ name: "bits",
391
+ type: "uint8"
392
+ },
393
+ {
394
+ internalType: "uint256",
395
+ name: "value",
396
+ type: "uint256"
397
+ }
398
+ ],
399
+ name: "SafeCastOverflowedUintDowncast",
400
+ type: "error"
401
+ },
402
+ {
403
+ inputs: [
404
+ ],
405
+ name: "T",
406
+ type: "error"
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "int24",
412
+ name: "tickLower",
413
+ type: "int24"
414
+ },
415
+ {
416
+ internalType: "int24",
417
+ name: "tickUpper",
418
+ type: "int24"
419
+ },
420
+ {
421
+ internalType: "int24",
422
+ name: "expectedLower",
423
+ type: "int24"
424
+ },
425
+ {
426
+ internalType: "int24",
427
+ name: "expectedUpper",
428
+ type: "int24"
429
+ },
430
+ {
431
+ internalType: "int24",
432
+ name: "toleranceTicks",
433
+ type: "int24"
434
+ }
435
+ ],
436
+ name: "TickRangeOutsideTolerance",
437
+ type: "error"
438
+ },
439
+ {
440
+ inputs: [
441
+ {
442
+ internalType: "address",
443
+ name: "sender",
444
+ type: "address"
445
+ }
446
+ ],
447
+ name: "UnexpectedNftSender",
448
+ type: "error"
449
+ },
450
+ {
451
+ inputs: [
452
+ {
453
+ internalType: "bytes32",
454
+ name: "campaignId",
455
+ type: "bytes32"
456
+ }
457
+ ],
458
+ name: "UnknownCampaign",
459
+ type: "error"
460
+ },
461
+ {
462
+ inputs: [
463
+ {
464
+ internalType: "address",
465
+ name: "operator",
466
+ type: "address"
467
+ },
468
+ {
469
+ internalType: "address",
470
+ name: "from",
471
+ type: "address"
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "tokenId",
476
+ type: "uint256"
477
+ }
478
+ ],
479
+ name: "UnsolicitedPosition",
480
+ type: "error"
481
+ },
482
+ {
483
+ inputs: [
484
+ ],
485
+ name: "ZeroAddress",
486
+ type: "error"
487
+ },
488
+ {
489
+ inputs: [
490
+ ],
491
+ name: "ZeroCampaignId",
492
+ type: "error"
493
+ },
494
+ {
495
+ inputs: [
496
+ ],
497
+ name: "ZeroMinCliff",
498
+ type: "error"
499
+ },
500
+ {
501
+ anonymous: false,
502
+ inputs: [
503
+ {
504
+ indexed: true,
505
+ internalType: "uint256",
506
+ name: "tokenId",
507
+ type: "uint256"
508
+ },
509
+ {
510
+ indexed: true,
511
+ internalType: "bytes32",
512
+ name: "campaignId",
513
+ type: "bytes32"
514
+ },
515
+ {
516
+ indexed: true,
517
+ internalType: "address",
518
+ name: "beneficiary",
519
+ type: "address"
520
+ },
521
+ {
522
+ indexed: false,
523
+ internalType: "uint128",
524
+ name: "liquidity",
525
+ type: "uint128"
526
+ },
527
+ {
528
+ indexed: false,
529
+ internalType: "int24",
530
+ name: "tickLower",
531
+ type: "int24"
532
+ },
533
+ {
534
+ indexed: false,
535
+ internalType: "int24",
536
+ name: "tickUpper",
537
+ type: "int24"
538
+ },
539
+ {
540
+ indexed: false,
541
+ internalType: "int24",
542
+ name: "twapTick",
543
+ type: "int24"
544
+ },
545
+ {
546
+ indexed: false,
547
+ internalType: "uint256",
548
+ name: "positionValue",
549
+ type: "uint256"
550
+ },
551
+ {
552
+ indexed: false,
553
+ internalType: "uint256",
554
+ name: "bonusAmount",
555
+ type: "uint256"
556
+ },
557
+ {
558
+ indexed: false,
559
+ internalType: "uint64",
560
+ name: "bonusUnlockAt",
561
+ type: "uint64"
562
+ }
563
+ ],
564
+ name: "ApeBondPositionDeposited",
565
+ type: "event"
566
+ },
567
+ {
568
+ anonymous: false,
569
+ inputs: [
570
+ {
571
+ indexed: true,
572
+ internalType: "bytes32",
573
+ name: "campaignId",
574
+ type: "bytes32"
575
+ },
576
+ {
577
+ indexed: true,
578
+ internalType: "address",
579
+ name: "caller",
580
+ type: "address"
581
+ },
582
+ {
583
+ indexed: false,
584
+ internalType: "bool",
585
+ name: "allowed",
586
+ type: "bool"
587
+ }
588
+ ],
589
+ name: "CampaignCallerSet",
590
+ type: "event"
591
+ },
592
+ {
593
+ anonymous: false,
594
+ inputs: [
595
+ {
596
+ indexed: true,
597
+ internalType: "bytes32",
598
+ name: "campaignId",
599
+ type: "bytes32"
600
+ },
601
+ {
602
+ indexed: false,
603
+ internalType: "bool",
604
+ name: "enabled",
605
+ type: "bool"
606
+ }
607
+ ],
608
+ name: "CampaignEnabledSet",
609
+ type: "event"
610
+ },
611
+ {
612
+ anonymous: false,
613
+ inputs: [
614
+ {
615
+ indexed: true,
616
+ internalType: "bytes32",
617
+ name: "campaignId",
618
+ type: "bytes32"
619
+ },
620
+ {
621
+ indexed: false,
622
+ internalType: "bool",
623
+ name: "enabled",
624
+ type: "bool"
625
+ },
626
+ {
627
+ indexed: false,
628
+ internalType: "int24",
629
+ name: "downTicks",
630
+ type: "int24"
631
+ },
632
+ {
633
+ indexed: false,
634
+ internalType: "int24",
635
+ name: "upTicks",
636
+ type: "int24"
637
+ },
638
+ {
639
+ indexed: false,
640
+ internalType: "int24",
641
+ name: "toleranceTicks",
642
+ type: "int24"
643
+ },
644
+ {
645
+ indexed: false,
646
+ internalType: "uint64",
647
+ name: "bonusCliffSeconds",
648
+ type: "uint64"
649
+ },
650
+ {
651
+ indexed: false,
652
+ internalType: "uint16",
653
+ name: "bonusBps",
654
+ type: "uint16"
655
+ },
656
+ {
657
+ indexed: false,
658
+ internalType: "uint256",
659
+ name: "minBonusAmount",
660
+ type: "uint256"
661
+ }
662
+ ],
663
+ name: "CampaignSet",
664
+ type: "event"
665
+ },
666
+ {
667
+ anonymous: false,
668
+ inputs: [
669
+ {
670
+ indexed: false,
671
+ internalType: "bool",
672
+ name: "depositsPaused",
673
+ type: "bool"
674
+ }
675
+ ],
676
+ name: "DepositsPausedSet",
677
+ type: "event"
678
+ },
679
+ {
680
+ anonymous: false,
681
+ inputs: [
682
+ {
683
+ indexed: false,
684
+ internalType: "address",
685
+ name: "previousGuardian",
686
+ type: "address"
687
+ },
688
+ {
689
+ indexed: false,
690
+ internalType: "address",
691
+ name: "newGuardian",
692
+ type: "address"
693
+ }
694
+ ],
695
+ name: "GuardianSet",
696
+ type: "event"
697
+ },
698
+ {
699
+ anonymous: false,
700
+ inputs: [
701
+ {
702
+ indexed: true,
703
+ internalType: "address",
704
+ name: "previousOwner",
705
+ type: "address"
706
+ },
707
+ {
708
+ indexed: true,
709
+ internalType: "address",
710
+ name: "newOwner",
711
+ type: "address"
712
+ }
713
+ ],
714
+ name: "OwnershipTransferred",
715
+ type: "event"
716
+ },
717
+ {
718
+ anonymous: false,
719
+ inputs: [
720
+ {
721
+ indexed: true,
722
+ internalType: "address",
723
+ name: "caller",
724
+ type: "address"
725
+ },
726
+ {
727
+ indexed: false,
728
+ internalType: "bool",
729
+ name: "allowed",
730
+ type: "bool"
731
+ }
732
+ ],
733
+ name: "SoulZapCallerSet",
734
+ type: "event"
735
+ },
736
+ {
737
+ inputs: [
738
+ ],
739
+ name: "BPS",
740
+ outputs: [
741
+ {
742
+ internalType: "uint16",
743
+ name: "",
744
+ type: "uint16"
745
+ }
746
+ ],
747
+ stateMutability: "view",
748
+ type: "function"
749
+ },
750
+ {
751
+ inputs: [
752
+ ],
753
+ name: "bonusIsToken0",
754
+ outputs: [
755
+ {
756
+ internalType: "bool",
757
+ name: "",
758
+ type: "bool"
759
+ }
760
+ ],
761
+ stateMutability: "view",
762
+ type: "function"
763
+ },
764
+ {
765
+ inputs: [
766
+ {
767
+ internalType: "bytes32",
768
+ name: "",
769
+ type: "bytes32"
770
+ },
771
+ {
772
+ internalType: "address",
773
+ name: "",
774
+ type: "address"
775
+ }
776
+ ],
777
+ name: "campaignCallers",
778
+ outputs: [
779
+ {
780
+ internalType: "bool",
781
+ name: "",
782
+ type: "bool"
783
+ }
784
+ ],
785
+ stateMutability: "view",
786
+ type: "function"
787
+ },
788
+ {
789
+ inputs: [
790
+ {
791
+ internalType: "bytes32",
792
+ name: "campaignId",
793
+ type: "bytes32"
794
+ }
795
+ ],
796
+ name: "campaignRange",
797
+ outputs: [
798
+ {
799
+ internalType: "int24",
800
+ name: "tickLower",
801
+ type: "int24"
802
+ },
803
+ {
804
+ internalType: "int24",
805
+ name: "tickUpper",
806
+ type: "int24"
807
+ },
808
+ {
809
+ internalType: "int24",
810
+ name: "currentTick",
811
+ type: "int24"
812
+ }
813
+ ],
814
+ stateMutability: "view",
815
+ type: "function"
816
+ },
817
+ {
818
+ inputs: [
819
+ {
820
+ internalType: "bytes32",
821
+ name: "",
822
+ type: "bytes32"
823
+ }
824
+ ],
825
+ name: "campaigns",
826
+ outputs: [
827
+ {
828
+ internalType: "bool",
829
+ name: "enabled",
830
+ type: "bool"
831
+ },
832
+ {
833
+ internalType: "int24",
834
+ name: "downTicks",
835
+ type: "int24"
836
+ },
837
+ {
838
+ internalType: "int24",
839
+ name: "upTicks",
840
+ type: "int24"
841
+ },
842
+ {
843
+ internalType: "int24",
844
+ name: "toleranceTicks",
845
+ type: "int24"
846
+ },
847
+ {
848
+ internalType: "uint64",
849
+ name: "bonusCliffSeconds",
850
+ type: "uint64"
851
+ },
852
+ {
853
+ internalType: "uint16",
854
+ name: "bonusBps",
855
+ type: "uint16"
856
+ },
857
+ {
858
+ internalType: "uint256",
859
+ name: "minBonusAmount",
860
+ type: "uint256"
861
+ }
862
+ ],
863
+ stateMutability: "view",
864
+ type: "function"
865
+ },
866
+ {
867
+ inputs: [
868
+ {
869
+ internalType: "uint256",
870
+ name: "tokenId",
871
+ type: "uint256"
872
+ },
873
+ {
874
+ internalType: "bytes32",
875
+ name: "campaignId",
876
+ type: "bytes32"
877
+ },
878
+ {
879
+ internalType: "address",
880
+ name: "beneficiary",
881
+ type: "address"
882
+ }
883
+ ],
884
+ name: "depositFor",
885
+ outputs: [
886
+ ],
887
+ stateMutability: "nonpayable",
888
+ type: "function"
889
+ },
890
+ {
891
+ inputs: [
892
+ ],
893
+ name: "depositsPaused",
894
+ outputs: [
895
+ {
896
+ internalType: "bool",
897
+ name: "",
898
+ type: "bool"
899
+ }
900
+ ],
901
+ stateMutability: "view",
902
+ type: "function"
903
+ },
904
+ {
905
+ inputs: [
906
+ ],
907
+ name: "escrow",
908
+ outputs: [
909
+ {
910
+ internalType: "contract IApeBondEscrow",
911
+ name: "",
912
+ type: "address"
913
+ }
914
+ ],
915
+ stateMutability: "view",
916
+ type: "function"
917
+ },
918
+ {
919
+ inputs: [
920
+ ],
921
+ name: "fee",
922
+ outputs: [
923
+ {
924
+ internalType: "uint24",
925
+ name: "",
926
+ type: "uint24"
927
+ }
928
+ ],
929
+ stateMutability: "view",
930
+ type: "function"
931
+ },
932
+ {
933
+ inputs: [
934
+ ],
935
+ name: "guardian",
936
+ outputs: [
937
+ {
938
+ internalType: "address",
939
+ name: "",
940
+ type: "address"
941
+ }
942
+ ],
943
+ stateMutability: "view",
944
+ type: "function"
945
+ },
946
+ {
947
+ inputs: [
948
+ ],
949
+ name: "minCliffSeconds",
950
+ outputs: [
951
+ {
952
+ internalType: "uint64",
953
+ name: "",
954
+ type: "uint64"
955
+ }
956
+ ],
957
+ stateMutability: "view",
958
+ type: "function"
959
+ },
960
+ {
961
+ inputs: [
962
+ {
963
+ internalType: "address",
964
+ name: "operator",
965
+ type: "address"
966
+ },
967
+ {
968
+ internalType: "address",
969
+ name: "from",
970
+ type: "address"
971
+ },
972
+ {
973
+ internalType: "uint256",
974
+ name: "tokenId",
975
+ type: "uint256"
976
+ },
977
+ {
978
+ internalType: "bytes",
979
+ name: "",
980
+ type: "bytes"
981
+ }
982
+ ],
983
+ name: "onERC721Received",
984
+ outputs: [
985
+ {
986
+ internalType: "bytes4",
987
+ name: "",
988
+ type: "bytes4"
989
+ }
990
+ ],
991
+ stateMutability: "view",
992
+ type: "function"
993
+ },
994
+ {
995
+ inputs: [
996
+ ],
997
+ name: "owner",
998
+ outputs: [
999
+ {
1000
+ internalType: "address",
1001
+ name: "",
1002
+ type: "address"
1003
+ }
1004
+ ],
1005
+ stateMutability: "view",
1006
+ type: "function"
1007
+ },
1008
+ {
1009
+ inputs: [
1010
+ ],
1011
+ name: "positionManager",
1012
+ outputs: [
1013
+ {
1014
+ internalType: "contract INonfungiblePositionManager",
1015
+ name: "",
1016
+ type: "address"
1017
+ }
1018
+ ],
1019
+ stateMutability: "view",
1020
+ type: "function"
1021
+ },
1022
+ {
1023
+ inputs: [
1024
+ {
1025
+ internalType: "bytes32",
1026
+ name: "campaignId",
1027
+ type: "bytes32"
1028
+ },
1029
+ {
1030
+ internalType: "uint128",
1031
+ name: "liquidity",
1032
+ type: "uint128"
1033
+ }
1034
+ ],
1035
+ name: "previewBonus",
1036
+ outputs: [
1037
+ {
1038
+ internalType: "uint256",
1039
+ name: "positionValue",
1040
+ type: "uint256"
1041
+ },
1042
+ {
1043
+ internalType: "uint256",
1044
+ name: "bonus",
1045
+ type: "uint256"
1046
+ },
1047
+ {
1048
+ internalType: "int24",
1049
+ name: "twapTick",
1050
+ type: "int24"
1051
+ }
1052
+ ],
1053
+ stateMutability: "view",
1054
+ type: "function"
1055
+ },
1056
+ {
1057
+ inputs: [
1058
+ {
1059
+ internalType: "bytes32",
1060
+ name: "campaignId",
1061
+ type: "bytes32"
1062
+ },
1063
+ {
1064
+ internalType: "uint128",
1065
+ name: "liquidity",
1066
+ type: "uint128"
1067
+ },
1068
+ {
1069
+ internalType: "int24",
1070
+ name: "tickLower",
1071
+ type: "int24"
1072
+ },
1073
+ {
1074
+ internalType: "int24",
1075
+ name: "tickUpper",
1076
+ type: "int24"
1077
+ }
1078
+ ],
1079
+ name: "previewBonusAt",
1080
+ outputs: [
1081
+ {
1082
+ internalType: "uint256",
1083
+ name: "positionValue",
1084
+ type: "uint256"
1085
+ },
1086
+ {
1087
+ internalType: "uint256",
1088
+ name: "bonus",
1089
+ type: "uint256"
1090
+ },
1091
+ {
1092
+ internalType: "int24",
1093
+ name: "twapTick",
1094
+ type: "int24"
1095
+ }
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function"
1099
+ },
1100
+ {
1101
+ inputs: [
1102
+ ],
1103
+ name: "renounceOwnership",
1104
+ outputs: [
1105
+ ],
1106
+ stateMutability: "nonpayable",
1107
+ type: "function"
1108
+ },
1109
+ {
1110
+ inputs: [
1111
+ {
1112
+ internalType: "bytes32",
1113
+ name: "campaignId",
1114
+ type: "bytes32"
1115
+ },
1116
+ {
1117
+ components: [
1118
+ {
1119
+ internalType: "bool",
1120
+ name: "enabled",
1121
+ type: "bool"
1122
+ },
1123
+ {
1124
+ internalType: "int24",
1125
+ name: "downTicks",
1126
+ type: "int24"
1127
+ },
1128
+ {
1129
+ internalType: "int24",
1130
+ name: "upTicks",
1131
+ type: "int24"
1132
+ },
1133
+ {
1134
+ internalType: "int24",
1135
+ name: "toleranceTicks",
1136
+ type: "int24"
1137
+ },
1138
+ {
1139
+ internalType: "uint64",
1140
+ name: "bonusCliffSeconds",
1141
+ type: "uint64"
1142
+ },
1143
+ {
1144
+ internalType: "uint16",
1145
+ name: "bonusBps",
1146
+ type: "uint16"
1147
+ },
1148
+ {
1149
+ internalType: "uint256",
1150
+ name: "minBonusAmount",
1151
+ type: "uint256"
1152
+ }
1153
+ ],
1154
+ internalType: "struct ApeBondPositionAdapter.CampaignConfig",
1155
+ name: "config",
1156
+ type: "tuple"
1157
+ }
1158
+ ],
1159
+ name: "setCampaign",
1160
+ outputs: [
1161
+ ],
1162
+ stateMutability: "nonpayable",
1163
+ type: "function"
1164
+ },
1165
+ {
1166
+ inputs: [
1167
+ {
1168
+ internalType: "bytes32",
1169
+ name: "campaignId",
1170
+ type: "bytes32"
1171
+ },
1172
+ {
1173
+ internalType: "address",
1174
+ name: "caller",
1175
+ type: "address"
1176
+ },
1177
+ {
1178
+ internalType: "bool",
1179
+ name: "allowed",
1180
+ type: "bool"
1181
+ }
1182
+ ],
1183
+ name: "setCampaignCaller",
1184
+ outputs: [
1185
+ ],
1186
+ stateMutability: "nonpayable",
1187
+ type: "function"
1188
+ },
1189
+ {
1190
+ inputs: [
1191
+ {
1192
+ internalType: "bytes32",
1193
+ name: "campaignId",
1194
+ type: "bytes32"
1195
+ },
1196
+ {
1197
+ internalType: "bool",
1198
+ name: "enabled",
1199
+ type: "bool"
1200
+ }
1201
+ ],
1202
+ name: "setCampaignEnabled",
1203
+ outputs: [
1204
+ ],
1205
+ stateMutability: "nonpayable",
1206
+ type: "function"
1207
+ },
1208
+ {
1209
+ inputs: [
1210
+ {
1211
+ internalType: "bool",
1212
+ name: "paused",
1213
+ type: "bool"
1214
+ }
1215
+ ],
1216
+ name: "setDepositsPaused",
1217
+ outputs: [
1218
+ ],
1219
+ stateMutability: "nonpayable",
1220
+ type: "function"
1221
+ },
1222
+ {
1223
+ inputs: [
1224
+ {
1225
+ internalType: "address",
1226
+ name: "newGuardian",
1227
+ type: "address"
1228
+ }
1229
+ ],
1230
+ name: "setGuardian",
1231
+ outputs: [
1232
+ ],
1233
+ stateMutability: "nonpayable",
1234
+ type: "function"
1235
+ },
1236
+ {
1237
+ inputs: [
1238
+ {
1239
+ internalType: "address",
1240
+ name: "caller",
1241
+ type: "address"
1242
+ },
1243
+ {
1244
+ internalType: "bool",
1245
+ name: "allowed",
1246
+ type: "bool"
1247
+ }
1248
+ ],
1249
+ name: "setSoulZapCaller",
1250
+ outputs: [
1251
+ ],
1252
+ stateMutability: "nonpayable",
1253
+ type: "function"
1254
+ },
1255
+ {
1256
+ inputs: [
1257
+ {
1258
+ internalType: "address",
1259
+ name: "",
1260
+ type: "address"
1261
+ }
1262
+ ],
1263
+ name: "soulZapCallers",
1264
+ outputs: [
1265
+ {
1266
+ internalType: "bool",
1267
+ name: "",
1268
+ type: "bool"
1269
+ }
1270
+ ],
1271
+ stateMutability: "view",
1272
+ type: "function"
1273
+ },
1274
+ {
1275
+ inputs: [
1276
+ ],
1277
+ name: "tickSpacing",
1278
+ outputs: [
1279
+ {
1280
+ internalType: "int24",
1281
+ name: "",
1282
+ type: "int24"
1283
+ }
1284
+ ],
1285
+ stateMutability: "view",
1286
+ type: "function"
1287
+ },
1288
+ {
1289
+ inputs: [
1290
+ ],
1291
+ name: "token0",
1292
+ outputs: [
1293
+ {
1294
+ internalType: "address",
1295
+ name: "",
1296
+ type: "address"
1297
+ }
1298
+ ],
1299
+ stateMutability: "view",
1300
+ type: "function"
1301
+ },
1302
+ {
1303
+ inputs: [
1304
+ ],
1305
+ name: "token1",
1306
+ outputs: [
1307
+ {
1308
+ internalType: "address",
1309
+ name: "",
1310
+ type: "address"
1311
+ }
1312
+ ],
1313
+ stateMutability: "view",
1314
+ type: "function"
1315
+ },
1316
+ {
1317
+ inputs: [
1318
+ {
1319
+ internalType: "address",
1320
+ name: "newOwner",
1321
+ type: "address"
1322
+ }
1323
+ ],
1324
+ name: "transferOwnership",
1325
+ outputs: [
1326
+ ],
1327
+ stateMutability: "nonpayable",
1328
+ type: "function"
1329
+ },
1330
+ {
1331
+ inputs: [
1332
+ ],
1333
+ name: "vault",
1334
+ outputs: [
1335
+ {
1336
+ internalType: "contract IApeBondVault",
1337
+ name: "",
1338
+ type: "address"
1339
+ }
1340
+ ],
1341
+ stateMutability: "view",
1342
+ type: "function"
1343
+ }
1344
+ ];
1345
+
1346
+ export { APE_BOND_POSITION_ADAPTER_ABI as default };
1347
+ //# sourceMappingURL=apeBondPositionAdapter.json.js.map