@stellar/stellar-base 14.0.4 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -15
- package/dist/stellar-base.js +2041 -1884
- package/dist/stellar-base.min.js +1 -1
- package/lib/auth.js +2 -4
- package/lib/transaction_builder.js +161 -3
- package/package.json +1 -1
- package/types/curr.d.ts +121 -146
- package/types/index.d.ts +24 -0
- package/types/next.d.ts +121 -145
- package/CHANGELOG.md +0 -1497
package/types/curr.d.ts
CHANGED
|
@@ -90,7 +90,6 @@ export namespace xdr {
|
|
|
90
90
|
validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
91
91
|
validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
93
|
class Hyper {
|
|
95
94
|
low: number;
|
|
96
95
|
|
|
@@ -10702,7 +10701,7 @@ export namespace xdr {
|
|
|
10702
10701
|
|
|
10703
10702
|
static assetTypeCreditAlphanum12(value: Buffer): AssetCode;
|
|
10704
10703
|
|
|
10705
|
-
value(): Buffer
|
|
10704
|
+
value(): Buffer;
|
|
10706
10705
|
|
|
10707
10706
|
toXDR(format?: 'raw'): Buffer;
|
|
10708
10707
|
|
|
@@ -10762,13 +10761,13 @@ export namespace xdr {
|
|
|
10762
10761
|
}
|
|
10763
10762
|
|
|
10764
10763
|
class AccountEntryExtensionV2Ext {
|
|
10765
|
-
|
|
10764
|
+
constructor(switchValue: 0);
|
|
10766
10765
|
|
|
10767
|
-
|
|
10766
|
+
constructor(switchValue: 3, value: AccountEntryExtensionV3);
|
|
10768
10767
|
|
|
10769
|
-
|
|
10768
|
+
switch(): number;
|
|
10770
10769
|
|
|
10771
|
-
|
|
10770
|
+
v3(value?: AccountEntryExtensionV3): AccountEntryExtensionV3;
|
|
10772
10771
|
|
|
10773
10772
|
value(): AccountEntryExtensionV3 | void;
|
|
10774
10773
|
|
|
@@ -10797,13 +10796,13 @@ export namespace xdr {
|
|
|
10797
10796
|
}
|
|
10798
10797
|
|
|
10799
10798
|
class AccountEntryExtensionV1Ext {
|
|
10800
|
-
|
|
10799
|
+
constructor(switchValue: 0);
|
|
10801
10800
|
|
|
10802
|
-
|
|
10801
|
+
constructor(switchValue: 2, value: AccountEntryExtensionV2);
|
|
10803
10802
|
|
|
10804
|
-
|
|
10803
|
+
switch(): number;
|
|
10805
10804
|
|
|
10806
|
-
|
|
10805
|
+
v2(value?: AccountEntryExtensionV2): AccountEntryExtensionV2;
|
|
10807
10806
|
|
|
10808
10807
|
value(): AccountEntryExtensionV2 | void;
|
|
10809
10808
|
|
|
@@ -10832,13 +10831,13 @@ export namespace xdr {
|
|
|
10832
10831
|
}
|
|
10833
10832
|
|
|
10834
10833
|
class AccountEntryExt {
|
|
10835
|
-
|
|
10834
|
+
constructor(switchValue: 0);
|
|
10836
10835
|
|
|
10837
|
-
|
|
10836
|
+
constructor(switchValue: 1, value: AccountEntryExtensionV1);
|
|
10838
10837
|
|
|
10839
|
-
|
|
10838
|
+
switch(): number;
|
|
10840
10839
|
|
|
10841
|
-
|
|
10840
|
+
v1(value?: AccountEntryExtensionV1): AccountEntryExtensionV1;
|
|
10842
10841
|
|
|
10843
10842
|
value(): AccountEntryExtensionV1 | void;
|
|
10844
10843
|
|
|
@@ -10904,9 +10903,9 @@ export namespace xdr {
|
|
|
10904
10903
|
}
|
|
10905
10904
|
|
|
10906
10905
|
class TrustLineEntryExtensionV2Ext {
|
|
10907
|
-
|
|
10906
|
+
constructor(switchValue: 0);
|
|
10908
10907
|
|
|
10909
|
-
|
|
10908
|
+
switch(): number;
|
|
10910
10909
|
|
|
10911
10910
|
value(): void;
|
|
10912
10911
|
|
|
@@ -10935,13 +10934,13 @@ export namespace xdr {
|
|
|
10935
10934
|
}
|
|
10936
10935
|
|
|
10937
10936
|
class TrustLineEntryV1Ext {
|
|
10938
|
-
|
|
10937
|
+
constructor(switchValue: 0);
|
|
10939
10938
|
|
|
10940
|
-
|
|
10939
|
+
constructor(switchValue: 2, value: TrustLineEntryExtensionV2);
|
|
10941
10940
|
|
|
10942
|
-
|
|
10941
|
+
switch(): number;
|
|
10943
10942
|
|
|
10944
|
-
|
|
10943
|
+
v2(value?: TrustLineEntryExtensionV2): TrustLineEntryExtensionV2;
|
|
10945
10944
|
|
|
10946
10945
|
value(): TrustLineEntryExtensionV2 | void;
|
|
10947
10946
|
|
|
@@ -10970,13 +10969,13 @@ export namespace xdr {
|
|
|
10970
10969
|
}
|
|
10971
10970
|
|
|
10972
10971
|
class TrustLineEntryExt {
|
|
10973
|
-
|
|
10972
|
+
constructor(switchValue: 0);
|
|
10974
10973
|
|
|
10975
|
-
|
|
10974
|
+
constructor(switchValue: 1, value: TrustLineEntryV1);
|
|
10976
10975
|
|
|
10977
|
-
|
|
10976
|
+
switch(): number;
|
|
10978
10977
|
|
|
10979
|
-
|
|
10978
|
+
v1(value?: TrustLineEntryV1): TrustLineEntryV1;
|
|
10980
10979
|
|
|
10981
10980
|
value(): TrustLineEntryV1 | void;
|
|
10982
10981
|
|
|
@@ -11002,9 +11001,9 @@ export namespace xdr {
|
|
|
11002
11001
|
}
|
|
11003
11002
|
|
|
11004
11003
|
class OfferEntryExt {
|
|
11005
|
-
|
|
11004
|
+
constructor(switchValue: 0);
|
|
11006
11005
|
|
|
11007
|
-
|
|
11006
|
+
switch(): number;
|
|
11008
11007
|
|
|
11009
11008
|
value(): void;
|
|
11010
11009
|
|
|
@@ -11030,9 +11029,9 @@ export namespace xdr {
|
|
|
11030
11029
|
}
|
|
11031
11030
|
|
|
11032
11031
|
class DataEntryExt {
|
|
11033
|
-
|
|
11032
|
+
constructor(switchValue: 0);
|
|
11034
11033
|
|
|
11035
|
-
|
|
11034
|
+
switch(): number;
|
|
11036
11035
|
|
|
11037
11036
|
value(): void;
|
|
11038
11037
|
|
|
@@ -11082,14 +11081,7 @@ export namespace xdr {
|
|
|
11082
11081
|
|
|
11083
11082
|
static claimPredicateBeforeRelativeTime(value: Int64): ClaimPredicate;
|
|
11084
11083
|
|
|
11085
|
-
value():
|
|
11086
|
-
| ClaimPredicate[]
|
|
11087
|
-
| ClaimPredicate[]
|
|
11088
|
-
| null
|
|
11089
|
-
| ClaimPredicate
|
|
11090
|
-
| Int64
|
|
11091
|
-
| Int64
|
|
11092
|
-
| void;
|
|
11084
|
+
value(): ClaimPredicate[] | null | ClaimPredicate | Int64 | void;
|
|
11093
11085
|
|
|
11094
11086
|
toXDR(format?: 'raw'): Buffer;
|
|
11095
11087
|
|
|
@@ -11143,9 +11135,9 @@ export namespace xdr {
|
|
|
11143
11135
|
}
|
|
11144
11136
|
|
|
11145
11137
|
class ClaimableBalanceEntryExtensionV1Ext {
|
|
11146
|
-
|
|
11138
|
+
constructor(switchValue: 0);
|
|
11147
11139
|
|
|
11148
|
-
|
|
11140
|
+
switch(): number;
|
|
11149
11141
|
|
|
11150
11142
|
value(): void;
|
|
11151
11143
|
|
|
@@ -11177,16 +11169,16 @@ export namespace xdr {
|
|
|
11177
11169
|
}
|
|
11178
11170
|
|
|
11179
11171
|
class ClaimableBalanceEntryExt {
|
|
11172
|
+
constructor(switchValue: 0);
|
|
11173
|
+
|
|
11174
|
+
constructor(switchValue: 1, value: ClaimableBalanceEntryExtensionV1);
|
|
11175
|
+
|
|
11180
11176
|
switch(): number;
|
|
11181
11177
|
|
|
11182
11178
|
v1(
|
|
11183
11179
|
value?: ClaimableBalanceEntryExtensionV1,
|
|
11184
11180
|
): ClaimableBalanceEntryExtensionV1;
|
|
11185
11181
|
|
|
11186
|
-
static 0(): ClaimableBalanceEntryExt;
|
|
11187
|
-
|
|
11188
|
-
static 1(value: ClaimableBalanceEntryExtensionV1): ClaimableBalanceEntryExt;
|
|
11189
|
-
|
|
11190
11182
|
value(): ClaimableBalanceEntryExtensionV1 | void;
|
|
11191
11183
|
|
|
11192
11184
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -11251,13 +11243,13 @@ export namespace xdr {
|
|
|
11251
11243
|
}
|
|
11252
11244
|
|
|
11253
11245
|
class ContractCodeEntryExt {
|
|
11254
|
-
|
|
11246
|
+
constructor(switchValue: 0);
|
|
11255
11247
|
|
|
11256
|
-
|
|
11248
|
+
constructor(switchValue: 1, value: ContractCodeEntryV1);
|
|
11257
11249
|
|
|
11258
|
-
|
|
11250
|
+
switch(): number;
|
|
11259
11251
|
|
|
11260
|
-
|
|
11252
|
+
v1(value?: ContractCodeEntryV1): ContractCodeEntryV1;
|
|
11261
11253
|
|
|
11262
11254
|
value(): ContractCodeEntryV1 | void;
|
|
11263
11255
|
|
|
@@ -11286,9 +11278,9 @@ export namespace xdr {
|
|
|
11286
11278
|
}
|
|
11287
11279
|
|
|
11288
11280
|
class LedgerEntryExtensionV1Ext {
|
|
11289
|
-
|
|
11281
|
+
constructor(switchValue: 0);
|
|
11290
11282
|
|
|
11291
|
-
|
|
11283
|
+
switch(): number;
|
|
11292
11284
|
|
|
11293
11285
|
value(): void;
|
|
11294
11286
|
|
|
@@ -11393,13 +11385,13 @@ export namespace xdr {
|
|
|
11393
11385
|
}
|
|
11394
11386
|
|
|
11395
11387
|
class LedgerEntryExt {
|
|
11396
|
-
|
|
11388
|
+
constructor(switchValue: 0);
|
|
11397
11389
|
|
|
11398
|
-
|
|
11390
|
+
constructor(switchValue: 1, value: LedgerEntryExtensionV1);
|
|
11399
11391
|
|
|
11400
|
-
|
|
11392
|
+
switch(): number;
|
|
11401
11393
|
|
|
11402
|
-
|
|
11394
|
+
v1(value?: LedgerEntryExtensionV1): LedgerEntryExtensionV1;
|
|
11403
11395
|
|
|
11404
11396
|
value(): LedgerEntryExtensionV1 | void;
|
|
11405
11397
|
|
|
@@ -11503,13 +11495,13 @@ export namespace xdr {
|
|
|
11503
11495
|
}
|
|
11504
11496
|
|
|
11505
11497
|
class BucketMetadataExt {
|
|
11506
|
-
|
|
11498
|
+
constructor(switchValue: 0);
|
|
11507
11499
|
|
|
11508
|
-
|
|
11500
|
+
constructor(switchValue: 1, value: BucketListType);
|
|
11509
11501
|
|
|
11510
|
-
|
|
11502
|
+
switch(): number;
|
|
11511
11503
|
|
|
11512
|
-
|
|
11504
|
+
bucketListType(value?: BucketListType): BucketListType;
|
|
11513
11505
|
|
|
11514
11506
|
value(): BucketListType | void;
|
|
11515
11507
|
|
|
@@ -11652,9 +11644,9 @@ export namespace xdr {
|
|
|
11652
11644
|
}
|
|
11653
11645
|
|
|
11654
11646
|
class LedgerHeaderExtensionV1Ext {
|
|
11655
|
-
|
|
11647
|
+
constructor(switchValue: 0);
|
|
11656
11648
|
|
|
11657
|
-
|
|
11649
|
+
switch(): number;
|
|
11658
11650
|
|
|
11659
11651
|
value(): void;
|
|
11660
11652
|
|
|
@@ -11683,13 +11675,13 @@ export namespace xdr {
|
|
|
11683
11675
|
}
|
|
11684
11676
|
|
|
11685
11677
|
class LedgerHeaderExt {
|
|
11686
|
-
|
|
11678
|
+
constructor(switchValue: 0);
|
|
11687
11679
|
|
|
11688
|
-
|
|
11680
|
+
constructor(switchValue: 1, value: LedgerHeaderExtensionV1);
|
|
11689
11681
|
|
|
11690
|
-
|
|
11682
|
+
switch(): number;
|
|
11691
11683
|
|
|
11692
|
-
|
|
11684
|
+
v1(value?: LedgerHeaderExtensionV1): LedgerHeaderExtensionV1;
|
|
11693
11685
|
|
|
11694
11686
|
value(): LedgerHeaderExtensionV1 | void;
|
|
11695
11687
|
|
|
@@ -11745,14 +11737,7 @@ export namespace xdr {
|
|
|
11745
11737
|
|
|
11746
11738
|
static ledgerUpgradeMaxSorobanTxSetSize(value: number): LedgerUpgrade;
|
|
11747
11739
|
|
|
11748
|
-
value():
|
|
11749
|
-
| number
|
|
11750
|
-
| number
|
|
11751
|
-
| number
|
|
11752
|
-
| number
|
|
11753
|
-
| number
|
|
11754
|
-
| ConfigUpgradeSetKey
|
|
11755
|
-
| number;
|
|
11740
|
+
value(): number | ConfigUpgradeSetKey;
|
|
11756
11741
|
|
|
11757
11742
|
toXDR(format?: 'raw'): Buffer;
|
|
11758
11743
|
|
|
@@ -11810,16 +11795,16 @@ export namespace xdr {
|
|
|
11810
11795
|
}
|
|
11811
11796
|
|
|
11812
11797
|
class TransactionPhase {
|
|
11798
|
+
constructor(switchValue: 0, value: TxSetComponent[]);
|
|
11799
|
+
|
|
11800
|
+
constructor(switchValue: 1, value: ParallelTxsComponent);
|
|
11801
|
+
|
|
11813
11802
|
switch(): number;
|
|
11814
11803
|
|
|
11815
11804
|
v0Components(value?: TxSetComponent[]): TxSetComponent[];
|
|
11816
11805
|
|
|
11817
11806
|
parallelTxsComponent(value?: ParallelTxsComponent): ParallelTxsComponent;
|
|
11818
11807
|
|
|
11819
|
-
static 0(value: TxSetComponent[]): TransactionPhase;
|
|
11820
|
-
|
|
11821
|
-
static 1(value: ParallelTxsComponent): TransactionPhase;
|
|
11822
|
-
|
|
11823
11808
|
value(): TxSetComponent[] | ParallelTxsComponent;
|
|
11824
11809
|
|
|
11825
11810
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -11844,12 +11829,12 @@ export namespace xdr {
|
|
|
11844
11829
|
}
|
|
11845
11830
|
|
|
11846
11831
|
class GeneralizedTransactionSet {
|
|
11832
|
+
constructor(switchValue: 1, value: TransactionSetV1);
|
|
11833
|
+
|
|
11847
11834
|
switch(): number;
|
|
11848
11835
|
|
|
11849
11836
|
v1TxSet(value?: TransactionSetV1): TransactionSetV1;
|
|
11850
11837
|
|
|
11851
|
-
static 1(value: TransactionSetV1): GeneralizedTransactionSet;
|
|
11852
|
-
|
|
11853
11838
|
value(): TransactionSetV1;
|
|
11854
11839
|
|
|
11855
11840
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -11877,16 +11862,16 @@ export namespace xdr {
|
|
|
11877
11862
|
}
|
|
11878
11863
|
|
|
11879
11864
|
class TransactionHistoryEntryExt {
|
|
11865
|
+
constructor(switchValue: 0);
|
|
11866
|
+
|
|
11867
|
+
constructor(switchValue: 1, value: GeneralizedTransactionSet);
|
|
11868
|
+
|
|
11880
11869
|
switch(): number;
|
|
11881
11870
|
|
|
11882
11871
|
generalizedTxSet(
|
|
11883
11872
|
value?: GeneralizedTransactionSet,
|
|
11884
11873
|
): GeneralizedTransactionSet;
|
|
11885
11874
|
|
|
11886
|
-
static 0(): TransactionHistoryEntryExt;
|
|
11887
|
-
|
|
11888
|
-
static 1(value: GeneralizedTransactionSet): TransactionHistoryEntryExt;
|
|
11889
|
-
|
|
11890
11875
|
value(): GeneralizedTransactionSet | void;
|
|
11891
11876
|
|
|
11892
11877
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -11914,9 +11899,9 @@ export namespace xdr {
|
|
|
11914
11899
|
}
|
|
11915
11900
|
|
|
11916
11901
|
class TransactionHistoryResultEntryExt {
|
|
11917
|
-
|
|
11902
|
+
constructor(switchValue: 0);
|
|
11918
11903
|
|
|
11919
|
-
|
|
11904
|
+
switch(): number;
|
|
11920
11905
|
|
|
11921
11906
|
value(): void;
|
|
11922
11907
|
|
|
@@ -11948,9 +11933,9 @@ export namespace xdr {
|
|
|
11948
11933
|
}
|
|
11949
11934
|
|
|
11950
11935
|
class LedgerHeaderHistoryEntryExt {
|
|
11951
|
-
|
|
11936
|
+
constructor(switchValue: 0);
|
|
11952
11937
|
|
|
11953
|
-
|
|
11938
|
+
switch(): number;
|
|
11954
11939
|
|
|
11955
11940
|
value(): void;
|
|
11956
11941
|
|
|
@@ -11979,12 +11964,12 @@ export namespace xdr {
|
|
|
11979
11964
|
}
|
|
11980
11965
|
|
|
11981
11966
|
class ScpHistoryEntry {
|
|
11967
|
+
constructor(switchValue: 0, value: ScpHistoryEntryV0);
|
|
11968
|
+
|
|
11982
11969
|
switch(): number;
|
|
11983
11970
|
|
|
11984
11971
|
v0(value?: ScpHistoryEntryV0): ScpHistoryEntryV0;
|
|
11985
11972
|
|
|
11986
|
-
static 0(value: ScpHistoryEntryV0): ScpHistoryEntry;
|
|
11987
|
-
|
|
11988
11973
|
value(): ScpHistoryEntryV0;
|
|
11989
11974
|
|
|
11990
11975
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -12031,7 +12016,7 @@ export namespace xdr {
|
|
|
12031
12016
|
|
|
12032
12017
|
static ledgerEntryRestored(value: LedgerEntry): LedgerEntryChange;
|
|
12033
12018
|
|
|
12034
|
-
value(): LedgerEntry |
|
|
12019
|
+
value(): LedgerEntry | LedgerKey;
|
|
12035
12020
|
|
|
12036
12021
|
toXDR(format?: 'raw'): Buffer;
|
|
12037
12022
|
|
|
@@ -12055,12 +12040,12 @@ export namespace xdr {
|
|
|
12055
12040
|
}
|
|
12056
12041
|
|
|
12057
12042
|
class ContractEventBody {
|
|
12043
|
+
constructor(switchValue: 0, value: ContractEventV0);
|
|
12044
|
+
|
|
12058
12045
|
switch(): number;
|
|
12059
12046
|
|
|
12060
12047
|
v0(value?: ContractEventV0): ContractEventV0;
|
|
12061
12048
|
|
|
12062
|
-
static 0(value: ContractEventV0): ContractEventBody;
|
|
12063
|
-
|
|
12064
12049
|
value(): ContractEventV0;
|
|
12065
12050
|
|
|
12066
12051
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -12085,13 +12070,13 @@ export namespace xdr {
|
|
|
12085
12070
|
}
|
|
12086
12071
|
|
|
12087
12072
|
class SorobanTransactionMetaExt {
|
|
12088
|
-
|
|
12073
|
+
constructor(switchValue: 0);
|
|
12089
12074
|
|
|
12090
|
-
|
|
12075
|
+
constructor(switchValue: 1, value: SorobanTransactionMetaExtV1);
|
|
12091
12076
|
|
|
12092
|
-
|
|
12077
|
+
switch(): number;
|
|
12093
12078
|
|
|
12094
|
-
|
|
12079
|
+
v1(value?: SorobanTransactionMetaExtV1): SorobanTransactionMetaExtV1;
|
|
12095
12080
|
|
|
12096
12081
|
value(): SorobanTransactionMetaExtV1 | void;
|
|
12097
12082
|
|
|
@@ -12120,6 +12105,16 @@ export namespace xdr {
|
|
|
12120
12105
|
}
|
|
12121
12106
|
|
|
12122
12107
|
class TransactionMeta {
|
|
12108
|
+
constructor(switchValue: 0, value: OperationMeta[]);
|
|
12109
|
+
|
|
12110
|
+
constructor(switchValue: 1, value: TransactionMetaV1);
|
|
12111
|
+
|
|
12112
|
+
constructor(switchValue: 2, value: TransactionMetaV2);
|
|
12113
|
+
|
|
12114
|
+
constructor(switchValue: 3, value: TransactionMetaV3);
|
|
12115
|
+
|
|
12116
|
+
constructor(switchValue: 4, value: TransactionMetaV4);
|
|
12117
|
+
|
|
12123
12118
|
switch(): number;
|
|
12124
12119
|
|
|
12125
12120
|
operations(value?: OperationMeta[]): OperationMeta[];
|
|
@@ -12132,16 +12127,6 @@ export namespace xdr {
|
|
|
12132
12127
|
|
|
12133
12128
|
v4(value?: TransactionMetaV4): TransactionMetaV4;
|
|
12134
12129
|
|
|
12135
|
-
static 0(value: OperationMeta[]): TransactionMeta;
|
|
12136
|
-
|
|
12137
|
-
static 1(value: TransactionMetaV1): TransactionMeta;
|
|
12138
|
-
|
|
12139
|
-
static 2(value: TransactionMetaV2): TransactionMeta;
|
|
12140
|
-
|
|
12141
|
-
static 3(value: TransactionMetaV3): TransactionMeta;
|
|
12142
|
-
|
|
12143
|
-
static 4(value: TransactionMetaV4): TransactionMeta;
|
|
12144
|
-
|
|
12145
12130
|
value():
|
|
12146
12131
|
| OperationMeta[]
|
|
12147
12132
|
| TransactionMetaV1
|
|
@@ -12171,13 +12156,13 @@ export namespace xdr {
|
|
|
12171
12156
|
}
|
|
12172
12157
|
|
|
12173
12158
|
class LedgerCloseMetaExt {
|
|
12174
|
-
|
|
12159
|
+
constructor(switchValue: 0);
|
|
12175
12160
|
|
|
12176
|
-
|
|
12161
|
+
constructor(switchValue: 1, value: LedgerCloseMetaExtV1);
|
|
12177
12162
|
|
|
12178
|
-
|
|
12163
|
+
switch(): number;
|
|
12179
12164
|
|
|
12180
|
-
|
|
12165
|
+
v1(value?: LedgerCloseMetaExtV1): LedgerCloseMetaExtV1;
|
|
12181
12166
|
|
|
12182
12167
|
value(): LedgerCloseMetaExtV1 | void;
|
|
12183
12168
|
|
|
@@ -12203,6 +12188,12 @@ export namespace xdr {
|
|
|
12203
12188
|
}
|
|
12204
12189
|
|
|
12205
12190
|
class LedgerCloseMeta {
|
|
12191
|
+
constructor(switchValue: 0, value: LedgerCloseMetaV0);
|
|
12192
|
+
|
|
12193
|
+
constructor(switchValue: 1, value: LedgerCloseMetaV1);
|
|
12194
|
+
|
|
12195
|
+
constructor(switchValue: 2, value: LedgerCloseMetaV2);
|
|
12196
|
+
|
|
12206
12197
|
switch(): number;
|
|
12207
12198
|
|
|
12208
12199
|
v0(value?: LedgerCloseMetaV0): LedgerCloseMetaV0;
|
|
@@ -12211,12 +12202,6 @@ export namespace xdr {
|
|
|
12211
12202
|
|
|
12212
12203
|
v2(value?: LedgerCloseMetaV2): LedgerCloseMetaV2;
|
|
12213
12204
|
|
|
12214
|
-
static 0(value: LedgerCloseMetaV0): LedgerCloseMeta;
|
|
12215
|
-
|
|
12216
|
-
static 1(value: LedgerCloseMetaV1): LedgerCloseMeta;
|
|
12217
|
-
|
|
12218
|
-
static 2(value: LedgerCloseMetaV2): LedgerCloseMeta;
|
|
12219
|
-
|
|
12220
12205
|
value(): LedgerCloseMetaV0 | LedgerCloseMetaV1 | LedgerCloseMetaV2;
|
|
12221
12206
|
|
|
12222
12207
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -12251,7 +12236,7 @@ export namespace xdr {
|
|
|
12251
12236
|
|
|
12252
12237
|
static iPv6(value: Buffer): PeerAddressIp;
|
|
12253
12238
|
|
|
12254
|
-
value(): Buffer
|
|
12239
|
+
value(): Buffer;
|
|
12255
12240
|
|
|
12256
12241
|
toXDR(format?: 'raw'): Buffer;
|
|
12257
12242
|
|
|
@@ -12427,7 +12412,6 @@ export namespace xdr {
|
|
|
12427
12412
|
| SignedTimeSlicedSurveyResponseMessage
|
|
12428
12413
|
| SignedTimeSlicedSurveyStartCollectingMessage
|
|
12429
12414
|
| SignedTimeSlicedSurveyStopCollectingMessage
|
|
12430
|
-
| Buffer
|
|
12431
12415
|
| ScpQuorumSet
|
|
12432
12416
|
| ScpEnvelope
|
|
12433
12417
|
| number
|
|
@@ -12458,12 +12442,12 @@ export namespace xdr {
|
|
|
12458
12442
|
}
|
|
12459
12443
|
|
|
12460
12444
|
class AuthenticatedMessage {
|
|
12445
|
+
constructor(switchValue: 0, value: AuthenticatedMessageV0);
|
|
12446
|
+
|
|
12461
12447
|
switch(): number;
|
|
12462
12448
|
|
|
12463
12449
|
v0(value?: AuthenticatedMessageV0): AuthenticatedMessageV0;
|
|
12464
12450
|
|
|
12465
|
-
static 0(value: AuthenticatedMessageV0): AuthenticatedMessage;
|
|
12466
|
-
|
|
12467
12451
|
value(): AuthenticatedMessageV0;
|
|
12468
12452
|
|
|
12469
12453
|
toXDR(format?: 'raw'): Buffer;
|
|
@@ -13070,7 +13054,7 @@ export namespace xdr {
|
|
|
13070
13054
|
|
|
13071
13055
|
static memoReturn(value: Buffer): Memo;
|
|
13072
13056
|
|
|
13073
|
-
value(): string | Buffer | Uint64 |
|
|
13057
|
+
value(): string | Buffer | Uint64 | void;
|
|
13074
13058
|
|
|
13075
13059
|
toXDR(format?: 'raw'): Buffer;
|
|
13076
13060
|
|
|
@@ -13130,13 +13114,13 @@ export namespace xdr {
|
|
|
13130
13114
|
}
|
|
13131
13115
|
|
|
13132
13116
|
class SorobanTransactionDataExt {
|
|
13133
|
-
|
|
13117
|
+
constructor(switchValue: 0);
|
|
13134
13118
|
|
|
13135
|
-
|
|
13119
|
+
constructor(switchValue: 1, value: SorobanResourcesExtV0);
|
|
13136
13120
|
|
|
13137
|
-
|
|
13121
|
+
switch(): number;
|
|
13138
13122
|
|
|
13139
|
-
|
|
13123
|
+
resourceExt(value?: SorobanResourcesExtV0): SorobanResourcesExtV0;
|
|
13140
13124
|
|
|
13141
13125
|
value(): SorobanResourcesExtV0 | void;
|
|
13142
13126
|
|
|
@@ -13165,9 +13149,9 @@ export namespace xdr {
|
|
|
13165
13149
|
}
|
|
13166
13150
|
|
|
13167
13151
|
class TransactionV0Ext {
|
|
13168
|
-
|
|
13152
|
+
constructor(switchValue: 0);
|
|
13169
13153
|
|
|
13170
|
-
|
|
13154
|
+
switch(): number;
|
|
13171
13155
|
|
|
13172
13156
|
value(): void;
|
|
13173
13157
|
|
|
@@ -13193,13 +13177,13 @@ export namespace xdr {
|
|
|
13193
13177
|
}
|
|
13194
13178
|
|
|
13195
13179
|
class TransactionExt {
|
|
13196
|
-
|
|
13180
|
+
constructor(switchValue: 0);
|
|
13197
13181
|
|
|
13198
|
-
|
|
13182
|
+
constructor(switchValue: 1, value: SorobanTransactionData);
|
|
13199
13183
|
|
|
13200
|
-
|
|
13184
|
+
switch(): number;
|
|
13201
13185
|
|
|
13202
|
-
|
|
13186
|
+
sorobanData(value?: SorobanTransactionData): SorobanTransactionData;
|
|
13203
13187
|
|
|
13204
13188
|
value(): SorobanTransactionData | void;
|
|
13205
13189
|
|
|
@@ -13260,9 +13244,9 @@ export namespace xdr {
|
|
|
13260
13244
|
}
|
|
13261
13245
|
|
|
13262
13246
|
class FeeBumpTransactionExt {
|
|
13263
|
-
|
|
13247
|
+
constructor(switchValue: 0);
|
|
13264
13248
|
|
|
13265
|
-
|
|
13249
|
+
switch(): number;
|
|
13266
13250
|
|
|
13267
13251
|
value(): void;
|
|
13268
13252
|
|
|
@@ -14766,7 +14750,6 @@ export namespace xdr {
|
|
|
14766
14750
|
| PaymentResult
|
|
14767
14751
|
| PathPaymentStrictReceiveResult
|
|
14768
14752
|
| ManageSellOfferResult
|
|
14769
|
-
| ManageSellOfferResult
|
|
14770
14753
|
| SetOptionsResult
|
|
14771
14754
|
| ChangeTrustResult
|
|
14772
14755
|
| AllowTrustResult
|
|
@@ -14919,9 +14902,9 @@ export namespace xdr {
|
|
|
14919
14902
|
}
|
|
14920
14903
|
|
|
14921
14904
|
class InnerTransactionResultExt {
|
|
14922
|
-
|
|
14905
|
+
constructor(switchValue: 0);
|
|
14923
14906
|
|
|
14924
|
-
|
|
14907
|
+
switch(): number;
|
|
14925
14908
|
|
|
14926
14909
|
value(): void;
|
|
14927
14910
|
|
|
@@ -15027,9 +15010,9 @@ export namespace xdr {
|
|
|
15027
15010
|
}
|
|
15028
15011
|
|
|
15029
15012
|
class TransactionResultExt {
|
|
15030
|
-
|
|
15013
|
+
constructor(switchValue: 0);
|
|
15031
15014
|
|
|
15032
|
-
|
|
15015
|
+
switch(): number;
|
|
15033
15016
|
|
|
15034
15017
|
value(): void;
|
|
15035
15018
|
|
|
@@ -15058,9 +15041,9 @@ export namespace xdr {
|
|
|
15058
15041
|
}
|
|
15059
15042
|
|
|
15060
15043
|
class ExtensionPoint {
|
|
15061
|
-
|
|
15044
|
+
constructor(switchValue: 0);
|
|
15062
15045
|
|
|
15063
|
-
|
|
15046
|
+
switch(): number;
|
|
15064
15047
|
|
|
15065
15048
|
value(): void;
|
|
15066
15049
|
|
|
@@ -15138,7 +15121,7 @@ export namespace xdr {
|
|
|
15138
15121
|
value: SignerKeyEd25519SignedPayload,
|
|
15139
15122
|
): SignerKey;
|
|
15140
15123
|
|
|
15141
|
-
value(): Buffer |
|
|
15124
|
+
value(): Buffer | SignerKeyEd25519SignedPayload;
|
|
15142
15125
|
|
|
15143
15126
|
toXDR(format?: 'raw'): Buffer;
|
|
15144
15127
|
|
|
@@ -15415,7 +15398,6 @@ export namespace xdr {
|
|
|
15415
15398
|
| boolean
|
|
15416
15399
|
| ScError
|
|
15417
15400
|
| number
|
|
15418
|
-
| number
|
|
15419
15401
|
| Uint64
|
|
15420
15402
|
| Int64
|
|
15421
15403
|
| TimePoint
|
|
@@ -15426,12 +15408,8 @@ export namespace xdr {
|
|
|
15426
15408
|
| Int256Parts
|
|
15427
15409
|
| Buffer
|
|
15428
15410
|
| string
|
|
15429
|
-
| Buffer
|
|
15430
|
-
| string
|
|
15431
|
-
| Buffer
|
|
15432
15411
|
| null
|
|
15433
15412
|
| ScVal[]
|
|
15434
|
-
| null
|
|
15435
15413
|
| ScMapEntry[]
|
|
15436
15414
|
| ScAddress
|
|
15437
15415
|
| ScContractInstance
|
|
@@ -15851,9 +15829,6 @@ export namespace xdr {
|
|
|
15851
15829
|
| ConfigSettingContractEventsV0
|
|
15852
15830
|
| ConfigSettingContractBandwidthV0
|
|
15853
15831
|
| ContractCostParamEntry[]
|
|
15854
|
-
| ContractCostParamEntry[]
|
|
15855
|
-
| number
|
|
15856
|
-
| number
|
|
15857
15832
|
| StateArchivalSettings
|
|
15858
15833
|
| ConfigSettingContractExecutionLanesV0
|
|
15859
15834
|
| Uint64[]
|