@sonarwatch/portfolio-plugins 0.14.143 → 0.14.144

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 (36) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/src/plugins/banx/constants.d.ts +14 -8
  4. package/src/plugins/banx/constants.js +25 -13
  5. package/src/plugins/banx/constants.js.map +1 -1
  6. package/src/plugins/banx/index.js +12 -2
  7. package/src/plugins/banx/index.js.map +1 -1
  8. package/src/plugins/banx/loansFetcher.js +108 -123
  9. package/src/plugins/banx/loansFetcher.js.map +1 -1
  10. package/src/plugins/banx/marketsJob.js +40 -0
  11. package/src/plugins/banx/marketsJob.js.map +1 -0
  12. package/src/plugins/banx/offersFetcher.js +61 -70
  13. package/src/plugins/banx/offersFetcher.js.map +1 -1
  14. package/src/plugins/banx/stakingFetcher.js +6 -3
  15. package/src/plugins/banx/stakingFetcher.js.map +1 -1
  16. package/src/plugins/banx/structs.d.ts +222 -2
  17. package/src/plugins/banx/structs.js +216 -2
  18. package/src/plugins/banx/structs.js.map +1 -1
  19. package/src/plugins/banx/types.d.ts +50 -258
  20. package/src/plugins/banx/vaultsFetcher.d.ts +3 -0
  21. package/src/plugins/banx/vaultsFetcher.js +74 -0
  22. package/src/plugins/banx/vaultsFetcher.js.map +1 -0
  23. package/src/plugins/banx/vaultsJob.d.ts +3 -0
  24. package/src/plugins/banx/{collectionsJob.js → vaultsJob.js} +5 -16
  25. package/src/plugins/banx/vaultsJob.js.map +1 -0
  26. package/src/plugins/banx/collectionsJob.js.map +0 -1
  27. package/src/plugins/banx/filters.d.ts +0 -6
  28. package/src/plugins/banx/filters.js +0 -39
  29. package/src/plugins/banx/filters.js.map +0 -1
  30. package/src/plugins/banx/helpers.d.ts +0 -5
  31. package/src/plugins/banx/helpers.js +0 -64
  32. package/src/plugins/banx/helpers.js.map +0 -1
  33. package/src/plugins/banx/idl.d.ts +0 -123
  34. package/src/plugins/banx/idl.js +0 -2187
  35. package/src/plugins/banx/idl.js.map +0 -1
  36. /package/src/plugins/banx/{collectionsJob.d.ts → marketsJob.d.ts} +0 -0
@@ -1,2187 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BanxIDL = void 0;
4
- exports.BanxIDL = {
5
- version: '0.1.0',
6
- name: 'bonds',
7
- accounts: [
8
- {
9
- name: 'banxAdventureSubscription',
10
- type: {
11
- kind: 'struct',
12
- fields: [
13
- {
14
- name: 'adventureSubscriptionState',
15
- type: {
16
- defined: 'BanxAdventureSubscriptionState',
17
- },
18
- },
19
- {
20
- name: 'user',
21
- type: 'publicKey',
22
- },
23
- {
24
- name: 'adventure',
25
- type: 'publicKey',
26
- },
27
- {
28
- name: 'banxTokenStake',
29
- type: 'publicKey',
30
- },
31
- {
32
- name: 'stakeTokensAmount',
33
- type: 'u64',
34
- },
35
- {
36
- name: 'stakeNftAmount',
37
- type: 'u64',
38
- },
39
- {
40
- name: 'stakePartnerPointsAmount',
41
- type: 'u64',
42
- },
43
- {
44
- name: 'stakePlayerPointsAmount',
45
- type: 'u64',
46
- },
47
- {
48
- name: 'subscribedAt',
49
- type: 'u64',
50
- },
51
- {
52
- name: 'unsubscribedAt',
53
- type: 'u64',
54
- },
55
- {
56
- name: 'harvestedAt',
57
- type: 'u64',
58
- },
59
- {
60
- name: 'amountOfTokensHarvested',
61
- type: 'u64',
62
- },
63
- {
64
- name: 'amountOfHadesTokensHarvested',
65
- type: 'u64',
66
- },
67
- {
68
- name: 'placeholderTwo',
69
- type: 'u64',
70
- },
71
- {
72
- name: 'placeholderThree',
73
- type: 'publicKey',
74
- },
75
- ],
76
- },
77
- },
78
- {
79
- name: 'banxAdventure',
80
- type: {
81
- kind: 'struct',
82
- fields: [
83
- {
84
- name: 'adventureState',
85
- type: {
86
- defined: 'BanxAdventureState',
87
- },
88
- },
89
- {
90
- name: 'tokensPerPoints',
91
- type: 'u64',
92
- },
93
- {
94
- name: 'week',
95
- type: 'u64',
96
- },
97
- {
98
- name: 'periodStartedAt',
99
- type: 'u64',
100
- },
101
- {
102
- name: 'periodEndingAt',
103
- type: 'u64',
104
- },
105
- {
106
- name: 'rewardsToBeDistributed',
107
- type: 'u64',
108
- },
109
- {
110
- name: 'totalPartnerPoints',
111
- type: 'u64',
112
- },
113
- {
114
- name: 'totalPlayerPoints',
115
- type: 'u64',
116
- },
117
- {
118
- name: 'totalTokensStaked',
119
- type: 'u64',
120
- },
121
- {
122
- name: 'totalBanxSubscribed',
123
- type: 'u64',
124
- },
125
- {
126
- name: 'amountOfTokensHarvested',
127
- type: 'u64',
128
- },
129
- {
130
- name: 'placeholderOne',
131
- type: 'publicKey',
132
- },
133
- ],
134
- },
135
- },
136
- {
137
- name: 'banxStakingSettings',
138
- type: {
139
- kind: 'struct',
140
- fields: [
141
- {
142
- name: 'banxStakingSettingsState',
143
- type: {
144
- defined: 'BanxStakingSettingsState',
145
- },
146
- },
147
- {
148
- name: 'maxTokenStakeAmount',
149
- type: 'u64',
150
- },
151
- {
152
- name: 'tokensPerPartnerPoints',
153
- type: 'u64',
154
- },
155
- {
156
- name: 'tokensStaked',
157
- type: 'u64',
158
- },
159
- {
160
- name: 'banxStaked',
161
- type: 'u64',
162
- },
163
- {
164
- name: 'tokensPerWeek',
165
- type: 'u64',
166
- },
167
- {
168
- name: 'rewardsHarvested',
169
- type: 'u64',
170
- },
171
- {
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',
186
- },
187
- ],
188
- },
189
- },
190
- {
191
- name: 'banxTokenStake',
192
- type: {
193
- kind: 'struct',
194
- fields: [
195
- {
196
- name: 'banxStakeState',
197
- type: {
198
- defined: 'BanxTokenStakeState',
199
- },
200
- },
201
- {
202
- name: 'user',
203
- type: 'publicKey',
204
- },
205
- {
206
- name: 'adventureSubscriptionsQuantity',
207
- type: 'u64',
208
- },
209
- {
210
- name: 'tokensStaked',
211
- type: 'u64',
212
- },
213
- {
214
- name: 'partnerPointsStaked',
215
- type: 'u64',
216
- },
217
- {
218
- name: 'playerPointsStaked',
219
- type: 'u64',
220
- },
221
- {
222
- name: 'banxNftsStakedQuantity',
223
- type: 'u64',
224
- },
225
- {
226
- name: 'stakedAt',
227
- type: 'u64',
228
- },
229
- {
230
- name: 'unstakedAt',
231
- type: 'u64',
232
- },
233
- {
234
- name: 'farmedAmount',
235
- type: 'u64',
236
- },
237
- {
238
- name: 'nftsStakedAt',
239
- type: 'u64',
240
- },
241
- {
242
- name: 'nftsUnstakedAt',
243
- type: 'u64',
244
- },
245
- {
246
- name: 'placeholderOne',
247
- type: 'publicKey',
248
- },
249
- ],
250
- },
251
- },
252
- {
253
- name: 'collateralBox',
254
- type: {
255
- kind: 'struct',
256
- fields: [
257
- {
258
- name: 'fbond',
259
- type: 'publicKey',
260
- },
261
- {
262
- name: 'collateralBoxType',
263
- type: {
264
- defined: 'CollateralBoxType',
265
- },
266
- },
267
- {
268
- name: 'collateralTokenMint',
269
- type: 'publicKey',
270
- },
271
- {
272
- name: 'collateralTokenAccount',
273
- type: 'publicKey',
274
- },
275
- {
276
- name: 'collateralAmount',
277
- type: 'u64',
278
- },
279
- ],
280
- },
281
- },
282
- {
283
- name: 'fraktBond',
284
- type: {
285
- kind: 'struct',
286
- fields: [
287
- {
288
- name: 'fraktBondState',
289
- type: {
290
- defined: 'FraktBondState',
291
- },
292
- },
293
- {
294
- name: 'bondTradeTransactionsCounter',
295
- type: 'u8',
296
- },
297
- {
298
- name: 'borrowedAmount',
299
- type: 'u64',
300
- },
301
- {
302
- name: 'banxStake',
303
- type: 'publicKey',
304
- },
305
- {
306
- name: 'fraktMarket',
307
- type: 'publicKey',
308
- },
309
- {
310
- name: 'amountToReturn',
311
- type: 'u64',
312
- },
313
- {
314
- name: 'actualReturnedAmount',
315
- type: 'u64',
316
- },
317
- {
318
- name: 'terminatedCounter',
319
- type: 'u8',
320
- },
321
- {
322
- name: 'fbondTokenMint',
323
- type: 'publicKey',
324
- },
325
- {
326
- name: 'fbondTokenSupply',
327
- type: 'u64',
328
- },
329
- {
330
- name: 'activatedAt',
331
- type: 'u64',
332
- },
333
- {
334
- name: 'liquidatingAt',
335
- type: 'u64',
336
- },
337
- {
338
- name: 'fbondIssuer',
339
- type: 'publicKey',
340
- },
341
- {
342
- name: 'repaidOrLiquidatedAt',
343
- type: 'u64',
344
- },
345
- {
346
- name: 'currentPerpetualBorrowed',
347
- type: 'u64',
348
- },
349
- {
350
- name: 'lastTransactedAt',
351
- type: 'u64',
352
- },
353
- {
354
- name: 'refinanceAuctionStartedAt',
355
- type: 'u64',
356
- },
357
- ],
358
- },
359
- },
360
- {
361
- name: 'flashLoanPool',
362
- type: {
363
- kind: 'struct',
364
- fields: [
365
- {
366
- name: 'authority',
367
- type: 'publicKey',
368
- },
369
- {
370
- name: 'borrowing',
371
- type: 'bool',
372
- },
373
- {
374
- name: 'balance',
375
- type: 'u64',
376
- },
377
- {
378
- name: 'loanFeePoints',
379
- type: 'u16',
380
- },
381
- ],
382
- },
383
- },
384
- {
385
- name: 'proposal',
386
- type: {
387
- kind: 'struct',
388
- fields: [
389
- {
390
- name: 'state',
391
- type: {
392
- defined: 'ProposalState',
393
- },
394
- },
395
- {
396
- name: 'name',
397
- type: {
398
- array: ['u8', 32],
399
- },
400
- },
401
- {
402
- name: 'week',
403
- type: 'u64',
404
- },
405
- {
406
- name: 'duration',
407
- type: 'u64',
408
- },
409
- {
410
- name: 'pointsQuorum',
411
- type: 'u64',
412
- },
413
- {
414
- name: 'creator',
415
- type: 'publicKey',
416
- },
417
- {
418
- name: 'participants',
419
- type: 'u64',
420
- },
421
- {
422
- name: 'pointsTotal',
423
- type: 'u64',
424
- },
425
- {
426
- name: 'initializedAt',
427
- type: 'u64',
428
- },
429
- {
430
- name: 'lastTransactedAt',
431
- type: 'u64',
432
- },
433
- {
434
- name: 'placeholder1',
435
- type: 'u64',
436
- },
437
- {
438
- name: 'placeholder2',
439
- type: 'u64',
440
- },
441
- {
442
- name: 'placeholder3',
443
- type: 'publicKey',
444
- },
445
- ],
446
- },
447
- },
448
- {
449
- name: 'proposalVariant',
450
- type: {
451
- kind: 'struct',
452
- fields: [
453
- {
454
- name: 'proposal',
455
- type: 'publicKey',
456
- },
457
- {
458
- name: 'name',
459
- type: {
460
- array: ['u8', 32],
461
- },
462
- },
463
- {
464
- name: 'state',
465
- type: {
466
- defined: 'ProposalState',
467
- },
468
- },
469
- {
470
- name: 'participants',
471
- type: 'u64',
472
- },
473
- {
474
- name: 'pointsTotal',
475
- type: 'u64',
476
- },
477
- {
478
- name: 'lastTransactedAt',
479
- type: 'u64',
480
- },
481
- {
482
- name: 'placeholder1',
483
- type: 'u64',
484
- },
485
- {
486
- name: 'placeholder2',
487
- type: 'u64',
488
- },
489
- ],
490
- },
491
- },
492
- {
493
- name: 'proposalVote',
494
- type: {
495
- kind: 'struct',
496
- fields: [
497
- {
498
- name: 'state',
499
- type: {
500
- defined: 'ProposalState',
501
- },
502
- },
503
- {
504
- name: 'proposalVariant',
505
- type: 'publicKey',
506
- },
507
- {
508
- name: 'adventureSubscription',
509
- type: 'publicKey',
510
- },
511
- {
512
- name: 'user',
513
- type: 'publicKey',
514
- },
515
- {
516
- name: 'points',
517
- type: 'u64',
518
- },
519
- {
520
- name: 'lastTransactedAt',
521
- type: 'u64',
522
- },
523
- {
524
- name: 'placeholder',
525
- type: 'publicKey',
526
- },
527
- ],
528
- },
529
- },
530
- {
531
- name: 'hadoMarketRegistry',
532
- type: {
533
- kind: 'struct',
534
- fields: [
535
- {
536
- name: 'hadoMarket',
537
- type: 'publicKey',
538
- },
539
- {
540
- name: 'fraktMarket',
541
- type: 'publicKey',
542
- },
543
- ],
544
- },
545
- },
546
- {
547
- name: 'hadoMarketValidation',
548
- type: {
549
- kind: 'struct',
550
- fields: [
551
- {
552
- name: 'hadoMarket',
553
- type: 'publicKey',
554
- },
555
- {
556
- name: 'creatorHash',
557
- type: {
558
- array: ['u8', 32],
559
- },
560
- },
561
- {
562
- name: 'placeholderOne',
563
- type: 'publicKey',
564
- },
565
- {
566
- name: 'placeholderTwo',
567
- type: 'publicKey',
568
- },
569
- ],
570
- },
571
- },
572
- {
573
- name: 'hadoMarket',
574
- type: {
575
- kind: 'struct',
576
- fields: [
577
- {
578
- name: 'marketAuthority',
579
- type: 'publicKey',
580
- },
581
- {
582
- name: 'marketState',
583
- type: {
584
- defined: 'MarketState',
585
- },
586
- },
587
- {
588
- name: 'marketTrustType',
589
- type: {
590
- defined: 'MarketTrustType',
591
- },
592
- },
593
- {
594
- name: 'pairValidationType',
595
- type: {
596
- defined: 'PairValidationType',
597
- },
598
- },
599
- {
600
- name: 'fraktMarket',
601
- type: 'publicKey',
602
- },
603
- {
604
- name: 'minBidCap',
605
- type: 'u64',
606
- },
607
- {
608
- name: 'minMarketFee',
609
- type: 'u64',
610
- },
611
- {
612
- name: 'whitelistType',
613
- type: {
614
- defined: 'NftValidationWhitelistTypeHado',
615
- },
616
- },
617
- {
618
- name: 'whitelistedAddress',
619
- type: 'publicKey',
620
- },
621
- ],
622
- },
623
- },
624
- {
625
- name: 'bondOfferV2',
626
- type: {
627
- kind: 'struct',
628
- fields: [
629
- {
630
- name: 'hadoMarket',
631
- type: 'publicKey',
632
- },
633
- {
634
- name: 'pairState',
635
- type: {
636
- defined: 'PairState',
637
- },
638
- },
639
- {
640
- name: 'bondingCurve',
641
- type: {
642
- defined: 'BondOfferBondingCurve',
643
- },
644
- },
645
- {
646
- name: 'baseSpotPrice',
647
- type: 'u64',
648
- },
649
- {
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',
663
- type: 'u64',
664
- },
665
- {
666
- name: 'bidSettlement',
667
- type: 'i64',
668
- },
669
- {
670
- name: 'edgeSettlement',
671
- type: 'u64',
672
- },
673
- {
674
- name: 'fundsSolOrTokenBalance',
675
- type: 'u64',
676
- },
677
- {
678
- name: 'buyOrdersQuantity',
679
- type: 'u64',
680
- },
681
- {
682
- name: 'lastTransactedAt',
683
- type: 'u64',
684
- },
685
- {
686
- name: 'assetReceiver',
687
- type: 'publicKey',
688
- },
689
- {
690
- name: 'validation',
691
- type: {
692
- defined: 'BondOfferValidation',
693
- },
694
- },
695
- ],
696
- },
697
- },
698
- {
699
- name: 'bondOfferV3',
700
- type: {
701
- kind: 'struct',
702
- fields: [
703
- {
704
- name: 'hadoMarket',
705
- type: 'publicKey',
706
- },
707
- {
708
- name: 'pairState',
709
- type: {
710
- defined: 'PairState',
711
- },
712
- },
713
- {
714
- name: 'bondingCurve',
715
- type: {
716
- defined: 'BondOfferBondingCurve',
717
- },
718
- },
719
- {
720
- name: 'baseSpotPrice',
721
- type: 'u64',
722
- },
723
- {
724
- name: 'mathCounter',
725
- type: 'i64',
726
- },
727
- {
728
- name: 'currentSpotPrice',
729
- type: 'u64',
730
- },
731
- {
732
- name: 'concentrationIndex',
733
- type: 'u64',
734
- },
735
- {
736
- name: 'bidCap',
737
- type: 'u64',
738
- },
739
- {
740
- name: 'bidSettlement',
741
- type: 'i64',
742
- },
743
- {
744
- name: 'edgeSettlement',
745
- type: 'u64',
746
- },
747
- {
748
- name: 'fundsSolOrTokenBalance',
749
- type: 'u64',
750
- },
751
- {
752
- name: 'buyOrdersQuantity',
753
- type: 'u64',
754
- },
755
- {
756
- name: 'lastTransactedAt',
757
- type: 'u64',
758
- },
759
- {
760
- name: 'assetReceiver',
761
- type: 'publicKey',
762
- },
763
- {
764
- name: 'validation',
765
- type: {
766
- defined: 'BondOfferValidation',
767
- },
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
- },
801
- ],
802
- },
803
- },
804
- {
805
- name: 'bondTradeTransactionV2',
806
- type: {
807
- kind: 'struct',
808
- fields: [
809
- {
810
- name: 'bondTradeTransactionState',
811
- type: {
812
- defined: 'BondTradeTransactionV2State',
813
- },
814
- },
815
- {
816
- name: 'bondOffer',
817
- type: 'publicKey',
818
- },
819
- {
820
- name: 'user',
821
- type: 'publicKey',
822
- },
823
- {
824
- name: 'amountOfBonds',
825
- type: 'u64',
826
- },
827
- {
828
- name: 'solAmount',
829
- type: 'u64',
830
- },
831
- {
832
- name: 'feeAmount',
833
- type: 'u64',
834
- },
835
- {
836
- name: 'bondTradeTransactionType',
837
- type: {
838
- defined: 'BondTradeTransactionV2Type',
839
- },
840
- },
841
- {
842
- name: 'fbondTokenMint',
843
- type: 'publicKey',
844
- },
845
- {
846
- name: 'soldAt',
847
- type: 'u64',
848
- },
849
- {
850
- name: 'redeemedAt',
851
- type: 'u64',
852
- },
853
- {
854
- name: 'redeemResult',
855
- type: {
856
- defined: 'RedeemResult',
857
- },
858
- },
859
- {
860
- name: 'seller',
861
- type: 'publicKey',
862
- },
863
- {
864
- name: 'isDirectSell',
865
- type: 'bool',
866
- },
867
- ],
868
- },
869
- },
870
- {
871
- name: 'bondTradeTransactionV3',
872
- type: {
873
- kind: 'struct',
874
- fields: [
875
- {
876
- name: 'bondTradeTransactionState',
877
- type: {
878
- defined: 'BondTradeTransactionV2State',
879
- },
880
- },
881
- {
882
- name: 'bondOffer',
883
- type: 'publicKey',
884
- },
885
- {
886
- name: 'user',
887
- type: 'publicKey',
888
- },
889
- {
890
- name: 'amountOfBonds',
891
- type: 'u64',
892
- },
893
- {
894
- name: 'solAmount',
895
- type: 'u64',
896
- },
897
- {
898
- name: 'feeAmount',
899
- type: 'u64',
900
- },
901
- {
902
- name: 'bondTradeTransactionType',
903
- type: {
904
- defined: 'BondTradeTransactionV2Type',
905
- },
906
- },
907
- {
908
- name: 'fbondTokenMint',
909
- type: 'publicKey',
910
- },
911
- {
912
- name: 'soldAt',
913
- type: 'u64',
914
- },
915
- {
916
- name: 'redeemedAt',
917
- type: 'u64',
918
- },
919
- {
920
- name: 'redeemResult',
921
- type: {
922
- defined: 'RedeemResult',
923
- },
924
- },
925
- {
926
- name: 'seller',
927
- type: 'publicKey',
928
- },
929
- {
930
- name: 'isDirectSell',
931
- type: 'bool',
932
- },
933
- {
934
- name: 'lendingToken',
935
- type: {
936
- defined: 'LendingTokenType',
937
- },
938
- },
939
- {
940
- name: 'currentRemainingLent',
941
- type: 'u64',
942
- },
943
- {
944
- name: 'interestSnapshot',
945
- type: 'u64',
946
- },
947
- {
948
- name: 'partialRepaySnapshot',
949
- type: 'u64',
950
- },
951
- {
952
- name: 'terminationStartedAt',
953
- type: 'u64',
954
- },
955
- {
956
- name: 'lenderOriginalLent',
957
- type: 'u64',
958
- },
959
- {
960
- name: 'lenderFullRepaidAmount',
961
- type: 'u64',
962
- },
963
- {
964
- name: 'borrowerOriginalLent',
965
- type: 'u64',
966
- },
967
- {
968
- name: 'borrowerFullRepaidAmount',
969
- type: 'u64',
970
- },
971
- {
972
- name: 'repayDestination',
973
- type: {
974
- defined: 'RepayDestination',
975
- },
976
- },
977
- {
978
- name: 'repaymentCallAmount',
979
- type: 'u64',
980
- },
981
- {
982
- name: 'terminationFreeze',
983
- type: 'u64',
984
- },
985
- {
986
- name: 'placeholder3',
987
- type: 'u64',
988
- },
989
- {
990
- name: 'placeholder4',
991
- type: 'u64',
992
- },
993
- {
994
- name: 'placeholder5',
995
- type: 'u64',
996
- },
997
- {
998
- name: 'placeholder6',
999
- type: 'u64',
1000
- },
1001
- {
1002
- name: 'placeholder7',
1003
- type: 'u64',
1004
- },
1005
- {
1006
- name: 'placeholder8',
1007
- type: 'publicKey',
1008
- },
1009
- ],
1010
- },
1011
- },
1012
- {
1013
- name: 'repaymentCall',
1014
- type: {
1015
- kind: 'struct',
1016
- fields: [
1017
- {
1018
- name: 'callState',
1019
- type: {
1020
- defined: 'CallState',
1021
- },
1022
- },
1023
- {
1024
- name: 'user',
1025
- type: 'publicKey',
1026
- },
1027
- {
1028
- name: 'bond',
1029
- type: 'publicKey',
1030
- },
1031
- {
1032
- name: 'bondTradeTransaction',
1033
- type: 'publicKey',
1034
- },
1035
- {
1036
- name: 'callAmount',
1037
- type: 'u64',
1038
- },
1039
- {
1040
- name: 'lastUpdatedAt',
1041
- type: 'u64',
1042
- },
1043
- {
1044
- name: 'lastCallAt',
1045
- type: 'u64',
1046
- },
1047
- {
1048
- name: 'lastRepaidAt',
1049
- type: 'u64',
1050
- },
1051
- {
1052
- name: 'placeholderOne',
1053
- type: 'publicKey',
1054
- },
1055
- ],
1056
- },
1057
- },
1058
- {
1059
- name: 'adventureSubscription',
1060
- type: {
1061
- kind: 'struct',
1062
- fields: [
1063
- {
1064
- name: 'user',
1065
- type: 'publicKey',
1066
- },
1067
- {
1068
- name: 'stake',
1069
- type: 'publicKey',
1070
- },
1071
- {
1072
- name: 'adventure',
1073
- type: 'publicKey',
1074
- },
1075
- {
1076
- name: 'subscribedAt',
1077
- type: 'u64',
1078
- },
1079
- {
1080
- name: 'unsubscribedAt',
1081
- type: 'u64',
1082
- },
1083
- {
1084
- name: 'harvestedAt',
1085
- type: 'u64',
1086
- },
1087
- {
1088
- name: 'amountOfSolHarvested',
1089
- type: 'u64',
1090
- },
1091
- {
1092
- name: 'placeholderOne',
1093
- type: 'publicKey',
1094
- },
1095
- ],
1096
- },
1097
- },
1098
- {
1099
- name: 'adventure',
1100
- type: {
1101
- kind: 'struct',
1102
- fields: [
1103
- {
1104
- name: 'adventureState',
1105
- type: {
1106
- defined: 'AdventureState',
1107
- },
1108
- },
1109
- {
1110
- name: 'periodStartedAt',
1111
- type: 'u64',
1112
- },
1113
- {
1114
- name: 'periodEndingAt',
1115
- type: 'u64',
1116
- },
1117
- {
1118
- name: 'rewardsUpperLimit',
1119
- type: 'u64',
1120
- },
1121
- {
1122
- name: 'rewardsLowerLimit',
1123
- type: 'u64',
1124
- },
1125
- {
1126
- name: 'totalPeriodRevenue',
1127
- type: 'u64',
1128
- },
1129
- {
1130
- name: 'rewardsToBeDistributed',
1131
- type: 'u64',
1132
- },
1133
- {
1134
- name: 'totalBanxSubscribed',
1135
- type: 'u64',
1136
- },
1137
- {
1138
- name: 'totalPartnerPoints',
1139
- type: 'u64',
1140
- },
1141
- {
1142
- name: 'totalPlayerPoints',
1143
- type: 'u64',
1144
- },
1145
- {
1146
- name: 'banxSubscribedLeft',
1147
- type: 'u64',
1148
- },
1149
- {
1150
- name: 'partnerPointsLeft',
1151
- type: 'u64',
1152
- },
1153
- {
1154
- name: 'playerPointsLeft',
1155
- type: 'u64',
1156
- },
1157
- {
1158
- name: 'rewardsLeft',
1159
- type: 'u64',
1160
- },
1161
- ],
1162
- },
1163
- },
1164
- {
1165
- name: 'banxPointsMap',
1166
- type: {
1167
- kind: 'struct',
1168
- fields: [
1169
- {
1170
- name: 'banxMint',
1171
- type: 'publicKey',
1172
- },
1173
- {
1174
- name: 'playerPoints',
1175
- type: 'u64',
1176
- },
1177
- {
1178
- name: 'partnerPoints',
1179
- type: 'u64',
1180
- },
1181
- ],
1182
- },
1183
- },
1184
- {
1185
- name: 'banxStake',
1186
- type: {
1187
- kind: 'struct',
1188
- fields: [
1189
- {
1190
- name: 'banxStakeState',
1191
- type: {
1192
- defined: 'BanxStakeState',
1193
- },
1194
- },
1195
- {
1196
- name: 'adventureSubscriptionsQuantity',
1197
- type: 'u64',
1198
- },
1199
- {
1200
- name: 'nftMint',
1201
- type: 'publicKey',
1202
- },
1203
- {
1204
- name: 'collateralTokenAccount',
1205
- type: 'publicKey',
1206
- },
1207
- {
1208
- name: 'user',
1209
- type: 'publicKey',
1210
- },
1211
- {
1212
- name: 'stakedAt',
1213
- type: 'u64',
1214
- },
1215
- {
1216
- name: 'unstakedOrLiquidatedAt',
1217
- type: 'u64',
1218
- },
1219
- {
1220
- name: 'isLoaned',
1221
- type: 'bool',
1222
- },
1223
- {
1224
- name: 'bond',
1225
- type: 'publicKey',
1226
- },
1227
- {
1228
- name: 'playerPoints',
1229
- type: 'u64',
1230
- },
1231
- {
1232
- name: 'partnerPoints',
1233
- type: 'u64',
1234
- },
1235
- {
1236
- name: 'farmedAmount',
1237
- type: 'u64',
1238
- },
1239
- {
1240
- name: 'placeholderOne',
1241
- type: 'publicKey',
1242
- },
1243
- ],
1244
- },
1245
- },
1246
- {
1247
- name: 'banxUser',
1248
- type: {
1249
- kind: 'struct',
1250
- fields: [
1251
- {
1252
- name: 'user',
1253
- type: 'publicKey',
1254
- },
1255
- {
1256
- name: 'stakedPlayerPoints',
1257
- type: 'u64',
1258
- },
1259
- {
1260
- name: 'stakedPartnerPoints',
1261
- type: 'u64',
1262
- },
1263
- {
1264
- name: 'stakedBanx',
1265
- type: 'u64',
1266
- },
1267
- {
1268
- name: 'totalHarvestedRewards',
1269
- type: 'u64',
1270
- },
1271
- {
1272
- name: 'freeLiquidityCurrent',
1273
- type: 'u64',
1274
- },
1275
- {
1276
- name: 'placeholderOne',
1277
- type: 'publicKey',
1278
- },
1279
- ],
1280
- },
1281
- },
1282
- {
1283
- name: 'stakingSettings',
1284
- type: {
1285
- kind: 'struct',
1286
- fields: [
1287
- {
1288
- name: 'mainVaultBalance',
1289
- type: 'u64',
1290
- },
1291
- {
1292
- name: 'upperRewardsLimit',
1293
- type: 'u64',
1294
- },
1295
- {
1296
- name: 'lowerRewardsLimit',
1297
- type: 'u64',
1298
- },
1299
- {
1300
- name: 'placeholderOne',
1301
- type: 'publicKey',
1302
- },
1303
- ],
1304
- },
1305
- },
1306
- ],
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
- },
1348
- {
1349
- name: 'InitializeHadoMarketParams',
1350
- type: {
1351
- kind: 'struct',
1352
- fields: [
1353
- {
1354
- name: 'minBidCap',
1355
- type: 'u64',
1356
- },
1357
- {
1358
- name: 'minMarketFee',
1359
- type: 'u64',
1360
- },
1361
- ],
1362
- },
1363
- },
1364
- {
1365
- name: 'BorrowPerpetualParams',
1366
- type: {
1367
- kind: 'struct',
1368
- fields: [
1369
- {
1370
- name: 'minAmountToGet',
1371
- type: 'u64',
1372
- },
1373
- {
1374
- name: 'amountOfSolToGet',
1375
- type: 'u64',
1376
- },
1377
- {
1378
- name: 'bondTradeTransactionBump',
1379
- type: 'u8',
1380
- },
1381
- {
1382
- name: 'fraktBondBump',
1383
- type: 'u8',
1384
- },
1385
- {
1386
- name: 'bondOfferVaultBump',
1387
- type: 'u8',
1388
- },
1389
- ],
1390
- },
1391
- },
1392
- {
1393
- name: 'MakePerpetualMarketParams',
1394
- type: {
1395
- kind: 'struct',
1396
- fields: [
1397
- {
1398
- name: 'minBidCap',
1399
- type: 'u64',
1400
- },
1401
- {
1402
- name: 'minMarketFee',
1403
- type: 'u64',
1404
- },
1405
- {
1406
- name: 'marketState',
1407
- type: {
1408
- defined: 'MarketState',
1409
- },
1410
- },
1411
- ],
1412
- },
1413
- },
1414
- {
1415
- name: 'SubscribeBanxAdventureParams',
1416
- type: {
1417
- kind: 'struct',
1418
- fields: [
1419
- {
1420
- name: 'week',
1421
- type: 'u64',
1422
- },
1423
- {
1424
- name: 'adventureBump',
1425
- type: 'u8',
1426
- },
1427
- {
1428
- name: 'subscriptionBump',
1429
- type: 'u8',
1430
- },
1431
- ],
1432
- },
1433
- },
1434
- {
1435
- name: 'BondOfferValidation',
1436
- type: {
1437
- kind: 'struct',
1438
- fields: [
1439
- {
1440
- name: 'loanToValueFilter',
1441
- type: 'u64',
1442
- },
1443
- {
1444
- name: 'collateralsPerToken',
1445
- type: 'u64',
1446
- },
1447
- {
1448
- name: 'maxReturnAmountFilter',
1449
- type: 'u64',
1450
- },
1451
- {
1452
- name: 'bondFeatures',
1453
- type: {
1454
- defined: 'BondFeatures',
1455
- },
1456
- },
1457
- ],
1458
- },
1459
- },
1460
- {
1461
- name: 'BondOfferBondingCurve',
1462
- type: {
1463
- kind: 'struct',
1464
- fields: [
1465
- {
1466
- name: 'delta',
1467
- type: 'u64',
1468
- },
1469
- {
1470
- name: 'bondingType',
1471
- type: {
1472
- defined: 'BondOfferBondingCurveType',
1473
- },
1474
- },
1475
- ],
1476
- },
1477
- },
1478
- {
1479
- name: 'AuthorizationDataLocal',
1480
- type: {
1481
- kind: 'struct',
1482
- fields: [
1483
- {
1484
- name: 'payload',
1485
- type: {
1486
- vec: {
1487
- defined: 'TaggedPayload',
1488
- },
1489
- },
1490
- },
1491
- ],
1492
- },
1493
- },
1494
- {
1495
- name: 'TaggedPayload',
1496
- type: {
1497
- kind: 'struct',
1498
- fields: [
1499
- {
1500
- name: 'name',
1501
- type: 'string',
1502
- },
1503
- {
1504
- name: 'payload',
1505
- type: {
1506
- defined: 'PayloadTypeLocal',
1507
- },
1508
- },
1509
- ],
1510
- },
1511
- },
1512
- {
1513
- name: 'SeedsVecLocal',
1514
- type: {
1515
- kind: 'struct',
1516
- fields: [
1517
- {
1518
- name: 'seeds',
1519
- docs: ['The vector of derivation seeds.'],
1520
- type: {
1521
- vec: 'bytes',
1522
- },
1523
- },
1524
- ],
1525
- },
1526
- },
1527
- {
1528
- name: 'ProofInfoLocal',
1529
- type: {
1530
- kind: 'struct',
1531
- fields: [
1532
- {
1533
- name: 'proof',
1534
- docs: ['The merkle proof.'],
1535
- type: {
1536
- vec: {
1537
- array: ['u8', 32],
1538
- },
1539
- },
1540
- },
1541
- ],
1542
- },
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
- },
1561
- {
1562
- name: 'BanxAdventureSubscriptionState',
1563
- type: {
1564
- kind: 'enum',
1565
- variants: [
1566
- {
1567
- name: 'None',
1568
- },
1569
- {
1570
- name: 'Active',
1571
- },
1572
- {
1573
- name: 'Claimed',
1574
- },
1575
- ],
1576
- },
1577
- },
1578
- {
1579
- name: 'BanxAdventureState',
1580
- type: {
1581
- kind: 'enum',
1582
- variants: [
1583
- {
1584
- name: 'None',
1585
- },
1586
- {
1587
- name: 'Active',
1588
- },
1589
- ],
1590
- },
1591
- },
1592
- {
1593
- name: 'BanxStakingSettingsState',
1594
- type: {
1595
- kind: 'enum',
1596
- variants: [
1597
- {
1598
- name: 'None',
1599
- },
1600
- {
1601
- name: 'Active',
1602
- },
1603
- ],
1604
- },
1605
- },
1606
- {
1607
- name: 'BanxTokenStakeState',
1608
- type: {
1609
- kind: 'enum',
1610
- variants: [
1611
- {
1612
- name: 'None',
1613
- },
1614
- {
1615
- name: 'Staked',
1616
- },
1617
- {
1618
- name: 'Unstaked',
1619
- },
1620
- ],
1621
- },
1622
- },
1623
- {
1624
- name: 'CollateralBoxType',
1625
- type: {
1626
- kind: 'enum',
1627
- variants: [
1628
- {
1629
- name: 'Escrow',
1630
- },
1631
- {
1632
- name: 'Escrowless',
1633
- },
1634
- ],
1635
- },
1636
- },
1637
- {
1638
- name: 'FraktBondState',
1639
- type: {
1640
- kind: 'enum',
1641
- variants: [
1642
- {
1643
- name: 'Initialized',
1644
- },
1645
- {
1646
- name: 'Active',
1647
- },
1648
- {
1649
- name: 'Repaid',
1650
- },
1651
- {
1652
- name: 'Liquidating',
1653
- },
1654
- {
1655
- name: 'Liquidated',
1656
- },
1657
- {
1658
- name: 'PerpetualActive',
1659
- },
1660
- {
1661
- name: 'PerpetualRepaid',
1662
- },
1663
- {
1664
- name: 'PerpetualLiquidatedByAuction',
1665
- },
1666
- {
1667
- name: 'PerpetualLiquidatedByClaim',
1668
- },
1669
- ],
1670
- },
1671
- },
1672
- {
1673
- name: 'ProposalState',
1674
- type: {
1675
- kind: 'enum',
1676
- variants: [
1677
- {
1678
- name: 'None',
1679
- },
1680
- {
1681
- name: 'Initialized',
1682
- },
1683
- ],
1684
- },
1685
- },
1686
- {
1687
- name: 'NftValidationWhitelistTypeHado',
1688
- type: {
1689
- kind: 'enum',
1690
- variants: [
1691
- {
1692
- name: 'Creator',
1693
- },
1694
- {
1695
- name: 'Nft',
1696
- },
1697
- {
1698
- name: 'MerkleTree',
1699
- },
1700
- {
1701
- name: 'CollectionId',
1702
- },
1703
- {
1704
- name: 'SplMint',
1705
- },
1706
- ],
1707
- },
1708
- },
1709
- {
1710
- name: 'MarketTrustType',
1711
- type: {
1712
- kind: 'enum',
1713
- variants: [
1714
- {
1715
- name: 'Unverified',
1716
- },
1717
- {
1718
- name: 'Verified',
1719
- },
1720
- ],
1721
- },
1722
- },
1723
- {
1724
- name: 'MarketState',
1725
- type: {
1726
- kind: 'enum',
1727
- variants: [
1728
- {
1729
- name: 'Initializing',
1730
- },
1731
- {
1732
- name: 'Available',
1733
- },
1734
- {
1735
- name: 'InitializingPerpetual',
1736
- },
1737
- {
1738
- name: 'AvailablePerpetual',
1739
- },
1740
- {
1741
- name: 'PrivateAvailablePerpetual',
1742
- },
1743
- ],
1744
- },
1745
- },
1746
- {
1747
- name: 'PairValidationType',
1748
- type: {
1749
- kind: 'enum',
1750
- variants: [
1751
- {
1752
- name: 'ClassicValidation',
1753
- },
1754
- {
1755
- name: 'CustomValidation',
1756
- },
1757
- ],
1758
- },
1759
- },
1760
- {
1761
- name: 'PairTokenType',
1762
- type: {
1763
- kind: 'enum',
1764
- variants: [
1765
- {
1766
- name: 'NativeSol',
1767
- },
1768
- {
1769
- name: 'Spl',
1770
- },
1771
- ],
1772
- },
1773
- },
1774
- {
1775
- name: 'BondFeatures',
1776
- type: {
1777
- kind: 'enum',
1778
- variants: [
1779
- {
1780
- name: 'None',
1781
- },
1782
- {
1783
- name: 'Autocompound',
1784
- },
1785
- {
1786
- name: 'ReceiveNftOnLiquidation',
1787
- },
1788
- {
1789
- name: 'AutoreceiveSol',
1790
- },
1791
- {
1792
- name: 'AutoCompoundAndReceiveNft',
1793
- },
1794
- {
1795
- name: 'AutoReceiveAndReceiveNft',
1796
- },
1797
- {
1798
- name: 'AutoReceiveAndReceiveSpl',
1799
- },
1800
- ],
1801
- },
1802
- },
1803
- {
1804
- name: 'PairState',
1805
- type: {
1806
- kind: 'enum',
1807
- variants: [
1808
- {
1809
- name: 'Initializing',
1810
- },
1811
- {
1812
- name: 'OnMarketVirtual',
1813
- },
1814
- {
1815
- name: 'OnMarketTokenized',
1816
- },
1817
- {
1818
- name: 'Frozen',
1819
- },
1820
- {
1821
- name: 'Closed',
1822
- },
1823
- {
1824
- name: 'PerpetualOnMarket',
1825
- },
1826
- {
1827
- name: 'PerpetualClosed',
1828
- },
1829
- {
1830
- name: 'PerpetualBondingCurveOnMarket',
1831
- },
1832
- {
1833
- name: 'PerpetualMigrated',
1834
- },
1835
- {
1836
- name: 'PerpetualBondingCurveClosed',
1837
- },
1838
- {
1839
- name: 'PerpetualListing',
1840
- },
1841
- ],
1842
- },
1843
- },
1844
- {
1845
- name: 'BondOfferBondingCurveType',
1846
- type: {
1847
- kind: 'enum',
1848
- variants: [
1849
- {
1850
- name: 'Linear',
1851
- },
1852
- {
1853
- name: 'Exponential',
1854
- },
1855
- {
1856
- name: 'LinearUsdc',
1857
- },
1858
- {
1859
- name: 'ExponentialUsdc',
1860
- },
1861
- {
1862
- name: 'LinearBanxSol',
1863
- },
1864
- {
1865
- name: 'ExponentialBanxSol',
1866
- },
1867
- ],
1868
- },
1869
- },
1870
- {
1871
- name: 'BondTradeTransactionV2State',
1872
- type: {
1873
- kind: 'enum',
1874
- variants: [
1875
- {
1876
- name: 'NotActive',
1877
- },
1878
- {
1879
- name: 'Active',
1880
- },
1881
- {
1882
- name: 'PerpetualActive',
1883
- },
1884
- {
1885
- name: 'PerpetualRepaid',
1886
- },
1887
- {
1888
- name: 'PerpetualLiquidatedByAuction',
1889
- },
1890
- {
1891
- name: 'PerpetualLiquidatedByClaim',
1892
- },
1893
- {
1894
- name: 'PerpetualManualTerminating',
1895
- },
1896
- {
1897
- name: 'PerpetualPartialRepaid',
1898
- },
1899
- {
1900
- name: 'PerpetualRefinanceRepaid',
1901
- },
1902
- {
1903
- name: 'PerpetualRefinancedActive',
1904
- },
1905
- {
1906
- name: 'Migrated',
1907
- },
1908
- {
1909
- name: 'PerpetualBorrowerListing',
1910
- },
1911
- {
1912
- name: 'PerpetualLenderListing',
1913
- },
1914
- ],
1915
- },
1916
- },
1917
- {
1918
- name: 'BondTradeTransactionV2Type',
1919
- type: {
1920
- kind: 'enum',
1921
- variants: [
1922
- {
1923
- name: 'None',
1924
- },
1925
- {
1926
- name: 'Autocompound',
1927
- },
1928
- {
1929
- name: 'ReceiveNftOnLiquidation',
1930
- },
1931
- {
1932
- name: 'AutoreceiveSol',
1933
- },
1934
- {
1935
- name: 'AutoCompoundAndReceiveNft',
1936
- },
1937
- {
1938
- name: 'AutoReceiveAndReceiveNft',
1939
- },
1940
- {
1941
- name: 'AutoReceiveAndReceiveSpl',
1942
- },
1943
- ],
1944
- },
1945
- },
1946
- {
1947
- name: 'RedeemResult',
1948
- type: {
1949
- kind: 'enum',
1950
- variants: [
1951
- {
1952
- name: 'None',
1953
- },
1954
- {
1955
- name: 'DirectBorrow',
1956
- },
1957
- {
1958
- name: 'Reborrow',
1959
- },
1960
- {
1961
- name: 'InstantRefinanced',
1962
- },
1963
- {
1964
- name: 'RefinancedByAuction',
1965
- },
1966
- {
1967
- name: 'PartialRepay',
1968
- },
1969
- {
1970
- name: 'DirectRepaid',
1971
- },
1972
- {
1973
- name: 'Claimed',
1974
- },
1975
- {
1976
- name: 'DirectBorrowAndDirectRepaid',
1977
- },
1978
- {
1979
- name: 'DirectBorrowAndReborrowRepaid',
1980
- },
1981
- {
1982
- name: 'DirectBorrowAndInstantRefinancedRepaid',
1983
- },
1984
- {
1985
- name: 'DirectBorrowAndRefinancedByAuctionRepaid',
1986
- },
1987
- {
1988
- name: 'DirectBorrowAndPartialRepaid',
1989
- },
1990
- {
1991
- name: 'DirectBorrowAndClaimed',
1992
- },
1993
- {
1994
- name: 'ReborrowAndDirectRepaid',
1995
- },
1996
- {
1997
- name: 'ReborrowAndReborrowRepaid',
1998
- },
1999
- {
2000
- name: 'ReborrowAndInstantRefinancedRepaid',
2001
- },
2002
- {
2003
- name: 'ReborrowAndRefinancedByAuctionRepaid',
2004
- },
2005
- {
2006
- name: 'ReborrowAndPartialRepaid',
2007
- },
2008
- {
2009
- name: 'ReborrowAndClaimed',
2010
- },
2011
- {
2012
- name: 'InstantRefinancedAndDirectRepaid',
2013
- },
2014
- {
2015
- name: 'InstantRefinancedAndReborrowRepaid',
2016
- },
2017
- {
2018
- name: 'InstantRefinancedAndInstantRefinancedRepaid',
2019
- },
2020
- {
2021
- name: 'InstantRefinancedAndRefinancedByAuctionRepaid',
2022
- },
2023
- {
2024
- name: 'InstantRefinancedAndPartialRepaid',
2025
- },
2026
- {
2027
- name: 'InstantRefinancedAndClaimed',
2028
- },
2029
- {
2030
- name: 'RefinancedByAuctionAndDirectRepaid',
2031
- },
2032
- {
2033
- name: 'RefinancedByAuctionAndReborrowRepaid',
2034
- },
2035
- {
2036
- name: 'RefinancedByAuctionAndInstantRefinancedRepaid',
2037
- },
2038
- {
2039
- name: 'RefinancedByAuctionAndRefinancedByAuctionRepaid',
2040
- },
2041
- {
2042
- name: 'RefinancedByAuctionAndPartialRepaid',
2043
- },
2044
- {
2045
- name: 'RefinancedByAuctionAndClaimed',
2046
- },
2047
- {
2048
- name: 'PartialRepaidAndDirectRepaid',
2049
- },
2050
- {
2051
- name: 'PartialRepaidAndReborrowRepaid',
2052
- },
2053
- {
2054
- name: 'PartialRepaidAndInstantRefinancedRepaid',
2055
- },
2056
- {
2057
- name: 'PartialRepaidAndRefinancedByAuctionRepaid',
2058
- },
2059
- {
2060
- name: 'PartialRepaidAndPartialRepaid',
2061
- },
2062
- {
2063
- name: 'PartialRepaidAndClaimed',
2064
- },
2065
- ],
2066
- },
2067
- },
2068
- {
2069
- name: 'LendingTokenType',
2070
- type: {
2071
- kind: 'enum',
2072
- variants: [
2073
- {
2074
- name: 'NativeSol',
2075
- },
2076
- {
2077
- name: 'Usdc',
2078
- },
2079
- {
2080
- name: 'BanxSol',
2081
- },
2082
- ],
2083
- },
2084
- },
2085
- {
2086
- name: 'RepayDestination',
2087
- type: {
2088
- kind: 'enum',
2089
- variants: [
2090
- {
2091
- name: 'None',
2092
- },
2093
- {
2094
- name: 'Offer',
2095
- },
2096
- {
2097
- name: 'Wallet',
2098
- },
2099
- {
2100
- name: 'Vault',
2101
- },
2102
- ],
2103
- },
2104
- },
2105
- {
2106
- name: 'CallState',
2107
- type: {
2108
- kind: 'enum',
2109
- variants: [
2110
- {
2111
- name: 'Uninitialized',
2112
- },
2113
- {
2114
- name: 'Initialized',
2115
- },
2116
- ],
2117
- },
2118
- },
2119
- {
2120
- name: 'AdventureState',
2121
- type: {
2122
- kind: 'enum',
2123
- variants: [
2124
- {
2125
- name: 'Uninitialized',
2126
- },
2127
- {
2128
- name: 'Initialized',
2129
- },
2130
- {
2131
- name: 'DistributingInitialized',
2132
- },
2133
- ],
2134
- },
2135
- },
2136
- {
2137
- name: 'BanxStakeState',
2138
- type: {
2139
- kind: 'enum',
2140
- variants: [
2141
- {
2142
- name: 'Staked',
2143
- },
2144
- {
2145
- name: 'Unstaked',
2146
- },
2147
- {
2148
- name: 'Liquidated',
2149
- },
2150
- ],
2151
- },
2152
- },
2153
- {
2154
- name: 'PayloadTypeLocal',
2155
- type: {
2156
- kind: 'enum',
2157
- variants: [
2158
- {
2159
- name: 'Pubkey',
2160
- fields: ['publicKey'],
2161
- },
2162
- {
2163
- name: 'Seeds',
2164
- fields: [
2165
- {
2166
- defined: 'SeedsVecLocal',
2167
- },
2168
- ],
2169
- },
2170
- {
2171
- name: 'MerkleProof',
2172
- fields: [
2173
- {
2174
- defined: 'ProofInfoLocal',
2175
- },
2176
- ],
2177
- },
2178
- {
2179
- name: 'Number',
2180
- fields: ['u64'],
2181
- },
2182
- ],
2183
- },
2184
- },
2185
- ],
2186
- };
2187
- //# sourceMappingURL=idl.js.map