@sonarwatch/portfolio-plugins 0.12.35 → 0.12.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. package/CHANGELOG.md +10 -2
  2. package/package.json +1 -1
  3. package/src/index.js +8 -0
  4. package/src/index.js.map +1 -1
  5. package/src/orphanPlatorms.js +0 -8
  6. package/src/orphanPlatorms.js.map +1 -1
  7. package/src/plugins/01/depostisFetcher.js +1 -1
  8. package/src/plugins/01/depostisFetcher.js.map +1 -1
  9. package/src/plugins/aave/helpers.js +6 -1
  10. package/src/plugins/aave/helpers.js.map +1 -1
  11. package/src/plugins/allbridge/constants.d.ts +11 -0
  12. package/src/plugins/allbridge/constants.js +25 -0
  13. package/src/plugins/allbridge/constants.js.map +1 -0
  14. package/src/plugins/allbridge/helpers.d.ts +5 -0
  15. package/src/plugins/allbridge/helpers.js +25 -0
  16. package/src/plugins/allbridge/helpers.js.map +1 -0
  17. package/src/plugins/allbridge/idl.d.ts +58 -0
  18. package/src/plugins/allbridge/idl.js +476 -0
  19. package/src/plugins/allbridge/idl.js.map +1 -0
  20. package/src/plugins/allbridge/index.d.ts +6 -0
  21. package/src/plugins/allbridge/index.js +13 -0
  22. package/src/plugins/allbridge/index.js.map +1 -0
  23. package/src/plugins/allbridge/poolsJob.d.ts +3 -0
  24. package/src/plugins/allbridge/poolsJob.js +40 -0
  25. package/src/plugins/allbridge/poolsJob.js.map +1 -0
  26. package/src/plugins/allbridge/positionsFetcher.js +92 -0
  27. package/src/plugins/allbridge/positionsFetcher.js.map +1 -0
  28. package/src/plugins/allbridge/types.d.ts +38 -0
  29. package/src/plugins/allbridge/types.js +3 -0
  30. package/src/plugins/allbridge/types.js.map +1 -0
  31. package/src/plugins/aptin/depositsFetcher.js +6 -1
  32. package/src/plugins/aptin/depositsFetcher.js.map +1 -1
  33. package/src/plugins/aries/depositsFetcher.js +7 -1
  34. package/src/plugins/aries/depositsFetcher.js.map +1 -1
  35. package/src/plugins/banx/constants.d.ts +0 -1
  36. package/src/plugins/banx/constants.js +1 -2
  37. package/src/plugins/banx/constants.js.map +1 -1
  38. package/src/plugins/banx/{calculateLoanRepayValue.d.ts → helpers.d.ts} +1 -0
  39. package/src/plugins/banx/{calculateLoanRepayValue.js → helpers.js} +29 -2
  40. package/src/plugins/banx/helpers.js.map +1 -0
  41. package/src/plugins/banx/idl.d.ts +15 -7
  42. package/src/plugins/banx/idl.js +199 -268
  43. package/src/plugins/banx/idl.js.map +1 -1
  44. package/src/plugins/banx/loansFetcher.js +33 -28
  45. package/src/plugins/banx/loansFetcher.js.map +1 -1
  46. package/src/plugins/banx/offersFetcher.js +15 -16
  47. package/src/plugins/banx/offersFetcher.js.map +1 -1
  48. package/src/plugins/bucket/collateralFetcher.js +1 -1
  49. package/src/plugins/bucket/collateralFetcher.js.map +1 -1
  50. package/src/plugins/citrus/collectionsJob.js.map +1 -1
  51. package/src/plugins/citrus/constants.d.ts +0 -1
  52. package/src/plugins/citrus/constants.js +1 -2
  53. package/src/plugins/citrus/constants.js.map +1 -1
  54. package/src/plugins/citrus/loansFetcher.js +18 -20
  55. package/src/plugins/citrus/loansFetcher.js.map +1 -1
  56. package/src/plugins/clone/depositsFetcher.js +2 -2
  57. package/src/plugins/clone/depositsFetcher.js.map +1 -1
  58. package/src/plugins/compound/getPositionsV2Fetcher.js +1 -1
  59. package/src/plugins/compound/getPositionsV2Fetcher.js.map +1 -1
  60. package/src/plugins/compound/getPositionsV3Fetcher.js +5 -1
  61. package/src/plugins/compound/getPositionsV3Fetcher.js.map +1 -1
  62. package/src/plugins/drift/depositsFetcher.d.ts +3 -0
  63. package/src/plugins/drift/{deposits.js → depositsFetcher.js} +4 -4
  64. package/src/plugins/drift/depositsFetcher.js.map +1 -0
  65. package/src/plugins/drift/index.js +2 -2
  66. package/src/plugins/drift/index.js.map +1 -1
  67. package/src/plugins/flash/perpetualFetcher.js +1 -1
  68. package/src/plugins/flash/perpetualFetcher.js.map +1 -1
  69. package/src/plugins/flexlend/depositsFetcher.js +2 -2
  70. package/src/plugins/flexlend/depositsFetcher.js.map +1 -1
  71. package/src/plugins/jupiter/exchange/constants.d.ts +1 -0
  72. package/src/plugins/jupiter/exchange/constants.js +2 -1
  73. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  74. package/src/plugins/jupiter/exchange/limitFetcher.js +9 -6
  75. package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
  76. package/src/plugins/jupiter/exchange/perpetualFetcher.js +8 -8
  77. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  78. package/src/plugins/jupiter/exchange/structs.d.ts +21 -0
  79. package/src/plugins/jupiter/exchange/structs.js +21 -1
  80. package/src/plugins/jupiter/exchange/structs.js.map +1 -1
  81. package/src/plugins/jupiter/pricingJob.js +7 -22
  82. package/src/plugins/jupiter/pricingJob.js.map +1 -1
  83. package/src/plugins/kamino/lendsFetcher.js +21 -3
  84. package/src/plugins/kamino/lendsFetcher.js.map +1 -1
  85. package/src/plugins/maker/vaultsFetcher.js +1 -1
  86. package/src/plugins/maker/vaultsFetcher.js.map +1 -1
  87. package/src/plugins/mango/boostFetcher.js +1 -1
  88. package/src/plugins/mango/boostFetcher.js.map +1 -1
  89. package/src/plugins/mango/collateralFetcher.js +1 -1
  90. package/src/plugins/mango/collateralFetcher.js.map +1 -1
  91. package/src/plugins/mango/redeemFetcher.js +1 -1
  92. package/src/plugins/mango/redeemFetcher.js.map +1 -1
  93. package/src/plugins/maple/ethereumFetcher.js +1 -1
  94. package/src/plugins/maple/ethereumFetcher.js.map +1 -1
  95. package/src/plugins/marginfi/helpers.js +7 -1
  96. package/src/plugins/marginfi/helpers.js.map +1 -1
  97. package/src/plugins/mole/farmsFetcher.js +5 -1
  98. package/src/plugins/mole/farmsFetcher.js.map +1 -1
  99. package/src/plugins/morpho/aaveV3CollateralFetcher.js +1 -1
  100. package/src/plugins/morpho/aaveV3CollateralFetcher.js.map +1 -1
  101. package/src/plugins/native-stake/solana/solanaFetcher.js +2 -0
  102. package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
  103. package/src/plugins/navi/collateralFetcher.js +6 -1
  104. package/src/plugins/navi/collateralFetcher.js.map +1 -1
  105. package/src/plugins/nosana/stakingFetcher.js +8 -2
  106. package/src/plugins/nosana/stakingFetcher.js.map +1 -1
  107. package/src/plugins/port/obligationsFetcher.js +1 -1
  108. package/src/plugins/port/obligationsFetcher.js.map +1 -1
  109. package/src/plugins/rain/collectionsJob.js +6 -10
  110. package/src/plugins/rain/collectionsJob.js.map +1 -1
  111. package/src/plugins/rain/helpers.js +3 -1
  112. package/src/plugins/rain/helpers.js.map +1 -1
  113. package/src/plugins/rain/index.js +2 -1
  114. package/src/plugins/rain/index.js.map +1 -1
  115. package/src/plugins/rain/loansFetcher.js +61 -26
  116. package/src/plugins/rain/loansFetcher.js.map +1 -1
  117. package/src/plugins/rain/poolsFetcher.js +1 -1
  118. package/src/plugins/rain/poolsFetcher.js.map +1 -1
  119. package/src/plugins/rain/types.d.ts +3 -0
  120. package/src/plugins/sanctum/constants.d.ts +4 -0
  121. package/src/plugins/sanctum/constants.js +14 -0
  122. package/src/plugins/sanctum/constants.js.map +1 -0
  123. package/src/plugins/sanctum/index.d.ts +6 -0
  124. package/src/plugins/sanctum/index.js +12 -0
  125. package/src/plugins/sanctum/index.js.map +1 -0
  126. package/src/plugins/sanctum/lstsJob.d.ts +3 -0
  127. package/src/plugins/sanctum/lstsJob.js +36 -0
  128. package/src/plugins/sanctum/lstsJob.js.map +1 -0
  129. package/src/plugins/scallop/lendingsFetcher.js +1 -1
  130. package/src/plugins/scallop/lendingsFetcher.js.map +1 -1
  131. package/src/plugins/scallop/obligationsFetcher.js +1 -1
  132. package/src/plugins/scallop/obligationsFetcher.js.map +1 -1
  133. package/src/plugins/sharky/constants.d.ts +0 -1
  134. package/src/plugins/sharky/constants.js +3 -4
  135. package/src/plugins/sharky/constants.js.map +1 -1
  136. package/src/plugins/sharky/loansFetcher.js +21 -20
  137. package/src/plugins/sharky/loansFetcher.js.map +1 -1
  138. package/src/plugins/solend/helpers.js +7 -1
  139. package/src/plugins/solend/helpers.js.map +1 -1
  140. package/src/plugins/suilend/obligationsFetcher.js +7 -1
  141. package/src/plugins/suilend/obligationsFetcher.js.map +1 -1
  142. package/src/plugins/thala/vaultsFetcher.js +1 -1
  143. package/src/plugins/thala/vaultsFetcher.js.map +1 -1
  144. package/src/plugins/zeta/airdropFetcher.d.ts +3 -0
  145. package/src/plugins/zeta/airdropFetcher.js +105 -0
  146. package/src/plugins/zeta/airdropFetcher.js.map +1 -0
  147. package/src/plugins/zeta/constants.d.ts +3 -0
  148. package/src/plugins/zeta/constants.js +4 -1
  149. package/src/plugins/zeta/constants.js.map +1 -1
  150. package/src/plugins/zeta/index.js +2 -1
  151. package/src/plugins/zeta/index.js.map +1 -1
  152. package/src/plugins/zeta/types.d.ts +14 -0
  153. package/src/plugins/zeta/types.js +3 -0
  154. package/src/plugins/zeta/types.js.map +1 -0
  155. package/src/utils/misc/MemoizedCache.d.ts +12 -0
  156. package/src/utils/misc/MemoizedCache.js +35 -0
  157. package/src/utils/misc/MemoizedCache.js.map +1 -0
  158. package/src/utils/misc/arrayToMap.d.ts +1 -0
  159. package/src/utils/misc/arrayToMap.js +12 -0
  160. package/src/utils/misc/arrayToMap.js.map +1 -0
  161. package/src/utils/misc/pick.d.ts +2 -0
  162. package/src/utils/misc/pick.js +16 -0
  163. package/src/utils/misc/pick.js.map +1 -0
  164. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js +8 -3
  165. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js.map +1 -1
  166. package/src/plugins/banx/calculateLoanRepayValue.js.map +0 -1
  167. package/src/plugins/drift/deposits.js.map +0 -1
  168. /package/src/plugins/{drift/deposits.d.ts → allbridge/positionsFetcher.d.ts} +0 -0
@@ -61,7 +61,7 @@ exports.BanxIDL = {
61
61
  type: 'u64',
62
62
  },
63
63
  {
64
- name: 'placeholderOne',
64
+ name: 'amountOfHadesTokensHarvested',
65
65
  type: 'u64',
66
66
  },
67
67
  {
@@ -169,8 +169,20 @@ exports.BanxIDL = {
169
169
  type: 'u64',
170
170
  },
171
171
  {
172
- name: 'placeholderOne',
173
- type: 'publicKey',
172
+ name: 'hadesPerWeek',
173
+ type: 'u64',
174
+ },
175
+ {
176
+ name: 'placeholderTwo',
177
+ type: 'u64',
178
+ },
179
+ {
180
+ name: 'placeholderThree',
181
+ type: 'u64',
182
+ },
183
+ {
184
+ name: 'placeholderFour',
185
+ type: 'u64',
174
186
  },
175
187
  ],
176
188
  },
@@ -370,80 +382,48 @@ exports.BanxIDL = {
370
382
  },
371
383
  },
372
384
  {
373
- name: 'hadespinLeaderboardEntry',
385
+ name: 'proposal',
374
386
  type: {
375
387
  kind: 'struct',
376
388
  fields: [
377
389
  {
378
- name: 'user',
379
- type: 'publicKey',
380
- },
381
- {
382
- name: 'totalSolDeposited',
383
- type: 'u64',
384
- },
385
- {
386
- name: 'totalSolInNftDeposited',
387
- type: 'u64',
390
+ name: 'state',
391
+ type: {
392
+ defined: 'ProposalState',
393
+ },
388
394
  },
389
395
  {
390
- name: 'totalNftDeposited',
391
- type: 'u64',
396
+ name: 'name',
397
+ type: {
398
+ array: ['u8', 32],
399
+ },
392
400
  },
393
401
  {
394
- name: 'totalFeePayed',
402
+ name: 'week',
395
403
  type: 'u64',
396
404
  },
397
405
  {
398
- name: 'totalSolWon',
406
+ name: 'duration',
399
407
  type: 'u64',
400
408
  },
401
409
  {
402
- name: 'lastTransactedAt',
410
+ name: 'pointsQuorum',
403
411
  type: 'u64',
404
412
  },
405
413
  {
406
- name: 'placeholderOne',
407
- type: 'publicKey',
408
- },
409
- {
410
- name: 'placeholderTwo',
414
+ name: 'creator',
411
415
  type: 'publicKey',
412
416
  },
413
- ],
414
- },
415
- },
416
- {
417
- name: 'hadespinLeaderboardWeekEntry',
418
- type: {
419
- kind: 'struct',
420
- fields: [
421
417
  {
422
- name: 'user',
423
- type: 'publicKey',
424
- },
425
- {
426
- name: 'week',
427
- type: 'u64',
428
- },
429
- {
430
- name: 'totalSolDeposited',
431
- type: 'u64',
432
- },
433
- {
434
- name: 'totalSolInNftDeposited',
435
- type: 'u64',
436
- },
437
- {
438
- name: 'totalNftDeposited',
418
+ name: 'participants',
439
419
  type: 'u64',
440
420
  },
441
421
  {
442
- name: 'totalFeePayed',
422
+ name: 'pointsTotal',
443
423
  type: 'u64',
444
424
  },
445
425
  {
446
- name: 'totalSolWon',
426
+ name: 'initializedAt',
447
427
  type: 'u64',
448
428
  },
449
429
  {
@@ -451,91 +431,47 @@ exports.BanxIDL = {
451
431
  type: 'u64',
452
432
  },
453
433
  {
454
- name: 'placeholderOne',
455
- type: 'publicKey',
456
- },
457
- {
458
- name: 'placeholderTwo',
459
- type: 'publicKey',
460
- },
461
- ],
462
- },
463
- },
464
- {
465
- name: 'hadespinRakeback',
466
- type: {
467
- kind: 'struct',
468
- fields: [
469
- {
470
- name: 'user',
471
- type: 'publicKey',
472
- },
473
- {
474
- name: 'hadesToClaimAmount',
475
- type: 'u64',
476
- },
477
- {
478
- name: 'claimTimestamp',
434
+ name: 'placeholder1',
479
435
  type: 'u64',
480
436
  },
481
437
  {
482
- name: 'claimedAt',
483
- type: 'u64',
484
- },
485
- {
486
- name: 'claimed',
487
- type: 'bool',
488
- },
489
- {
490
- name: 'lastTransactedAt',
438
+ name: 'placeholder2',
491
439
  type: 'u64',
492
440
  },
493
441
  {
494
- name: 'placeholderOne',
442
+ name: 'placeholder3',
495
443
  type: 'publicKey',
496
444
  },
497
445
  ],
498
446
  },
499
447
  },
500
448
  {
501
- name: 'roundSetting',
449
+ name: 'proposalVariant',
502
450
  type: {
503
451
  kind: 'struct',
504
452
  fields: [
505
453
  {
506
- name: 'completedRounds',
507
- type: 'u64',
508
- },
509
- {
510
- name: 'totalSolDeposited',
511
- type: 'u64',
512
- },
513
- {
514
- name: 'totalFeeCollected',
515
- type: 'u64',
454
+ name: 'proposal',
455
+ type: 'publicKey',
516
456
  },
517
457
  {
518
- name: 'totalParticipants',
519
- type: 'u64',
458
+ name: 'name',
459
+ type: {
460
+ array: ['u8', 32],
461
+ },
520
462
  },
521
463
  {
522
- name: 'roundDuration',
523
- type: 'u64',
464
+ name: 'state',
465
+ type: {
466
+ defined: 'ProposalState',
467
+ },
524
468
  },
525
469
  {
526
- name: 'minSolToDeposit',
470
+ name: 'participants',
527
471
  type: 'u64',
528
472
  },
529
473
  {
530
- name: 'feePercent',
531
- type: 'u64',
532
- },
533
- {
534
- name: 'canInitializeNextRound',
535
- type: 'bool',
536
- },
537
- {
538
- name: 'lastRoundEndsAt',
474
+ name: 'pointsTotal',
539
475
  type: 'u64',
540
476
  },
541
477
  {
@@ -543,159 +479,51 @@ exports.BanxIDL = {
543
479
  type: 'u64',
544
480
  },
545
481
  {
546
- name: 'rakebackHadesForSol',
547
- type: 'u64',
548
- },
549
- {
550
- name: 'contractBid',
482
+ name: 'placeholder1',
551
483
  type: 'u64',
552
484
  },
553
485
  {
554
- name: 'placeholdeOne',
555
- type: 'u64',
556
- },
557
- {
558
- name: 'placeholdeTwo',
486
+ name: 'placeholder2',
559
487
  type: 'u64',
560
488
  },
561
489
  ],
562
490
  },
563
491
  },
564
492
  {
565
- name: 'round',
493
+ name: 'proposalVote',
566
494
  type: {
567
495
  kind: 'struct',
568
496
  fields: [
569
497
  {
570
- name: 'roundState',
498
+ name: 'state',
571
499
  type: {
572
- defined: 'RoundState',
500
+ defined: 'ProposalState',
573
501
  },
574
502
  },
575
503
  {
576
- name: 'roundValue',
577
- type: 'u64',
578
- },
579
- {
580
- name: 'startedAt',
581
- type: 'u64',
582
- },
583
- {
584
- name: 'solAmount',
585
- type: 'u64',
586
- },
587
- {
588
- name: 'feeAmount',
589
- type: 'u64',
590
- },
591
- {
592
- name: 'participants',
593
- type: 'u64',
594
- },
595
- {
596
- name: 'roundEndsAt',
597
- type: 'u64',
598
- },
599
- {
600
- name: 'lastTransactedAt',
601
- type: 'u64',
602
- },
603
- {
604
- name: 'winner',
504
+ name: 'proposalVariant',
605
505
  type: 'publicKey',
606
506
  },
607
507
  {
608
- name: 'roundNumber',
609
- type: 'u64',
610
- },
611
- {
612
- name: 'solInNftAmount',
613
- type: 'u64',
614
- },
615
- {
616
- name: 'contractBid',
617
- type: 'u64',
618
- },
619
- {
620
- name: 'placeholderOne',
621
- type: 'u64',
622
- },
623
- {
624
- name: 'placeholderTwo',
625
- type: 'u64',
626
- },
627
- {
628
- name: 'placeholderThree',
629
- type: 'u64',
630
- },
631
- ],
632
- },
633
- },
634
- {
635
- name: 'userRound',
636
- type: {
637
- kind: 'struct',
638
- fields: [
639
- {
640
- name: 'round',
508
+ name: 'adventureSubscription',
641
509
  type: 'publicKey',
642
510
  },
643
- {
644
- name: 'solDeposited',
645
- type: 'u64',
646
- },
647
- {
648
- name: 'startSolPosition',
649
- type: 'u64',
650
- },
651
511
  {
652
512
  name: 'user',
653
513
  type: 'publicKey',
654
514
  },
655
515
  {
656
- name: 'lastTransactedAt',
516
+ name: 'points',
657
517
  type: 'u64',
658
518
  },
659
519
  {
660
- name: 'depositedAt',
520
+ name: 'lastTransactedAt',
661
521
  type: 'u64',
662
522
  },
663
523
  {
664
- name: 'nftMint',
524
+ name: 'placeholder',
665
525
  type: 'publicKey',
666
526
  },
667
- {
668
- name: 'jackpotSolAmount',
669
- type: 'u64',
670
- },
671
- {
672
- name: 'jackpotClaimedAt',
673
- type: 'u64',
674
- },
675
- {
676
- name: 'jackpotClaimed',
677
- type: 'bool',
678
- },
679
- {
680
- name: 'placeholderOne',
681
- type: 'u64',
682
- },
683
- {
684
- name: 'placeholderTwo',
685
- type: 'u32',
686
- },
687
- {
688
- name: 'placeholderThree',
689
- type: 'bool',
690
- },
691
- {
692
- name: 'placeholderFour',
693
- type: 'bool',
694
- },
695
- {
696
- name: 'placeholderFive',
697
- type: 'bool',
698
- },
699
527
  ],
700
528
  },
701
529
  },
@@ -794,53 +622,81 @@ exports.BanxIDL = {
794
622
  },
795
623
  },
796
624
  {
797
- name: 'banxSolStakingOffer',
625
+ name: 'bondOfferV2',
798
626
  type: {
799
627
  kind: 'struct',
800
628
  fields: [
801
629
  {
802
- name: 'user',
630
+ name: 'hadoMarket',
803
631
  type: 'publicKey',
804
632
  },
805
633
  {
806
- name: 'banxSolStakingOfferState',
634
+ name: 'pairState',
807
635
  type: {
808
- defined: 'BanxSolStakingOfferState',
636
+ defined: 'PairState',
809
637
  },
810
638
  },
811
639
  {
812
- name: 'lastClaimedAt',
640
+ name: 'bondingCurve',
641
+ type: {
642
+ defined: 'BondOfferBondingCurve',
643
+ },
644
+ },
645
+ {
646
+ name: 'baseSpotPrice',
813
647
  type: 'u64',
814
648
  },
815
649
  {
816
- name: 'totalClaimedAmount',
650
+ name: 'mathCounter',
651
+ type: 'i64',
652
+ },
653
+ {
654
+ name: 'currentSpotPrice',
655
+ type: 'u64',
656
+ },
657
+ {
658
+ name: 'concentrationIndex',
659
+ type: 'u64',
660
+ },
661
+ {
662
+ name: 'bidCap',
817
663
  type: 'u64',
818
664
  },
819
665
  {
820
- name: 'totalInterestRewards',
666
+ name: 'bidSettlement',
667
+ type: 'i64',
668
+ },
669
+ {
670
+ name: 'edgeSettlement',
821
671
  type: 'u64',
822
672
  },
823
673
  {
824
- name: 'createdAt',
674
+ name: 'fundsSolOrTokenBalance',
825
675
  type: 'u64',
826
676
  },
827
677
  {
828
- name: 'totalLent',
678
+ name: 'buyOrdersQuantity',
829
679
  type: 'u64',
830
680
  },
831
681
  {
832
- name: 'currentInOffer',
682
+ name: 'lastTransactedAt',
833
683
  type: 'u64',
834
684
  },
835
685
  {
836
- name: 'placeholderOne',
686
+ name: 'assetReceiver',
837
687
  type: 'publicKey',
838
688
  },
689
+ {
690
+ name: 'validation',
691
+ type: {
692
+ defined: 'BondOfferValidation',
693
+ },
694
+ },
839
695
  ],
840
696
  },
841
697
  },
842
698
  {
843
- name: 'bondOfferV2',
699
+ name: 'bondOfferV3',
844
700
  type: {
845
701
  kind: 'struct',
846
702
  fields: [
@@ -910,6 +766,38 @@ exports.BanxIDL = {
910
766
  defined: 'BondOfferValidation',
911
767
  },
912
768
  },
769
+ {
770
+ name: 'fundsInCurrentEpoch',
771
+ type: 'u64',
772
+ },
773
+ {
774
+ name: 'fundsInNextEpoch',
775
+ type: 'u64',
776
+ },
777
+ {
778
+ name: 'lastCalculatedSlot',
779
+ type: 'u64',
780
+ },
781
+ {
782
+ name: 'lastCalculatedTimestamp',
783
+ type: 'u64',
784
+ },
785
+ {
786
+ name: 'rewardsToHarvest',
787
+ type: 'u64',
788
+ },
789
+ {
790
+ name: 'rewardsToHarvested',
791
+ type: 'u64',
792
+ },
793
+ {
794
+ name: 'placeholderOne',
795
+ type: 'u64',
796
+ },
797
+ {
798
+ name: 'placeholderTwo',
799
+ type: 'publicKey',
800
+ },
913
801
  ],
914
802
  },
915
803
  },
@@ -1417,6 +1305,46 @@ exports.BanxIDL = {
1417
1305
  },
1418
1306
  ],
1419
1307
  types: [
1308
+ {
1309
+ name: 'SaveProposalParams',
1310
+ type: {
1311
+ kind: 'struct',
1312
+ fields: [
1313
+ {
1314
+ name: 'name',
1315
+ type: {
1316
+ array: ['u8', 32],
1317
+ },
1318
+ },
1319
+ {
1320
+ name: 'week',
1321
+ type: 'u64',
1322
+ },
1323
+ {
1324
+ name: 'duration',
1325
+ type: 'u64',
1326
+ },
1327
+ {
1328
+ name: 'pointsQuorum',
1329
+ type: 'u64',
1330
+ },
1331
+ ],
1332
+ },
1333
+ },
1334
+ {
1335
+ name: 'SaveVariantParams',
1336
+ type: {
1337
+ kind: 'struct',
1338
+ fields: [
1339
+ {
1340
+ name: 'name',
1341
+ type: {
1342
+ array: ['u8', 32],
1343
+ },
1344
+ },
1345
+ ],
1346
+ },
1347
+ },
1420
1348
  {
1421
1349
  name: 'InitializeHadoMarketParams',
1422
1350
  type: {
@@ -1513,7 +1441,7 @@ exports.BanxIDL = {
1513
1441
  type: 'u64',
1514
1442
  },
1515
1443
  {
1516
- name: 'durationFilter',
1444
+ name: 'collateralsPerToken',
1517
1445
  type: 'u64',
1518
1446
  },
1519
1447
  {
@@ -1613,6 +1541,23 @@ exports.BanxIDL = {
1613
1541
  ],
1614
1542
  },
1615
1543
  },
1544
+ {
1545
+ name: 'ProposalErrorCode',
1546
+ type: {
1547
+ kind: 'enum',
1548
+ variants: [
1549
+ {
1550
+ name: 'InvalidWeek',
1551
+ },
1552
+ {
1553
+ name: 'InvalidPreviousVariant',
1554
+ },
1555
+ {
1556
+ name: 'ProposalIsNotActive',
1557
+ },
1558
+ ],
1559
+ },
1560
+ },
1616
1561
  {
1617
1562
  name: 'BanxAdventureSubscriptionState',
1618
1563
  type: {
@@ -1725,22 +1670,16 @@ exports.BanxIDL = {
1725
1670
  },
1726
1671
  },
1727
1672
  {
1728
- name: 'RoundState',
1673
+ name: 'ProposalState',
1729
1674
  type: {
1730
1675
  kind: 'enum',
1731
1676
  variants: [
1732
1677
  {
1733
- name: 'Uninitialized',
1678
+ name: 'None',
1734
1679
  },
1735
1680
  {
1736
1681
  name: 'Initialized',
1737
1682
  },
1738
- {
1739
- name: 'Open',
1740
- },
1741
- {
1742
- name: 'Drawn',
1743
- },
1744
1683
  ],
1745
1684
  },
1746
1685
  },
@@ -1761,6 +1700,9 @@ exports.BanxIDL = {
1761
1700
  {
1762
1701
  name: 'CollectionId',
1763
1702
  },
1703
+ {
1704
+ name: 'SplMint',
1705
+ },
1764
1706
  ],
1765
1707
  },
1766
1708
  },
@@ -1829,23 +1771,6 @@ exports.BanxIDL = {
1829
1771
  ],
1830
1772
  },
1831
1773
  },
1832
- {
1833
- name: 'BanxSolStakingOfferState',
1834
- type: {
1835
- kind: 'enum',
1836
- variants: [
1837
- {
1838
- name: 'Uninitialized',
1839
- },
1840
- {
1841
- name: 'Initialized',
1842
- },
1843
- {
1844
- name: 'Closed',
1845
- },
1846
- ],
1847
- },
1848
- },
1849
1774
  {
1850
1775
  name: 'BondFeatures',
1851
1776
  type: {
@@ -1869,6 +1794,9 @@ exports.BanxIDL = {
1869
1794
  {
1870
1795
  name: 'AutoReceiveAndReceiveNft',
1871
1796
  },
1797
+ {
1798
+ name: 'AutoReceiveAndReceiveSpl',
1799
+ },
1872
1800
  ],
1873
1801
  },
1874
1802
  },
@@ -1878,7 +1806,7 @@ exports.BanxIDL = {
1878
1806
  kind: 'enum',
1879
1807
  variants: [
1880
1808
  {
1881
- name: 'PairState',
1809
+ name: 'Initializing',
1882
1810
  },
1883
1811
  {
1884
1812
  name: 'OnMarketVirtual',
@@ -2009,6 +1937,9 @@ exports.BanxIDL = {
2009
1937
  {
2010
1938
  name: 'AutoReceiveAndReceiveNft',
2011
1939
  },
1940
+ {
1941
+ name: 'AutoReceiveAndReceiveSpl',
1942
+ },
2012
1943
  ],
2013
1944
  },
2014
1945
  },