@stellar/stellar-base 13.1.0 → 14.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +15 -1
- package/dist/stellar-base.js +11988 -11134
- package/dist/stellar-base.min.js +1 -1
- package/lib/address.js +72 -9
- package/lib/auth.js +18 -21
- package/lib/generated/curr_generated.js +501 -414
- package/lib/generated/next_generated.js +455 -429
- package/lib/index.js +0 -7
- package/lib/keypair.js +4 -4
- package/lib/numbers/xdr_large_int.js +4 -4
- package/lib/operation.js +1 -2
- package/lib/operations/invoke_host_function.js +20 -1
- package/lib/scval.js +21 -1
- package/lib/signing.js +8 -84
- package/lib/sorobandata_builder.js +6 -6
- package/lib/strkey.js +88 -3
- package/package.json +14 -18
- package/types/curr.d.ts +880 -719
- package/types/index.d.ts +9 -2
- package/types/next.d.ts +838 -837
package/types/next.d.ts
CHANGED
|
@@ -44,6 +44,16 @@ export namespace xdr {
|
|
|
44
44
|
|
|
45
45
|
type Hash = Opaque[]; // workaround, cause unknown
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Returns an {@link ScVal} with a map type and sorted entries.
|
|
49
|
+
*
|
|
50
|
+
* @param items the key-value pairs to sort.
|
|
51
|
+
*
|
|
52
|
+
* @warning This only performs 'best-effort' sorting, working best when the
|
|
53
|
+
* keys are all either numeric or string-like.
|
|
54
|
+
*/
|
|
55
|
+
function scvSortedMap(items: ScMapEntry[]): ScVal;
|
|
56
|
+
|
|
47
57
|
interface SignedInt {
|
|
48
58
|
readonly MAX_VALUE: 2147483647;
|
|
49
59
|
readonly MIN_VALUE: -2147483648;
|
|
@@ -89,7 +99,7 @@ export namespace xdr {
|
|
|
89
99
|
unsigned: boolean;
|
|
90
100
|
|
|
91
101
|
constructor(
|
|
92
|
-
values: string | bigint | number |
|
|
102
|
+
values: string | bigint | number | Array<string | bigint | number>,
|
|
93
103
|
);
|
|
94
104
|
|
|
95
105
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -133,7 +143,7 @@ export namespace xdr {
|
|
|
133
143
|
unsigned: boolean;
|
|
134
144
|
|
|
135
145
|
constructor(
|
|
136
|
-
values: string | bigint | number |
|
|
146
|
+
values: string | bigint | number | Array<string | bigint | number>,
|
|
137
147
|
);
|
|
138
148
|
|
|
139
149
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -426,14 +436,6 @@ export namespace xdr {
|
|
|
426
436
|
static claimantTypeV0(): ClaimantType;
|
|
427
437
|
}
|
|
428
438
|
|
|
429
|
-
class ClaimableBalanceIdType {
|
|
430
|
-
readonly name: 'claimableBalanceIdTypeV0';
|
|
431
|
-
|
|
432
|
-
readonly value: 0;
|
|
433
|
-
|
|
434
|
-
static claimableBalanceIdTypeV0(): ClaimableBalanceIdType;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
439
|
class ClaimableBalanceFlags {
|
|
438
440
|
readonly name: 'claimableBalanceClawbackEnabledFlag';
|
|
439
441
|
|
|
@@ -489,15 +491,13 @@ export namespace xdr {
|
|
|
489
491
|
}
|
|
490
492
|
|
|
491
493
|
class BucketListType {
|
|
492
|
-
readonly name: 'live' | 'hotArchive'
|
|
494
|
+
readonly name: 'live' | 'hotArchive';
|
|
493
495
|
|
|
494
|
-
readonly value: 0 | 1
|
|
496
|
+
readonly value: 0 | 1;
|
|
495
497
|
|
|
496
498
|
static live(): BucketListType;
|
|
497
499
|
|
|
498
500
|
static hotArchive(): BucketListType;
|
|
499
|
-
|
|
500
|
-
static coldArchive(): BucketListType;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
class BucketEntryType {
|
|
@@ -518,39 +518,15 @@ export namespace xdr {
|
|
|
518
518
|
readonly name:
|
|
519
519
|
| 'hotArchiveMetaentry'
|
|
520
520
|
| 'hotArchiveArchived'
|
|
521
|
-
| 'hotArchiveLive'
|
|
522
|
-
| 'hotArchiveDeleted';
|
|
521
|
+
| 'hotArchiveLive';
|
|
523
522
|
|
|
524
|
-
readonly value: -1 | 0 | 1
|
|
523
|
+
readonly value: -1 | 0 | 1;
|
|
525
524
|
|
|
526
525
|
static hotArchiveMetaentry(): HotArchiveBucketEntryType;
|
|
527
526
|
|
|
528
527
|
static hotArchiveArchived(): HotArchiveBucketEntryType;
|
|
529
528
|
|
|
530
529
|
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
530
|
}
|
|
555
531
|
|
|
556
532
|
class StellarValueType {
|
|
@@ -618,9 +594,10 @@ export namespace xdr {
|
|
|
618
594
|
| 'ledgerEntryCreated'
|
|
619
595
|
| 'ledgerEntryUpdated'
|
|
620
596
|
| 'ledgerEntryRemoved'
|
|
621
|
-
| 'ledgerEntryState'
|
|
597
|
+
| 'ledgerEntryState'
|
|
598
|
+
| 'ledgerEntryRestored';
|
|
622
599
|
|
|
623
|
-
readonly value: 0 | 1 | 2 | 3;
|
|
600
|
+
readonly value: 0 | 1 | 2 | 3 | 4;
|
|
624
601
|
|
|
625
602
|
static ledgerEntryCreated(): LedgerEntryChangeType;
|
|
626
603
|
|
|
@@ -629,6 +606,8 @@ export namespace xdr {
|
|
|
629
606
|
static ledgerEntryRemoved(): LedgerEntryChangeType;
|
|
630
607
|
|
|
631
608
|
static ledgerEntryState(): LedgerEntryChangeType;
|
|
609
|
+
|
|
610
|
+
static ledgerEntryRestored(): LedgerEntryChangeType;
|
|
632
611
|
}
|
|
633
612
|
|
|
634
613
|
class ContractEventType {
|
|
@@ -643,6 +622,21 @@ export namespace xdr {
|
|
|
643
622
|
static diagnostic(): ContractEventType;
|
|
644
623
|
}
|
|
645
624
|
|
|
625
|
+
class TransactionEventStage {
|
|
626
|
+
readonly name:
|
|
627
|
+
| 'transactionEventStageBeforeAllTxes'
|
|
628
|
+
| 'transactionEventStageAfterTx'
|
|
629
|
+
| 'transactionEventStageAfterAllTxes';
|
|
630
|
+
|
|
631
|
+
readonly value: 0 | 1 | 2;
|
|
632
|
+
|
|
633
|
+
static transactionEventStageBeforeAllTxes(): TransactionEventStage;
|
|
634
|
+
|
|
635
|
+
static transactionEventStageAfterTx(): TransactionEventStage;
|
|
636
|
+
|
|
637
|
+
static transactionEventStageAfterAllTxes(): TransactionEventStage;
|
|
638
|
+
}
|
|
639
|
+
|
|
646
640
|
class ErrorCode {
|
|
647
641
|
readonly name: 'errMisc' | 'errData' | 'errConf' | 'errAuth' | 'errLoad';
|
|
648
642
|
|
|
@@ -674,7 +668,6 @@ export namespace xdr {
|
|
|
674
668
|
| 'errorMsg'
|
|
675
669
|
| 'auth'
|
|
676
670
|
| 'dontHave'
|
|
677
|
-
| 'getPeers'
|
|
678
671
|
| 'peers'
|
|
679
672
|
| 'getTxSet'
|
|
680
673
|
| 'txSet'
|
|
@@ -685,8 +678,6 @@ export namespace xdr {
|
|
|
685
678
|
| 'scpMessage'
|
|
686
679
|
| 'getScpState'
|
|
687
680
|
| 'hello'
|
|
688
|
-
| 'surveyRequest'
|
|
689
|
-
| 'surveyResponse'
|
|
690
681
|
| 'sendMore'
|
|
691
682
|
| 'sendMoreExtended'
|
|
692
683
|
| 'floodAdvert'
|
|
@@ -700,7 +691,6 @@ export namespace xdr {
|
|
|
700
691
|
| 0
|
|
701
692
|
| 2
|
|
702
693
|
| 3
|
|
703
|
-
| 4
|
|
704
694
|
| 5
|
|
705
695
|
| 6
|
|
706
696
|
| 7
|
|
@@ -711,8 +701,6 @@ export namespace xdr {
|
|
|
711
701
|
| 11
|
|
712
702
|
| 12
|
|
713
703
|
| 13
|
|
714
|
-
| 14
|
|
715
|
-
| 15
|
|
716
704
|
| 16
|
|
717
705
|
| 20
|
|
718
706
|
| 18
|
|
@@ -728,8 +716,6 @@ export namespace xdr {
|
|
|
728
716
|
|
|
729
717
|
static dontHave(): MessageType;
|
|
730
718
|
|
|
731
|
-
static getPeers(): MessageType;
|
|
732
|
-
|
|
733
719
|
static peers(): MessageType;
|
|
734
720
|
|
|
735
721
|
static getTxSet(): MessageType;
|
|
@@ -750,10 +736,6 @@ export namespace xdr {
|
|
|
750
736
|
|
|
751
737
|
static hello(): MessageType;
|
|
752
738
|
|
|
753
|
-
static surveyRequest(): MessageType;
|
|
754
|
-
|
|
755
|
-
static surveyResponse(): MessageType;
|
|
756
|
-
|
|
757
739
|
static sendMore(): MessageType;
|
|
758
740
|
|
|
759
741
|
static sendMoreExtended(): MessageType;
|
|
@@ -772,26 +754,17 @@ export namespace xdr {
|
|
|
772
754
|
}
|
|
773
755
|
|
|
774
756
|
class SurveyMessageCommandType {
|
|
775
|
-
readonly name: '
|
|
757
|
+
readonly name: 'timeSlicedSurveyTopology';
|
|
776
758
|
|
|
777
|
-
readonly value:
|
|
778
|
-
|
|
779
|
-
static surveyTopology(): SurveyMessageCommandType;
|
|
759
|
+
readonly value: 1;
|
|
780
760
|
|
|
781
761
|
static timeSlicedSurveyTopology(): SurveyMessageCommandType;
|
|
782
762
|
}
|
|
783
763
|
|
|
784
764
|
class SurveyMessageResponseType {
|
|
785
|
-
readonly name:
|
|
786
|
-
| 'surveyTopologyResponseV0'
|
|
787
|
-
| 'surveyTopologyResponseV1'
|
|
788
|
-
| 'surveyTopologyResponseV2';
|
|
765
|
+
readonly name: 'surveyTopologyResponseV2';
|
|
789
766
|
|
|
790
|
-
readonly value:
|
|
791
|
-
|
|
792
|
-
static surveyTopologyResponseV0(): SurveyMessageResponseType;
|
|
793
|
-
|
|
794
|
-
static surveyTopologyResponseV1(): SurveyMessageResponseType;
|
|
767
|
+
readonly value: 2;
|
|
795
768
|
|
|
796
769
|
static surveyTopologyResponseV2(): SurveyMessageResponseType;
|
|
797
770
|
}
|
|
@@ -1010,16 +983,6 @@ export namespace xdr {
|
|
|
1010
983
|
static precondV2(): PreconditionType;
|
|
1011
984
|
}
|
|
1012
985
|
|
|
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
|
-
|
|
1023
986
|
class ClaimAtomType {
|
|
1024
987
|
readonly name:
|
|
1025
988
|
| 'claimAtomTypeV0'
|
|
@@ -1959,6 +1922,14 @@ export namespace xdr {
|
|
|
1959
1922
|
static binaryFuseFilter32Bit(): BinaryFuseFilterType;
|
|
1960
1923
|
}
|
|
1961
1924
|
|
|
1925
|
+
class ClaimableBalanceIdType {
|
|
1926
|
+
readonly name: 'claimableBalanceIdTypeV0';
|
|
1927
|
+
|
|
1928
|
+
readonly value: 0;
|
|
1929
|
+
|
|
1930
|
+
static claimableBalanceIdTypeV0(): ClaimableBalanceIdType;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1962
1933
|
class ScValType {
|
|
1963
1934
|
readonly name:
|
|
1964
1935
|
| 'scvBool'
|
|
@@ -2136,13 +2107,24 @@ export namespace xdr {
|
|
|
2136
2107
|
}
|
|
2137
2108
|
|
|
2138
2109
|
class ScAddressType {
|
|
2139
|
-
readonly name:
|
|
2110
|
+
readonly name:
|
|
2111
|
+
| 'scAddressTypeAccount'
|
|
2112
|
+
| 'scAddressTypeContract'
|
|
2113
|
+
| 'scAddressTypeMuxedAccount'
|
|
2114
|
+
| 'scAddressTypeClaimableBalance'
|
|
2115
|
+
| 'scAddressTypeLiquidityPool';
|
|
2140
2116
|
|
|
2141
|
-
readonly value: 0 | 1;
|
|
2117
|
+
readonly value: 0 | 1 | 2 | 3 | 4;
|
|
2142
2118
|
|
|
2143
2119
|
static scAddressTypeAccount(): ScAddressType;
|
|
2144
2120
|
|
|
2145
2121
|
static scAddressTypeContract(): ScAddressType;
|
|
2122
|
+
|
|
2123
|
+
static scAddressTypeMuxedAccount(): ScAddressType;
|
|
2124
|
+
|
|
2125
|
+
static scAddressTypeClaimableBalance(): ScAddressType;
|
|
2126
|
+
|
|
2127
|
+
static scAddressTypeLiquidityPool(): ScAddressType;
|
|
2146
2128
|
}
|
|
2147
2129
|
|
|
2148
2130
|
class ScEnvMetaKind {
|
|
@@ -2181,6 +2163,7 @@ export namespace xdr {
|
|
|
2181
2163
|
| 'scSpecTypeString'
|
|
2182
2164
|
| 'scSpecTypeSymbol'
|
|
2183
2165
|
| 'scSpecTypeAddress'
|
|
2166
|
+
| 'scSpecTypeMuxedAddress'
|
|
2184
2167
|
| 'scSpecTypeOption'
|
|
2185
2168
|
| 'scSpecTypeResult'
|
|
2186
2169
|
| 'scSpecTypeVec'
|
|
@@ -2208,6 +2191,7 @@ export namespace xdr {
|
|
|
2208
2191
|
| 16
|
|
2209
2192
|
| 17
|
|
2210
2193
|
| 19
|
|
2194
|
+
| 20
|
|
2211
2195
|
| 1000
|
|
2212
2196
|
| 1001
|
|
2213
2197
|
| 1002
|
|
@@ -2252,6 +2236,8 @@ export namespace xdr {
|
|
|
2252
2236
|
|
|
2253
2237
|
static scSpecTypeAddress(): ScSpecType;
|
|
2254
2238
|
|
|
2239
|
+
static scSpecTypeMuxedAddress(): ScSpecType;
|
|
2240
|
+
|
|
2255
2241
|
static scSpecTypeOption(): ScSpecType;
|
|
2256
2242
|
|
|
2257
2243
|
static scSpecTypeResult(): ScSpecType;
|
|
@@ -2277,15 +2263,43 @@ export namespace xdr {
|
|
|
2277
2263
|
static scSpecUdtUnionCaseTupleV0(): ScSpecUdtUnionCaseV0Kind;
|
|
2278
2264
|
}
|
|
2279
2265
|
|
|
2266
|
+
class ScSpecEventParamLocationV0 {
|
|
2267
|
+
readonly name:
|
|
2268
|
+
| 'scSpecEventParamLocationData'
|
|
2269
|
+
| 'scSpecEventParamLocationTopicList';
|
|
2270
|
+
|
|
2271
|
+
readonly value: 0 | 1;
|
|
2272
|
+
|
|
2273
|
+
static scSpecEventParamLocationData(): ScSpecEventParamLocationV0;
|
|
2274
|
+
|
|
2275
|
+
static scSpecEventParamLocationTopicList(): ScSpecEventParamLocationV0;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
class ScSpecEventDataFormat {
|
|
2279
|
+
readonly name:
|
|
2280
|
+
| 'scSpecEventDataFormatSingleValue'
|
|
2281
|
+
| 'scSpecEventDataFormatVec'
|
|
2282
|
+
| 'scSpecEventDataFormatMap';
|
|
2283
|
+
|
|
2284
|
+
readonly value: 0 | 1 | 2;
|
|
2285
|
+
|
|
2286
|
+
static scSpecEventDataFormatSingleValue(): ScSpecEventDataFormat;
|
|
2287
|
+
|
|
2288
|
+
static scSpecEventDataFormatVec(): ScSpecEventDataFormat;
|
|
2289
|
+
|
|
2290
|
+
static scSpecEventDataFormatMap(): ScSpecEventDataFormat;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2280
2293
|
class ScSpecEntryKind {
|
|
2281
2294
|
readonly name:
|
|
2282
2295
|
| 'scSpecEntryFunctionV0'
|
|
2283
2296
|
| 'scSpecEntryUdtStructV0'
|
|
2284
2297
|
| 'scSpecEntryUdtUnionV0'
|
|
2285
2298
|
| 'scSpecEntryUdtEnumV0'
|
|
2286
|
-
| 'scSpecEntryUdtErrorEnumV0'
|
|
2299
|
+
| 'scSpecEntryUdtErrorEnumV0'
|
|
2300
|
+
| 'scSpecEntryEventV0';
|
|
2287
2301
|
|
|
2288
|
-
readonly value: 0 | 1 | 2 | 3 | 4;
|
|
2302
|
+
readonly value: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2289
2303
|
|
|
2290
2304
|
static scSpecEntryFunctionV0(): ScSpecEntryKind;
|
|
2291
2305
|
|
|
@@ -2296,6 +2310,8 @@ export namespace xdr {
|
|
|
2296
2310
|
static scSpecEntryUdtEnumV0(): ScSpecEntryKind;
|
|
2297
2311
|
|
|
2298
2312
|
static scSpecEntryUdtErrorEnumV0(): ScSpecEntryKind;
|
|
2313
|
+
|
|
2314
|
+
static scSpecEntryEventV0(): ScSpecEntryKind;
|
|
2299
2315
|
}
|
|
2300
2316
|
|
|
2301
2317
|
class ContractCostType {
|
|
@@ -2598,9 +2614,11 @@ export namespace xdr {
|
|
|
2598
2614
|
| 'configSettingContractDataEntrySizeBytes'
|
|
2599
2615
|
| 'configSettingStateArchival'
|
|
2600
2616
|
| 'configSettingContractExecutionLanes'
|
|
2601
|
-
| '
|
|
2617
|
+
| 'configSettingLiveSorobanStateSizeWindow'
|
|
2602
2618
|
| 'configSettingEvictionIterator'
|
|
2603
|
-
| 'configSettingContractParallelComputeV0'
|
|
2619
|
+
| 'configSettingContractParallelComputeV0'
|
|
2620
|
+
| 'configSettingContractLedgerCostExtV0'
|
|
2621
|
+
| 'configSettingScpTiming';
|
|
2604
2622
|
|
|
2605
2623
|
readonly value:
|
|
2606
2624
|
| 0
|
|
@@ -2617,7 +2635,9 @@ export namespace xdr {
|
|
|
2617
2635
|
| 11
|
|
2618
2636
|
| 12
|
|
2619
2637
|
| 13
|
|
2620
|
-
| 14
|
|
2638
|
+
| 14
|
|
2639
|
+
| 15
|
|
2640
|
+
| 16;
|
|
2621
2641
|
|
|
2622
2642
|
static configSettingContractMaxSizeBytes(): ConfigSettingId;
|
|
2623
2643
|
|
|
@@ -2643,11 +2663,15 @@ export namespace xdr {
|
|
|
2643
2663
|
|
|
2644
2664
|
static configSettingContractExecutionLanes(): ConfigSettingId;
|
|
2645
2665
|
|
|
2646
|
-
static
|
|
2666
|
+
static configSettingLiveSorobanStateSizeWindow(): ConfigSettingId;
|
|
2647
2667
|
|
|
2648
2668
|
static configSettingEvictionIterator(): ConfigSettingId;
|
|
2649
2669
|
|
|
2650
2670
|
static configSettingContractParallelComputeV0(): ConfigSettingId;
|
|
2671
|
+
|
|
2672
|
+
static configSettingContractLedgerCostExtV0(): ConfigSettingId;
|
|
2673
|
+
|
|
2674
|
+
static configSettingScpTiming(): ConfigSettingId;
|
|
2651
2675
|
}
|
|
2652
2676
|
|
|
2653
2677
|
const Value: VarOpaque;
|
|
@@ -2662,8 +2686,6 @@ export namespace xdr {
|
|
|
2662
2686
|
|
|
2663
2687
|
const DataValue: VarOpaque;
|
|
2664
2688
|
|
|
2665
|
-
type PoolId = Hash;
|
|
2666
|
-
|
|
2667
2689
|
const AssetCode4: Opaque;
|
|
2668
2690
|
|
|
2669
2691
|
const AssetCode12: Opaque;
|
|
@@ -2672,7 +2694,7 @@ export namespace xdr {
|
|
|
2672
2694
|
|
|
2673
2695
|
const UpgradeType: VarOpaque;
|
|
2674
2696
|
|
|
2675
|
-
const
|
|
2697
|
+
const DependentTxCluster: XDRArray<TransactionEnvelope>;
|
|
2676
2698
|
|
|
2677
2699
|
const ParallelTxExecutionStage: XDRArray<TransactionEnvelope[]>;
|
|
2678
2700
|
|
|
@@ -2680,15 +2702,13 @@ export namespace xdr {
|
|
|
2680
2702
|
|
|
2681
2703
|
const EncryptedBody: VarOpaque;
|
|
2682
2704
|
|
|
2683
|
-
const PeerStatList: XDRArray<PeerStats>;
|
|
2684
|
-
|
|
2685
2705
|
const TimeSlicedPeerDataList: XDRArray<TimeSlicedPeerData>;
|
|
2686
2706
|
|
|
2687
2707
|
const TxAdvertVector: XDRArray<Hash>;
|
|
2688
2708
|
|
|
2689
2709
|
const TxDemandVector: XDRArray<Hash>;
|
|
2690
2710
|
|
|
2691
|
-
const
|
|
2711
|
+
const SorobanAuthorizationEntries: XDRArray<SorobanAuthorizationEntry>;
|
|
2692
2712
|
|
|
2693
2713
|
const Hash: Opaque;
|
|
2694
2714
|
|
|
@@ -2714,6 +2734,10 @@ export namespace xdr {
|
|
|
2714
2734
|
|
|
2715
2735
|
type AccountId = PublicKey;
|
|
2716
2736
|
|
|
2737
|
+
type ContractId = Hash;
|
|
2738
|
+
|
|
2739
|
+
type PoolId = Hash;
|
|
2740
|
+
|
|
2717
2741
|
const ScVec: XDRArray<ScVal>;
|
|
2718
2742
|
|
|
2719
2743
|
const ScMap: XDRArray<ScMapEntry>;
|
|
@@ -4328,132 +4352,6 @@ export namespace xdr {
|
|
|
4328
4352
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4329
4353
|
}
|
|
4330
4354
|
|
|
4331
|
-
class ColdArchiveArchivedLeaf {
|
|
4332
|
-
constructor(attributes: { index: number; archivedEntry: LedgerEntry });
|
|
4333
|
-
|
|
4334
|
-
index(value?: number): number;
|
|
4335
|
-
|
|
4336
|
-
archivedEntry(value?: LedgerEntry): LedgerEntry;
|
|
4337
|
-
|
|
4338
|
-
toXDR(format?: 'raw'): Buffer;
|
|
4339
|
-
|
|
4340
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
4341
|
-
|
|
4342
|
-
static read(io: Buffer): ColdArchiveArchivedLeaf;
|
|
4343
|
-
|
|
4344
|
-
static write(value: ColdArchiveArchivedLeaf, io: Buffer): void;
|
|
4345
|
-
|
|
4346
|
-
static isValid(value: ColdArchiveArchivedLeaf): boolean;
|
|
4347
|
-
|
|
4348
|
-
static toXDR(value: ColdArchiveArchivedLeaf): Buffer;
|
|
4349
|
-
|
|
4350
|
-
static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveArchivedLeaf;
|
|
4351
|
-
|
|
4352
|
-
static fromXDR(
|
|
4353
|
-
input: string,
|
|
4354
|
-
format: 'hex' | 'base64',
|
|
4355
|
-
): ColdArchiveArchivedLeaf;
|
|
4356
|
-
|
|
4357
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
4358
|
-
|
|
4359
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4360
|
-
}
|
|
4361
|
-
|
|
4362
|
-
class ColdArchiveDeletedLeaf {
|
|
4363
|
-
constructor(attributes: { index: number; deletedKey: LedgerKey });
|
|
4364
|
-
|
|
4365
|
-
index(value?: number): number;
|
|
4366
|
-
|
|
4367
|
-
deletedKey(value?: LedgerKey): LedgerKey;
|
|
4368
|
-
|
|
4369
|
-
toXDR(format?: 'raw'): Buffer;
|
|
4370
|
-
|
|
4371
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
4372
|
-
|
|
4373
|
-
static read(io: Buffer): ColdArchiveDeletedLeaf;
|
|
4374
|
-
|
|
4375
|
-
static write(value: ColdArchiveDeletedLeaf, io: Buffer): void;
|
|
4376
|
-
|
|
4377
|
-
static isValid(value: ColdArchiveDeletedLeaf): boolean;
|
|
4378
|
-
|
|
4379
|
-
static toXDR(value: ColdArchiveDeletedLeaf): Buffer;
|
|
4380
|
-
|
|
4381
|
-
static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveDeletedLeaf;
|
|
4382
|
-
|
|
4383
|
-
static fromXDR(
|
|
4384
|
-
input: string,
|
|
4385
|
-
format: 'hex' | 'base64',
|
|
4386
|
-
): ColdArchiveDeletedLeaf;
|
|
4387
|
-
|
|
4388
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
4389
|
-
|
|
4390
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4391
|
-
}
|
|
4392
|
-
|
|
4393
|
-
class ColdArchiveBoundaryLeaf {
|
|
4394
|
-
constructor(attributes: { index: number; isLowerBound: boolean });
|
|
4395
|
-
|
|
4396
|
-
index(value?: number): number;
|
|
4397
|
-
|
|
4398
|
-
isLowerBound(value?: boolean): boolean;
|
|
4399
|
-
|
|
4400
|
-
toXDR(format?: 'raw'): Buffer;
|
|
4401
|
-
|
|
4402
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
4403
|
-
|
|
4404
|
-
static read(io: Buffer): ColdArchiveBoundaryLeaf;
|
|
4405
|
-
|
|
4406
|
-
static write(value: ColdArchiveBoundaryLeaf, io: Buffer): void;
|
|
4407
|
-
|
|
4408
|
-
static isValid(value: ColdArchiveBoundaryLeaf): boolean;
|
|
4409
|
-
|
|
4410
|
-
static toXDR(value: ColdArchiveBoundaryLeaf): Buffer;
|
|
4411
|
-
|
|
4412
|
-
static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveBoundaryLeaf;
|
|
4413
|
-
|
|
4414
|
-
static fromXDR(
|
|
4415
|
-
input: string,
|
|
4416
|
-
format: 'hex' | 'base64',
|
|
4417
|
-
): ColdArchiveBoundaryLeaf;
|
|
4418
|
-
|
|
4419
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
4420
|
-
|
|
4421
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4422
|
-
}
|
|
4423
|
-
|
|
4424
|
-
class ColdArchiveHashEntry {
|
|
4425
|
-
constructor(attributes: { index: number; level: number; hash: Buffer });
|
|
4426
|
-
|
|
4427
|
-
index(value?: number): number;
|
|
4428
|
-
|
|
4429
|
-
level(value?: number): number;
|
|
4430
|
-
|
|
4431
|
-
hash(value?: Buffer): Buffer;
|
|
4432
|
-
|
|
4433
|
-
toXDR(format?: 'raw'): Buffer;
|
|
4434
|
-
|
|
4435
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
4436
|
-
|
|
4437
|
-
static read(io: Buffer): ColdArchiveHashEntry;
|
|
4438
|
-
|
|
4439
|
-
static write(value: ColdArchiveHashEntry, io: Buffer): void;
|
|
4440
|
-
|
|
4441
|
-
static isValid(value: ColdArchiveHashEntry): boolean;
|
|
4442
|
-
|
|
4443
|
-
static toXDR(value: ColdArchiveHashEntry): Buffer;
|
|
4444
|
-
|
|
4445
|
-
static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveHashEntry;
|
|
4446
|
-
|
|
4447
|
-
static fromXDR(
|
|
4448
|
-
input: string,
|
|
4449
|
-
format: 'hex' | 'base64',
|
|
4450
|
-
): ColdArchiveHashEntry;
|
|
4451
|
-
|
|
4452
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
4453
|
-
|
|
4454
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4455
|
-
}
|
|
4456
|
-
|
|
4457
4355
|
class LedgerCloseValueSignature {
|
|
4458
4356
|
constructor(attributes: { nodeId: NodeId; signature: Buffer });
|
|
4459
4357
|
|
|
@@ -4624,9 +4522,9 @@ export namespace xdr {
|
|
|
4624
4522
|
}
|
|
4625
4523
|
|
|
4626
4524
|
class ConfigUpgradeSetKey {
|
|
4627
|
-
constructor(attributes: { contractId:
|
|
4525
|
+
constructor(attributes: { contractId: ContractId; contentHash: Buffer });
|
|
4628
4526
|
|
|
4629
|
-
contractId(value?:
|
|
4527
|
+
contractId(value?: ContractId): ContractId;
|
|
4630
4528
|
|
|
4631
4529
|
contentHash(value?: Buffer): Buffer;
|
|
4632
4530
|
|
|
@@ -5175,14 +5073,14 @@ export namespace xdr {
|
|
|
5175
5073
|
class ContractEvent {
|
|
5176
5074
|
constructor(attributes: {
|
|
5177
5075
|
ext: ExtensionPoint;
|
|
5178
|
-
contractId: null |
|
|
5076
|
+
contractId: null | ContractId;
|
|
5179
5077
|
type: ContractEventType;
|
|
5180
5078
|
body: ContractEventBody;
|
|
5181
5079
|
});
|
|
5182
5080
|
|
|
5183
5081
|
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
5184
5082
|
|
|
5185
|
-
contractId(value?: null |
|
|
5083
|
+
contractId(value?: null | ContractId): null | ContractId;
|
|
5186
5084
|
|
|
5187
5085
|
type(value?: ContractEventType): ContractEventType;
|
|
5188
5086
|
|
|
@@ -5362,10 +5260,16 @@ export namespace xdr {
|
|
|
5362
5260
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5363
5261
|
}
|
|
5364
5262
|
|
|
5365
|
-
class
|
|
5366
|
-
constructor(attributes: {
|
|
5263
|
+
class OperationMetaV2 {
|
|
5264
|
+
constructor(attributes: {
|
|
5265
|
+
ext: ExtensionPoint;
|
|
5266
|
+
changes: LedgerEntryChange[];
|
|
5267
|
+
events: ContractEvent[];
|
|
5268
|
+
});
|
|
5367
5269
|
|
|
5368
|
-
|
|
5270
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
5271
|
+
|
|
5272
|
+
changes(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5369
5273
|
|
|
5370
5274
|
events(value?: ContractEvent[]): ContractEvent[];
|
|
5371
5275
|
|
|
@@ -5373,117 +5277,301 @@ export namespace xdr {
|
|
|
5373
5277
|
|
|
5374
5278
|
toXDR(format: 'hex' | 'base64'): string;
|
|
5375
5279
|
|
|
5376
|
-
static read(io: Buffer):
|
|
5280
|
+
static read(io: Buffer): OperationMetaV2;
|
|
5377
5281
|
|
|
5378
|
-
static write(value:
|
|
5282
|
+
static write(value: OperationMetaV2, io: Buffer): void;
|
|
5379
5283
|
|
|
5380
|
-
static isValid(value:
|
|
5284
|
+
static isValid(value: OperationMetaV2): boolean;
|
|
5381
5285
|
|
|
5382
|
-
static toXDR(value:
|
|
5286
|
+
static toXDR(value: OperationMetaV2): Buffer;
|
|
5383
5287
|
|
|
5384
|
-
static fromXDR(
|
|
5385
|
-
input: Buffer,
|
|
5386
|
-
format?: 'raw',
|
|
5387
|
-
): InvokeHostFunctionSuccessPreImage;
|
|
5288
|
+
static fromXDR(input: Buffer, format?: 'raw'): OperationMetaV2;
|
|
5388
5289
|
|
|
5389
|
-
static fromXDR(
|
|
5390
|
-
input: string,
|
|
5391
|
-
format: 'hex' | 'base64',
|
|
5392
|
-
): InvokeHostFunctionSuccessPreImage;
|
|
5290
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): OperationMetaV2;
|
|
5393
5291
|
|
|
5394
5292
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5395
5293
|
|
|
5396
5294
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5397
5295
|
}
|
|
5398
5296
|
|
|
5399
|
-
class
|
|
5297
|
+
class SorobanTransactionMetaV2 {
|
|
5400
5298
|
constructor(attributes: {
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
txApplyProcessing: TransactionMeta;
|
|
5299
|
+
ext: SorobanTransactionMetaExt;
|
|
5300
|
+
returnValue: null | ScVal;
|
|
5404
5301
|
});
|
|
5405
5302
|
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
feeProcessing(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5303
|
+
ext(value?: SorobanTransactionMetaExt): SorobanTransactionMetaExt;
|
|
5409
5304
|
|
|
5410
|
-
|
|
5305
|
+
returnValue(value?: null | ScVal): null | ScVal;
|
|
5411
5306
|
|
|
5412
5307
|
toXDR(format?: 'raw'): Buffer;
|
|
5413
5308
|
|
|
5414
5309
|
toXDR(format: 'hex' | 'base64'): string;
|
|
5415
5310
|
|
|
5416
|
-
static read(io: Buffer):
|
|
5311
|
+
static read(io: Buffer): SorobanTransactionMetaV2;
|
|
5417
5312
|
|
|
5418
|
-
static write(value:
|
|
5313
|
+
static write(value: SorobanTransactionMetaV2, io: Buffer): void;
|
|
5419
5314
|
|
|
5420
|
-
static isValid(value:
|
|
5315
|
+
static isValid(value: SorobanTransactionMetaV2): boolean;
|
|
5421
5316
|
|
|
5422
|
-
static toXDR(value:
|
|
5317
|
+
static toXDR(value: SorobanTransactionMetaV2): Buffer;
|
|
5423
5318
|
|
|
5424
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
5319
|
+
static fromXDR(input: Buffer, format?: 'raw'): SorobanTransactionMetaV2;
|
|
5425
5320
|
|
|
5426
5321
|
static fromXDR(
|
|
5427
5322
|
input: string,
|
|
5428
5323
|
format: 'hex' | 'base64',
|
|
5429
|
-
):
|
|
5324
|
+
): SorobanTransactionMetaV2;
|
|
5430
5325
|
|
|
5431
5326
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5432
5327
|
|
|
5433
5328
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5434
5329
|
}
|
|
5435
5330
|
|
|
5436
|
-
class
|
|
5331
|
+
class TransactionEvent {
|
|
5437
5332
|
constructor(attributes: {
|
|
5438
|
-
|
|
5439
|
-
|
|
5333
|
+
stage: TransactionEventStage;
|
|
5334
|
+
event: ContractEvent;
|
|
5440
5335
|
});
|
|
5441
5336
|
|
|
5442
|
-
|
|
5337
|
+
stage(value?: TransactionEventStage): TransactionEventStage;
|
|
5443
5338
|
|
|
5444
|
-
|
|
5339
|
+
event(value?: ContractEvent): ContractEvent;
|
|
5445
5340
|
|
|
5446
5341
|
toXDR(format?: 'raw'): Buffer;
|
|
5447
5342
|
|
|
5448
5343
|
toXDR(format: 'hex' | 'base64'): string;
|
|
5449
5344
|
|
|
5450
|
-
static read(io: Buffer):
|
|
5345
|
+
static read(io: Buffer): TransactionEvent;
|
|
5451
5346
|
|
|
5452
|
-
static write(value:
|
|
5347
|
+
static write(value: TransactionEvent, io: Buffer): void;
|
|
5453
5348
|
|
|
5454
|
-
static isValid(value:
|
|
5349
|
+
static isValid(value: TransactionEvent): boolean;
|
|
5455
5350
|
|
|
5456
|
-
static toXDR(value:
|
|
5351
|
+
static toXDR(value: TransactionEvent): Buffer;
|
|
5457
5352
|
|
|
5458
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
5353
|
+
static fromXDR(input: Buffer, format?: 'raw'): TransactionEvent;
|
|
5459
5354
|
|
|
5460
|
-
static fromXDR(input: string, format: 'hex' | 'base64'):
|
|
5355
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): TransactionEvent;
|
|
5461
5356
|
|
|
5462
5357
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5463
5358
|
|
|
5464
5359
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5465
5360
|
}
|
|
5466
5361
|
|
|
5467
|
-
class
|
|
5362
|
+
class TransactionMetaV4 {
|
|
5468
5363
|
constructor(attributes: {
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5364
|
+
ext: ExtensionPoint;
|
|
5365
|
+
txChangesBefore: LedgerEntryChange[];
|
|
5366
|
+
operations: OperationMetaV2[];
|
|
5367
|
+
txChangesAfter: LedgerEntryChange[];
|
|
5368
|
+
sorobanMeta: null | SorobanTransactionMetaV2;
|
|
5369
|
+
events: TransactionEvent[];
|
|
5370
|
+
diagnosticEvents: DiagnosticEvent[];
|
|
5474
5371
|
});
|
|
5475
5372
|
|
|
5476
|
-
|
|
5373
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
5477
5374
|
|
|
5478
|
-
|
|
5375
|
+
txChangesBefore(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5479
5376
|
|
|
5480
|
-
|
|
5377
|
+
operations(value?: OperationMetaV2[]): OperationMetaV2[];
|
|
5481
5378
|
|
|
5482
|
-
|
|
5379
|
+
txChangesAfter(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5483
5380
|
|
|
5484
|
-
|
|
5381
|
+
sorobanMeta(
|
|
5382
|
+
value?: null | SorobanTransactionMetaV2,
|
|
5383
|
+
): null | SorobanTransactionMetaV2;
|
|
5485
5384
|
|
|
5486
|
-
|
|
5385
|
+
events(value?: TransactionEvent[]): TransactionEvent[];
|
|
5386
|
+
|
|
5387
|
+
diagnosticEvents(value?: DiagnosticEvent[]): DiagnosticEvent[];
|
|
5388
|
+
|
|
5389
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5390
|
+
|
|
5391
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5392
|
+
|
|
5393
|
+
static read(io: Buffer): TransactionMetaV4;
|
|
5394
|
+
|
|
5395
|
+
static write(value: TransactionMetaV4, io: Buffer): void;
|
|
5396
|
+
|
|
5397
|
+
static isValid(value: TransactionMetaV4): boolean;
|
|
5398
|
+
|
|
5399
|
+
static toXDR(value: TransactionMetaV4): Buffer;
|
|
5400
|
+
|
|
5401
|
+
static fromXDR(input: Buffer, format?: 'raw'): TransactionMetaV4;
|
|
5402
|
+
|
|
5403
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): TransactionMetaV4;
|
|
5404
|
+
|
|
5405
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5406
|
+
|
|
5407
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5408
|
+
}
|
|
5409
|
+
|
|
5410
|
+
class InvokeHostFunctionSuccessPreImage {
|
|
5411
|
+
constructor(attributes: { returnValue: ScVal; events: ContractEvent[] });
|
|
5412
|
+
|
|
5413
|
+
returnValue(value?: ScVal): ScVal;
|
|
5414
|
+
|
|
5415
|
+
events(value?: ContractEvent[]): ContractEvent[];
|
|
5416
|
+
|
|
5417
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5418
|
+
|
|
5419
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5420
|
+
|
|
5421
|
+
static read(io: Buffer): InvokeHostFunctionSuccessPreImage;
|
|
5422
|
+
|
|
5423
|
+
static write(value: InvokeHostFunctionSuccessPreImage, io: Buffer): void;
|
|
5424
|
+
|
|
5425
|
+
static isValid(value: InvokeHostFunctionSuccessPreImage): boolean;
|
|
5426
|
+
|
|
5427
|
+
static toXDR(value: InvokeHostFunctionSuccessPreImage): Buffer;
|
|
5428
|
+
|
|
5429
|
+
static fromXDR(
|
|
5430
|
+
input: Buffer,
|
|
5431
|
+
format?: 'raw',
|
|
5432
|
+
): InvokeHostFunctionSuccessPreImage;
|
|
5433
|
+
|
|
5434
|
+
static fromXDR(
|
|
5435
|
+
input: string,
|
|
5436
|
+
format: 'hex' | 'base64',
|
|
5437
|
+
): InvokeHostFunctionSuccessPreImage;
|
|
5438
|
+
|
|
5439
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5440
|
+
|
|
5441
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
class TransactionResultMeta {
|
|
5445
|
+
constructor(attributes: {
|
|
5446
|
+
result: TransactionResultPair;
|
|
5447
|
+
feeProcessing: LedgerEntryChange[];
|
|
5448
|
+
txApplyProcessing: TransactionMeta;
|
|
5449
|
+
});
|
|
5450
|
+
|
|
5451
|
+
result(value?: TransactionResultPair): TransactionResultPair;
|
|
5452
|
+
|
|
5453
|
+
feeProcessing(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5454
|
+
|
|
5455
|
+
txApplyProcessing(value?: TransactionMeta): TransactionMeta;
|
|
5456
|
+
|
|
5457
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5458
|
+
|
|
5459
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5460
|
+
|
|
5461
|
+
static read(io: Buffer): TransactionResultMeta;
|
|
5462
|
+
|
|
5463
|
+
static write(value: TransactionResultMeta, io: Buffer): void;
|
|
5464
|
+
|
|
5465
|
+
static isValid(value: TransactionResultMeta): boolean;
|
|
5466
|
+
|
|
5467
|
+
static toXDR(value: TransactionResultMeta): Buffer;
|
|
5468
|
+
|
|
5469
|
+
static fromXDR(input: Buffer, format?: 'raw'): TransactionResultMeta;
|
|
5470
|
+
|
|
5471
|
+
static fromXDR(
|
|
5472
|
+
input: string,
|
|
5473
|
+
format: 'hex' | 'base64',
|
|
5474
|
+
): TransactionResultMeta;
|
|
5475
|
+
|
|
5476
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5477
|
+
|
|
5478
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5479
|
+
}
|
|
5480
|
+
|
|
5481
|
+
class TransactionResultMetaV1 {
|
|
5482
|
+
constructor(attributes: {
|
|
5483
|
+
ext: ExtensionPoint;
|
|
5484
|
+
result: TransactionResultPair;
|
|
5485
|
+
feeProcessing: LedgerEntryChange[];
|
|
5486
|
+
txApplyProcessing: TransactionMeta;
|
|
5487
|
+
postTxApplyFeeProcessing: LedgerEntryChange[];
|
|
5488
|
+
});
|
|
5489
|
+
|
|
5490
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
5491
|
+
|
|
5492
|
+
result(value?: TransactionResultPair): TransactionResultPair;
|
|
5493
|
+
|
|
5494
|
+
feeProcessing(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5495
|
+
|
|
5496
|
+
txApplyProcessing(value?: TransactionMeta): TransactionMeta;
|
|
5497
|
+
|
|
5498
|
+
postTxApplyFeeProcessing(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5499
|
+
|
|
5500
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5501
|
+
|
|
5502
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5503
|
+
|
|
5504
|
+
static read(io: Buffer): TransactionResultMetaV1;
|
|
5505
|
+
|
|
5506
|
+
static write(value: TransactionResultMetaV1, io: Buffer): void;
|
|
5507
|
+
|
|
5508
|
+
static isValid(value: TransactionResultMetaV1): boolean;
|
|
5509
|
+
|
|
5510
|
+
static toXDR(value: TransactionResultMetaV1): Buffer;
|
|
5511
|
+
|
|
5512
|
+
static fromXDR(input: Buffer, format?: 'raw'): TransactionResultMetaV1;
|
|
5513
|
+
|
|
5514
|
+
static fromXDR(
|
|
5515
|
+
input: string,
|
|
5516
|
+
format: 'hex' | 'base64',
|
|
5517
|
+
): TransactionResultMetaV1;
|
|
5518
|
+
|
|
5519
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5520
|
+
|
|
5521
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
class UpgradeEntryMeta {
|
|
5525
|
+
constructor(attributes: {
|
|
5526
|
+
upgrade: LedgerUpgrade;
|
|
5527
|
+
changes: LedgerEntryChange[];
|
|
5528
|
+
});
|
|
5529
|
+
|
|
5530
|
+
upgrade(value?: LedgerUpgrade): LedgerUpgrade;
|
|
5531
|
+
|
|
5532
|
+
changes(value?: LedgerEntryChange[]): LedgerEntryChange[];
|
|
5533
|
+
|
|
5534
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5535
|
+
|
|
5536
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5537
|
+
|
|
5538
|
+
static read(io: Buffer): UpgradeEntryMeta;
|
|
5539
|
+
|
|
5540
|
+
static write(value: UpgradeEntryMeta, io: Buffer): void;
|
|
5541
|
+
|
|
5542
|
+
static isValid(value: UpgradeEntryMeta): boolean;
|
|
5543
|
+
|
|
5544
|
+
static toXDR(value: UpgradeEntryMeta): Buffer;
|
|
5545
|
+
|
|
5546
|
+
static fromXDR(input: Buffer, format?: 'raw'): UpgradeEntryMeta;
|
|
5547
|
+
|
|
5548
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): UpgradeEntryMeta;
|
|
5549
|
+
|
|
5550
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5551
|
+
|
|
5552
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5553
|
+
}
|
|
5554
|
+
|
|
5555
|
+
class LedgerCloseMetaV0 {
|
|
5556
|
+
constructor(attributes: {
|
|
5557
|
+
ledgerHeader: LedgerHeaderHistoryEntry;
|
|
5558
|
+
txSet: TransactionSet;
|
|
5559
|
+
txProcessing: TransactionResultMeta[];
|
|
5560
|
+
upgradesProcessing: UpgradeEntryMeta[];
|
|
5561
|
+
scpInfo: ScpHistoryEntry[];
|
|
5562
|
+
});
|
|
5563
|
+
|
|
5564
|
+
ledgerHeader(value?: LedgerHeaderHistoryEntry): LedgerHeaderHistoryEntry;
|
|
5565
|
+
|
|
5566
|
+
txSet(value?: TransactionSet): TransactionSet;
|
|
5567
|
+
|
|
5568
|
+
txProcessing(value?: TransactionResultMeta[]): TransactionResultMeta[];
|
|
5569
|
+
|
|
5570
|
+
upgradesProcessing(value?: UpgradeEntryMeta[]): UpgradeEntryMeta[];
|
|
5571
|
+
|
|
5572
|
+
scpInfo(value?: ScpHistoryEntry[]): ScpHistoryEntry[];
|
|
5573
|
+
|
|
5574
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5487
5575
|
|
|
5488
5576
|
toXDR(format: 'hex' | 'base64'): string;
|
|
5489
5577
|
|
|
@@ -5543,9 +5631,9 @@ export namespace xdr {
|
|
|
5543
5631
|
txProcessing: TransactionResultMeta[];
|
|
5544
5632
|
upgradesProcessing: UpgradeEntryMeta[];
|
|
5545
5633
|
scpInfo: ScpHistoryEntry[];
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5634
|
+
totalByteSizeOfLiveSorobanState: Uint64;
|
|
5635
|
+
evictedKeys: LedgerKey[];
|
|
5636
|
+
unused: LedgerEntry[];
|
|
5549
5637
|
});
|
|
5550
5638
|
|
|
5551
5639
|
ext(value?: LedgerCloseMetaExt): LedgerCloseMetaExt;
|
|
@@ -5560,11 +5648,11 @@ export namespace xdr {
|
|
|
5560
5648
|
|
|
5561
5649
|
scpInfo(value?: ScpHistoryEntry[]): ScpHistoryEntry[];
|
|
5562
5650
|
|
|
5563
|
-
|
|
5651
|
+
totalByteSizeOfLiveSorobanState(value?: Uint64): Uint64;
|
|
5564
5652
|
|
|
5565
|
-
|
|
5653
|
+
evictedKeys(value?: LedgerKey[]): LedgerKey[];
|
|
5566
5654
|
|
|
5567
|
-
|
|
5655
|
+
unused(value?: LedgerEntry[]): LedgerEntry[];
|
|
5568
5656
|
|
|
5569
5657
|
toXDR(format?: 'raw'): Buffer;
|
|
5570
5658
|
|
|
@@ -5587,6 +5675,55 @@ export namespace xdr {
|
|
|
5587
5675
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5588
5676
|
}
|
|
5589
5677
|
|
|
5678
|
+
class LedgerCloseMetaV2 {
|
|
5679
|
+
constructor(attributes: {
|
|
5680
|
+
ext: LedgerCloseMetaExt;
|
|
5681
|
+
ledgerHeader: LedgerHeaderHistoryEntry;
|
|
5682
|
+
txSet: GeneralizedTransactionSet;
|
|
5683
|
+
txProcessing: TransactionResultMetaV1[];
|
|
5684
|
+
upgradesProcessing: UpgradeEntryMeta[];
|
|
5685
|
+
scpInfo: ScpHistoryEntry[];
|
|
5686
|
+
totalByteSizeOfLiveSorobanState: Uint64;
|
|
5687
|
+
evictedKeys: LedgerKey[];
|
|
5688
|
+
});
|
|
5689
|
+
|
|
5690
|
+
ext(value?: LedgerCloseMetaExt): LedgerCloseMetaExt;
|
|
5691
|
+
|
|
5692
|
+
ledgerHeader(value?: LedgerHeaderHistoryEntry): LedgerHeaderHistoryEntry;
|
|
5693
|
+
|
|
5694
|
+
txSet(value?: GeneralizedTransactionSet): GeneralizedTransactionSet;
|
|
5695
|
+
|
|
5696
|
+
txProcessing(value?: TransactionResultMetaV1[]): TransactionResultMetaV1[];
|
|
5697
|
+
|
|
5698
|
+
upgradesProcessing(value?: UpgradeEntryMeta[]): UpgradeEntryMeta[];
|
|
5699
|
+
|
|
5700
|
+
scpInfo(value?: ScpHistoryEntry[]): ScpHistoryEntry[];
|
|
5701
|
+
|
|
5702
|
+
totalByteSizeOfLiveSorobanState(value?: Uint64): Uint64;
|
|
5703
|
+
|
|
5704
|
+
evictedKeys(value?: LedgerKey[]): LedgerKey[];
|
|
5705
|
+
|
|
5706
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5707
|
+
|
|
5708
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5709
|
+
|
|
5710
|
+
static read(io: Buffer): LedgerCloseMetaV2;
|
|
5711
|
+
|
|
5712
|
+
static write(value: LedgerCloseMetaV2, io: Buffer): void;
|
|
5713
|
+
|
|
5714
|
+
static isValid(value: LedgerCloseMetaV2): boolean;
|
|
5715
|
+
|
|
5716
|
+
static toXDR(value: LedgerCloseMetaV2): Buffer;
|
|
5717
|
+
|
|
5718
|
+
static fromXDR(input: Buffer, format?: 'raw'): LedgerCloseMetaV2;
|
|
5719
|
+
|
|
5720
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): LedgerCloseMetaV2;
|
|
5721
|
+
|
|
5722
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5723
|
+
|
|
5724
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5590
5727
|
class Error {
|
|
5591
5728
|
constructor(attributes: { code: ErrorCode; msg: string | Buffer });
|
|
5592
5729
|
|
|
@@ -6101,40 +6238,6 @@ export namespace xdr {
|
|
|
6101
6238
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6102
6239
|
}
|
|
6103
6240
|
|
|
6104
|
-
class SignedSurveyRequestMessage {
|
|
6105
|
-
constructor(attributes: {
|
|
6106
|
-
requestSignature: Buffer;
|
|
6107
|
-
request: SurveyRequestMessage;
|
|
6108
|
-
});
|
|
6109
|
-
|
|
6110
|
-
requestSignature(value?: Buffer): Buffer;
|
|
6111
|
-
|
|
6112
|
-
request(value?: SurveyRequestMessage): SurveyRequestMessage;
|
|
6113
|
-
|
|
6114
|
-
toXDR(format?: 'raw'): Buffer;
|
|
6115
|
-
|
|
6116
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
6117
|
-
|
|
6118
|
-
static read(io: Buffer): SignedSurveyRequestMessage;
|
|
6119
|
-
|
|
6120
|
-
static write(value: SignedSurveyRequestMessage, io: Buffer): void;
|
|
6121
|
-
|
|
6122
|
-
static isValid(value: SignedSurveyRequestMessage): boolean;
|
|
6123
|
-
|
|
6124
|
-
static toXDR(value: SignedSurveyRequestMessage): Buffer;
|
|
6125
|
-
|
|
6126
|
-
static fromXDR(input: Buffer, format?: 'raw'): SignedSurveyRequestMessage;
|
|
6127
|
-
|
|
6128
|
-
static fromXDR(
|
|
6129
|
-
input: string,
|
|
6130
|
-
format: 'hex' | 'base64',
|
|
6131
|
-
): SignedSurveyRequestMessage;
|
|
6132
|
-
|
|
6133
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6134
|
-
|
|
6135
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6136
|
-
}
|
|
6137
|
-
|
|
6138
6241
|
class SignedTimeSlicedSurveyRequestMessage {
|
|
6139
6242
|
constructor(attributes: {
|
|
6140
6243
|
requestSignature: Buffer;
|
|
@@ -6251,40 +6354,6 @@ export namespace xdr {
|
|
|
6251
6354
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6252
6355
|
}
|
|
6253
6356
|
|
|
6254
|
-
class SignedSurveyResponseMessage {
|
|
6255
|
-
constructor(attributes: {
|
|
6256
|
-
responseSignature: Buffer;
|
|
6257
|
-
response: SurveyResponseMessage;
|
|
6258
|
-
});
|
|
6259
|
-
|
|
6260
|
-
responseSignature(value?: Buffer): Buffer;
|
|
6261
|
-
|
|
6262
|
-
response(value?: SurveyResponseMessage): SurveyResponseMessage;
|
|
6263
|
-
|
|
6264
|
-
toXDR(format?: 'raw'): Buffer;
|
|
6265
|
-
|
|
6266
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
6267
|
-
|
|
6268
|
-
static read(io: Buffer): SignedSurveyResponseMessage;
|
|
6269
|
-
|
|
6270
|
-
static write(value: SignedSurveyResponseMessage, io: Buffer): void;
|
|
6271
|
-
|
|
6272
|
-
static isValid(value: SignedSurveyResponseMessage): boolean;
|
|
6273
|
-
|
|
6274
|
-
static toXDR(value: SignedSurveyResponseMessage): Buffer;
|
|
6275
|
-
|
|
6276
|
-
static fromXDR(input: Buffer, format?: 'raw'): SignedSurveyResponseMessage;
|
|
6277
|
-
|
|
6278
|
-
static fromXDR(
|
|
6279
|
-
input: string,
|
|
6280
|
-
format: 'hex' | 'base64',
|
|
6281
|
-
): SignedSurveyResponseMessage;
|
|
6282
|
-
|
|
6283
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6284
|
-
|
|
6285
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6286
|
-
}
|
|
6287
|
-
|
|
6288
6357
|
class SignedTimeSlicedSurveyResponseMessage {
|
|
6289
6358
|
constructor(attributes: {
|
|
6290
6359
|
responseSignature: Buffer;
|
|
@@ -6419,147 +6488,61 @@ export namespace xdr {
|
|
|
6419
6488
|
|
|
6420
6489
|
totalOutboundPeerCount(value?: number): number;
|
|
6421
6490
|
|
|
6422
|
-
p75ScpFirstToSelfLatencyMs(value?: number): number;
|
|
6423
|
-
|
|
6424
|
-
p75ScpSelfToOtherLatencyMs(value?: number): number;
|
|
6425
|
-
|
|
6426
|
-
lostSyncCount(value?: number): number;
|
|
6427
|
-
|
|
6428
|
-
isValidator(value?: boolean): boolean;
|
|
6429
|
-
|
|
6430
|
-
maxInboundPeerCount(value?: number): number;
|
|
6431
|
-
|
|
6432
|
-
maxOutboundPeerCount(value?: number): number;
|
|
6433
|
-
|
|
6434
|
-
toXDR(format?: 'raw'): Buffer;
|
|
6435
|
-
|
|
6436
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
6437
|
-
|
|
6438
|
-
static read(io: Buffer): TimeSlicedNodeData;
|
|
6439
|
-
|
|
6440
|
-
static write(value: TimeSlicedNodeData, io: Buffer): void;
|
|
6441
|
-
|
|
6442
|
-
static isValid(value: TimeSlicedNodeData): boolean;
|
|
6443
|
-
|
|
6444
|
-
static toXDR(value: TimeSlicedNodeData): Buffer;
|
|
6445
|
-
|
|
6446
|
-
static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedNodeData;
|
|
6447
|
-
|
|
6448
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedNodeData;
|
|
6449
|
-
|
|
6450
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6451
|
-
|
|
6452
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6453
|
-
}
|
|
6454
|
-
|
|
6455
|
-
class TimeSlicedPeerData {
|
|
6456
|
-
constructor(attributes: { peerStats: PeerStats; averageLatencyMs: number });
|
|
6457
|
-
|
|
6458
|
-
peerStats(value?: PeerStats): PeerStats;
|
|
6459
|
-
|
|
6460
|
-
averageLatencyMs(value?: number): number;
|
|
6461
|
-
|
|
6462
|
-
toXDR(format?: 'raw'): Buffer;
|
|
6463
|
-
|
|
6464
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
6465
|
-
|
|
6466
|
-
static read(io: Buffer): TimeSlicedPeerData;
|
|
6467
|
-
|
|
6468
|
-
static write(value: TimeSlicedPeerData, io: Buffer): void;
|
|
6469
|
-
|
|
6470
|
-
static isValid(value: TimeSlicedPeerData): boolean;
|
|
6471
|
-
|
|
6472
|
-
static toXDR(value: TimeSlicedPeerData): Buffer;
|
|
6473
|
-
|
|
6474
|
-
static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedPeerData;
|
|
6475
|
-
|
|
6476
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedPeerData;
|
|
6477
|
-
|
|
6478
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6479
|
-
|
|
6480
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6481
|
-
}
|
|
6491
|
+
p75ScpFirstToSelfLatencyMs(value?: number): number;
|
|
6482
6492
|
|
|
6483
|
-
|
|
6484
|
-
constructor(attributes: {
|
|
6485
|
-
inboundPeers: PeerStats[];
|
|
6486
|
-
outboundPeers: PeerStats[];
|
|
6487
|
-
totalInboundPeerCount: number;
|
|
6488
|
-
totalOutboundPeerCount: number;
|
|
6489
|
-
});
|
|
6493
|
+
p75ScpSelfToOtherLatencyMs(value?: number): number;
|
|
6490
6494
|
|
|
6491
|
-
|
|
6495
|
+
lostSyncCount(value?: number): number;
|
|
6492
6496
|
|
|
6493
|
-
|
|
6497
|
+
isValidator(value?: boolean): boolean;
|
|
6494
6498
|
|
|
6495
|
-
|
|
6499
|
+
maxInboundPeerCount(value?: number): number;
|
|
6496
6500
|
|
|
6497
|
-
|
|
6501
|
+
maxOutboundPeerCount(value?: number): number;
|
|
6498
6502
|
|
|
6499
6503
|
toXDR(format?: 'raw'): Buffer;
|
|
6500
6504
|
|
|
6501
6505
|
toXDR(format: 'hex' | 'base64'): string;
|
|
6502
6506
|
|
|
6503
|
-
static read(io: Buffer):
|
|
6507
|
+
static read(io: Buffer): TimeSlicedNodeData;
|
|
6504
6508
|
|
|
6505
|
-
static write(value:
|
|
6509
|
+
static write(value: TimeSlicedNodeData, io: Buffer): void;
|
|
6506
6510
|
|
|
6507
|
-
static isValid(value:
|
|
6511
|
+
static isValid(value: TimeSlicedNodeData): boolean;
|
|
6508
6512
|
|
|
6509
|
-
static toXDR(value:
|
|
6513
|
+
static toXDR(value: TimeSlicedNodeData): Buffer;
|
|
6510
6514
|
|
|
6511
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
6515
|
+
static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedNodeData;
|
|
6512
6516
|
|
|
6513
|
-
static fromXDR(
|
|
6514
|
-
input: string,
|
|
6515
|
-
format: 'hex' | 'base64',
|
|
6516
|
-
): TopologyResponseBodyV0;
|
|
6517
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedNodeData;
|
|
6517
6518
|
|
|
6518
6519
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6519
6520
|
|
|
6520
6521
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
6521
6522
|
}
|
|
6522
6523
|
|
|
6523
|
-
class
|
|
6524
|
-
constructor(attributes: {
|
|
6525
|
-
inboundPeers: PeerStats[];
|
|
6526
|
-
outboundPeers: PeerStats[];
|
|
6527
|
-
totalInboundPeerCount: number;
|
|
6528
|
-
totalOutboundPeerCount: number;
|
|
6529
|
-
maxInboundPeerCount: number;
|
|
6530
|
-
maxOutboundPeerCount: number;
|
|
6531
|
-
});
|
|
6532
|
-
|
|
6533
|
-
inboundPeers(value?: PeerStats[]): PeerStats[];
|
|
6534
|
-
|
|
6535
|
-
outboundPeers(value?: PeerStats[]): PeerStats[];
|
|
6536
|
-
|
|
6537
|
-
totalInboundPeerCount(value?: number): number;
|
|
6538
|
-
|
|
6539
|
-
totalOutboundPeerCount(value?: number): number;
|
|
6524
|
+
class TimeSlicedPeerData {
|
|
6525
|
+
constructor(attributes: { peerStats: PeerStats; averageLatencyMs: number });
|
|
6540
6526
|
|
|
6541
|
-
|
|
6527
|
+
peerStats(value?: PeerStats): PeerStats;
|
|
6542
6528
|
|
|
6543
|
-
|
|
6529
|
+
averageLatencyMs(value?: number): number;
|
|
6544
6530
|
|
|
6545
6531
|
toXDR(format?: 'raw'): Buffer;
|
|
6546
6532
|
|
|
6547
6533
|
toXDR(format: 'hex' | 'base64'): string;
|
|
6548
6534
|
|
|
6549
|
-
static read(io: Buffer):
|
|
6535
|
+
static read(io: Buffer): TimeSlicedPeerData;
|
|
6550
6536
|
|
|
6551
|
-
static write(value:
|
|
6537
|
+
static write(value: TimeSlicedPeerData, io: Buffer): void;
|
|
6552
6538
|
|
|
6553
|
-
static isValid(value:
|
|
6539
|
+
static isValid(value: TimeSlicedPeerData): boolean;
|
|
6554
6540
|
|
|
6555
|
-
static toXDR(value:
|
|
6541
|
+
static toXDR(value: TimeSlicedPeerData): Buffer;
|
|
6556
6542
|
|
|
6557
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
6543
|
+
static fromXDR(input: Buffer, format?: 'raw'): TimeSlicedPeerData;
|
|
6558
6544
|
|
|
6559
|
-
static fromXDR(
|
|
6560
|
-
input: string,
|
|
6561
|
-
format: 'hex' | 'base64',
|
|
6562
|
-
): TopologyResponseBodyV1;
|
|
6545
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): TimeSlicedPeerData;
|
|
6563
6546
|
|
|
6564
6547
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
6565
6548
|
|
|
@@ -7850,37 +7833,6 @@ export namespace xdr {
|
|
|
7850
7833
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
7851
7834
|
}
|
|
7852
7835
|
|
|
7853
|
-
class Operation {
|
|
7854
|
-
constructor(attributes: {
|
|
7855
|
-
sourceAccount: null | MuxedAccount;
|
|
7856
|
-
body: OperationBody;
|
|
7857
|
-
});
|
|
7858
|
-
|
|
7859
|
-
sourceAccount(value?: null | MuxedAccount): null | MuxedAccount;
|
|
7860
|
-
|
|
7861
|
-
body(value?: OperationBody): OperationBody;
|
|
7862
|
-
|
|
7863
|
-
toXDR(format?: 'raw'): Buffer;
|
|
7864
|
-
|
|
7865
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
7866
|
-
|
|
7867
|
-
static read(io: Buffer): Operation;
|
|
7868
|
-
|
|
7869
|
-
static write(value: Operation, io: Buffer): void;
|
|
7870
|
-
|
|
7871
|
-
static isValid(value: Operation): boolean;
|
|
7872
|
-
|
|
7873
|
-
static toXDR(value: Operation): Buffer;
|
|
7874
|
-
|
|
7875
|
-
static fromXDR(input: Buffer, format?: 'raw'): Operation;
|
|
7876
|
-
|
|
7877
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): Operation;
|
|
7878
|
-
|
|
7879
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
7880
|
-
|
|
7881
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
7836
|
class HashIdPreimageOperationId {
|
|
7885
7837
|
constructor(attributes: {
|
|
7886
7838
|
sourceAccount: AccountId;
|
|
@@ -8167,166 +8119,66 @@ export namespace xdr {
|
|
|
8167
8119
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
8168
8120
|
}
|
|
8169
8121
|
|
|
8170
|
-
class
|
|
8171
|
-
constructor(attributes: { index: number; hash: Buffer });
|
|
8172
|
-
|
|
8173
|
-
index(value?: number): number;
|
|
8174
|
-
|
|
8175
|
-
hash(value?: Buffer): Buffer;
|
|
8176
|
-
|
|
8177
|
-
toXDR(format?: 'raw'): Buffer;
|
|
8178
|
-
|
|
8179
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
8180
|
-
|
|
8181
|
-
static read(io: Buffer): ArchivalProofNode;
|
|
8182
|
-
|
|
8183
|
-
static write(value: ArchivalProofNode, io: Buffer): void;
|
|
8184
|
-
|
|
8185
|
-
static isValid(value: ArchivalProofNode): boolean;
|
|
8186
|
-
|
|
8187
|
-
static toXDR(value: ArchivalProofNode): Buffer;
|
|
8188
|
-
|
|
8189
|
-
static fromXDR(input: Buffer, format?: 'raw'): ArchivalProofNode;
|
|
8190
|
-
|
|
8191
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): ArchivalProofNode;
|
|
8192
|
-
|
|
8193
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
8194
|
-
|
|
8195
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
8196
|
-
}
|
|
8197
|
-
|
|
8198
|
-
class NonexistenceProofBody {
|
|
8199
|
-
constructor(attributes: {
|
|
8200
|
-
entriesToProve: ColdArchiveBucketEntry[];
|
|
8201
|
-
proofLevels: ArchivalProofNode[][];
|
|
8202
|
-
});
|
|
8203
|
-
|
|
8204
|
-
entriesToProve(value?: ColdArchiveBucketEntry[]): ColdArchiveBucketEntry[];
|
|
8205
|
-
|
|
8206
|
-
proofLevels(value?: ArchivalProofNode[][]): ArchivalProofNode[][];
|
|
8207
|
-
|
|
8208
|
-
toXDR(format?: 'raw'): Buffer;
|
|
8209
|
-
|
|
8210
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
8211
|
-
|
|
8212
|
-
static read(io: Buffer): NonexistenceProofBody;
|
|
8213
|
-
|
|
8214
|
-
static write(value: NonexistenceProofBody, io: Buffer): void;
|
|
8215
|
-
|
|
8216
|
-
static isValid(value: NonexistenceProofBody): boolean;
|
|
8217
|
-
|
|
8218
|
-
static toXDR(value: NonexistenceProofBody): Buffer;
|
|
8219
|
-
|
|
8220
|
-
static fromXDR(input: Buffer, format?: 'raw'): NonexistenceProofBody;
|
|
8221
|
-
|
|
8222
|
-
static fromXDR(
|
|
8223
|
-
input: string,
|
|
8224
|
-
format: 'hex' | 'base64',
|
|
8225
|
-
): NonexistenceProofBody;
|
|
8226
|
-
|
|
8227
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
8228
|
-
|
|
8229
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
8230
|
-
}
|
|
8231
|
-
|
|
8232
|
-
class ExistenceProofBody {
|
|
8122
|
+
class SorobanResources {
|
|
8233
8123
|
constructor(attributes: {
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8124
|
+
footprint: LedgerFootprint;
|
|
8125
|
+
instructions: number;
|
|
8126
|
+
diskReadBytes: number;
|
|
8127
|
+
writeBytes: number;
|
|
8238
8128
|
});
|
|
8239
8129
|
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
lowBoundEntries(value?: ColdArchiveBucketEntry[]): ColdArchiveBucketEntry[];
|
|
8243
|
-
|
|
8244
|
-
highBoundEntries(
|
|
8245
|
-
value?: ColdArchiveBucketEntry[],
|
|
8246
|
-
): ColdArchiveBucketEntry[];
|
|
8247
|
-
|
|
8248
|
-
proofLevels(value?: ArchivalProofNode[][]): ArchivalProofNode[][];
|
|
8249
|
-
|
|
8250
|
-
toXDR(format?: 'raw'): Buffer;
|
|
8251
|
-
|
|
8252
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
8253
|
-
|
|
8254
|
-
static read(io: Buffer): ExistenceProofBody;
|
|
8255
|
-
|
|
8256
|
-
static write(value: ExistenceProofBody, io: Buffer): void;
|
|
8257
|
-
|
|
8258
|
-
static isValid(value: ExistenceProofBody): boolean;
|
|
8259
|
-
|
|
8260
|
-
static toXDR(value: ExistenceProofBody): Buffer;
|
|
8261
|
-
|
|
8262
|
-
static fromXDR(input: Buffer, format?: 'raw'): ExistenceProofBody;
|
|
8263
|
-
|
|
8264
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): ExistenceProofBody;
|
|
8265
|
-
|
|
8266
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
8267
|
-
|
|
8268
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
8269
|
-
}
|
|
8130
|
+
footprint(value?: LedgerFootprint): LedgerFootprint;
|
|
8270
8131
|
|
|
8271
|
-
|
|
8272
|
-
constructor(attributes: { epoch: number; body: ArchivalProofBody });
|
|
8132
|
+
instructions(value?: number): number;
|
|
8273
8133
|
|
|
8274
|
-
|
|
8134
|
+
diskReadBytes(value?: number): number;
|
|
8275
8135
|
|
|
8276
|
-
|
|
8136
|
+
writeBytes(value?: number): number;
|
|
8277
8137
|
|
|
8278
8138
|
toXDR(format?: 'raw'): Buffer;
|
|
8279
8139
|
|
|
8280
8140
|
toXDR(format: 'hex' | 'base64'): string;
|
|
8281
8141
|
|
|
8282
|
-
static read(io: Buffer):
|
|
8142
|
+
static read(io: Buffer): SorobanResources;
|
|
8283
8143
|
|
|
8284
|
-
static write(value:
|
|
8144
|
+
static write(value: SorobanResources, io: Buffer): void;
|
|
8285
8145
|
|
|
8286
|
-
static isValid(value:
|
|
8146
|
+
static isValid(value: SorobanResources): boolean;
|
|
8287
8147
|
|
|
8288
|
-
static toXDR(value:
|
|
8148
|
+
static toXDR(value: SorobanResources): Buffer;
|
|
8289
8149
|
|
|
8290
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
8150
|
+
static fromXDR(input: Buffer, format?: 'raw'): SorobanResources;
|
|
8291
8151
|
|
|
8292
|
-
static fromXDR(input: string, format: 'hex' | 'base64'):
|
|
8152
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): SorobanResources;
|
|
8293
8153
|
|
|
8294
8154
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
8295
8155
|
|
|
8296
8156
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
8297
8157
|
}
|
|
8298
8158
|
|
|
8299
|
-
class
|
|
8300
|
-
constructor(attributes: {
|
|
8301
|
-
footprint: LedgerFootprint;
|
|
8302
|
-
instructions: number;
|
|
8303
|
-
readBytes: number;
|
|
8304
|
-
writeBytes: number;
|
|
8305
|
-
});
|
|
8306
|
-
|
|
8307
|
-
footprint(value?: LedgerFootprint): LedgerFootprint;
|
|
8308
|
-
|
|
8309
|
-
instructions(value?: number): number;
|
|
8310
|
-
|
|
8311
|
-
readBytes(value?: number): number;
|
|
8159
|
+
class SorobanResourcesExtV0 {
|
|
8160
|
+
constructor(attributes: { archivedSorobanEntries: number[] });
|
|
8312
8161
|
|
|
8313
|
-
|
|
8162
|
+
archivedSorobanEntries(value?: number[]): number[];
|
|
8314
8163
|
|
|
8315
8164
|
toXDR(format?: 'raw'): Buffer;
|
|
8316
8165
|
|
|
8317
8166
|
toXDR(format: 'hex' | 'base64'): string;
|
|
8318
8167
|
|
|
8319
|
-
static read(io: Buffer):
|
|
8168
|
+
static read(io: Buffer): SorobanResourcesExtV0;
|
|
8320
8169
|
|
|
8321
|
-
static write(value:
|
|
8170
|
+
static write(value: SorobanResourcesExtV0, io: Buffer): void;
|
|
8322
8171
|
|
|
8323
|
-
static isValid(value:
|
|
8172
|
+
static isValid(value: SorobanResourcesExtV0): boolean;
|
|
8324
8173
|
|
|
8325
|
-
static toXDR(value:
|
|
8174
|
+
static toXDR(value: SorobanResourcesExtV0): Buffer;
|
|
8326
8175
|
|
|
8327
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
8176
|
+
static fromXDR(input: Buffer, format?: 'raw'): SorobanResourcesExtV0;
|
|
8328
8177
|
|
|
8329
|
-
static fromXDR(
|
|
8178
|
+
static fromXDR(
|
|
8179
|
+
input: string,
|
|
8180
|
+
format: 'hex' | 'base64',
|
|
8181
|
+
): SorobanResourcesExtV0;
|
|
8330
8182
|
|
|
8331
8183
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
8332
8184
|
|
|
@@ -9387,6 +9239,37 @@ export namespace xdr {
|
|
|
9387
9239
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
9388
9240
|
}
|
|
9389
9241
|
|
|
9242
|
+
class MuxedEd25519Account {
|
|
9243
|
+
constructor(attributes: { id: Uint64; ed25519: Buffer });
|
|
9244
|
+
|
|
9245
|
+
id(value?: Uint64): Uint64;
|
|
9246
|
+
|
|
9247
|
+
ed25519(value?: Buffer): Buffer;
|
|
9248
|
+
|
|
9249
|
+
toXDR(format?: 'raw'): Buffer;
|
|
9250
|
+
|
|
9251
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
9252
|
+
|
|
9253
|
+
static read(io: Buffer): MuxedEd25519Account;
|
|
9254
|
+
|
|
9255
|
+
static write(value: MuxedEd25519Account, io: Buffer): void;
|
|
9256
|
+
|
|
9257
|
+
static isValid(value: MuxedEd25519Account): boolean;
|
|
9258
|
+
|
|
9259
|
+
static toXDR(value: MuxedEd25519Account): Buffer;
|
|
9260
|
+
|
|
9261
|
+
static fromXDR(input: Buffer, format?: 'raw'): MuxedEd25519Account;
|
|
9262
|
+
|
|
9263
|
+
static fromXDR(
|
|
9264
|
+
input: string,
|
|
9265
|
+
format: 'hex' | 'base64',
|
|
9266
|
+
): MuxedEd25519Account;
|
|
9267
|
+
|
|
9268
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
9269
|
+
|
|
9270
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
9271
|
+
}
|
|
9272
|
+
|
|
9390
9273
|
class ScNonceKey {
|
|
9391
9274
|
constructor(attributes: { nonce: Int64 });
|
|
9392
9275
|
|
|
@@ -10081,49 +9964,129 @@ export namespace xdr {
|
|
|
10081
9964
|
|
|
10082
9965
|
static toXDR(value: ScSpecFunctionInputV0): Buffer;
|
|
10083
9966
|
|
|
10084
|
-
static fromXDR(input: Buffer, format?: 'raw'): ScSpecFunctionInputV0;
|
|
9967
|
+
static fromXDR(input: Buffer, format?: 'raw'): ScSpecFunctionInputV0;
|
|
9968
|
+
|
|
9969
|
+
static fromXDR(
|
|
9970
|
+
input: string,
|
|
9971
|
+
format: 'hex' | 'base64',
|
|
9972
|
+
): ScSpecFunctionInputV0;
|
|
9973
|
+
|
|
9974
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
9975
|
+
|
|
9976
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
9977
|
+
}
|
|
9978
|
+
|
|
9979
|
+
class ScSpecFunctionV0 {
|
|
9980
|
+
constructor(attributes: {
|
|
9981
|
+
doc: string | Buffer;
|
|
9982
|
+
name: string | Buffer;
|
|
9983
|
+
inputs: ScSpecFunctionInputV0[];
|
|
9984
|
+
outputs: ScSpecTypeDef[];
|
|
9985
|
+
});
|
|
9986
|
+
|
|
9987
|
+
doc(value?: string | Buffer): string | Buffer;
|
|
9988
|
+
|
|
9989
|
+
name(value?: string | Buffer): string | Buffer;
|
|
9990
|
+
|
|
9991
|
+
inputs(value?: ScSpecFunctionInputV0[]): ScSpecFunctionInputV0[];
|
|
9992
|
+
|
|
9993
|
+
outputs(value?: ScSpecTypeDef[]): ScSpecTypeDef[];
|
|
9994
|
+
|
|
9995
|
+
toXDR(format?: 'raw'): Buffer;
|
|
9996
|
+
|
|
9997
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
9998
|
+
|
|
9999
|
+
static read(io: Buffer): ScSpecFunctionV0;
|
|
10000
|
+
|
|
10001
|
+
static write(value: ScSpecFunctionV0, io: Buffer): void;
|
|
10002
|
+
|
|
10003
|
+
static isValid(value: ScSpecFunctionV0): boolean;
|
|
10004
|
+
|
|
10005
|
+
static toXDR(value: ScSpecFunctionV0): Buffer;
|
|
10006
|
+
|
|
10007
|
+
static fromXDR(input: Buffer, format?: 'raw'): ScSpecFunctionV0;
|
|
10008
|
+
|
|
10009
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): ScSpecFunctionV0;
|
|
10010
|
+
|
|
10011
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10012
|
+
|
|
10013
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10014
|
+
}
|
|
10015
|
+
|
|
10016
|
+
class ScSpecEventParamV0 {
|
|
10017
|
+
constructor(attributes: {
|
|
10018
|
+
doc: string | Buffer;
|
|
10019
|
+
name: string | Buffer;
|
|
10020
|
+
type: ScSpecTypeDef;
|
|
10021
|
+
location: ScSpecEventParamLocationV0;
|
|
10022
|
+
});
|
|
10023
|
+
|
|
10024
|
+
doc(value?: string | Buffer): string | Buffer;
|
|
10025
|
+
|
|
10026
|
+
name(value?: string | Buffer): string | Buffer;
|
|
10027
|
+
|
|
10028
|
+
type(value?: ScSpecTypeDef): ScSpecTypeDef;
|
|
10029
|
+
|
|
10030
|
+
location(value?: ScSpecEventParamLocationV0): ScSpecEventParamLocationV0;
|
|
10031
|
+
|
|
10032
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10033
|
+
|
|
10034
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10035
|
+
|
|
10036
|
+
static read(io: Buffer): ScSpecEventParamV0;
|
|
10037
|
+
|
|
10038
|
+
static write(value: ScSpecEventParamV0, io: Buffer): void;
|
|
10039
|
+
|
|
10040
|
+
static isValid(value: ScSpecEventParamV0): boolean;
|
|
10041
|
+
|
|
10042
|
+
static toXDR(value: ScSpecEventParamV0): Buffer;
|
|
10043
|
+
|
|
10044
|
+
static fromXDR(input: Buffer, format?: 'raw'): ScSpecEventParamV0;
|
|
10085
10045
|
|
|
10086
|
-
static fromXDR(
|
|
10087
|
-
input: string,
|
|
10088
|
-
format: 'hex' | 'base64',
|
|
10089
|
-
): ScSpecFunctionInputV0;
|
|
10046
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): ScSpecEventParamV0;
|
|
10090
10047
|
|
|
10091
10048
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10092
10049
|
|
|
10093
10050
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10094
10051
|
}
|
|
10095
10052
|
|
|
10096
|
-
class
|
|
10053
|
+
class ScSpecEventV0 {
|
|
10097
10054
|
constructor(attributes: {
|
|
10098
10055
|
doc: string | Buffer;
|
|
10056
|
+
lib: string | Buffer;
|
|
10099
10057
|
name: string | Buffer;
|
|
10100
|
-
|
|
10101
|
-
|
|
10058
|
+
prefixTopics: (string | Buffer)[];
|
|
10059
|
+
params: ScSpecEventParamV0[];
|
|
10060
|
+
dataFormat: ScSpecEventDataFormat;
|
|
10102
10061
|
});
|
|
10103
10062
|
|
|
10104
10063
|
doc(value?: string | Buffer): string | Buffer;
|
|
10105
10064
|
|
|
10065
|
+
lib(value?: string | Buffer): string | Buffer;
|
|
10066
|
+
|
|
10106
10067
|
name(value?: string | Buffer): string | Buffer;
|
|
10107
10068
|
|
|
10108
|
-
|
|
10069
|
+
prefixTopics(value?: (string | Buffer)[]): (string | Buffer)[];
|
|
10109
10070
|
|
|
10110
|
-
|
|
10071
|
+
params(value?: ScSpecEventParamV0[]): ScSpecEventParamV0[];
|
|
10072
|
+
|
|
10073
|
+
dataFormat(value?: ScSpecEventDataFormat): ScSpecEventDataFormat;
|
|
10111
10074
|
|
|
10112
10075
|
toXDR(format?: 'raw'): Buffer;
|
|
10113
10076
|
|
|
10114
10077
|
toXDR(format: 'hex' | 'base64'): string;
|
|
10115
10078
|
|
|
10116
|
-
static read(io: Buffer):
|
|
10079
|
+
static read(io: Buffer): ScSpecEventV0;
|
|
10117
10080
|
|
|
10118
|
-
static write(value:
|
|
10081
|
+
static write(value: ScSpecEventV0, io: Buffer): void;
|
|
10119
10082
|
|
|
10120
|
-
static isValid(value:
|
|
10083
|
+
static isValid(value: ScSpecEventV0): boolean;
|
|
10121
10084
|
|
|
10122
|
-
static toXDR(value:
|
|
10085
|
+
static toXDR(value: ScSpecEventV0): Buffer;
|
|
10123
10086
|
|
|
10124
|
-
static fromXDR(input: Buffer, format?: 'raw'):
|
|
10087
|
+
static fromXDR(input: Buffer, format?: 'raw'): ScSpecEventV0;
|
|
10125
10088
|
|
|
10126
|
-
static fromXDR(input: string, format: 'hex' | 'base64'):
|
|
10089
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): ScSpecEventV0;
|
|
10127
10090
|
|
|
10128
10091
|
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10129
10092
|
|
|
@@ -10209,9 +10172,9 @@ export namespace xdr {
|
|
|
10209
10172
|
}
|
|
10210
10173
|
|
|
10211
10174
|
class ConfigSettingContractParallelComputeV0 {
|
|
10212
|
-
constructor(attributes: {
|
|
10175
|
+
constructor(attributes: { ledgerMaxDependentTxClusters: number });
|
|
10213
10176
|
|
|
10214
|
-
|
|
10177
|
+
ledgerMaxDependentTxClusters(value?: number): number;
|
|
10215
10178
|
|
|
10216
10179
|
toXDR(format?: 'raw'): Buffer;
|
|
10217
10180
|
|
|
@@ -10245,52 +10208,52 @@ export namespace xdr {
|
|
|
10245
10208
|
|
|
10246
10209
|
class ConfigSettingContractLedgerCostV0 {
|
|
10247
10210
|
constructor(attributes: {
|
|
10248
|
-
|
|
10249
|
-
|
|
10211
|
+
ledgerMaxDiskReadEntries: number;
|
|
10212
|
+
ledgerMaxDiskReadBytes: number;
|
|
10250
10213
|
ledgerMaxWriteLedgerEntries: number;
|
|
10251
10214
|
ledgerMaxWriteBytes: number;
|
|
10252
|
-
|
|
10253
|
-
|
|
10215
|
+
txMaxDiskReadEntries: number;
|
|
10216
|
+
txMaxDiskReadBytes: number;
|
|
10254
10217
|
txMaxWriteLedgerEntries: number;
|
|
10255
10218
|
txMaxWriteBytes: number;
|
|
10256
|
-
|
|
10219
|
+
feeDiskReadLedgerEntry: Int64;
|
|
10257
10220
|
feeWriteLedgerEntry: Int64;
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10221
|
+
feeDiskRead1Kb: Int64;
|
|
10222
|
+
sorobanStateTargetSizeBytes: Int64;
|
|
10223
|
+
rentFee1KbSorobanStateSizeLow: Int64;
|
|
10224
|
+
rentFee1KbSorobanStateSizeHigh: Int64;
|
|
10225
|
+
sorobanStateRentFeeGrowthFactor: number;
|
|
10263
10226
|
});
|
|
10264
10227
|
|
|
10265
|
-
|
|
10228
|
+
ledgerMaxDiskReadEntries(value?: number): number;
|
|
10266
10229
|
|
|
10267
|
-
|
|
10230
|
+
ledgerMaxDiskReadBytes(value?: number): number;
|
|
10268
10231
|
|
|
10269
10232
|
ledgerMaxWriteLedgerEntries(value?: number): number;
|
|
10270
10233
|
|
|
10271
10234
|
ledgerMaxWriteBytes(value?: number): number;
|
|
10272
10235
|
|
|
10273
|
-
|
|
10236
|
+
txMaxDiskReadEntries(value?: number): number;
|
|
10274
10237
|
|
|
10275
|
-
|
|
10238
|
+
txMaxDiskReadBytes(value?: number): number;
|
|
10276
10239
|
|
|
10277
10240
|
txMaxWriteLedgerEntries(value?: number): number;
|
|
10278
10241
|
|
|
10279
10242
|
txMaxWriteBytes(value?: number): number;
|
|
10280
10243
|
|
|
10281
|
-
|
|
10244
|
+
feeDiskReadLedgerEntry(value?: Int64): Int64;
|
|
10282
10245
|
|
|
10283
10246
|
feeWriteLedgerEntry(value?: Int64): Int64;
|
|
10284
10247
|
|
|
10285
|
-
|
|
10248
|
+
feeDiskRead1Kb(value?: Int64): Int64;
|
|
10286
10249
|
|
|
10287
|
-
|
|
10250
|
+
sorobanStateTargetSizeBytes(value?: Int64): Int64;
|
|
10288
10251
|
|
|
10289
|
-
|
|
10252
|
+
rentFee1KbSorobanStateSizeLow(value?: Int64): Int64;
|
|
10290
10253
|
|
|
10291
|
-
|
|
10254
|
+
rentFee1KbSorobanStateSizeHigh(value?: Int64): Int64;
|
|
10292
10255
|
|
|
10293
|
-
|
|
10256
|
+
sorobanStateRentFeeGrowthFactor(value?: number): number;
|
|
10294
10257
|
|
|
10295
10258
|
toXDR(format?: 'raw'): Buffer;
|
|
10296
10259
|
|
|
@@ -10319,6 +10282,43 @@ export namespace xdr {
|
|
|
10319
10282
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10320
10283
|
}
|
|
10321
10284
|
|
|
10285
|
+
class ConfigSettingContractLedgerCostExtV0 {
|
|
10286
|
+
constructor(attributes: {
|
|
10287
|
+
txMaxFootprintEntries: number;
|
|
10288
|
+
feeWrite1Kb: Int64;
|
|
10289
|
+
});
|
|
10290
|
+
|
|
10291
|
+
txMaxFootprintEntries(value?: number): number;
|
|
10292
|
+
|
|
10293
|
+
feeWrite1Kb(value?: Int64): Int64;
|
|
10294
|
+
|
|
10295
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10296
|
+
|
|
10297
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10298
|
+
|
|
10299
|
+
static read(io: Buffer): ConfigSettingContractLedgerCostExtV0;
|
|
10300
|
+
|
|
10301
|
+
static write(value: ConfigSettingContractLedgerCostExtV0, io: Buffer): void;
|
|
10302
|
+
|
|
10303
|
+
static isValid(value: ConfigSettingContractLedgerCostExtV0): boolean;
|
|
10304
|
+
|
|
10305
|
+
static toXDR(value: ConfigSettingContractLedgerCostExtV0): Buffer;
|
|
10306
|
+
|
|
10307
|
+
static fromXDR(
|
|
10308
|
+
input: Buffer,
|
|
10309
|
+
format?: 'raw',
|
|
10310
|
+
): ConfigSettingContractLedgerCostExtV0;
|
|
10311
|
+
|
|
10312
|
+
static fromXDR(
|
|
10313
|
+
input: string,
|
|
10314
|
+
format: 'hex' | 'base64',
|
|
10315
|
+
): ConfigSettingContractLedgerCostExtV0;
|
|
10316
|
+
|
|
10317
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10318
|
+
|
|
10319
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10320
|
+
}
|
|
10321
|
+
|
|
10322
10322
|
class ConfigSettingContractHistoricalDataV0 {
|
|
10323
10323
|
constructor(attributes: { feeHistorical1Kb: Int64 });
|
|
10324
10324
|
|
|
@@ -10476,8 +10476,8 @@ export namespace xdr {
|
|
|
10476
10476
|
persistentRentRateDenominator: Int64;
|
|
10477
10477
|
tempRentRateDenominator: Int64;
|
|
10478
10478
|
maxEntriesToArchive: number;
|
|
10479
|
-
|
|
10480
|
-
|
|
10479
|
+
liveSorobanStateSizeWindowSampleSize: number;
|
|
10480
|
+
liveSorobanStateSizeWindowSamplePeriod: number;
|
|
10481
10481
|
evictionScanSize: number;
|
|
10482
10482
|
startingEvictionScanLevel: number;
|
|
10483
10483
|
});
|
|
@@ -10494,9 +10494,9 @@ export namespace xdr {
|
|
|
10494
10494
|
|
|
10495
10495
|
maxEntriesToArchive(value?: number): number;
|
|
10496
10496
|
|
|
10497
|
-
|
|
10497
|
+
liveSorobanStateSizeWindowSampleSize(value?: number): number;
|
|
10498
10498
|
|
|
10499
|
-
|
|
10499
|
+
liveSorobanStateSizeWindowSamplePeriod(value?: number): number;
|
|
10500
10500
|
|
|
10501
10501
|
evictionScanSize(value?: number): number;
|
|
10502
10502
|
|
|
@@ -10560,6 +10560,86 @@ export namespace xdr {
|
|
|
10560
10560
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10561
10561
|
}
|
|
10562
10562
|
|
|
10563
|
+
class ConfigSettingScpTiming {
|
|
10564
|
+
constructor(attributes: {
|
|
10565
|
+
ledgerTargetCloseTimeMilliseconds: number;
|
|
10566
|
+
nominationTimeoutInitialMilliseconds: number;
|
|
10567
|
+
nominationTimeoutIncrementMilliseconds: number;
|
|
10568
|
+
ballotTimeoutInitialMilliseconds: number;
|
|
10569
|
+
ballotTimeoutIncrementMilliseconds: number;
|
|
10570
|
+
});
|
|
10571
|
+
|
|
10572
|
+
ledgerTargetCloseTimeMilliseconds(value?: number): number;
|
|
10573
|
+
|
|
10574
|
+
nominationTimeoutInitialMilliseconds(value?: number): number;
|
|
10575
|
+
|
|
10576
|
+
nominationTimeoutIncrementMilliseconds(value?: number): number;
|
|
10577
|
+
|
|
10578
|
+
ballotTimeoutInitialMilliseconds(value?: number): number;
|
|
10579
|
+
|
|
10580
|
+
ballotTimeoutIncrementMilliseconds(value?: number): number;
|
|
10581
|
+
|
|
10582
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10583
|
+
|
|
10584
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10585
|
+
|
|
10586
|
+
static read(io: Buffer): ConfigSettingScpTiming;
|
|
10587
|
+
|
|
10588
|
+
static write(value: ConfigSettingScpTiming, io: Buffer): void;
|
|
10589
|
+
|
|
10590
|
+
static isValid(value: ConfigSettingScpTiming): boolean;
|
|
10591
|
+
|
|
10592
|
+
static toXDR(value: ConfigSettingScpTiming): Buffer;
|
|
10593
|
+
|
|
10594
|
+
static fromXDR(input: Buffer, format?: 'raw'): ConfigSettingScpTiming;
|
|
10595
|
+
|
|
10596
|
+
static fromXDR(
|
|
10597
|
+
input: string,
|
|
10598
|
+
format: 'hex' | 'base64',
|
|
10599
|
+
): ConfigSettingScpTiming;
|
|
10600
|
+
|
|
10601
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10602
|
+
|
|
10603
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10604
|
+
}
|
|
10605
|
+
|
|
10606
|
+
class LedgerCloseMetaBatch {
|
|
10607
|
+
constructor(attributes: {
|
|
10608
|
+
startSequence: number;
|
|
10609
|
+
endSequence: number;
|
|
10610
|
+
ledgerCloseMeta: LedgerCloseMeta[];
|
|
10611
|
+
});
|
|
10612
|
+
|
|
10613
|
+
startSequence(value?: number): number;
|
|
10614
|
+
|
|
10615
|
+
endSequence(value?: number): number;
|
|
10616
|
+
|
|
10617
|
+
ledgerCloseMeta(value?: LedgerCloseMeta[]): LedgerCloseMeta[];
|
|
10618
|
+
|
|
10619
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10620
|
+
|
|
10621
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10622
|
+
|
|
10623
|
+
static read(io: Buffer): LedgerCloseMetaBatch;
|
|
10624
|
+
|
|
10625
|
+
static write(value: LedgerCloseMetaBatch, io: Buffer): void;
|
|
10626
|
+
|
|
10627
|
+
static isValid(value: LedgerCloseMetaBatch): boolean;
|
|
10628
|
+
|
|
10629
|
+
static toXDR(value: LedgerCloseMetaBatch): Buffer;
|
|
10630
|
+
|
|
10631
|
+
static fromXDR(input: Buffer, format?: 'raw'): LedgerCloseMetaBatch;
|
|
10632
|
+
|
|
10633
|
+
static fromXDR(
|
|
10634
|
+
input: string,
|
|
10635
|
+
format: 'hex' | 'base64',
|
|
10636
|
+
): LedgerCloseMetaBatch;
|
|
10637
|
+
|
|
10638
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10639
|
+
|
|
10640
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10641
|
+
}
|
|
10642
|
+
|
|
10563
10643
|
class ScpStatementPledges {
|
|
10564
10644
|
switch(): ScpStatementType;
|
|
10565
10645
|
|
|
@@ -11062,36 +11142,6 @@ export namespace xdr {
|
|
|
11062
11142
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
11063
11143
|
}
|
|
11064
11144
|
|
|
11065
|
-
class ClaimableBalanceId {
|
|
11066
|
-
switch(): ClaimableBalanceIdType;
|
|
11067
|
-
|
|
11068
|
-
v0(value?: Buffer): Buffer;
|
|
11069
|
-
|
|
11070
|
-
static claimableBalanceIdTypeV0(value: Buffer): ClaimableBalanceId;
|
|
11071
|
-
|
|
11072
|
-
value(): Buffer;
|
|
11073
|
-
|
|
11074
|
-
toXDR(format?: 'raw'): Buffer;
|
|
11075
|
-
|
|
11076
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
11077
|
-
|
|
11078
|
-
static read(io: Buffer): ClaimableBalanceId;
|
|
11079
|
-
|
|
11080
|
-
static write(value: ClaimableBalanceId, io: Buffer): void;
|
|
11081
|
-
|
|
11082
|
-
static isValid(value: ClaimableBalanceId): boolean;
|
|
11083
|
-
|
|
11084
|
-
static toXDR(value: ClaimableBalanceId): Buffer;
|
|
11085
|
-
|
|
11086
|
-
static fromXDR(input: Buffer, format?: 'raw'): ClaimableBalanceId;
|
|
11087
|
-
|
|
11088
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): ClaimableBalanceId;
|
|
11089
|
-
|
|
11090
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
11091
|
-
|
|
11092
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
11093
|
-
}
|
|
11094
|
-
|
|
11095
11145
|
class ClaimableBalanceEntryExtensionV1Ext {
|
|
11096
11146
|
switch(): number;
|
|
11097
11147
|
|
|
@@ -11537,8 +11587,6 @@ export namespace xdr {
|
|
|
11537
11587
|
|
|
11538
11588
|
static hotArchiveLive(value: LedgerKey): HotArchiveBucketEntry;
|
|
11539
11589
|
|
|
11540
|
-
static hotArchiveDeleted(value: LedgerKey): HotArchiveBucketEntry;
|
|
11541
|
-
|
|
11542
11590
|
static hotArchiveMetaentry(value: BucketMetadata): HotArchiveBucketEntry;
|
|
11543
11591
|
|
|
11544
11592
|
value(): LedgerEntry | LedgerKey | BucketMetadata;
|
|
@@ -11567,66 +11615,6 @@ export namespace xdr {
|
|
|
11567
11615
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
11568
11616
|
}
|
|
11569
11617
|
|
|
11570
|
-
class ColdArchiveBucketEntry {
|
|
11571
|
-
switch(): ColdArchiveBucketEntryType;
|
|
11572
|
-
|
|
11573
|
-
metaEntry(value?: BucketMetadata): BucketMetadata;
|
|
11574
|
-
|
|
11575
|
-
archivedLeaf(value?: ColdArchiveArchivedLeaf): ColdArchiveArchivedLeaf;
|
|
11576
|
-
|
|
11577
|
-
deletedLeaf(value?: ColdArchiveDeletedLeaf): ColdArchiveDeletedLeaf;
|
|
11578
|
-
|
|
11579
|
-
boundaryLeaf(value?: ColdArchiveBoundaryLeaf): ColdArchiveBoundaryLeaf;
|
|
11580
|
-
|
|
11581
|
-
hashEntry(value?: ColdArchiveHashEntry): ColdArchiveHashEntry;
|
|
11582
|
-
|
|
11583
|
-
static coldArchiveMetaentry(value: BucketMetadata): ColdArchiveBucketEntry;
|
|
11584
|
-
|
|
11585
|
-
static coldArchiveArchivedLeaf(
|
|
11586
|
-
value: ColdArchiveArchivedLeaf,
|
|
11587
|
-
): ColdArchiveBucketEntry;
|
|
11588
|
-
|
|
11589
|
-
static coldArchiveDeletedLeaf(
|
|
11590
|
-
value: ColdArchiveDeletedLeaf,
|
|
11591
|
-
): ColdArchiveBucketEntry;
|
|
11592
|
-
|
|
11593
|
-
static coldArchiveBoundaryLeaf(
|
|
11594
|
-
value: ColdArchiveBoundaryLeaf,
|
|
11595
|
-
): ColdArchiveBucketEntry;
|
|
11596
|
-
|
|
11597
|
-
static coldArchiveHash(value: ColdArchiveHashEntry): ColdArchiveBucketEntry;
|
|
11598
|
-
|
|
11599
|
-
value():
|
|
11600
|
-
| BucketMetadata
|
|
11601
|
-
| ColdArchiveArchivedLeaf
|
|
11602
|
-
| ColdArchiveDeletedLeaf
|
|
11603
|
-
| ColdArchiveBoundaryLeaf
|
|
11604
|
-
| ColdArchiveHashEntry;
|
|
11605
|
-
|
|
11606
|
-
toXDR(format?: 'raw'): Buffer;
|
|
11607
|
-
|
|
11608
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
11609
|
-
|
|
11610
|
-
static read(io: Buffer): ColdArchiveBucketEntry;
|
|
11611
|
-
|
|
11612
|
-
static write(value: ColdArchiveBucketEntry, io: Buffer): void;
|
|
11613
|
-
|
|
11614
|
-
static isValid(value: ColdArchiveBucketEntry): boolean;
|
|
11615
|
-
|
|
11616
|
-
static toXDR(value: ColdArchiveBucketEntry): Buffer;
|
|
11617
|
-
|
|
11618
|
-
static fromXDR(input: Buffer, format?: 'raw'): ColdArchiveBucketEntry;
|
|
11619
|
-
|
|
11620
|
-
static fromXDR(
|
|
11621
|
-
input: string,
|
|
11622
|
-
format: 'hex' | 'base64',
|
|
11623
|
-
): ColdArchiveBucketEntry;
|
|
11624
|
-
|
|
11625
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
11626
|
-
|
|
11627
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
11628
|
-
}
|
|
11629
|
-
|
|
11630
11618
|
class StellarValueExt {
|
|
11631
11619
|
switch(): StellarValueType;
|
|
11632
11620
|
|
|
@@ -12031,6 +12019,8 @@ export namespace xdr {
|
|
|
12031
12019
|
|
|
12032
12020
|
state(value?: LedgerEntry): LedgerEntry;
|
|
12033
12021
|
|
|
12022
|
+
restored(value?: LedgerEntry): LedgerEntry;
|
|
12023
|
+
|
|
12034
12024
|
static ledgerEntryCreated(value: LedgerEntry): LedgerEntryChange;
|
|
12035
12025
|
|
|
12036
12026
|
static ledgerEntryUpdated(value: LedgerEntry): LedgerEntryChange;
|
|
@@ -12039,7 +12029,9 @@ export namespace xdr {
|
|
|
12039
12029
|
|
|
12040
12030
|
static ledgerEntryState(value: LedgerEntry): LedgerEntryChange;
|
|
12041
12031
|
|
|
12042
|
-
value
|
|
12032
|
+
static ledgerEntryRestored(value: LedgerEntry): LedgerEntryChange;
|
|
12033
|
+
|
|
12034
|
+
value(): LedgerEntry | LedgerEntry | LedgerKey | LedgerEntry | LedgerEntry;
|
|
12043
12035
|
|
|
12044
12036
|
toXDR(format?: 'raw'): Buffer;
|
|
12045
12037
|
|
|
@@ -12138,6 +12130,8 @@ export namespace xdr {
|
|
|
12138
12130
|
|
|
12139
12131
|
v3(value?: TransactionMetaV3): TransactionMetaV3;
|
|
12140
12132
|
|
|
12133
|
+
v4(value?: TransactionMetaV4): TransactionMetaV4;
|
|
12134
|
+
|
|
12141
12135
|
static 0(value: OperationMeta[]): TransactionMeta;
|
|
12142
12136
|
|
|
12143
12137
|
static 1(value: TransactionMetaV1): TransactionMeta;
|
|
@@ -12146,11 +12140,14 @@ export namespace xdr {
|
|
|
12146
12140
|
|
|
12147
12141
|
static 3(value: TransactionMetaV3): TransactionMeta;
|
|
12148
12142
|
|
|
12143
|
+
static 4(value: TransactionMetaV4): TransactionMeta;
|
|
12144
|
+
|
|
12149
12145
|
value():
|
|
12150
12146
|
| OperationMeta[]
|
|
12151
12147
|
| TransactionMetaV1
|
|
12152
12148
|
| TransactionMetaV2
|
|
12153
|
-
| TransactionMetaV3
|
|
12149
|
+
| TransactionMetaV3
|
|
12150
|
+
| TransactionMetaV4;
|
|
12154
12151
|
|
|
12155
12152
|
toXDR(format?: 'raw'): Buffer;
|
|
12156
12153
|
|
|
@@ -12212,11 +12209,15 @@ export namespace xdr {
|
|
|
12212
12209
|
|
|
12213
12210
|
v1(value?: LedgerCloseMetaV1): LedgerCloseMetaV1;
|
|
12214
12211
|
|
|
12212
|
+
v2(value?: LedgerCloseMetaV2): LedgerCloseMetaV2;
|
|
12213
|
+
|
|
12215
12214
|
static 0(value: LedgerCloseMetaV0): LedgerCloseMeta;
|
|
12216
12215
|
|
|
12217
12216
|
static 1(value: LedgerCloseMetaV1): LedgerCloseMeta;
|
|
12218
12217
|
|
|
12219
|
-
value
|
|
12218
|
+
static 2(value: LedgerCloseMetaV2): LedgerCloseMeta;
|
|
12219
|
+
|
|
12220
|
+
value(): LedgerCloseMetaV0 | LedgerCloseMetaV1 | LedgerCloseMetaV2;
|
|
12220
12221
|
|
|
12221
12222
|
toXDR(format?: 'raw'): Buffer;
|
|
12222
12223
|
|
|
@@ -12276,34 +12277,15 @@ export namespace xdr {
|
|
|
12276
12277
|
class SurveyResponseBody {
|
|
12277
12278
|
switch(): SurveyMessageResponseType;
|
|
12278
12279
|
|
|
12279
|
-
topologyResponseBodyV0(
|
|
12280
|
-
value?: TopologyResponseBodyV0,
|
|
12281
|
-
): TopologyResponseBodyV0;
|
|
12282
|
-
|
|
12283
|
-
topologyResponseBodyV1(
|
|
12284
|
-
value?: TopologyResponseBodyV1,
|
|
12285
|
-
): TopologyResponseBodyV1;
|
|
12286
|
-
|
|
12287
12280
|
topologyResponseBodyV2(
|
|
12288
12281
|
value?: TopologyResponseBodyV2,
|
|
12289
12282
|
): TopologyResponseBodyV2;
|
|
12290
12283
|
|
|
12291
|
-
static surveyTopologyResponseV0(
|
|
12292
|
-
value: TopologyResponseBodyV0,
|
|
12293
|
-
): SurveyResponseBody;
|
|
12294
|
-
|
|
12295
|
-
static surveyTopologyResponseV1(
|
|
12296
|
-
value: TopologyResponseBodyV1,
|
|
12297
|
-
): SurveyResponseBody;
|
|
12298
|
-
|
|
12299
12284
|
static surveyTopologyResponseV2(
|
|
12300
12285
|
value: TopologyResponseBodyV2,
|
|
12301
12286
|
): SurveyResponseBody;
|
|
12302
12287
|
|
|
12303
|
-
value():
|
|
12304
|
-
| TopologyResponseBodyV0
|
|
12305
|
-
| TopologyResponseBodyV1
|
|
12306
|
-
| TopologyResponseBodyV2;
|
|
12288
|
+
value(): TopologyResponseBodyV2;
|
|
12307
12289
|
|
|
12308
12290
|
toXDR(format?: 'raw'): Buffer;
|
|
12309
12291
|
|
|
@@ -12349,14 +12331,6 @@ export namespace xdr {
|
|
|
12349
12331
|
|
|
12350
12332
|
transaction(value?: TransactionEnvelope): TransactionEnvelope;
|
|
12351
12333
|
|
|
12352
|
-
signedSurveyRequestMessage(
|
|
12353
|
-
value?: SignedSurveyRequestMessage,
|
|
12354
|
-
): SignedSurveyRequestMessage;
|
|
12355
|
-
|
|
12356
|
-
signedSurveyResponseMessage(
|
|
12357
|
-
value?: SignedSurveyResponseMessage,
|
|
12358
|
-
): SignedSurveyResponseMessage;
|
|
12359
|
-
|
|
12360
12334
|
signedTimeSlicedSurveyRequestMessage(
|
|
12361
12335
|
value?: SignedTimeSlicedSurveyRequestMessage,
|
|
12362
12336
|
): SignedTimeSlicedSurveyRequestMessage;
|
|
@@ -12397,8 +12371,6 @@ export namespace xdr {
|
|
|
12397
12371
|
|
|
12398
12372
|
static dontHave(value: DontHave): StellarMessage;
|
|
12399
12373
|
|
|
12400
|
-
static getPeers(): StellarMessage;
|
|
12401
|
-
|
|
12402
12374
|
static peers(value: PeerAddress[]): StellarMessage;
|
|
12403
12375
|
|
|
12404
12376
|
static getTxSet(value: Buffer): StellarMessage;
|
|
@@ -12409,10 +12381,6 @@ export namespace xdr {
|
|
|
12409
12381
|
|
|
12410
12382
|
static transaction(value: TransactionEnvelope): StellarMessage;
|
|
12411
12383
|
|
|
12412
|
-
static surveyRequest(value: SignedSurveyRequestMessage): StellarMessage;
|
|
12413
|
-
|
|
12414
|
-
static surveyResponse(value: SignedSurveyResponseMessage): StellarMessage;
|
|
12415
|
-
|
|
12416
12384
|
static timeSlicedSurveyRequest(
|
|
12417
12385
|
value: SignedTimeSlicedSurveyRequestMessage,
|
|
12418
12386
|
): StellarMessage;
|
|
@@ -12455,8 +12423,6 @@ export namespace xdr {
|
|
|
12455
12423
|
| TransactionSet
|
|
12456
12424
|
| GeneralizedTransactionSet
|
|
12457
12425
|
| TransactionEnvelope
|
|
12458
|
-
| SignedSurveyRequestMessage
|
|
12459
|
-
| SignedSurveyResponseMessage
|
|
12460
12426
|
| SignedTimeSlicedSurveyRequestMessage
|
|
12461
12427
|
| SignedTimeSlicedSurveyResponseMessage
|
|
12462
12428
|
| SignedTimeSlicedSurveyStartCollectingMessage
|
|
@@ -12468,8 +12434,7 @@ export namespace xdr {
|
|
|
12468
12434
|
| SendMore
|
|
12469
12435
|
| SendMoreExtended
|
|
12470
12436
|
| FloodAdvert
|
|
12471
|
-
| FloodDemand
|
|
12472
|
-
| void;
|
|
12437
|
+
| FloodDemand;
|
|
12473
12438
|
|
|
12474
12439
|
toXDR(format?: 'raw'): Buffer;
|
|
12475
12440
|
|
|
@@ -13164,50 +13129,16 @@ export namespace xdr {
|
|
|
13164
13129
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
13165
13130
|
}
|
|
13166
13131
|
|
|
13167
|
-
class ArchivalProofBody {
|
|
13168
|
-
switch(): ArchivalProofType;
|
|
13169
|
-
|
|
13170
|
-
nonexistenceProof(value?: NonexistenceProofBody): NonexistenceProofBody;
|
|
13171
|
-
|
|
13172
|
-
existenceProof(value?: ExistenceProofBody): ExistenceProofBody;
|
|
13173
|
-
|
|
13174
|
-
static existence(value: NonexistenceProofBody): ArchivalProofBody;
|
|
13175
|
-
|
|
13176
|
-
static nonexistence(value: ExistenceProofBody): ArchivalProofBody;
|
|
13177
|
-
|
|
13178
|
-
value(): NonexistenceProofBody | ExistenceProofBody;
|
|
13179
|
-
|
|
13180
|
-
toXDR(format?: 'raw'): Buffer;
|
|
13181
|
-
|
|
13182
|
-
toXDR(format: 'hex' | 'base64'): string;
|
|
13183
|
-
|
|
13184
|
-
static read(io: Buffer): ArchivalProofBody;
|
|
13185
|
-
|
|
13186
|
-
static write(value: ArchivalProofBody, io: Buffer): void;
|
|
13187
|
-
|
|
13188
|
-
static isValid(value: ArchivalProofBody): boolean;
|
|
13189
|
-
|
|
13190
|
-
static toXDR(value: ArchivalProofBody): Buffer;
|
|
13191
|
-
|
|
13192
|
-
static fromXDR(input: Buffer, format?: 'raw'): ArchivalProofBody;
|
|
13193
|
-
|
|
13194
|
-
static fromXDR(input: string, format: 'hex' | 'base64'): ArchivalProofBody;
|
|
13195
|
-
|
|
13196
|
-
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
13197
|
-
|
|
13198
|
-
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
13199
|
-
}
|
|
13200
|
-
|
|
13201
13132
|
class SorobanTransactionDataExt {
|
|
13202
13133
|
switch(): number;
|
|
13203
13134
|
|
|
13204
|
-
|
|
13135
|
+
resourceExt(value?: SorobanResourcesExtV0): SorobanResourcesExtV0;
|
|
13205
13136
|
|
|
13206
13137
|
static 0(): SorobanTransactionDataExt;
|
|
13207
13138
|
|
|
13208
|
-
static 1(value:
|
|
13139
|
+
static 1(value: SorobanResourcesExtV0): SorobanTransactionDataExt;
|
|
13209
13140
|
|
|
13210
|
-
value():
|
|
13141
|
+
value(): SorobanResourcesExtV0 | void;
|
|
13211
13142
|
|
|
13212
13143
|
toXDR(format?: 'raw'): Buffer;
|
|
13213
13144
|
|
|
@@ -15230,6 +15161,36 @@ export namespace xdr {
|
|
|
15230
15161
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
15231
15162
|
}
|
|
15232
15163
|
|
|
15164
|
+
class ClaimableBalanceId {
|
|
15165
|
+
switch(): ClaimableBalanceIdType;
|
|
15166
|
+
|
|
15167
|
+
v0(value?: Buffer): Buffer;
|
|
15168
|
+
|
|
15169
|
+
static claimableBalanceIdTypeV0(value: Buffer): ClaimableBalanceId;
|
|
15170
|
+
|
|
15171
|
+
value(): Buffer;
|
|
15172
|
+
|
|
15173
|
+
toXDR(format?: 'raw'): Buffer;
|
|
15174
|
+
|
|
15175
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
15176
|
+
|
|
15177
|
+
static read(io: Buffer): ClaimableBalanceId;
|
|
15178
|
+
|
|
15179
|
+
static write(value: ClaimableBalanceId, io: Buffer): void;
|
|
15180
|
+
|
|
15181
|
+
static isValid(value: ClaimableBalanceId): boolean;
|
|
15182
|
+
|
|
15183
|
+
static toXDR(value: ClaimableBalanceId): Buffer;
|
|
15184
|
+
|
|
15185
|
+
static fromXDR(input: Buffer, format?: 'raw'): ClaimableBalanceId;
|
|
15186
|
+
|
|
15187
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): ClaimableBalanceId;
|
|
15188
|
+
|
|
15189
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
15190
|
+
|
|
15191
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
15192
|
+
}
|
|
15193
|
+
|
|
15233
15194
|
class ScError {
|
|
15234
15195
|
switch(): ScErrorType;
|
|
15235
15196
|
|
|
@@ -15317,13 +15278,30 @@ export namespace xdr {
|
|
|
15317
15278
|
|
|
15318
15279
|
accountId(value?: AccountId): AccountId;
|
|
15319
15280
|
|
|
15320
|
-
contractId(value?:
|
|
15281
|
+
contractId(value?: ContractId): ContractId;
|
|
15282
|
+
|
|
15283
|
+
muxedAccount(value?: MuxedEd25519Account): MuxedEd25519Account;
|
|
15284
|
+
|
|
15285
|
+
claimableBalanceId(value?: ClaimableBalanceId): ClaimableBalanceId;
|
|
15286
|
+
|
|
15287
|
+
liquidityPoolId(value?: PoolId): PoolId;
|
|
15321
15288
|
|
|
15322
15289
|
static scAddressTypeAccount(value: AccountId): ScAddress;
|
|
15323
15290
|
|
|
15324
|
-
static scAddressTypeContract(value:
|
|
15291
|
+
static scAddressTypeContract(value: ContractId): ScAddress;
|
|
15292
|
+
|
|
15293
|
+
static scAddressTypeMuxedAccount(value: MuxedEd25519Account): ScAddress;
|
|
15294
|
+
|
|
15295
|
+
static scAddressTypeClaimableBalance(value: ClaimableBalanceId): ScAddress;
|
|
15296
|
+
|
|
15297
|
+
static scAddressTypeLiquidityPool(value: PoolId): ScAddress;
|
|
15325
15298
|
|
|
15326
|
-
value():
|
|
15299
|
+
value():
|
|
15300
|
+
| AccountId
|
|
15301
|
+
| ContractId
|
|
15302
|
+
| MuxedEd25519Account
|
|
15303
|
+
| ClaimableBalanceId
|
|
15304
|
+
| PoolId;
|
|
15327
15305
|
|
|
15328
15306
|
toXDR(format?: 'raw'): Buffer;
|
|
15329
15307
|
|
|
@@ -15385,10 +15363,10 @@ export namespace xdr {
|
|
|
15385
15363
|
|
|
15386
15364
|
address(value?: ScAddress): ScAddress;
|
|
15387
15365
|
|
|
15388
|
-
nonceKey(value?: ScNonceKey): ScNonceKey;
|
|
15389
|
-
|
|
15390
15366
|
instance(value?: ScContractInstance): ScContractInstance;
|
|
15391
15367
|
|
|
15368
|
+
nonceKey(value?: ScNonceKey): ScNonceKey;
|
|
15369
|
+
|
|
15392
15370
|
static scvBool(value: boolean): ScVal;
|
|
15393
15371
|
|
|
15394
15372
|
static scvVoid(): ScVal;
|
|
@@ -15427,12 +15405,12 @@ export namespace xdr {
|
|
|
15427
15405
|
|
|
15428
15406
|
static scvAddress(value: ScAddress): ScVal;
|
|
15429
15407
|
|
|
15408
|
+
static scvContractInstance(value: ScContractInstance): ScVal;
|
|
15409
|
+
|
|
15430
15410
|
static scvLedgerKeyContractInstance(): ScVal;
|
|
15431
15411
|
|
|
15432
15412
|
static scvLedgerKeyNonce(value: ScNonceKey): ScVal;
|
|
15433
15413
|
|
|
15434
|
-
static scvContractInstance(value: ScContractInstance): ScVal;
|
|
15435
|
-
|
|
15436
15414
|
value():
|
|
15437
15415
|
| boolean
|
|
15438
15416
|
| ScError
|
|
@@ -15456,8 +15434,8 @@ export namespace xdr {
|
|
|
15456
15434
|
| null
|
|
15457
15435
|
| ScMapEntry[]
|
|
15458
15436
|
| ScAddress
|
|
15459
|
-
| ScNonceKey
|
|
15460
15437
|
| ScContractInstance
|
|
15438
|
+
| ScNonceKey
|
|
15461
15439
|
| void;
|
|
15462
15440
|
|
|
15463
15441
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -15598,6 +15576,8 @@ export namespace xdr {
|
|
|
15598
15576
|
|
|
15599
15577
|
static scSpecTypeAddress(): ScSpecTypeDef;
|
|
15600
15578
|
|
|
15579
|
+
static scSpecTypeMuxedAddress(): ScSpecTypeDef;
|
|
15580
|
+
|
|
15601
15581
|
static scSpecTypeOption(value: ScSpecTypeOption): ScSpecTypeDef;
|
|
15602
15582
|
|
|
15603
15583
|
static scSpecTypeResult(value: ScSpecTypeResult): ScSpecTypeDef;
|
|
@@ -15697,6 +15677,8 @@ export namespace xdr {
|
|
|
15697
15677
|
|
|
15698
15678
|
udtErrorEnumV0(value?: ScSpecUdtErrorEnumV0): ScSpecUdtErrorEnumV0;
|
|
15699
15679
|
|
|
15680
|
+
eventV0(value?: ScSpecEventV0): ScSpecEventV0;
|
|
15681
|
+
|
|
15700
15682
|
static scSpecEntryFunctionV0(value: ScSpecFunctionV0): ScSpecEntry;
|
|
15701
15683
|
|
|
15702
15684
|
static scSpecEntryUdtStructV0(value: ScSpecUdtStructV0): ScSpecEntry;
|
|
@@ -15707,12 +15689,15 @@ export namespace xdr {
|
|
|
15707
15689
|
|
|
15708
15690
|
static scSpecEntryUdtErrorEnumV0(value: ScSpecUdtErrorEnumV0): ScSpecEntry;
|
|
15709
15691
|
|
|
15692
|
+
static scSpecEntryEventV0(value: ScSpecEventV0): ScSpecEntry;
|
|
15693
|
+
|
|
15710
15694
|
value():
|
|
15711
15695
|
| ScSpecFunctionV0
|
|
15712
15696
|
| ScSpecUdtStructV0
|
|
15713
15697
|
| ScSpecUdtUnionV0
|
|
15714
15698
|
| ScSpecUdtEnumV0
|
|
15715
|
-
| ScSpecUdtErrorEnumV0
|
|
15699
|
+
| ScSpecUdtErrorEnumV0
|
|
15700
|
+
| ScSpecEventV0;
|
|
15716
15701
|
|
|
15717
15702
|
toXDR(format?: 'raw'): Buffer;
|
|
15718
15703
|
|
|
@@ -15778,7 +15763,7 @@ export namespace xdr {
|
|
|
15778
15763
|
value?: ConfigSettingContractExecutionLanesV0,
|
|
15779
15764
|
): ConfigSettingContractExecutionLanesV0;
|
|
15780
15765
|
|
|
15781
|
-
|
|
15766
|
+
liveSorobanStateSizeWindow(value?: Uint64[]): Uint64[];
|
|
15782
15767
|
|
|
15783
15768
|
evictionIterator(value?: EvictionIterator): EvictionIterator;
|
|
15784
15769
|
|
|
@@ -15786,6 +15771,12 @@ export namespace xdr {
|
|
|
15786
15771
|
value?: ConfigSettingContractParallelComputeV0,
|
|
15787
15772
|
): ConfigSettingContractParallelComputeV0;
|
|
15788
15773
|
|
|
15774
|
+
contractLedgerCostExt(
|
|
15775
|
+
value?: ConfigSettingContractLedgerCostExtV0,
|
|
15776
|
+
): ConfigSettingContractLedgerCostExtV0;
|
|
15777
|
+
|
|
15778
|
+
contractScpTiming(value?: ConfigSettingScpTiming): ConfigSettingScpTiming;
|
|
15779
|
+
|
|
15789
15780
|
static configSettingContractMaxSizeBytes(value: number): ConfigSettingEntry;
|
|
15790
15781
|
|
|
15791
15782
|
static configSettingContractComputeV0(
|
|
@@ -15832,7 +15823,7 @@ export namespace xdr {
|
|
|
15832
15823
|
value: ConfigSettingContractExecutionLanesV0,
|
|
15833
15824
|
): ConfigSettingEntry;
|
|
15834
15825
|
|
|
15835
|
-
static
|
|
15826
|
+
static configSettingLiveSorobanStateSizeWindow(
|
|
15836
15827
|
value: Uint64[],
|
|
15837
15828
|
): ConfigSettingEntry;
|
|
15838
15829
|
|
|
@@ -15844,6 +15835,14 @@ export namespace xdr {
|
|
|
15844
15835
|
value: ConfigSettingContractParallelComputeV0,
|
|
15845
15836
|
): ConfigSettingEntry;
|
|
15846
15837
|
|
|
15838
|
+
static configSettingContractLedgerCostExtV0(
|
|
15839
|
+
value: ConfigSettingContractLedgerCostExtV0,
|
|
15840
|
+
): ConfigSettingEntry;
|
|
15841
|
+
|
|
15842
|
+
static configSettingScpTiming(
|
|
15843
|
+
value: ConfigSettingScpTiming,
|
|
15844
|
+
): ConfigSettingEntry;
|
|
15845
|
+
|
|
15847
15846
|
value():
|
|
15848
15847
|
| number
|
|
15849
15848
|
| ConfigSettingContractComputeV0
|
|
@@ -15859,7 +15858,9 @@ export namespace xdr {
|
|
|
15859
15858
|
| ConfigSettingContractExecutionLanesV0
|
|
15860
15859
|
| Uint64[]
|
|
15861
15860
|
| EvictionIterator
|
|
15862
|
-
| ConfigSettingContractParallelComputeV0
|
|
15861
|
+
| ConfigSettingContractParallelComputeV0
|
|
15862
|
+
| ConfigSettingContractLedgerCostExtV0
|
|
15863
|
+
| ConfigSettingScpTiming;
|
|
15863
15864
|
|
|
15864
15865
|
toXDR(format?: 'raw'): Buffer;
|
|
15865
15866
|
|