@sonarwatch/portfolio-plugins 0.12.36 → 0.12.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/CHANGELOG.md +1847 -1839
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/plugins/allbridge/constants.d.ts +0 -1
  5. package/src/plugins/allbridge/constants.js +1 -2
  6. package/src/plugins/allbridge/constants.js.map +1 -1
  7. package/src/plugins/allbridge/positionsFetcher.js +6 -2
  8. package/src/plugins/allbridge/positionsFetcher.js.map +1 -1
  9. package/src/plugins/balancer/helpers/pools.js +21 -21
  10. package/src/plugins/banx/constants.d.ts +0 -1
  11. package/src/plugins/banx/constants.js +1 -2
  12. package/src/plugins/banx/constants.js.map +1 -1
  13. package/src/plugins/banx/idl.d.ts +15 -7
  14. package/src/plugins/banx/idl.js +199 -268
  15. package/src/plugins/banx/idl.js.map +1 -1
  16. package/src/plugins/banx/loansFetcher.js +19 -23
  17. package/src/plugins/banx/loansFetcher.js.map +1 -1
  18. package/src/plugins/banx/offersFetcher.js +10 -15
  19. package/src/plugins/banx/offersFetcher.js.map +1 -1
  20. package/src/plugins/citrus/collectionsJob.js.map +1 -1
  21. package/src/plugins/citrus/constants.d.ts +0 -1
  22. package/src/plugins/citrus/constants.js +1 -2
  23. package/src/plugins/citrus/constants.js.map +1 -1
  24. package/src/plugins/citrus/loansFetcher.js +14 -20
  25. package/src/plugins/citrus/loansFetcher.js.map +1 -1
  26. package/src/plugins/drift/constants.d.ts +1 -0
  27. package/src/plugins/drift/constants.js +2 -1
  28. package/src/plugins/drift/constants.js.map +1 -1
  29. package/src/plugins/drift/depositsFetcher.js +63 -1
  30. package/src/plugins/drift/depositsFetcher.js.map +1 -1
  31. package/src/plugins/drift/filters.d.ts +1 -0
  32. package/src/plugins/drift/filters.js +4 -1
  33. package/src/plugins/drift/filters.js.map +1 -1
  34. package/src/plugins/drift/index.js +2 -1
  35. package/src/plugins/drift/index.js.map +1 -1
  36. package/src/plugins/drift/perpHelpers/amm.d.ts +74 -0
  37. package/src/plugins/drift/perpHelpers/amm.js +567 -0
  38. package/src/plugins/drift/perpHelpers/amm.js.map +1 -0
  39. package/src/plugins/drift/perpHelpers/assert.d.ts +1 -0
  40. package/src/plugins/drift/perpHelpers/assert.js +10 -0
  41. package/src/plugins/drift/perpHelpers/assert.js.map +1 -0
  42. package/src/plugins/drift/perpHelpers/constants.d.ts +27 -0
  43. package/src/plugins/drift/perpHelpers/constants.js +35 -0
  44. package/src/plugins/drift/perpHelpers/constants.js.map +1 -0
  45. package/src/plugins/drift/perpHelpers/convert.d.ts +0 -0
  46. package/src/plugins/drift/perpHelpers/convert.js +2 -0
  47. package/src/plugins/drift/perpHelpers/convert.js.map +1 -0
  48. package/src/plugins/drift/perpHelpers/getOraclePrice.d.ts +4 -0
  49. package/src/plugins/drift/perpHelpers/getOraclePrice.js +61 -0
  50. package/src/plugins/drift/perpHelpers/getOraclePrice.js.map +1 -0
  51. package/src/plugins/drift/perpHelpers/getPerpMarket.d.ts +4 -0
  52. package/src/plugins/drift/perpHelpers/getPerpMarket.js +33 -0
  53. package/src/plugins/drift/perpHelpers/getPerpMarket.js.map +1 -0
  54. package/src/plugins/drift/perpHelpers/margin.d.ts +10 -0
  55. package/src/plugins/drift/perpHelpers/margin.js +82 -0
  56. package/src/plugins/drift/perpHelpers/margin.js.map +1 -0
  57. package/src/plugins/drift/perpHelpers/math.d.ts +4 -0
  58. package/src/plugins/drift/perpHelpers/math.js +29 -0
  59. package/src/plugins/drift/perpHelpers/math.js.map +1 -0
  60. package/src/plugins/drift/perpHelpers/oracle.d.ts +6 -0
  61. package/src/plugins/drift/perpHelpers/oracle.js +54 -0
  62. package/src/plugins/drift/perpHelpers/oracle.js.map +1 -0
  63. package/src/plugins/drift/perpHelpers/orders.d.ts +2 -0
  64. package/src/plugins/drift/perpHelpers/orders.js +9 -0
  65. package/src/plugins/drift/perpHelpers/orders.js.map +1 -0
  66. package/src/plugins/drift/perpHelpers/position.d.ts +44 -0
  67. package/src/plugins/drift/perpHelpers/position.js +184 -0
  68. package/src/plugins/drift/perpHelpers/position.js.map +1 -0
  69. package/src/plugins/drift/perpHelpers/prelaunchOracle.d.ts +3 -0
  70. package/src/plugins/drift/perpHelpers/prelaunchOracle.js +20 -0
  71. package/src/plugins/drift/perpHelpers/prelaunchOracle.js.map +1 -0
  72. package/src/plugins/drift/perpHelpers/pyth.d.ts +5 -0
  73. package/src/plugins/drift/perpHelpers/pyth.js +42 -0
  74. package/src/plugins/drift/perpHelpers/pyth.js.map +1 -0
  75. package/src/plugins/drift/perpHelpers/repeg.d.ts +14 -0
  76. package/src/plugins/drift/perpHelpers/repeg.js +162 -0
  77. package/src/plugins/drift/perpHelpers/repeg.js.map +1 -0
  78. package/src/plugins/drift/perpHelpers/switchboard.d.ts +3 -0
  79. package/src/plugins/drift/perpHelpers/switchboard.js +31 -0
  80. package/src/plugins/drift/perpHelpers/switchboard.js.map +1 -0
  81. package/src/plugins/drift/perpHelpers/types.d.ts +28 -0
  82. package/src/plugins/drift/perpHelpers/types.js +19 -0
  83. package/src/plugins/drift/perpHelpers/types.js.map +1 -0
  84. package/src/plugins/drift/prepMarketsJob.d.ts +3 -0
  85. package/src/plugins/drift/prepMarketsJob.js +38 -0
  86. package/src/plugins/drift/prepMarketsJob.js.map +1 -0
  87. package/src/plugins/drift/struct.d.ts +82 -76
  88. package/src/plugins/drift/struct.js +79 -74
  89. package/src/plugins/drift/struct.js.map +1 -1
  90. package/src/plugins/drift/types.d.ts +1 -0
  91. package/src/plugins/jupiter/exchange/constants.d.ts +1 -0
  92. package/src/plugins/jupiter/exchange/constants.js +2 -1
  93. package/src/plugins/jupiter/exchange/constants.js.map +1 -1
  94. package/src/plugins/jupiter/exchange/limitFetcher.js +9 -6
  95. package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
  96. package/src/plugins/jupiter/exchange/perpetualFetcher.js +3 -6
  97. package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
  98. package/src/plugins/jupiter/exchange/structs.d.ts +21 -0
  99. package/src/plugins/jupiter/exchange/structs.js +21 -1
  100. package/src/plugins/jupiter/exchange/structs.js.map +1 -1
  101. package/src/plugins/jupiter/exchange/valueAverageFetcher.js.map +1 -1
  102. package/src/plugins/jupiter/helpers.d.ts +2 -2
  103. package/src/plugins/jupiter/helpers.js.map +1 -1
  104. package/src/plugins/rain/collectionsJob.js +6 -10
  105. package/src/plugins/rain/collectionsJob.js.map +1 -1
  106. package/src/plugins/rain/helpers.js +3 -1
  107. package/src/plugins/rain/helpers.js.map +1 -1
  108. package/src/plugins/rain/index.js +2 -1
  109. package/src/plugins/rain/index.js.map +1 -1
  110. package/src/plugins/rain/loansFetcher.js +60 -25
  111. package/src/plugins/rain/loansFetcher.js.map +1 -1
  112. package/src/plugins/rain/types.d.ts +3 -0
  113. package/src/plugins/sharky/constants.d.ts +0 -1
  114. package/src/plugins/sharky/constants.js +3 -4
  115. package/src/plugins/sharky/constants.js.map +1 -1
  116. package/src/plugins/sharky/loansFetcher.js +17 -20
  117. package/src/plugins/sharky/loansFetcher.js.map +1 -1
  118. package/src/plugins/sushiswap/helpers.js +24 -24
  119. package/src/plugins/uniswap-v2/helpers.js +22 -22
  120. package/src/plugins/zeta/airdropFetcher.js +14 -14
  121. package/src/utils/misc/MemoizedCache.d.ts +12 -0
  122. package/src/utils/misc/MemoizedCache.js +35 -0
  123. package/src/utils/misc/MemoizedCache.js.map +1 -0
  124. package/src/utils/misc/arrayToMap.d.ts +1 -0
  125. package/src/utils/misc/arrayToMap.js +12 -0
  126. package/src/utils/misc/arrayToMap.js.map +1 -0
  127. package/src/utils/misc/pick.d.ts +2 -0
  128. package/src/utils/misc/pick.js +16 -0
  129. package/src/utils/misc/pick.js.map +1 -0
  130. package/src/utils/sei/constants.js +8 -8
  131. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  132. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js +8 -3
  133. package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js.map +1 -1
  134. package/src/plugins/allbridge/getPoolInfo.d.ts +0 -3
  135. package/src/plugins/allbridge/getPoolInfo.js +0 -28
  136. package/src/plugins/allbridge/getPoolInfo.js.map +0 -1
@@ -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
  },