@ape.swap/bonds-sdk 1.0.552 → 1.0.554

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 (30) hide show
  1. package/dist/pages/YourBonds/YourBonds.js +10 -31
  2. package/package.json +1 -1
  3. package/dist/config/abi/bondNft.json +0 -424
  4. package/dist/config/abi/ens-public-resolver.json +0 -816
  5. package/dist/config/abi/ens-registrar.json +0 -422
  6. package/dist/config/abi/erc20_bytes32.json +0 -30
  7. package/dist/config/abi/jungleChef.json +0 -291
  8. package/dist/config/abi/launchBonds.json +0 -2014
  9. package/dist/config/abi/lockVeAbond.json +0 -2198
  10. package/dist/config/abi/migrationBond.json +0 -1639
  11. package/dist/config/abi/migrationFveAbond.json +0 -160
  12. package/dist/config/abi/multicallv3.json +0 -92
  13. package/dist/config/abi/price-getter-linea.json +0 -1448
  14. package/dist/config/abi/price-getter.json +0 -1309
  15. package/dist/config/abi/sousChef.json +0 -649
  16. package/dist/config/abi/weth.json +0 -279
  17. package/dist/hooks/PriceGetter/dexFactories.d.ts +0 -11
  18. package/dist/hooks/PriceGetter/dexFactories.js +0 -2
  19. package/dist/hooks/PriceGetter/usePricesFromPriceGetter.d.ts +0 -17
  20. package/dist/hooks/PriceGetter/usePricesFromPriceGetter.js +0 -205
  21. package/dist/hooks/useClaimBill.d.ts +0 -4
  22. package/dist/hooks/useClaimBill.js +0 -59
  23. package/dist/hooks/useContract.d.ts +0 -25
  24. package/dist/hooks/useContract.js +0 -107
  25. package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.d.ts +0 -4
  26. package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.js +0 -81
  27. package/dist/state/tokenPrices/getAllTokenPrices.d.ts +0 -5
  28. package/dist/state/tokenPrices/getAllTokenPrices.js +0 -288
  29. package/dist/state/tokenPrices/useTokenPricesNew.d.ts +0 -11
  30. package/dist/state/tokenPrices/useTokenPricesNew.js +0 -72
@@ -1,649 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "address",
8
- "name": "sender",
9
- "type": "address"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "user",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "amount",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "Deposit",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": false,
32
- "internalType": "uint256",
33
- "name": "amount",
34
- "type": "uint256"
35
- }
36
- ],
37
- "name": "DepositRewards",
38
- "type": "event"
39
- },
40
- {
41
- "anonymous": false,
42
- "inputs": [
43
- {
44
- "indexed": true,
45
- "internalType": "address",
46
- "name": "user",
47
- "type": "address"
48
- },
49
- {
50
- "indexed": false,
51
- "internalType": "uint256",
52
- "name": "amount",
53
- "type": "uint256"
54
- }
55
- ],
56
- "name": "EmergencyRewardWithdraw",
57
- "type": "event"
58
- },
59
- {
60
- "anonymous": false,
61
- "inputs": [
62
- {
63
- "indexed": true,
64
- "internalType": "address",
65
- "name": "user",
66
- "type": "address"
67
- },
68
- {
69
- "indexed": true,
70
- "internalType": "contract IERC20",
71
- "name": "token",
72
- "type": "address"
73
- },
74
- {
75
- "indexed": false,
76
- "internalType": "uint256",
77
- "name": "amount",
78
- "type": "uint256"
79
- }
80
- ],
81
- "name": "EmergencySweepWithdraw",
82
- "type": "event"
83
- },
84
- {
85
- "anonymous": false,
86
- "inputs": [
87
- {
88
- "indexed": true,
89
- "internalType": "address",
90
- "name": "user",
91
- "type": "address"
92
- },
93
- {
94
- "indexed": false,
95
- "internalType": "uint256",
96
- "name": "amount",
97
- "type": "uint256"
98
- }
99
- ],
100
- "name": "EmergencyWithdraw",
101
- "type": "event"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [
106
- {
107
- "indexed": false,
108
- "internalType": "uint256",
109
- "name": "bonusEndTime",
110
- "type": "uint256"
111
- },
112
- {
113
- "indexed": false,
114
- "internalType": "uint256",
115
- "name": "rewardPerSecond",
116
- "type": "uint256"
117
- }
118
- ],
119
- "name": "LogUpdatePool",
120
- "type": "event"
121
- },
122
- {
123
- "anonymous": false,
124
- "inputs": [
125
- {
126
- "indexed": true,
127
- "internalType": "address",
128
- "name": "previousOwner",
129
- "type": "address"
130
- },
131
- {
132
- "indexed": true,
133
- "internalType": "address",
134
- "name": "newOwner",
135
- "type": "address"
136
- }
137
- ],
138
- "name": "OwnershipTransferred",
139
- "type": "event"
140
- },
141
- {
142
- "anonymous": false,
143
- "inputs": [
144
- {
145
- "indexed": true,
146
- "internalType": "address",
147
- "name": "user",
148
- "type": "address"
149
- },
150
- {
151
- "indexed": false,
152
- "internalType": "uint256",
153
- "name": "amount",
154
- "type": "uint256"
155
- }
156
- ],
157
- "name": "SkimStakeTokenFees",
158
- "type": "event"
159
- },
160
- {
161
- "anonymous": false,
162
- "inputs": [
163
- {
164
- "indexed": true,
165
- "internalType": "address",
166
- "name": "user",
167
- "type": "address"
168
- },
169
- {
170
- "indexed": false,
171
- "internalType": "uint256",
172
- "name": "amount",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "Withdraw",
177
- "type": "event"
178
- },
179
- {
180
- "inputs": [],
181
- "name": "REWARD_TOKEN",
182
- "outputs": [
183
- {
184
- "internalType": "contract IERC20",
185
- "name": "",
186
- "type": "address"
187
- }
188
- ],
189
- "stateMutability": "view",
190
- "type": "function"
191
- },
192
- {
193
- "inputs": [],
194
- "name": "STAKE_TOKEN",
195
- "outputs": [
196
- {
197
- "internalType": "contract IERC20",
198
- "name": "",
199
- "type": "address"
200
- }
201
- ],
202
- "stateMutability": "view",
203
- "type": "function"
204
- },
205
- {
206
- "inputs": [],
207
- "name": "bonusEndTime",
208
- "outputs": [
209
- {
210
- "internalType": "uint256",
211
- "name": "",
212
- "type": "uint256"
213
- }
214
- ],
215
- "stateMutability": "view",
216
- "type": "function"
217
- },
218
- {
219
- "inputs": [
220
- {
221
- "internalType": "uint256",
222
- "name": "_amount",
223
- "type": "uint256"
224
- }
225
- ],
226
- "name": "deposit",
227
- "outputs": [],
228
- "stateMutability": "nonpayable",
229
- "type": "function"
230
- },
231
- {
232
- "inputs": [
233
- {
234
- "internalType": "uint256",
235
- "name": "_amount",
236
- "type": "uint256"
237
- }
238
- ],
239
- "name": "depositRewards",
240
- "outputs": [],
241
- "stateMutability": "nonpayable",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- {
247
- "internalType": "uint256",
248
- "name": "_amount",
249
- "type": "uint256"
250
- },
251
- {
252
- "internalType": "address",
253
- "name": "_user",
254
- "type": "address"
255
- }
256
- ],
257
- "name": "depositTo",
258
- "outputs": [],
259
- "stateMutability": "nonpayable",
260
- "type": "function"
261
- },
262
- {
263
- "inputs": [
264
- {
265
- "internalType": "uint256",
266
- "name": "_amount",
267
- "type": "uint256"
268
- }
269
- ],
270
- "name": "emergencyRewardWithdraw",
271
- "outputs": [],
272
- "stateMutability": "nonpayable",
273
- "type": "function"
274
- },
275
- {
276
- "inputs": [],
277
- "name": "emergencyWithdraw",
278
- "outputs": [],
279
- "stateMutability": "nonpayable",
280
- "type": "function"
281
- },
282
- {
283
- "inputs": [
284
- {
285
- "internalType": "uint256",
286
- "name": "_from",
287
- "type": "uint256"
288
- },
289
- {
290
- "internalType": "uint256",
291
- "name": "_to",
292
- "type": "uint256"
293
- }
294
- ],
295
- "name": "getMultiplier",
296
- "outputs": [
297
- {
298
- "internalType": "uint256",
299
- "name": "",
300
- "type": "uint256"
301
- }
302
- ],
303
- "stateMutability": "view",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getStakeTokenFeeBalance",
309
- "outputs": [
310
- {
311
- "internalType": "uint256",
312
- "name": "",
313
- "type": "uint256"
314
- }
315
- ],
316
- "stateMutability": "view",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [],
321
- "name": "getUnharvestedRewards",
322
- "outputs": [
323
- {
324
- "internalType": "uint256",
325
- "name": "",
326
- "type": "uint256"
327
- }
328
- ],
329
- "stateMutability": "view",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "contract IERC20",
336
- "name": "_stakeToken",
337
- "type": "address"
338
- },
339
- {
340
- "internalType": "contract IERC20",
341
- "name": "_rewardToken",
342
- "type": "address"
343
- },
344
- {
345
- "internalType": "uint256",
346
- "name": "_rewardPerSecond",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "_startTime",
352
- "type": "uint256"
353
- },
354
- {
355
- "internalType": "uint256",
356
- "name": "_bonusEndTime",
357
- "type": "uint256"
358
- }
359
- ],
360
- "name": "initialize",
361
- "outputs": [],
362
- "stateMutability": "nonpayable",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [],
367
- "name": "isNativeTokenReward",
368
- "outputs": [
369
- {
370
- "internalType": "bool",
371
- "name": "",
372
- "type": "bool"
373
- }
374
- ],
375
- "stateMutability": "view",
376
- "type": "function"
377
- },
378
- {
379
- "inputs": [],
380
- "name": "owner",
381
- "outputs": [
382
- {
383
- "internalType": "address",
384
- "name": "",
385
- "type": "address"
386
- }
387
- ],
388
- "stateMutability": "view",
389
- "type": "function"
390
- },
391
- {
392
- "inputs": [
393
- {
394
- "internalType": "address",
395
- "name": "_user",
396
- "type": "address"
397
- }
398
- ],
399
- "name": "pendingReward",
400
- "outputs": [
401
- {
402
- "internalType": "uint256",
403
- "name": "pending",
404
- "type": "uint256"
405
- }
406
- ],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [],
412
- "name": "poolInfo",
413
- "outputs": [
414
- {
415
- "internalType": "contract IERC20",
416
- "name": "lpToken",
417
- "type": "address"
418
- },
419
- {
420
- "internalType": "uint256",
421
- "name": "allocPoint",
422
- "type": "uint256"
423
- },
424
- {
425
- "internalType": "uint256",
426
- "name": "lastRewardTime",
427
- "type": "uint256"
428
- },
429
- {
430
- "internalType": "uint256",
431
- "name": "accRewardTokenPerShare",
432
- "type": "uint256"
433
- }
434
- ],
435
- "stateMutability": "view",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [],
440
- "name": "renounceOwnership",
441
- "outputs": [],
442
- "stateMutability": "nonpayable",
443
- "type": "function"
444
- },
445
- {
446
- "inputs": [],
447
- "name": "rewardBalance",
448
- "outputs": [
449
- {
450
- "internalType": "uint256",
451
- "name": "",
452
- "type": "uint256"
453
- }
454
- ],
455
- "stateMutability": "view",
456
- "type": "function"
457
- },
458
- {
459
- "inputs": [],
460
- "name": "rewardPerSecond",
461
- "outputs": [
462
- {
463
- "internalType": "uint256",
464
- "name": "",
465
- "type": "uint256"
466
- }
467
- ],
468
- "stateMutability": "view",
469
- "type": "function"
470
- },
471
- {
472
- "inputs": [
473
- {
474
- "internalType": "uint256",
475
- "name": "_bonusEndTime",
476
- "type": "uint256"
477
- }
478
- ],
479
- "name": "setBonusEndTime",
480
- "outputs": [],
481
- "stateMutability": "nonpayable",
482
- "type": "function"
483
- },
484
- {
485
- "inputs": [
486
- {
487
- "internalType": "uint256",
488
- "name": "_rewardPerSecond",
489
- "type": "uint256"
490
- }
491
- ],
492
- "name": "setRewardPerSecond",
493
- "outputs": [],
494
- "stateMutability": "nonpayable",
495
- "type": "function"
496
- },
497
- {
498
- "inputs": [
499
- {
500
- "internalType": "address",
501
- "name": "_to",
502
- "type": "address"
503
- }
504
- ],
505
- "name": "skimStakeTokenFees",
506
- "outputs": [],
507
- "stateMutability": "nonpayable",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [],
512
- "name": "startTime",
513
- "outputs": [
514
- {
515
- "internalType": "uint256",
516
- "name": "",
517
- "type": "uint256"
518
- }
519
- ],
520
- "stateMutability": "view",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [
525
- {
526
- "internalType": "contract IERC20",
527
- "name": "token",
528
- "type": "address"
529
- }
530
- ],
531
- "name": "sweepToken",
532
- "outputs": [],
533
- "stateMutability": "nonpayable",
534
- "type": "function"
535
- },
536
- {
537
- "inputs": [],
538
- "name": "totalRewardsAllocated",
539
- "outputs": [
540
- {
541
- "internalType": "uint256",
542
- "name": "",
543
- "type": "uint256"
544
- }
545
- ],
546
- "stateMutability": "view",
547
- "type": "function"
548
- },
549
- {
550
- "inputs": [],
551
- "name": "totalRewardsPaid",
552
- "outputs": [
553
- {
554
- "internalType": "uint256",
555
- "name": "",
556
- "type": "uint256"
557
- }
558
- ],
559
- "stateMutability": "view",
560
- "type": "function"
561
- },
562
- {
563
- "inputs": [],
564
- "name": "totalStakeTokenBalance",
565
- "outputs": [
566
- {
567
- "internalType": "uint256",
568
- "name": "",
569
- "type": "uint256"
570
- }
571
- ],
572
- "stateMutability": "view",
573
- "type": "function"
574
- },
575
- {
576
- "inputs": [],
577
- "name": "totalStaked",
578
- "outputs": [
579
- {
580
- "internalType": "uint256",
581
- "name": "",
582
- "type": "uint256"
583
- }
584
- ],
585
- "stateMutability": "view",
586
- "type": "function"
587
- },
588
- {
589
- "inputs": [
590
- {
591
- "internalType": "address",
592
- "name": "newOwner",
593
- "type": "address"
594
- }
595
- ],
596
- "name": "transferOwnership",
597
- "outputs": [],
598
- "stateMutability": "nonpayable",
599
- "type": "function"
600
- },
601
- {
602
- "inputs": [],
603
- "name": "updatePool",
604
- "outputs": [],
605
- "stateMutability": "nonpayable",
606
- "type": "function"
607
- },
608
- {
609
- "inputs": [
610
- {
611
- "internalType": "address",
612
- "name": "",
613
- "type": "address"
614
- }
615
- ],
616
- "name": "userInfo",
617
- "outputs": [
618
- {
619
- "internalType": "uint256",
620
- "name": "amount",
621
- "type": "uint256"
622
- },
623
- {
624
- "internalType": "uint256",
625
- "name": "rewardDebt",
626
- "type": "uint256"
627
- }
628
- ],
629
- "stateMutability": "view",
630
- "type": "function"
631
- },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "uint256",
636
- "name": "_amount",
637
- "type": "uint256"
638
- }
639
- ],
640
- "name": "withdraw",
641
- "outputs": [],
642
- "stateMutability": "nonpayable",
643
- "type": "function"
644
- },
645
- {
646
- "stateMutability": "payable",
647
- "type": "receive"
648
- }
649
- ]