@sonarwatch/portfolio-plugins 0.12.36 → 0.12.37
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.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/plugins/allbridge/constants.d.ts +0 -1
- package/src/plugins/allbridge/constants.js +1 -2
- package/src/plugins/allbridge/constants.js.map +1 -1
- package/src/plugins/allbridge/positionsFetcher.js +6 -2
- package/src/plugins/allbridge/positionsFetcher.js.map +1 -1
- package/src/plugins/banx/constants.d.ts +0 -1
- package/src/plugins/banx/constants.js +1 -2
- package/src/plugins/banx/constants.js.map +1 -1
- package/src/plugins/banx/idl.d.ts +15 -7
- package/src/plugins/banx/idl.js +199 -268
- package/src/plugins/banx/idl.js.map +1 -1
- package/src/plugins/banx/loansFetcher.js +19 -23
- package/src/plugins/banx/loansFetcher.js.map +1 -1
- package/src/plugins/banx/offersFetcher.js +10 -15
- package/src/plugins/banx/offersFetcher.js.map +1 -1
- package/src/plugins/citrus/collectionsJob.js.map +1 -1
- package/src/plugins/citrus/constants.d.ts +0 -1
- package/src/plugins/citrus/constants.js +1 -2
- package/src/plugins/citrus/constants.js.map +1 -1
- package/src/plugins/citrus/loansFetcher.js +14 -20
- package/src/plugins/citrus/loansFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/constants.d.ts +1 -0
- package/src/plugins/jupiter/exchange/constants.js +2 -1
- package/src/plugins/jupiter/exchange/constants.js.map +1 -1
- package/src/plugins/jupiter/exchange/limitFetcher.js +9 -6
- package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/structs.d.ts +21 -0
- package/src/plugins/jupiter/exchange/structs.js +21 -1
- package/src/plugins/jupiter/exchange/structs.js.map +1 -1
- package/src/plugins/rain/collectionsJob.js +6 -10
- package/src/plugins/rain/collectionsJob.js.map +1 -1
- package/src/plugins/rain/helpers.js +3 -1
- package/src/plugins/rain/helpers.js.map +1 -1
- package/src/plugins/rain/index.js +2 -1
- package/src/plugins/rain/index.js.map +1 -1
- package/src/plugins/rain/loansFetcher.js +60 -25
- package/src/plugins/rain/loansFetcher.js.map +1 -1
- package/src/plugins/rain/types.d.ts +3 -0
- package/src/plugins/sharky/constants.d.ts +0 -1
- package/src/plugins/sharky/constants.js +3 -4
- package/src/plugins/sharky/constants.js.map +1 -1
- package/src/plugins/sharky/loansFetcher.js +17 -20
- package/src/plugins/sharky/loansFetcher.js.map +1 -1
- package/src/utils/misc/MemoizedCache.d.ts +12 -0
- package/src/utils/misc/MemoizedCache.js +35 -0
- package/src/utils/misc/MemoizedCache.js.map +1 -0
- package/src/utils/misc/arrayToMap.d.ts +1 -0
- package/src/utils/misc/arrayToMap.js +12 -0
- package/src/utils/misc/arrayToMap.js.map +1 -0
- package/src/utils/misc/pick.d.ts +2 -0
- package/src/utils/misc/pick.js +16 -0
- package/src/utils/misc/pick.js.map +1 -0
- package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js +8 -3
- package/src/utils/solana/getAutoParsedMultipleAccountsInfo.js.map +1 -1
- package/src/plugins/allbridge/getPoolInfo.d.ts +0 -3
- package/src/plugins/allbridge/getPoolInfo.js +0 -28
- package/src/plugins/allbridge/getPoolInfo.js.map +0 -1
package/src/plugins/banx/idl.js
CHANGED
|
@@ -61,7 +61,7 @@ exports.BanxIDL = {
|
|
|
61
61
|
type: 'u64',
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
name: '
|
|
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: '
|
|
173
|
-
type: '
|
|
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: '
|
|
385
|
+
name: 'proposal',
|
|
374
386
|
type: {
|
|
375
387
|
kind: 'struct',
|
|
376
388
|
fields: [
|
|
377
389
|
{
|
|
378
|
-
name: '
|
|
379
|
-
type:
|
|
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: '
|
|
391
|
-
type:
|
|
396
|
+
name: 'name',
|
|
397
|
+
type: {
|
|
398
|
+
array: ['u8', 32],
|
|
399
|
+
},
|
|
392
400
|
},
|
|
393
401
|
{
|
|
394
|
-
name: '
|
|
402
|
+
name: 'week',
|
|
395
403
|
type: 'u64',
|
|
396
404
|
},
|
|
397
405
|
{
|
|
398
|
-
name: '
|
|
406
|
+
name: 'duration',
|
|
399
407
|
type: 'u64',
|
|
400
408
|
},
|
|
401
409
|
{
|
|
402
|
-
name: '
|
|
410
|
+
name: 'pointsQuorum',
|
|
403
411
|
type: 'u64',
|
|
404
412
|
},
|
|
405
413
|
{
|
|
406
|
-
name: '
|
|
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: '
|
|
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: '
|
|
422
|
+
name: 'pointsTotal',
|
|
443
423
|
type: 'u64',
|
|
444
424
|
},
|
|
445
425
|
{
|
|
446
|
-
name: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
442
|
+
name: 'placeholder3',
|
|
495
443
|
type: 'publicKey',
|
|
496
444
|
},
|
|
497
445
|
],
|
|
498
446
|
},
|
|
499
447
|
},
|
|
500
448
|
{
|
|
501
|
-
name: '
|
|
449
|
+
name: 'proposalVariant',
|
|
502
450
|
type: {
|
|
503
451
|
kind: 'struct',
|
|
504
452
|
fields: [
|
|
505
453
|
{
|
|
506
|
-
name: '
|
|
507
|
-
type: '
|
|
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: '
|
|
519
|
-
type:
|
|
458
|
+
name: 'name',
|
|
459
|
+
type: {
|
|
460
|
+
array: ['u8', 32],
|
|
461
|
+
},
|
|
520
462
|
},
|
|
521
463
|
{
|
|
522
|
-
name: '
|
|
523
|
-
type:
|
|
464
|
+
name: 'state',
|
|
465
|
+
type: {
|
|
466
|
+
defined: 'ProposalState',
|
|
467
|
+
},
|
|
524
468
|
},
|
|
525
469
|
{
|
|
526
|
-
name: '
|
|
470
|
+
name: 'participants',
|
|
527
471
|
type: 'u64',
|
|
528
472
|
},
|
|
529
473
|
{
|
|
530
|
-
name: '
|
|
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: '
|
|
547
|
-
type: 'u64',
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
name: 'contractBid',
|
|
482
|
+
name: 'placeholder1',
|
|
551
483
|
type: 'u64',
|
|
552
484
|
},
|
|
553
485
|
{
|
|
554
|
-
name: '
|
|
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: '
|
|
493
|
+
name: 'proposalVote',
|
|
566
494
|
type: {
|
|
567
495
|
kind: 'struct',
|
|
568
496
|
fields: [
|
|
569
497
|
{
|
|
570
|
-
name: '
|
|
498
|
+
name: 'state',
|
|
571
499
|
type: {
|
|
572
|
-
defined: '
|
|
500
|
+
defined: 'ProposalState',
|
|
573
501
|
},
|
|
574
502
|
},
|
|
575
503
|
{
|
|
576
|
-
name: '
|
|
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: '
|
|
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: '
|
|
516
|
+
name: 'points',
|
|
657
517
|
type: 'u64',
|
|
658
518
|
},
|
|
659
519
|
{
|
|
660
|
-
name: '
|
|
520
|
+
name: 'lastTransactedAt',
|
|
661
521
|
type: 'u64',
|
|
662
522
|
},
|
|
663
523
|
{
|
|
664
|
-
name: '
|
|
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: '
|
|
625
|
+
name: 'bondOfferV2',
|
|
798
626
|
type: {
|
|
799
627
|
kind: 'struct',
|
|
800
628
|
fields: [
|
|
801
629
|
{
|
|
802
|
-
name: '
|
|
630
|
+
name: 'hadoMarket',
|
|
803
631
|
type: 'publicKey',
|
|
804
632
|
},
|
|
805
633
|
{
|
|
806
|
-
name: '
|
|
634
|
+
name: 'pairState',
|
|
807
635
|
type: {
|
|
808
|
-
defined: '
|
|
636
|
+
defined: 'PairState',
|
|
809
637
|
},
|
|
810
638
|
},
|
|
811
639
|
{
|
|
812
|
-
name: '
|
|
640
|
+
name: 'bondingCurve',
|
|
641
|
+
type: {
|
|
642
|
+
defined: 'BondOfferBondingCurve',
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: 'baseSpotPrice',
|
|
813
647
|
type: 'u64',
|
|
814
648
|
},
|
|
815
649
|
{
|
|
816
|
-
name: '
|
|
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: '
|
|
666
|
+
name: 'bidSettlement',
|
|
667
|
+
type: 'i64',
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
name: 'edgeSettlement',
|
|
821
671
|
type: 'u64',
|
|
822
672
|
},
|
|
823
673
|
{
|
|
824
|
-
name: '
|
|
674
|
+
name: 'fundsSolOrTokenBalance',
|
|
825
675
|
type: 'u64',
|
|
826
676
|
},
|
|
827
677
|
{
|
|
828
|
-
name: '
|
|
678
|
+
name: 'buyOrdersQuantity',
|
|
829
679
|
type: 'u64',
|
|
830
680
|
},
|
|
831
681
|
{
|
|
832
|
-
name: '
|
|
682
|
+
name: 'lastTransactedAt',
|
|
833
683
|
type: 'u64',
|
|
834
684
|
},
|
|
835
685
|
{
|
|
836
|
-
name: '
|
|
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: '
|
|
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: '
|
|
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: '
|
|
1673
|
+
name: 'ProposalState',
|
|
1729
1674
|
type: {
|
|
1730
1675
|
kind: 'enum',
|
|
1731
1676
|
variants: [
|
|
1732
1677
|
{
|
|
1733
|
-
name: '
|
|
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: '
|
|
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
|
},
|