@stellar/stellar-base 12.1.1 → 13.0.0

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/types/curr.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- // Automatically generated on 2023-10-16T10:48:00-08:00
1
+ // Automatically generated by xdrgen on 2024-09-12T11:09:00-08:00
2
+ // DO NOT EDIT or your changes may be overwritten
2
3
  import { Operation } from './index';
3
4
 
4
5
  export {};
@@ -487,6 +488,71 @@ export namespace xdr {
487
488
  static envelopeTypeSorobanAuthorization(): EnvelopeType;
488
489
  }
489
490
 
491
+ class BucketListType {
492
+ readonly name: 'live' | 'hotArchive' | 'coldArchive';
493
+
494
+ readonly value: 0 | 1 | 2;
495
+
496
+ static live(): BucketListType;
497
+
498
+ static hotArchive(): BucketListType;
499
+
500
+ static coldArchive(): BucketListType;
501
+ }
502
+
503
+ class BucketEntryType {
504
+ readonly name: 'metaentry' | 'liveentry' | 'deadentry' | 'initentry';
505
+
506
+ readonly value: -1 | 0 | 1 | 2;
507
+
508
+ static metaentry(): BucketEntryType;
509
+
510
+ static liveentry(): BucketEntryType;
511
+
512
+ static deadentry(): BucketEntryType;
513
+
514
+ static initentry(): BucketEntryType;
515
+ }
516
+
517
+ class HotArchiveBucketEntryType {
518
+ readonly name:
519
+ | 'hotArchiveMetaentry'
520
+ | 'hotArchiveArchived'
521
+ | 'hotArchiveLive'
522
+ | 'hotArchiveDeleted';
523
+
524
+ readonly value: -1 | 0 | 1 | 2;
525
+
526
+ static hotArchiveMetaentry(): HotArchiveBucketEntryType;
527
+
528
+ static hotArchiveArchived(): HotArchiveBucketEntryType;
529
+
530
+ static hotArchiveLive(): HotArchiveBucketEntryType;
531
+
532
+ static hotArchiveDeleted(): HotArchiveBucketEntryType;
533
+ }
534
+
535
+ class ColdArchiveBucketEntryType {
536
+ readonly name:
537
+ | 'coldArchiveMetaentry'
538
+ | 'coldArchiveArchivedLeaf'
539
+ | 'coldArchiveDeletedLeaf'
540
+ | 'coldArchiveBoundaryLeaf'
541
+ | 'coldArchiveHash';
542
+
543
+ readonly value: -1 | 0 | 1 | 2 | 3;
544
+
545
+ static coldArchiveMetaentry(): ColdArchiveBucketEntryType;
546
+
547
+ static coldArchiveArchivedLeaf(): ColdArchiveBucketEntryType;
548
+
549
+ static coldArchiveDeletedLeaf(): ColdArchiveBucketEntryType;
550
+
551
+ static coldArchiveBoundaryLeaf(): ColdArchiveBucketEntryType;
552
+
553
+ static coldArchiveHash(): ColdArchiveBucketEntryType;
554
+ }
555
+
490
556
  class StellarValueType {
491
557
  readonly name: 'stellarValueBasic' | 'stellarValueSigned';
492
558
 
@@ -539,20 +605,6 @@ export namespace xdr {
539
605
  static ledgerUpgradeMaxSorobanTxSetSize(): LedgerUpgradeType;
540
606
  }
541
607
 
542
- class BucketEntryType {
543
- readonly name: 'metaentry' | 'liveentry' | 'deadentry' | 'initentry';
544
-
545
- readonly value: -1 | 0 | 1 | 2;
546
-
547
- static metaentry(): BucketEntryType;
548
-
549
- static liveentry(): BucketEntryType;
550
-
551
- static deadentry(): BucketEntryType;
552
-
553
- static initentry(): BucketEntryType;
554
- }
555
-
556
608
  class TxSetComponentType {
557
609
  readonly name: 'txsetCompTxsMaybeDiscountedFee';
558
610
 
@@ -638,7 +690,11 @@ export namespace xdr {
638
690
  | 'sendMore'
639
691
  | 'sendMoreExtended'
640
692
  | 'floodAdvert'
641
- | 'floodDemand';
693
+ | 'floodDemand'
694
+ | 'timeSlicedSurveyRequest'
695
+ | 'timeSlicedSurveyResponse'
696
+ | 'timeSlicedSurveyStartCollecting'
697
+ | 'timeSlicedSurveyStopCollecting';
642
698
 
643
699
  readonly value:
644
700
  | 0
@@ -660,7 +716,11 @@ export namespace xdr {
660
716
  | 16
661
717
  | 20
662
718
  | 18
663
- | 19;
719
+ | 19
720
+ | 21
721
+ | 22
722
+ | 23
723
+ | 24;
664
724
 
665
725
  static errorMsg(): MessageType;
666
726
 
@@ -701,24 +761,39 @@ export namespace xdr {
701
761
  static floodAdvert(): MessageType;
702
762
 
703
763
  static floodDemand(): MessageType;
764
+
765
+ static timeSlicedSurveyRequest(): MessageType;
766
+
767
+ static timeSlicedSurveyResponse(): MessageType;
768
+
769
+ static timeSlicedSurveyStartCollecting(): MessageType;
770
+
771
+ static timeSlicedSurveyStopCollecting(): MessageType;
704
772
  }
705
773
 
706
774
  class SurveyMessageCommandType {
707
- readonly name: 'surveyTopology';
775
+ readonly name: 'surveyTopology' | 'timeSlicedSurveyTopology';
708
776
 
709
- readonly value: 0;
777
+ readonly value: 0 | 1;
710
778
 
711
779
  static surveyTopology(): SurveyMessageCommandType;
780
+
781
+ static timeSlicedSurveyTopology(): SurveyMessageCommandType;
712
782
  }
713
783
 
714
784
  class SurveyMessageResponseType {
715
- readonly name: 'surveyTopologyResponseV0' | 'surveyTopologyResponseV1';
785
+ readonly name:
786
+ | 'surveyTopologyResponseV0'
787
+ | 'surveyTopologyResponseV1'
788
+ | 'surveyTopologyResponseV2';
716
789
 
717
- readonly value: 0 | 1;
790
+ readonly value: 0 | 1 | 2;
718
791
 
719
792
  static surveyTopologyResponseV0(): SurveyMessageResponseType;
720
793
 
721
794
  static surveyTopologyResponseV1(): SurveyMessageResponseType;
795
+
796
+ static surveyTopologyResponseV2(): SurveyMessageResponseType;
722
797
  }
723
798
 
724
799
  class OperationType {
@@ -849,15 +924,18 @@ export namespace xdr {
849
924
  readonly name:
850
925
  | 'hostFunctionTypeInvokeContract'
851
926
  | 'hostFunctionTypeCreateContract'
852
- | 'hostFunctionTypeUploadContractWasm';
927
+ | 'hostFunctionTypeUploadContractWasm'
928
+ | 'hostFunctionTypeCreateContractV2';
853
929
 
854
- readonly value: 0 | 1 | 2;
930
+ readonly value: 0 | 1 | 2 | 3;
855
931
 
856
932
  static hostFunctionTypeInvokeContract(): HostFunctionType;
857
933
 
858
934
  static hostFunctionTypeCreateContract(): HostFunctionType;
859
935
 
860
936
  static hostFunctionTypeUploadContractWasm(): HostFunctionType;
937
+
938
+ static hostFunctionTypeCreateContractV2(): HostFunctionType;
861
939
  }
862
940
 
863
941
  class ContractIdPreimageType {
@@ -875,13 +953,16 @@ export namespace xdr {
875
953
  class SorobanAuthorizedFunctionType {
876
954
  readonly name:
877
955
  | 'sorobanAuthorizedFunctionTypeContractFn'
878
- | 'sorobanAuthorizedFunctionTypeCreateContractHostFn';
956
+ | 'sorobanAuthorizedFunctionTypeCreateContractHostFn'
957
+ | 'sorobanAuthorizedFunctionTypeCreateContractV2HostFn';
879
958
 
880
- readonly value: 0 | 1;
959
+ readonly value: 0 | 1 | 2;
881
960
 
882
961
  static sorobanAuthorizedFunctionTypeContractFn(): SorobanAuthorizedFunctionType;
883
962
 
884
963
  static sorobanAuthorizedFunctionTypeCreateContractHostFn(): SorobanAuthorizedFunctionType;
964
+
965
+ static sorobanAuthorizedFunctionTypeCreateContractV2HostFn(): SorobanAuthorizedFunctionType;
885
966
  }
886
967
 
887
968
  class SorobanCredentialsType {
@@ -929,6 +1010,16 @@ export namespace xdr {
929
1010
  static precondV2(): PreconditionType;
930
1011
  }
931
1012
 
1013
+ class ArchivalProofType {
1014
+ readonly name: 'existence' | 'nonexistence';
1015
+
1016
+ readonly value: 0 | 1;
1017
+
1018
+ static existence(): ArchivalProofType;
1019
+
1020
+ static nonexistence(): ArchivalProofType;
1021
+ }
1022
+
932
1023
  class ClaimAtomType {
933
1024
  readonly name:
934
1025
  | 'claimAtomTypeV0'
@@ -1853,6 +1944,21 @@ export namespace xdr {
1853
1944
  static signerKeyTypeEd25519SignedPayload(): SignerKeyType;
1854
1945
  }
1855
1946
 
1947
+ class BinaryFuseFilterType {
1948
+ readonly name:
1949
+ | 'binaryFuseFilter8Bit'
1950
+ | 'binaryFuseFilter16Bit'
1951
+ | 'binaryFuseFilter32Bit';
1952
+
1953
+ readonly value: 0 | 1 | 2;
1954
+
1955
+ static binaryFuseFilter8Bit(): BinaryFuseFilterType;
1956
+
1957
+ static binaryFuseFilter16Bit(): BinaryFuseFilterType;
1958
+
1959
+ static binaryFuseFilter32Bit(): BinaryFuseFilterType;
1960
+ }
1961
+
1856
1962
  class ScValType {
1857
1963
  readonly name:
1858
1964
  | 'scvBool'
@@ -2238,7 +2344,32 @@ export namespace xdr {
2238
2344
  | 'instantiateWasmExports'
2239
2345
  | 'instantiateWasmDataSegmentBytes'
2240
2346
  | 'sec1DecodePointUncompressed'
2241
- | 'verifyEcdsaSecp256r1Sig';
2347
+ | 'verifyEcdsaSecp256r1Sig'
2348
+ | 'bls12381EncodeFp'
2349
+ | 'bls12381DecodeFp'
2350
+ | 'bls12381G1CheckPointOnCurve'
2351
+ | 'bls12381G1CheckPointInSubgroup'
2352
+ | 'bls12381G2CheckPointOnCurve'
2353
+ | 'bls12381G2CheckPointInSubgroup'
2354
+ | 'bls12381G1ProjectiveToAffine'
2355
+ | 'bls12381G2ProjectiveToAffine'
2356
+ | 'bls12381G1Add'
2357
+ | 'bls12381G1Mul'
2358
+ | 'bls12381G1Msm'
2359
+ | 'bls12381MapFpToG1'
2360
+ | 'bls12381HashToG1'
2361
+ | 'bls12381G2Add'
2362
+ | 'bls12381G2Mul'
2363
+ | 'bls12381G2Msm'
2364
+ | 'bls12381MapFp2ToG2'
2365
+ | 'bls12381HashToG2'
2366
+ | 'bls12381Pairing'
2367
+ | 'bls12381FrFromU256'
2368
+ | 'bls12381FrToU256'
2369
+ | 'bls12381FrAddSub'
2370
+ | 'bls12381FrMul'
2371
+ | 'bls12381FrPow'
2372
+ | 'bls12381FrInv';
2242
2373
 
2243
2374
  readonly value:
2244
2375
  | 0
@@ -2285,7 +2416,32 @@ export namespace xdr {
2285
2416
  | 41
2286
2417
  | 42
2287
2418
  | 43
2288
- | 44;
2419
+ | 44
2420
+ | 45
2421
+ | 46
2422
+ | 47
2423
+ | 48
2424
+ | 49
2425
+ | 50
2426
+ | 51
2427
+ | 52
2428
+ | 53
2429
+ | 54
2430
+ | 55
2431
+ | 56
2432
+ | 57
2433
+ | 58
2434
+ | 59
2435
+ | 60
2436
+ | 61
2437
+ | 62
2438
+ | 63
2439
+ | 64
2440
+ | 65
2441
+ | 66
2442
+ | 67
2443
+ | 68
2444
+ | 69;
2289
2445
 
2290
2446
  static wasmInsnExec(): ContractCostType;
2291
2447
 
@@ -2376,6 +2532,56 @@ export namespace xdr {
2376
2532
  static sec1DecodePointUncompressed(): ContractCostType;
2377
2533
 
2378
2534
  static verifyEcdsaSecp256r1Sig(): ContractCostType;
2535
+
2536
+ static bls12381EncodeFp(): ContractCostType;
2537
+
2538
+ static bls12381DecodeFp(): ContractCostType;
2539
+
2540
+ static bls12381G1CheckPointOnCurve(): ContractCostType;
2541
+
2542
+ static bls12381G1CheckPointInSubgroup(): ContractCostType;
2543
+
2544
+ static bls12381G2CheckPointOnCurve(): ContractCostType;
2545
+
2546
+ static bls12381G2CheckPointInSubgroup(): ContractCostType;
2547
+
2548
+ static bls12381G1ProjectiveToAffine(): ContractCostType;
2549
+
2550
+ static bls12381G2ProjectiveToAffine(): ContractCostType;
2551
+
2552
+ static bls12381G1Add(): ContractCostType;
2553
+
2554
+ static bls12381G1Mul(): ContractCostType;
2555
+
2556
+ static bls12381G1Msm(): ContractCostType;
2557
+
2558
+ static bls12381MapFpToG1(): ContractCostType;
2559
+
2560
+ static bls12381HashToG1(): ContractCostType;
2561
+
2562
+ static bls12381G2Add(): ContractCostType;
2563
+
2564
+ static bls12381G2Mul(): ContractCostType;
2565
+
2566
+ static bls12381G2Msm(): ContractCostType;
2567
+
2568
+ static bls12381MapFp2ToG2(): ContractCostType;
2569
+
2570
+ static bls12381HashToG2(): ContractCostType;
2571
+
2572
+ static bls12381Pairing(): ContractCostType;
2573
+
2574
+ static bls12381FrFromU256(): ContractCostType;
2575
+
2576
+ static bls12381FrToU256(): ContractCostType;
2577
+
2578
+ static bls12381FrAddSub(): ContractCostType;
2579
+
2580
+ static bls12381FrMul(): ContractCostType;
2581
+
2582
+ static bls12381FrPow(): ContractCostType;
2583
+
2584
+ static bls12381FrInv(): ContractCostType;
2379
2585
  }
2380
2586
 
2381
2587
  class ConfigSettingId {
@@ -2450,14 +2656,20 @@ export namespace xdr {
2450
2656
 
2451
2657
  const LedgerEntryChanges: XDRArray<LedgerEntryChange>;
2452
2658
 
2659
+ const DiagnosticEvents: XDRArray<DiagnosticEvent>;
2660
+
2453
2661
  const EncryptedBody: VarOpaque;
2454
2662
 
2455
2663
  const PeerStatList: XDRArray<PeerStats>;
2456
2664
 
2665
+ const TimeSlicedPeerDataList: XDRArray<TimeSlicedPeerData>;
2666
+
2457
2667
  const TxAdvertVector: XDRArray<Hash>;
2458
2668
 
2459
2669
  const TxDemandVector: XDRArray<Hash>;
2460
2670
 
2671
+ const ProofLevel: XDRArray<ArchivalProofNode>;
2672
+
2461
2673
  const Hash: Opaque;
2462
2674
 
2463
2675
  const Uint256: Opaque;
@@ -4068,6 +4280,160 @@ export namespace xdr {
4068
4280
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4069
4281
  }
4070
4282
 
4283
+ class BucketMetadata {
4284
+ constructor(attributes: { ledgerVersion: number; ext: BucketMetadataExt });
4285
+
4286
+ ledgerVersion(value?: number): number;
4287
+
4288
+ ext(value?: BucketMetadataExt): BucketMetadataExt;
4289
+
4290
+ toXDR(format?: 'raw'): Buffer;
4291
+
4292
+ toXDR(format: 'hex' | 'base64'): string;
4293
+
4294
+ static read(io: Buffer): BucketMetadata;
4295
+
4296
+ static write(value: BucketMetadata, io: Buffer): void;
4297
+
4298
+ static isValid(value: BucketMetadata): boolean;
4299
+
4300
+ static toXDR(value: BucketMetadata): Buffer;
4301
+
4302
+ static fromXDR(input: Buffer, format?: 'raw'): BucketMetadata;
4303
+
4304
+ static fromXDR(input: string, format: 'hex' | 'base64'): BucketMetadata;
4305
+
4306
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
4307
+
4308
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4309
+ }
4310
+
4311
+ class ColdArchiveArchivedLeaf {
4312
+ constructor(attributes: { index: number; archivedEntry: LedgerEntry });
4313
+
4314
+ index(value?: number): number;
4315
+
4316
+ archivedEntry(value?: LedgerEntry): LedgerEntry;
4317
+
4318
+ toXDR(format?: 'raw'): Buffer;
4319
+
4320
+ toXDR(format: 'hex' | 'base64'): string;
4321
+
4322
+ static read(io: Buffer): ColdArchiveArchivedLeaf;
4323
+
4324
+ static write(value: ColdArchiveArchivedLeaf, io: Buffer): void;
4325
+
4326
+ static isValid(value: ColdArchiveArchivedLeaf): boolean;
4327
+
4328
+ static toXDR(value: ColdArchiveArchivedLeaf): Buffer;
4329
+
4330
+ static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveArchivedLeaf;
4331
+
4332
+ static fromXDR(
4333
+ input: string,
4334
+ format: 'hex' | 'base64',
4335
+ ): ColdArchiveArchivedLeaf;
4336
+
4337
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
4338
+
4339
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4340
+ }
4341
+
4342
+ class ColdArchiveDeletedLeaf {
4343
+ constructor(attributes: { index: number; deletedKey: LedgerKey });
4344
+
4345
+ index(value?: number): number;
4346
+
4347
+ deletedKey(value?: LedgerKey): LedgerKey;
4348
+
4349
+ toXDR(format?: 'raw'): Buffer;
4350
+
4351
+ toXDR(format: 'hex' | 'base64'): string;
4352
+
4353
+ static read(io: Buffer): ColdArchiveDeletedLeaf;
4354
+
4355
+ static write(value: ColdArchiveDeletedLeaf, io: Buffer): void;
4356
+
4357
+ static isValid(value: ColdArchiveDeletedLeaf): boolean;
4358
+
4359
+ static toXDR(value: ColdArchiveDeletedLeaf): Buffer;
4360
+
4361
+ static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveDeletedLeaf;
4362
+
4363
+ static fromXDR(
4364
+ input: string,
4365
+ format: 'hex' | 'base64',
4366
+ ): ColdArchiveDeletedLeaf;
4367
+
4368
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
4369
+
4370
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4371
+ }
4372
+
4373
+ class ColdArchiveBoundaryLeaf {
4374
+ constructor(attributes: { index: number; isLowerBound: boolean });
4375
+
4376
+ index(value?: number): number;
4377
+
4378
+ isLowerBound(value?: boolean): boolean;
4379
+
4380
+ toXDR(format?: 'raw'): Buffer;
4381
+
4382
+ toXDR(format: 'hex' | 'base64'): string;
4383
+
4384
+ static read(io: Buffer): ColdArchiveBoundaryLeaf;
4385
+
4386
+ static write(value: ColdArchiveBoundaryLeaf, io: Buffer): void;
4387
+
4388
+ static isValid(value: ColdArchiveBoundaryLeaf): boolean;
4389
+
4390
+ static toXDR(value: ColdArchiveBoundaryLeaf): Buffer;
4391
+
4392
+ static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveBoundaryLeaf;
4393
+
4394
+ static fromXDR(
4395
+ input: string,
4396
+ format: 'hex' | 'base64',
4397
+ ): ColdArchiveBoundaryLeaf;
4398
+
4399
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
4400
+
4401
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4402
+ }
4403
+
4404
+ class ColdArchiveHashEntry {
4405
+ constructor(attributes: { index: number; level: number; hash: Buffer });
4406
+
4407
+ index(value?: number): number;
4408
+
4409
+ level(value?: number): number;
4410
+
4411
+ hash(value?: Buffer): Buffer;
4412
+
4413
+ toXDR(format?: 'raw'): Buffer;
4414
+
4415
+ toXDR(format: 'hex' | 'base64'): string;
4416
+
4417
+ static read(io: Buffer): ColdArchiveHashEntry;
4418
+
4419
+ static write(value: ColdArchiveHashEntry, io: Buffer): void;
4420
+
4421
+ static isValid(value: ColdArchiveHashEntry): boolean;
4422
+
4423
+ static toXDR(value: ColdArchiveHashEntry): Buffer;
4424
+
4425
+ static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveHashEntry;
4426
+
4427
+ static fromXDR(
4428
+ input: string,
4429
+ format: 'hex' | 'base64',
4430
+ ): ColdArchiveHashEntry;
4431
+
4432
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
4433
+
4434
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4435
+ }
4436
+
4071
4437
  class LedgerCloseValueSignature {
4072
4438
  constructor(attributes: { nodeId: NodeId; signature: Buffer });
4073
4439
 
@@ -4294,60 +4660,32 @@ export namespace xdr {
4294
4660
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4295
4661
  }
4296
4662
 
4297
- class BucketMetadata {
4298
- constructor(attributes: { ledgerVersion: number; ext: BucketMetadataExt });
4663
+ class TxSetComponentTxsMaybeDiscountedFee {
4664
+ constructor(attributes: {
4665
+ baseFee: null | Int64;
4666
+ txes: TransactionEnvelope[];
4667
+ });
4299
4668
 
4300
- ledgerVersion(value?: number): number;
4669
+ baseFee(value?: null | Int64): null | Int64;
4301
4670
 
4302
- ext(value?: BucketMetadataExt): BucketMetadataExt;
4671
+ txes(value?: TransactionEnvelope[]): TransactionEnvelope[];
4303
4672
 
4304
4673
  toXDR(format?: 'raw'): Buffer;
4305
4674
 
4306
4675
  toXDR(format: 'hex' | 'base64'): string;
4307
4676
 
4308
- static read(io: Buffer): BucketMetadata;
4309
-
4310
- static write(value: BucketMetadata, io: Buffer): void;
4677
+ static read(io: Buffer): TxSetComponentTxsMaybeDiscountedFee;
4311
4678
 
4312
- static isValid(value: BucketMetadata): boolean;
4679
+ static write(value: TxSetComponentTxsMaybeDiscountedFee, io: Buffer): void;
4313
4680
 
4314
- static toXDR(value: BucketMetadata): Buffer;
4681
+ static isValid(value: TxSetComponentTxsMaybeDiscountedFee): boolean;
4315
4682
 
4316
- static fromXDR(input: Buffer, format?: 'raw'): BucketMetadata;
4683
+ static toXDR(value: TxSetComponentTxsMaybeDiscountedFee): Buffer;
4317
4684
 
4318
- static fromXDR(input: string, format: 'hex' | 'base64'): BucketMetadata;
4319
-
4320
- static validateXDR(input: Buffer, format?: 'raw'): boolean;
4321
-
4322
- static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
4323
- }
4324
-
4325
- class TxSetComponentTxsMaybeDiscountedFee {
4326
- constructor(attributes: {
4327
- baseFee: null | Int64;
4328
- txes: TransactionEnvelope[];
4329
- });
4330
-
4331
- baseFee(value?: null | Int64): null | Int64;
4332
-
4333
- txes(value?: TransactionEnvelope[]): TransactionEnvelope[];
4334
-
4335
- toXDR(format?: 'raw'): Buffer;
4336
-
4337
- toXDR(format: 'hex' | 'base64'): string;
4338
-
4339
- static read(io: Buffer): TxSetComponentTxsMaybeDiscountedFee;
4340
-
4341
- static write(value: TxSetComponentTxsMaybeDiscountedFee, io: Buffer): void;
4342
-
4343
- static isValid(value: TxSetComponentTxsMaybeDiscountedFee): boolean;
4344
-
4345
- static toXDR(value: TxSetComponentTxsMaybeDiscountedFee): Buffer;
4346
-
4347
- static fromXDR(
4348
- input: Buffer,
4349
- format?: 'raw',
4350
- ): TxSetComponentTxsMaybeDiscountedFee;
4685
+ static fromXDR(
4686
+ input: Buffer,
4687
+ format?: 'raw',
4688
+ ): TxSetComponentTxsMaybeDiscountedFee;
4351
4689
 
4352
4690
  static fromXDR(
4353
4691
  input: string,
@@ -5449,6 +5787,178 @@ export namespace xdr {
5449
5787
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5450
5788
  }
5451
5789
 
5790
+ class TimeSlicedSurveyStartCollectingMessage {
5791
+ constructor(attributes: {
5792
+ surveyorId: NodeId;
5793
+ nonce: number;
5794
+ ledgerNum: number;
5795
+ });
5796
+
5797
+ surveyorId(value?: NodeId): NodeId;
5798
+
5799
+ nonce(value?: number): number;
5800
+
5801
+ ledgerNum(value?: number): number;
5802
+
5803
+ toXDR(format?: 'raw'): Buffer;
5804
+
5805
+ toXDR(format: 'hex' | 'base64'): string;
5806
+
5807
+ static read(io: Buffer): TimeSlicedSurveyStartCollectingMessage;
5808
+
5809
+ static write(
5810
+ value: TimeSlicedSurveyStartCollectingMessage,
5811
+ io: Buffer,
5812
+ ): void;
5813
+
5814
+ static isValid(value: TimeSlicedSurveyStartCollectingMessage): boolean;
5815
+
5816
+ static toXDR(value: TimeSlicedSurveyStartCollectingMessage): Buffer;
5817
+
5818
+ static fromXDR(
5819
+ input: Buffer,
5820
+ format?: 'raw',
5821
+ ): TimeSlicedSurveyStartCollectingMessage;
5822
+
5823
+ static fromXDR(
5824
+ input: string,
5825
+ format: 'hex' | 'base64',
5826
+ ): TimeSlicedSurveyStartCollectingMessage;
5827
+
5828
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
5829
+
5830
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5831
+ }
5832
+
5833
+ class SignedTimeSlicedSurveyStartCollectingMessage {
5834
+ constructor(attributes: {
5835
+ signature: Buffer;
5836
+ startCollecting: TimeSlicedSurveyStartCollectingMessage;
5837
+ });
5838
+
5839
+ signature(value?: Buffer): Buffer;
5840
+
5841
+ startCollecting(
5842
+ value?: TimeSlicedSurveyStartCollectingMessage,
5843
+ ): TimeSlicedSurveyStartCollectingMessage;
5844
+
5845
+ toXDR(format?: 'raw'): Buffer;
5846
+
5847
+ toXDR(format: 'hex' | 'base64'): string;
5848
+
5849
+ static read(io: Buffer): SignedTimeSlicedSurveyStartCollectingMessage;
5850
+
5851
+ static write(
5852
+ value: SignedTimeSlicedSurveyStartCollectingMessage,
5853
+ io: Buffer,
5854
+ ): void;
5855
+
5856
+ static isValid(
5857
+ value: SignedTimeSlicedSurveyStartCollectingMessage,
5858
+ ): boolean;
5859
+
5860
+ static toXDR(value: SignedTimeSlicedSurveyStartCollectingMessage): Buffer;
5861
+
5862
+ static fromXDR(
5863
+ input: Buffer,
5864
+ format?: 'raw',
5865
+ ): SignedTimeSlicedSurveyStartCollectingMessage;
5866
+
5867
+ static fromXDR(
5868
+ input: string,
5869
+ format: 'hex' | 'base64',
5870
+ ): SignedTimeSlicedSurveyStartCollectingMessage;
5871
+
5872
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
5873
+
5874
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5875
+ }
5876
+
5877
+ class TimeSlicedSurveyStopCollectingMessage {
5878
+ constructor(attributes: {
5879
+ surveyorId: NodeId;
5880
+ nonce: number;
5881
+ ledgerNum: number;
5882
+ });
5883
+
5884
+ surveyorId(value?: NodeId): NodeId;
5885
+
5886
+ nonce(value?: number): number;
5887
+
5888
+ ledgerNum(value?: number): number;
5889
+
5890
+ toXDR(format?: 'raw'): Buffer;
5891
+
5892
+ toXDR(format: 'hex' | 'base64'): string;
5893
+
5894
+ static read(io: Buffer): TimeSlicedSurveyStopCollectingMessage;
5895
+
5896
+ static write(
5897
+ value: TimeSlicedSurveyStopCollectingMessage,
5898
+ io: Buffer,
5899
+ ): void;
5900
+
5901
+ static isValid(value: TimeSlicedSurveyStopCollectingMessage): boolean;
5902
+
5903
+ static toXDR(value: TimeSlicedSurveyStopCollectingMessage): Buffer;
5904
+
5905
+ static fromXDR(
5906
+ input: Buffer,
5907
+ format?: 'raw',
5908
+ ): TimeSlicedSurveyStopCollectingMessage;
5909
+
5910
+ static fromXDR(
5911
+ input: string,
5912
+ format: 'hex' | 'base64',
5913
+ ): TimeSlicedSurveyStopCollectingMessage;
5914
+
5915
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
5916
+
5917
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5918
+ }
5919
+
5920
+ class SignedTimeSlicedSurveyStopCollectingMessage {
5921
+ constructor(attributes: {
5922
+ signature: Buffer;
5923
+ stopCollecting: TimeSlicedSurveyStopCollectingMessage;
5924
+ });
5925
+
5926
+ signature(value?: Buffer): Buffer;
5927
+
5928
+ stopCollecting(
5929
+ value?: TimeSlicedSurveyStopCollectingMessage,
5930
+ ): TimeSlicedSurveyStopCollectingMessage;
5931
+
5932
+ toXDR(format?: 'raw'): Buffer;
5933
+
5934
+ toXDR(format: 'hex' | 'base64'): string;
5935
+
5936
+ static read(io: Buffer): SignedTimeSlicedSurveyStopCollectingMessage;
5937
+
5938
+ static write(
5939
+ value: SignedTimeSlicedSurveyStopCollectingMessage,
5940
+ io: Buffer,
5941
+ ): void;
5942
+
5943
+ static isValid(value: SignedTimeSlicedSurveyStopCollectingMessage): boolean;
5944
+
5945
+ static toXDR(value: SignedTimeSlicedSurveyStopCollectingMessage): Buffer;
5946
+
5947
+ static fromXDR(
5948
+ input: Buffer,
5949
+ format?: 'raw',
5950
+ ): SignedTimeSlicedSurveyStopCollectingMessage;
5951
+
5952
+ static fromXDR(
5953
+ input: string,
5954
+ format: 'hex' | 'base64',
5955
+ ): SignedTimeSlicedSurveyStopCollectingMessage;
5956
+
5957
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
5958
+
5959
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5960
+ }
5961
+
5452
5962
  class SurveyRequestMessage {
5453
5963
  constructor(attributes: {
5454
5964
  surveyorPeerId: NodeId;
@@ -5492,6 +6002,49 @@ export namespace xdr {
5492
6002
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5493
6003
  }
5494
6004
 
6005
+ class TimeSlicedSurveyRequestMessage {
6006
+ constructor(attributes: {
6007
+ request: SurveyRequestMessage;
6008
+ nonce: number;
6009
+ inboundPeersIndex: number;
6010
+ outboundPeersIndex: number;
6011
+ });
6012
+
6013
+ request(value?: SurveyRequestMessage): SurveyRequestMessage;
6014
+
6015
+ nonce(value?: number): number;
6016
+
6017
+ inboundPeersIndex(value?: number): number;
6018
+
6019
+ outboundPeersIndex(value?: number): number;
6020
+
6021
+ toXDR(format?: 'raw'): Buffer;
6022
+
6023
+ toXDR(format: 'hex' | 'base64'): string;
6024
+
6025
+ static read(io: Buffer): TimeSlicedSurveyRequestMessage;
6026
+
6027
+ static write(value: TimeSlicedSurveyRequestMessage, io: Buffer): void;
6028
+
6029
+ static isValid(value: TimeSlicedSurveyRequestMessage): boolean;
6030
+
6031
+ static toXDR(value: TimeSlicedSurveyRequestMessage): Buffer;
6032
+
6033
+ static fromXDR(
6034
+ input: Buffer,
6035
+ format?: 'raw',
6036
+ ): TimeSlicedSurveyRequestMessage;
6037
+
6038
+ static fromXDR(
6039
+ input: string,
6040
+ format: 'hex' | 'base64',
6041
+ ): TimeSlicedSurveyRequestMessage;
6042
+
6043
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6044
+
6045
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6046
+ }
6047
+
5495
6048
  class SignedSurveyRequestMessage {
5496
6049
  constructor(attributes: {
5497
6050
  requestSignature: Buffer;
@@ -5526,6 +6079,45 @@ export namespace xdr {
5526
6079
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5527
6080
  }
5528
6081
 
6082
+ class SignedTimeSlicedSurveyRequestMessage {
6083
+ constructor(attributes: {
6084
+ requestSignature: Buffer;
6085
+ request: TimeSlicedSurveyRequestMessage;
6086
+ });
6087
+
6088
+ requestSignature(value?: Buffer): Buffer;
6089
+
6090
+ request(
6091
+ value?: TimeSlicedSurveyRequestMessage,
6092
+ ): TimeSlicedSurveyRequestMessage;
6093
+
6094
+ toXDR(format?: 'raw'): Buffer;
6095
+
6096
+ toXDR(format: 'hex' | 'base64'): string;
6097
+
6098
+ static read(io: Buffer): SignedTimeSlicedSurveyRequestMessage;
6099
+
6100
+ static write(value: SignedTimeSlicedSurveyRequestMessage, io: Buffer): void;
6101
+
6102
+ static isValid(value: SignedTimeSlicedSurveyRequestMessage): boolean;
6103
+
6104
+ static toXDR(value: SignedTimeSlicedSurveyRequestMessage): Buffer;
6105
+
6106
+ static fromXDR(
6107
+ input: Buffer,
6108
+ format?: 'raw',
6109
+ ): SignedTimeSlicedSurveyRequestMessage;
6110
+
6111
+ static fromXDR(
6112
+ input: string,
6113
+ format: 'hex' | 'base64',
6114
+ ): SignedTimeSlicedSurveyRequestMessage;
6115
+
6116
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6117
+
6118
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6119
+ }
6120
+
5529
6121
  class SurveyResponseMessage {
5530
6122
  constructor(attributes: {
5531
6123
  surveyorPeerId: NodeId;
@@ -5569,6 +6161,40 @@ export namespace xdr {
5569
6161
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5570
6162
  }
5571
6163
 
6164
+ class TimeSlicedSurveyResponseMessage {
6165
+ constructor(attributes: { response: SurveyResponseMessage; nonce: number });
6166
+
6167
+ response(value?: SurveyResponseMessage): SurveyResponseMessage;
6168
+
6169
+ nonce(value?: number): number;
6170
+
6171
+ toXDR(format?: 'raw'): Buffer;
6172
+
6173
+ toXDR(format: 'hex' | 'base64'): string;
6174
+
6175
+ static read(io: Buffer): TimeSlicedSurveyResponseMessage;
6176
+
6177
+ static write(value: TimeSlicedSurveyResponseMessage, io: Buffer): void;
6178
+
6179
+ static isValid(value: TimeSlicedSurveyResponseMessage): boolean;
6180
+
6181
+ static toXDR(value: TimeSlicedSurveyResponseMessage): Buffer;
6182
+
6183
+ static fromXDR(
6184
+ input: Buffer,
6185
+ format?: 'raw',
6186
+ ): TimeSlicedSurveyResponseMessage;
6187
+
6188
+ static fromXDR(
6189
+ input: string,
6190
+ format: 'hex' | 'base64',
6191
+ ): TimeSlicedSurveyResponseMessage;
6192
+
6193
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6194
+
6195
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6196
+ }
6197
+
5572
6198
  class SignedSurveyResponseMessage {
5573
6199
  constructor(attributes: {
5574
6200
  responseSignature: Buffer;
@@ -5600,73 +6226,198 @@ export namespace xdr {
5600
6226
 
5601
6227
  static validateXDR(input: Buffer, format?: 'raw'): boolean;
5602
6228
 
5603
- static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5604
- }
6229
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6230
+ }
6231
+
6232
+ class SignedTimeSlicedSurveyResponseMessage {
6233
+ constructor(attributes: {
6234
+ responseSignature: Buffer;
6235
+ response: TimeSlicedSurveyResponseMessage;
6236
+ });
6237
+
6238
+ responseSignature(value?: Buffer): Buffer;
6239
+
6240
+ response(
6241
+ value?: TimeSlicedSurveyResponseMessage,
6242
+ ): TimeSlicedSurveyResponseMessage;
6243
+
6244
+ toXDR(format?: 'raw'): Buffer;
6245
+
6246
+ toXDR(format: 'hex' | 'base64'): string;
6247
+
6248
+ static read(io: Buffer): SignedTimeSlicedSurveyResponseMessage;
6249
+
6250
+ static write(
6251
+ value: SignedTimeSlicedSurveyResponseMessage,
6252
+ io: Buffer,
6253
+ ): void;
6254
+
6255
+ static isValid(value: SignedTimeSlicedSurveyResponseMessage): boolean;
6256
+
6257
+ static toXDR(value: SignedTimeSlicedSurveyResponseMessage): Buffer;
6258
+
6259
+ static fromXDR(
6260
+ input: Buffer,
6261
+ format?: 'raw',
6262
+ ): SignedTimeSlicedSurveyResponseMessage;
6263
+
6264
+ static fromXDR(
6265
+ input: string,
6266
+ format: 'hex' | 'base64',
6267
+ ): SignedTimeSlicedSurveyResponseMessage;
6268
+
6269
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6270
+
6271
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6272
+ }
6273
+
6274
+ class PeerStats {
6275
+ constructor(attributes: {
6276
+ id: NodeId;
6277
+ versionStr: string | Buffer;
6278
+ messagesRead: Uint64;
6279
+ messagesWritten: Uint64;
6280
+ bytesRead: Uint64;
6281
+ bytesWritten: Uint64;
6282
+ secondsConnected: Uint64;
6283
+ uniqueFloodBytesRecv: Uint64;
6284
+ duplicateFloodBytesRecv: Uint64;
6285
+ uniqueFetchBytesRecv: Uint64;
6286
+ duplicateFetchBytesRecv: Uint64;
6287
+ uniqueFloodMessageRecv: Uint64;
6288
+ duplicateFloodMessageRecv: Uint64;
6289
+ uniqueFetchMessageRecv: Uint64;
6290
+ duplicateFetchMessageRecv: Uint64;
6291
+ });
6292
+
6293
+ id(value?: NodeId): NodeId;
6294
+
6295
+ versionStr(value?: string | Buffer): string | Buffer;
6296
+
6297
+ messagesRead(value?: Uint64): Uint64;
6298
+
6299
+ messagesWritten(value?: Uint64): Uint64;
6300
+
6301
+ bytesRead(value?: Uint64): Uint64;
6302
+
6303
+ bytesWritten(value?: Uint64): Uint64;
6304
+
6305
+ secondsConnected(value?: Uint64): Uint64;
6306
+
6307
+ uniqueFloodBytesRecv(value?: Uint64): Uint64;
6308
+
6309
+ duplicateFloodBytesRecv(value?: Uint64): Uint64;
6310
+
6311
+ uniqueFetchBytesRecv(value?: Uint64): Uint64;
6312
+
6313
+ duplicateFetchBytesRecv(value?: Uint64): Uint64;
6314
+
6315
+ uniqueFloodMessageRecv(value?: Uint64): Uint64;
6316
+
6317
+ duplicateFloodMessageRecv(value?: Uint64): Uint64;
6318
+
6319
+ uniqueFetchMessageRecv(value?: Uint64): Uint64;
6320
+
6321
+ duplicateFetchMessageRecv(value?: Uint64): Uint64;
6322
+
6323
+ toXDR(format?: 'raw'): Buffer;
6324
+
6325
+ toXDR(format: 'hex' | 'base64'): string;
6326
+
6327
+ static read(io: Buffer): PeerStats;
6328
+
6329
+ static write(value: PeerStats, io: Buffer): void;
6330
+
6331
+ static isValid(value: PeerStats): boolean;
6332
+
6333
+ static toXDR(value: PeerStats): Buffer;
6334
+
6335
+ static fromXDR(input: Buffer, format?: 'raw'): PeerStats;
6336
+
6337
+ static fromXDR(input: string, format: 'hex' | 'base64'): PeerStats;
6338
+
6339
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6340
+
6341
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6342
+ }
6343
+
6344
+ class TimeSlicedNodeData {
6345
+ constructor(attributes: {
6346
+ addedAuthenticatedPeers: number;
6347
+ droppedAuthenticatedPeers: number;
6348
+ totalInboundPeerCount: number;
6349
+ totalOutboundPeerCount: number;
6350
+ p75ScpFirstToSelfLatencyMs: number;
6351
+ p75ScpSelfToOtherLatencyMs: number;
6352
+ lostSyncCount: number;
6353
+ isValidator: boolean;
6354
+ maxInboundPeerCount: number;
6355
+ maxOutboundPeerCount: number;
6356
+ });
6357
+
6358
+ addedAuthenticatedPeers(value?: number): number;
6359
+
6360
+ droppedAuthenticatedPeers(value?: number): number;
6361
+
6362
+ totalInboundPeerCount(value?: number): number;
6363
+
6364
+ totalOutboundPeerCount(value?: number): number;
6365
+
6366
+ p75ScpFirstToSelfLatencyMs(value?: number): number;
6367
+
6368
+ p75ScpSelfToOtherLatencyMs(value?: number): number;
6369
+
6370
+ lostSyncCount(value?: number): number;
5605
6371
 
5606
- class PeerStats {
5607
- constructor(attributes: {
5608
- id: NodeId;
5609
- versionStr: string | Buffer;
5610
- messagesRead: Uint64;
5611
- messagesWritten: Uint64;
5612
- bytesRead: Uint64;
5613
- bytesWritten: Uint64;
5614
- secondsConnected: Uint64;
5615
- uniqueFloodBytesRecv: Uint64;
5616
- duplicateFloodBytesRecv: Uint64;
5617
- uniqueFetchBytesRecv: Uint64;
5618
- duplicateFetchBytesRecv: Uint64;
5619
- uniqueFloodMessageRecv: Uint64;
5620
- duplicateFloodMessageRecv: Uint64;
5621
- uniqueFetchMessageRecv: Uint64;
5622
- duplicateFetchMessageRecv: Uint64;
5623
- });
6372
+ isValidator(value?: boolean): boolean;
5624
6373
 
5625
- id(value?: NodeId): NodeId;
6374
+ maxInboundPeerCount(value?: number): number;
5626
6375
 
5627
- versionStr(value?: string | Buffer): string | Buffer;
6376
+ maxOutboundPeerCount(value?: number): number;
5628
6377
 
5629
- messagesRead(value?: Uint64): Uint64;
6378
+ toXDR(format?: 'raw'): Buffer;
5630
6379
 
5631
- messagesWritten(value?: Uint64): Uint64;
6380
+ toXDR(format: 'hex' | 'base64'): string;
5632
6381
 
5633
- bytesRead(value?: Uint64): Uint64;
6382
+ static read(io: Buffer): TimeSlicedNodeData;
5634
6383
 
5635
- bytesWritten(value?: Uint64): Uint64;
6384
+ static write(value: TimeSlicedNodeData, io: Buffer): void;
5636
6385
 
5637
- secondsConnected(value?: Uint64): Uint64;
6386
+ static isValid(value: TimeSlicedNodeData): boolean;
5638
6387
 
5639
- uniqueFloodBytesRecv(value?: Uint64): Uint64;
6388
+ static toXDR(value: TimeSlicedNodeData): Buffer;
5640
6389
 
5641
- duplicateFloodBytesRecv(value?: Uint64): Uint64;
6390
+ static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedNodeData;
5642
6391
 
5643
- uniqueFetchBytesRecv(value?: Uint64): Uint64;
6392
+ static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedNodeData;
5644
6393
 
5645
- duplicateFetchBytesRecv(value?: Uint64): Uint64;
6394
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
5646
6395
 
5647
- uniqueFloodMessageRecv(value?: Uint64): Uint64;
6396
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6397
+ }
5648
6398
 
5649
- duplicateFloodMessageRecv(value?: Uint64): Uint64;
6399
+ class TimeSlicedPeerData {
6400
+ constructor(attributes: { peerStats: PeerStats; averageLatencyMs: number });
5650
6401
 
5651
- uniqueFetchMessageRecv(value?: Uint64): Uint64;
6402
+ peerStats(value?: PeerStats): PeerStats;
5652
6403
 
5653
- duplicateFetchMessageRecv(value?: Uint64): Uint64;
6404
+ averageLatencyMs(value?: number): number;
5654
6405
 
5655
6406
  toXDR(format?: 'raw'): Buffer;
5656
6407
 
5657
6408
  toXDR(format: 'hex' | 'base64'): string;
5658
6409
 
5659
- static read(io: Buffer): PeerStats;
6410
+ static read(io: Buffer): TimeSlicedPeerData;
5660
6411
 
5661
- static write(value: PeerStats, io: Buffer): void;
6412
+ static write(value: TimeSlicedPeerData, io: Buffer): void;
5662
6413
 
5663
- static isValid(value: PeerStats): boolean;
6414
+ static isValid(value: TimeSlicedPeerData): boolean;
5664
6415
 
5665
- static toXDR(value: PeerStats): Buffer;
6416
+ static toXDR(value: TimeSlicedPeerData): Buffer;
5666
6417
 
5667
- static fromXDR(input: Buffer, format?: 'raw'): PeerStats;
6418
+ static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedPeerData;
5668
6419
 
5669
- static fromXDR(input: string, format: 'hex' | 'base64'): PeerStats;
6420
+ static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedPeerData;
5670
6421
 
5671
6422
  static validateXDR(input: Buffer, format?: 'raw'): boolean;
5672
6423
 
@@ -5759,6 +6510,43 @@ export namespace xdr {
5759
6510
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
5760
6511
  }
5761
6512
 
6513
+ class TopologyResponseBodyV2 {
6514
+ constructor(attributes: {
6515
+ inboundPeers: TimeSlicedPeerData[];
6516
+ outboundPeers: TimeSlicedPeerData[];
6517
+ nodeData: TimeSlicedNodeData;
6518
+ });
6519
+
6520
+ inboundPeers(value?: TimeSlicedPeerData[]): TimeSlicedPeerData[];
6521
+
6522
+ outboundPeers(value?: TimeSlicedPeerData[]): TimeSlicedPeerData[];
6523
+
6524
+ nodeData(value?: TimeSlicedNodeData): TimeSlicedNodeData;
6525
+
6526
+ toXDR(format?: 'raw'): Buffer;
6527
+
6528
+ toXDR(format: 'hex' | 'base64'): string;
6529
+
6530
+ static read(io: Buffer): TopologyResponseBodyV2;
6531
+
6532
+ static write(value: TopologyResponseBodyV2, io: Buffer): void;
6533
+
6534
+ static isValid(value: TopologyResponseBodyV2): boolean;
6535
+
6536
+ static toXDR(value: TopologyResponseBodyV2): Buffer;
6537
+
6538
+ static fromXDR(input: Buffer, format?: 'raw'): TopologyResponseBodyV2;
6539
+
6540
+ static fromXDR(
6541
+ input: string,
6542
+ format: 'hex' | 'base64',
6543
+ ): TopologyResponseBodyV2;
6544
+
6545
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
6546
+
6547
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6548
+ }
6549
+
5762
6550
  class FloodAdvert {
5763
6551
  constructor(attributes: { txHashes: Hash[] });
5764
6552
 
@@ -6732,6 +7520,43 @@ export namespace xdr {
6732
7520
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
6733
7521
  }
6734
7522
 
7523
+ class CreateContractArgsV2 {
7524
+ constructor(attributes: {
7525
+ contractIdPreimage: ContractIdPreimage;
7526
+ executable: ContractExecutable;
7527
+ constructorArgs: ScVal[];
7528
+ });
7529
+
7530
+ contractIdPreimage(value?: ContractIdPreimage): ContractIdPreimage;
7531
+
7532
+ executable(value?: ContractExecutable): ContractExecutable;
7533
+
7534
+ constructorArgs(value?: ScVal[]): ScVal[];
7535
+
7536
+ toXDR(format?: 'raw'): Buffer;
7537
+
7538
+ toXDR(format: 'hex' | 'base64'): string;
7539
+
7540
+ static read(io: Buffer): CreateContractArgsV2;
7541
+
7542
+ static write(value: CreateContractArgsV2, io: Buffer): void;
7543
+
7544
+ static isValid(value: CreateContractArgsV2): boolean;
7545
+
7546
+ static toXDR(value: CreateContractArgsV2): Buffer;
7547
+
7548
+ static fromXDR(input: Buffer, format?: 'raw'): CreateContractArgsV2;
7549
+
7550
+ static fromXDR(
7551
+ input: string,
7552
+ format: 'hex' | 'base64',
7553
+ ): CreateContractArgsV2;
7554
+
7555
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
7556
+
7557
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
7558
+ }
7559
+
6735
7560
  class InvokeContractArgs {
6736
7561
  constructor(attributes: {
6737
7562
  contractAddress: ScAddress;
@@ -7255,6 +8080,135 @@ export namespace xdr {
7255
8080
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
7256
8081
  }
7257
8082
 
8083
+ class ArchivalProofNode {
8084
+ constructor(attributes: { index: number; hash: Buffer });
8085
+
8086
+ index(value?: number): number;
8087
+
8088
+ hash(value?: Buffer): Buffer;
8089
+
8090
+ toXDR(format?: 'raw'): Buffer;
8091
+
8092
+ toXDR(format: 'hex' | 'base64'): string;
8093
+
8094
+ static read(io: Buffer): ArchivalProofNode;
8095
+
8096
+ static write(value: ArchivalProofNode, io: Buffer): void;
8097
+
8098
+ static isValid(value: ArchivalProofNode): boolean;
8099
+
8100
+ static toXDR(value: ArchivalProofNode): Buffer;
8101
+
8102
+ static fromXDR(input: Buffer, format?: 'raw'): ArchivalProofNode;
8103
+
8104
+ static fromXDR(input: string, format: 'hex' | 'base64'): ArchivalProofNode;
8105
+
8106
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
8107
+
8108
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8109
+ }
8110
+
8111
+ class NonexistenceProofBody {
8112
+ constructor(attributes: {
8113
+ entriesToProve: ColdArchiveBucketEntry[];
8114
+ proofLevels: ArchivalProofNode[][];
8115
+ });
8116
+
8117
+ entriesToProve(value?: ColdArchiveBucketEntry[]): ColdArchiveBucketEntry[];
8118
+
8119
+ proofLevels(value?: ArchivalProofNode[][]): ArchivalProofNode[][];
8120
+
8121
+ toXDR(format?: 'raw'): Buffer;
8122
+
8123
+ toXDR(format: 'hex' | 'base64'): string;
8124
+
8125
+ static read(io: Buffer): NonexistenceProofBody;
8126
+
8127
+ static write(value: NonexistenceProofBody, io: Buffer): void;
8128
+
8129
+ static isValid(value: NonexistenceProofBody): boolean;
8130
+
8131
+ static toXDR(value: NonexistenceProofBody): Buffer;
8132
+
8133
+ static fromXDR(input: Buffer, format?: 'raw'): NonexistenceProofBody;
8134
+
8135
+ static fromXDR(
8136
+ input: string,
8137
+ format: 'hex' | 'base64',
8138
+ ): NonexistenceProofBody;
8139
+
8140
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
8141
+
8142
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8143
+ }
8144
+
8145
+ class ExistenceProofBody {
8146
+ constructor(attributes: {
8147
+ keysToProve: LedgerKey[];
8148
+ lowBoundEntries: ColdArchiveBucketEntry[];
8149
+ highBoundEntries: ColdArchiveBucketEntry[];
8150
+ proofLevels: ArchivalProofNode[][];
8151
+ });
8152
+
8153
+ keysToProve(value?: LedgerKey[]): LedgerKey[];
8154
+
8155
+ lowBoundEntries(value?: ColdArchiveBucketEntry[]): ColdArchiveBucketEntry[];
8156
+
8157
+ highBoundEntries(
8158
+ value?: ColdArchiveBucketEntry[],
8159
+ ): ColdArchiveBucketEntry[];
8160
+
8161
+ proofLevels(value?: ArchivalProofNode[][]): ArchivalProofNode[][];
8162
+
8163
+ toXDR(format?: 'raw'): Buffer;
8164
+
8165
+ toXDR(format: 'hex' | 'base64'): string;
8166
+
8167
+ static read(io: Buffer): ExistenceProofBody;
8168
+
8169
+ static write(value: ExistenceProofBody, io: Buffer): void;
8170
+
8171
+ static isValid(value: ExistenceProofBody): boolean;
8172
+
8173
+ static toXDR(value: ExistenceProofBody): Buffer;
8174
+
8175
+ static fromXDR(input: Buffer, format?: 'raw'): ExistenceProofBody;
8176
+
8177
+ static fromXDR(input: string, format: 'hex' | 'base64'): ExistenceProofBody;
8178
+
8179
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
8180
+
8181
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8182
+ }
8183
+
8184
+ class ArchivalProof {
8185
+ constructor(attributes: { epoch: number; body: ArchivalProofBody });
8186
+
8187
+ epoch(value?: number): number;
8188
+
8189
+ body(value?: ArchivalProofBody): ArchivalProofBody;
8190
+
8191
+ toXDR(format?: 'raw'): Buffer;
8192
+
8193
+ toXDR(format: 'hex' | 'base64'): string;
8194
+
8195
+ static read(io: Buffer): ArchivalProof;
8196
+
8197
+ static write(value: ArchivalProof, io: Buffer): void;
8198
+
8199
+ static isValid(value: ArchivalProof): boolean;
8200
+
8201
+ static toXDR(value: ArchivalProof): Buffer;
8202
+
8203
+ static fromXDR(input: Buffer, format?: 'raw'): ArchivalProof;
8204
+
8205
+ static fromXDR(input: string, format: 'hex' | 'base64'): ArchivalProof;
8206
+
8207
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
8208
+
8209
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8210
+ }
8211
+
7258
8212
  class SorobanResources {
7259
8213
  constructor(attributes: {
7260
8214
  footprint: LedgerFootprint;
@@ -8135,6 +9089,87 @@ export namespace xdr {
8135
9089
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8136
9090
  }
8137
9091
 
9092
+ class ShortHashSeed {
9093
+ constructor(attributes: { seed: Buffer });
9094
+
9095
+ seed(value?: Buffer): Buffer;
9096
+
9097
+ toXDR(format?: 'raw'): Buffer;
9098
+
9099
+ toXDR(format: 'hex' | 'base64'): string;
9100
+
9101
+ static read(io: Buffer): ShortHashSeed;
9102
+
9103
+ static write(value: ShortHashSeed, io: Buffer): void;
9104
+
9105
+ static isValid(value: ShortHashSeed): boolean;
9106
+
9107
+ static toXDR(value: ShortHashSeed): Buffer;
9108
+
9109
+ static fromXDR(input: Buffer, format?: 'raw'): ShortHashSeed;
9110
+
9111
+ static fromXDR(input: string, format: 'hex' | 'base64'): ShortHashSeed;
9112
+
9113
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
9114
+
9115
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
9116
+ }
9117
+
9118
+ class SerializedBinaryFuseFilter {
9119
+ constructor(attributes: {
9120
+ type: BinaryFuseFilterType;
9121
+ inputHashSeed: ShortHashSeed;
9122
+ filterSeed: ShortHashSeed;
9123
+ segmentLength: number;
9124
+ segementLengthMask: number;
9125
+ segmentCount: number;
9126
+ segmentCountLength: number;
9127
+ fingerprintLength: number;
9128
+ fingerprints: Buffer;
9129
+ });
9130
+
9131
+ type(value?: BinaryFuseFilterType): BinaryFuseFilterType;
9132
+
9133
+ inputHashSeed(value?: ShortHashSeed): ShortHashSeed;
9134
+
9135
+ filterSeed(value?: ShortHashSeed): ShortHashSeed;
9136
+
9137
+ segmentLength(value?: number): number;
9138
+
9139
+ segementLengthMask(value?: number): number;
9140
+
9141
+ segmentCount(value?: number): number;
9142
+
9143
+ segmentCountLength(value?: number): number;
9144
+
9145
+ fingerprintLength(value?: number): number;
9146
+
9147
+ fingerprints(value?: Buffer): Buffer;
9148
+
9149
+ toXDR(format?: 'raw'): Buffer;
9150
+
9151
+ toXDR(format: 'hex' | 'base64'): string;
9152
+
9153
+ static read(io: Buffer): SerializedBinaryFuseFilter;
9154
+
9155
+ static write(value: SerializedBinaryFuseFilter, io: Buffer): void;
9156
+
9157
+ static isValid(value: SerializedBinaryFuseFilter): boolean;
9158
+
9159
+ static toXDR(value: SerializedBinaryFuseFilter): Buffer;
9160
+
9161
+ static fromXDR(input: Buffer, format?: 'raw'): SerializedBinaryFuseFilter;
9162
+
9163
+ static fromXDR(
9164
+ input: string,
9165
+ format: 'hex' | 'base64',
9166
+ ): SerializedBinaryFuseFilter;
9167
+
9168
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
9169
+
9170
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
9171
+ }
9172
+
8138
9173
  class UInt128Parts {
8139
9174
  constructor(attributes: { hi: Uint64; lo: Uint64 });
8140
9175
 
@@ -8322,28 +9357,62 @@ export namespace xdr {
8322
9357
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
8323
9358
  }
8324
9359
 
8325
- class ScMapEntry {
8326
- constructor(attributes: { key: ScVal; val: ScVal });
9360
+ class ScMapEntry {
9361
+ constructor(attributes: { key: ScVal; val: ScVal });
9362
+
9363
+ key(value?: ScVal): ScVal;
9364
+
9365
+ val(value?: ScVal): ScVal;
9366
+
9367
+ toXDR(format?: 'raw'): Buffer;
9368
+
9369
+ toXDR(format: 'hex' | 'base64'): string;
9370
+
9371
+ static read(io: Buffer): ScMapEntry;
9372
+
9373
+ static write(value: ScMapEntry, io: Buffer): void;
9374
+
9375
+ static isValid(value: ScMapEntry): boolean;
9376
+
9377
+ static toXDR(value: ScMapEntry): Buffer;
9378
+
9379
+ static fromXDR(input: Buffer, format?: 'raw'): ScMapEntry;
9380
+
9381
+ static fromXDR(input: string, format: 'hex' | 'base64'): ScMapEntry;
9382
+
9383
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
9384
+
9385
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
9386
+ }
9387
+
9388
+ class ScEnvMetaEntryInterfaceVersion {
9389
+ constructor(attributes: { protocol: number; preRelease: number });
8327
9390
 
8328
- key(value?: ScVal): ScVal;
9391
+ protocol(value?: number): number;
8329
9392
 
8330
- val(value?: ScVal): ScVal;
9393
+ preRelease(value?: number): number;
8331
9394
 
8332
9395
  toXDR(format?: 'raw'): Buffer;
8333
9396
 
8334
9397
  toXDR(format: 'hex' | 'base64'): string;
8335
9398
 
8336
- static read(io: Buffer): ScMapEntry;
9399
+ static read(io: Buffer): ScEnvMetaEntryInterfaceVersion;
8337
9400
 
8338
- static write(value: ScMapEntry, io: Buffer): void;
9401
+ static write(value: ScEnvMetaEntryInterfaceVersion, io: Buffer): void;
8339
9402
 
8340
- static isValid(value: ScMapEntry): boolean;
9403
+ static isValid(value: ScEnvMetaEntryInterfaceVersion): boolean;
8341
9404
 
8342
- static toXDR(value: ScMapEntry): Buffer;
9405
+ static toXDR(value: ScEnvMetaEntryInterfaceVersion): Buffer;
8343
9406
 
8344
- static fromXDR(input: Buffer, format?: 'raw'): ScMapEntry;
9407
+ static fromXDR(
9408
+ input: Buffer,
9409
+ format?: 'raw',
9410
+ ): ScEnvMetaEntryInterfaceVersion;
8345
9411
 
8346
- static fromXDR(input: string, format: 'hex' | 'base64'): ScMapEntry;
9412
+ static fromXDR(
9413
+ input: string,
9414
+ format: 'hex' | 'base64',
9415
+ ): ScEnvMetaEntryInterfaceVersion;
8347
9416
 
8348
9417
  static validateXDR(input: Buffer, format?: 'raw'): boolean;
8349
9418
 
@@ -10261,6 +11330,181 @@ export namespace xdr {
10261
11330
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
10262
11331
  }
10263
11332
 
11333
+ class BucketMetadataExt {
11334
+ switch(): number;
11335
+
11336
+ bucketListType(value?: BucketListType): BucketListType;
11337
+
11338
+ static 0(): BucketMetadataExt;
11339
+
11340
+ static 1(value: BucketListType): BucketMetadataExt;
11341
+
11342
+ value(): BucketListType | void;
11343
+
11344
+ toXDR(format?: 'raw'): Buffer;
11345
+
11346
+ toXDR(format: 'hex' | 'base64'): string;
11347
+
11348
+ static read(io: Buffer): BucketMetadataExt;
11349
+
11350
+ static write(value: BucketMetadataExt, io: Buffer): void;
11351
+
11352
+ static isValid(value: BucketMetadataExt): boolean;
11353
+
11354
+ static toXDR(value: BucketMetadataExt): Buffer;
11355
+
11356
+ static fromXDR(input: Buffer, format?: 'raw'): BucketMetadataExt;
11357
+
11358
+ static fromXDR(input: string, format: 'hex' | 'base64'): BucketMetadataExt;
11359
+
11360
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
11361
+
11362
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
11363
+ }
11364
+
11365
+ class BucketEntry {
11366
+ switch(): BucketEntryType;
11367
+
11368
+ liveEntry(value?: LedgerEntry): LedgerEntry;
11369
+
11370
+ deadEntry(value?: LedgerKey): LedgerKey;
11371
+
11372
+ metaEntry(value?: BucketMetadata): BucketMetadata;
11373
+
11374
+ static liveentry(value: LedgerEntry): BucketEntry;
11375
+
11376
+ static initentry(value: LedgerEntry): BucketEntry;
11377
+
11378
+ static deadentry(value: LedgerKey): BucketEntry;
11379
+
11380
+ static metaentry(value: BucketMetadata): BucketEntry;
11381
+
11382
+ value(): LedgerEntry | LedgerKey | BucketMetadata;
11383
+
11384
+ toXDR(format?: 'raw'): Buffer;
11385
+
11386
+ toXDR(format: 'hex' | 'base64'): string;
11387
+
11388
+ static read(io: Buffer): BucketEntry;
11389
+
11390
+ static write(value: BucketEntry, io: Buffer): void;
11391
+
11392
+ static isValid(value: BucketEntry): boolean;
11393
+
11394
+ static toXDR(value: BucketEntry): Buffer;
11395
+
11396
+ static fromXDR(input: Buffer, format?: 'raw'): BucketEntry;
11397
+
11398
+ static fromXDR(input: string, format: 'hex' | 'base64'): BucketEntry;
11399
+
11400
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
11401
+
11402
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
11403
+ }
11404
+
11405
+ class HotArchiveBucketEntry {
11406
+ switch(): HotArchiveBucketEntryType;
11407
+
11408
+ archivedEntry(value?: LedgerEntry): LedgerEntry;
11409
+
11410
+ key(value?: LedgerKey): LedgerKey;
11411
+
11412
+ metaEntry(value?: BucketMetadata): BucketMetadata;
11413
+
11414
+ static hotArchiveArchived(value: LedgerEntry): HotArchiveBucketEntry;
11415
+
11416
+ static hotArchiveLive(value: LedgerKey): HotArchiveBucketEntry;
11417
+
11418
+ static hotArchiveDeleted(value: LedgerKey): HotArchiveBucketEntry;
11419
+
11420
+ static hotArchiveMetaentry(value: BucketMetadata): HotArchiveBucketEntry;
11421
+
11422
+ value(): LedgerEntry | LedgerKey | BucketMetadata;
11423
+
11424
+ toXDR(format?: 'raw'): Buffer;
11425
+
11426
+ toXDR(format: 'hex' | 'base64'): string;
11427
+
11428
+ static read(io: Buffer): HotArchiveBucketEntry;
11429
+
11430
+ static write(value: HotArchiveBucketEntry, io: Buffer): void;
11431
+
11432
+ static isValid(value: HotArchiveBucketEntry): boolean;
11433
+
11434
+ static toXDR(value: HotArchiveBucketEntry): Buffer;
11435
+
11436
+ static fromXDR(input: Buffer, format?: 'raw'): HotArchiveBucketEntry;
11437
+
11438
+ static fromXDR(
11439
+ input: string,
11440
+ format: 'hex' | 'base64',
11441
+ ): HotArchiveBucketEntry;
11442
+
11443
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
11444
+
11445
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
11446
+ }
11447
+
11448
+ class ColdArchiveBucketEntry {
11449
+ switch(): ColdArchiveBucketEntryType;
11450
+
11451
+ metaEntry(value?: BucketMetadata): BucketMetadata;
11452
+
11453
+ archivedLeaf(value?: ColdArchiveArchivedLeaf): ColdArchiveArchivedLeaf;
11454
+
11455
+ deletedLeaf(value?: ColdArchiveDeletedLeaf): ColdArchiveDeletedLeaf;
11456
+
11457
+ boundaryLeaf(value?: ColdArchiveBoundaryLeaf): ColdArchiveBoundaryLeaf;
11458
+
11459
+ hashEntry(value?: ColdArchiveHashEntry): ColdArchiveHashEntry;
11460
+
11461
+ static coldArchiveMetaentry(value: BucketMetadata): ColdArchiveBucketEntry;
11462
+
11463
+ static coldArchiveArchivedLeaf(
11464
+ value: ColdArchiveArchivedLeaf,
11465
+ ): ColdArchiveBucketEntry;
11466
+
11467
+ static coldArchiveDeletedLeaf(
11468
+ value: ColdArchiveDeletedLeaf,
11469
+ ): ColdArchiveBucketEntry;
11470
+
11471
+ static coldArchiveBoundaryLeaf(
11472
+ value: ColdArchiveBoundaryLeaf,
11473
+ ): ColdArchiveBucketEntry;
11474
+
11475
+ static coldArchiveHash(value: ColdArchiveHashEntry): ColdArchiveBucketEntry;
11476
+
11477
+ value():
11478
+ | BucketMetadata
11479
+ | ColdArchiveArchivedLeaf
11480
+ | ColdArchiveDeletedLeaf
11481
+ | ColdArchiveBoundaryLeaf
11482
+ | ColdArchiveHashEntry;
11483
+
11484
+ toXDR(format?: 'raw'): Buffer;
11485
+
11486
+ toXDR(format: 'hex' | 'base64'): string;
11487
+
11488
+ static read(io: Buffer): ColdArchiveBucketEntry;
11489
+
11490
+ static write(value: ColdArchiveBucketEntry, io: Buffer): void;
11491
+
11492
+ static isValid(value: ColdArchiveBucketEntry): boolean;
11493
+
11494
+ static toXDR(value: ColdArchiveBucketEntry): Buffer;
11495
+
11496
+ static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveBucketEntry;
11497
+
11498
+ static fromXDR(
11499
+ input: string,
11500
+ format: 'hex' | 'base64',
11501
+ ): ColdArchiveBucketEntry;
11502
+
11503
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
11504
+
11505
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
11506
+ }
11507
+
10264
11508
  class StellarValueExt {
10265
11509
  switch(): StellarValueType;
10266
11510
 
@@ -10421,74 +11665,6 @@ export namespace xdr {
10421
11665
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
10422
11666
  }
10423
11667
 
10424
- class BucketMetadataExt {
10425
- switch(): number;
10426
-
10427
- static 0(): BucketMetadataExt;
10428
-
10429
- value(): void;
10430
-
10431
- toXDR(format?: 'raw'): Buffer;
10432
-
10433
- toXDR(format: 'hex' | 'base64'): string;
10434
-
10435
- static read(io: Buffer): BucketMetadataExt;
10436
-
10437
- static write(value: BucketMetadataExt, io: Buffer): void;
10438
-
10439
- static isValid(value: BucketMetadataExt): boolean;
10440
-
10441
- static toXDR(value: BucketMetadataExt): Buffer;
10442
-
10443
- static fromXDR(input: Buffer, format?: 'raw'): BucketMetadataExt;
10444
-
10445
- static fromXDR(input: string, format: 'hex' | 'base64'): BucketMetadataExt;
10446
-
10447
- static validateXDR(input: Buffer, format?: 'raw'): boolean;
10448
-
10449
- static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
10450
- }
10451
-
10452
- class BucketEntry {
10453
- switch(): BucketEntryType;
10454
-
10455
- liveEntry(value?: LedgerEntry): LedgerEntry;
10456
-
10457
- deadEntry(value?: LedgerKey): LedgerKey;
10458
-
10459
- metaEntry(value?: BucketMetadata): BucketMetadata;
10460
-
10461
- static liveentry(value: LedgerEntry): BucketEntry;
10462
-
10463
- static initentry(value: LedgerEntry): BucketEntry;
10464
-
10465
- static deadentry(value: LedgerKey): BucketEntry;
10466
-
10467
- static metaentry(value: BucketMetadata): BucketEntry;
10468
-
10469
- value(): LedgerEntry | LedgerKey | BucketMetadata;
10470
-
10471
- toXDR(format?: 'raw'): Buffer;
10472
-
10473
- toXDR(format: 'hex' | 'base64'): string;
10474
-
10475
- static read(io: Buffer): BucketEntry;
10476
-
10477
- static write(value: BucketEntry, io: Buffer): void;
10478
-
10479
- static isValid(value: BucketEntry): boolean;
10480
-
10481
- static toXDR(value: BucketEntry): Buffer;
10482
-
10483
- static fromXDR(input: Buffer, format?: 'raw'): BucketEntry;
10484
-
10485
- static fromXDR(input: string, format: 'hex' | 'base64'): BucketEntry;
10486
-
10487
- static validateXDR(input: Buffer, format?: 'raw'): boolean;
10488
-
10489
- static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
10490
- }
10491
-
10492
11668
  class TxSetComponent {
10493
11669
  switch(): TxSetComponentType;
10494
11670
 
@@ -10982,6 +12158,10 @@ export namespace xdr {
10982
12158
  value?: TopologyResponseBodyV1,
10983
12159
  ): TopologyResponseBodyV1;
10984
12160
 
12161
+ topologyResponseBodyV2(
12162
+ value?: TopologyResponseBodyV2,
12163
+ ): TopologyResponseBodyV2;
12164
+
10985
12165
  static surveyTopologyResponseV0(
10986
12166
  value: TopologyResponseBodyV0,
10987
12167
  ): SurveyResponseBody;
@@ -10990,7 +12170,14 @@ export namespace xdr {
10990
12170
  value: TopologyResponseBodyV1,
10991
12171
  ): SurveyResponseBody;
10992
12172
 
10993
- value(): TopologyResponseBodyV0 | TopologyResponseBodyV1;
12173
+ static surveyTopologyResponseV2(
12174
+ value: TopologyResponseBodyV2,
12175
+ ): SurveyResponseBody;
12176
+
12177
+ value():
12178
+ | TopologyResponseBodyV0
12179
+ | TopologyResponseBodyV1
12180
+ | TopologyResponseBodyV2;
10994
12181
 
10995
12182
  toXDR(format?: 'raw'): Buffer;
10996
12183
 
@@ -11044,6 +12231,22 @@ export namespace xdr {
11044
12231
  value?: SignedSurveyResponseMessage,
11045
12232
  ): SignedSurveyResponseMessage;
11046
12233
 
12234
+ signedTimeSlicedSurveyRequestMessage(
12235
+ value?: SignedTimeSlicedSurveyRequestMessage,
12236
+ ): SignedTimeSlicedSurveyRequestMessage;
12237
+
12238
+ signedTimeSlicedSurveyResponseMessage(
12239
+ value?: SignedTimeSlicedSurveyResponseMessage,
12240
+ ): SignedTimeSlicedSurveyResponseMessage;
12241
+
12242
+ signedTimeSlicedSurveyStartCollectingMessage(
12243
+ value?: SignedTimeSlicedSurveyStartCollectingMessage,
12244
+ ): SignedTimeSlicedSurveyStartCollectingMessage;
12245
+
12246
+ signedTimeSlicedSurveyStopCollectingMessage(
12247
+ value?: SignedTimeSlicedSurveyStopCollectingMessage,
12248
+ ): SignedTimeSlicedSurveyStopCollectingMessage;
12249
+
11047
12250
  qSetHash(value?: Buffer): Buffer;
11048
12251
 
11049
12252
  qSet(value?: ScpQuorumSet): ScpQuorumSet;
@@ -11084,6 +12287,22 @@ export namespace xdr {
11084
12287
 
11085
12288
  static surveyResponse(value: SignedSurveyResponseMessage): StellarMessage;
11086
12289
 
12290
+ static timeSlicedSurveyRequest(
12291
+ value: SignedTimeSlicedSurveyRequestMessage,
12292
+ ): StellarMessage;
12293
+
12294
+ static timeSlicedSurveyResponse(
12295
+ value: SignedTimeSlicedSurveyResponseMessage,
12296
+ ): StellarMessage;
12297
+
12298
+ static timeSlicedSurveyStartCollecting(
12299
+ value: SignedTimeSlicedSurveyStartCollectingMessage,
12300
+ ): StellarMessage;
12301
+
12302
+ static timeSlicedSurveyStopCollecting(
12303
+ value: SignedTimeSlicedSurveyStopCollectingMessage,
12304
+ ): StellarMessage;
12305
+
11087
12306
  static getScpQuorumset(value: Buffer): StellarMessage;
11088
12307
 
11089
12308
  static scpQuorumset(value: ScpQuorumSet): StellarMessage;
@@ -11112,6 +12331,10 @@ export namespace xdr {
11112
12331
  | TransactionEnvelope
11113
12332
  | SignedSurveyRequestMessage
11114
12333
  | SignedSurveyResponseMessage
12334
+ | SignedTimeSlicedSurveyRequestMessage
12335
+ | SignedTimeSlicedSurveyResponseMessage
12336
+ | SignedTimeSlicedSurveyStartCollectingMessage
12337
+ | SignedTimeSlicedSurveyStopCollectingMessage
11115
12338
  | Buffer
11116
12339
  | ScpQuorumSet
11117
12340
  | ScpEnvelope
@@ -11373,6 +12596,8 @@ export namespace xdr {
11373
12596
 
11374
12597
  wasm(value?: Buffer): Buffer;
11375
12598
 
12599
+ createContractV2(value?: CreateContractArgsV2): CreateContractArgsV2;
12600
+
11376
12601
  static hostFunctionTypeInvokeContract(
11377
12602
  value: InvokeContractArgs,
11378
12603
  ): HostFunction;
@@ -11383,7 +12608,15 @@ export namespace xdr {
11383
12608
 
11384
12609
  static hostFunctionTypeUploadContractWasm(value: Buffer): HostFunction;
11385
12610
 
11386
- value(): InvokeContractArgs | CreateContractArgs | Buffer;
12611
+ static hostFunctionTypeCreateContractV2(
12612
+ value: CreateContractArgsV2,
12613
+ ): HostFunction;
12614
+
12615
+ value():
12616
+ | InvokeContractArgs
12617
+ | CreateContractArgs
12618
+ | Buffer
12619
+ | CreateContractArgsV2;
11387
12620
 
11388
12621
  toXDR(format?: 'raw'): Buffer;
11389
12622
 
@@ -11413,6 +12646,8 @@ export namespace xdr {
11413
12646
 
11414
12647
  createContractHostFn(value?: CreateContractArgs): CreateContractArgs;
11415
12648
 
12649
+ createContractV2HostFn(value?: CreateContractArgsV2): CreateContractArgsV2;
12650
+
11416
12651
  static sorobanAuthorizedFunctionTypeContractFn(
11417
12652
  value: InvokeContractArgs,
11418
12653
  ): SorobanAuthorizedFunction;
@@ -11421,7 +12656,11 @@ export namespace xdr {
11421
12656
  value: CreateContractArgs,
11422
12657
  ): SorobanAuthorizedFunction;
11423
12658
 
11424
- value(): InvokeContractArgs | CreateContractArgs;
12659
+ static sorobanAuthorizedFunctionTypeCreateContractV2HostFn(
12660
+ value: CreateContractArgsV2,
12661
+ ): SorobanAuthorizedFunction;
12662
+
12663
+ value(): InvokeContractArgs | CreateContractArgs | CreateContractArgsV2;
11425
12664
 
11426
12665
  toXDR(format?: 'raw'): Buffer;
11427
12666
 
@@ -11799,6 +13038,40 @@ export namespace xdr {
11799
13038
  static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
11800
13039
  }
11801
13040
 
13041
+ class ArchivalProofBody {
13042
+ switch(): ArchivalProofType;
13043
+
13044
+ nonexistenceProof(value?: NonexistenceProofBody): NonexistenceProofBody;
13045
+
13046
+ existenceProof(value?: ExistenceProofBody): ExistenceProofBody;
13047
+
13048
+ static existence(value: NonexistenceProofBody): ArchivalProofBody;
13049
+
13050
+ static nonexistence(value: ExistenceProofBody): ArchivalProofBody;
13051
+
13052
+ value(): NonexistenceProofBody | ExistenceProofBody;
13053
+
13054
+ toXDR(format?: 'raw'): Buffer;
13055
+
13056
+ toXDR(format: 'hex' | 'base64'): string;
13057
+
13058
+ static read(io: Buffer): ArchivalProofBody;
13059
+
13060
+ static write(value: ArchivalProofBody, io: Buffer): void;
13061
+
13062
+ static isValid(value: ArchivalProofBody): boolean;
13063
+
13064
+ static toXDR(value: ArchivalProofBody): Buffer;
13065
+
13066
+ static fromXDR(input: Buffer, format?: 'raw'): ArchivalProofBody;
13067
+
13068
+ static fromXDR(input: string, format: 'hex' | 'base64'): ArchivalProofBody;
13069
+
13070
+ static validateXDR(input: Buffer, format?: 'raw'): boolean;
13071
+
13072
+ static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
13073
+ }
13074
+
11802
13075
  class TransactionV0Ext {
11803
13076
  switch(): number;
11804
13077
 
@@ -14050,11 +15323,15 @@ export namespace xdr {
14050
15323
  class ScEnvMetaEntry {
14051
15324
  switch(): ScEnvMetaKind;
14052
15325
 
14053
- interfaceVersion(value?: Uint64): Uint64;
15326
+ interfaceVersion(
15327
+ value?: ScEnvMetaEntryInterfaceVersion,
15328
+ ): ScEnvMetaEntryInterfaceVersion;
14054
15329
 
14055
- static scEnvMetaKindInterfaceVersion(value: Uint64): ScEnvMetaEntry;
15330
+ static scEnvMetaKindInterfaceVersion(
15331
+ value: ScEnvMetaEntryInterfaceVersion,
15332
+ ): ScEnvMetaEntry;
14056
15333
 
14057
- value(): Uint64;
15334
+ value(): ScEnvMetaEntryInterfaceVersion;
14058
15335
 
14059
15336
  toXDR(format?: 'raw'): Buffer;
14060
15337