@stellar/stellar-base 11.0.0 → 11.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/CHANGELOG.md +16 -0
- package/dist/stellar-base.js +617 -385
- package/dist/stellar-base.min.js +1 -1
- package/lib/account.js +2 -3
- package/lib/address.js +2 -3
- package/lib/asset.js +2 -3
- package/lib/auth.js +1 -1
- package/lib/claimant.js +2 -3
- package/lib/contract.js +2 -3
- package/lib/events.js +1 -1
- package/lib/fee_bump_transaction.js +3 -4
- package/lib/generated/curr_generated.js +243 -17
- package/lib/generated/next_generated.js +243 -17
- package/lib/keypair.js +2 -3
- package/lib/liquidity_pool_asset.js +2 -3
- package/lib/liquidity_pool_id.js +2 -3
- package/lib/memo.js +2 -3
- package/lib/muxed_account.js +2 -3
- package/lib/numbers/int128.js +3 -4
- package/lib/numbers/int256.js +3 -4
- package/lib/numbers/sc_int.js +2 -2
- package/lib/numbers/uint128.js +3 -4
- package/lib/numbers/uint256.js +3 -4
- package/lib/numbers/xdr_large_int.js +2 -3
- package/lib/operation.js +3 -4
- package/lib/signerkey.js +2 -3
- package/lib/soroban.js +2 -3
- package/lib/sorobandata_builder.js +2 -3
- package/lib/strkey.js +2 -3
- package/lib/transaction.js +3 -4
- package/lib/transaction_base.js +2 -3
- package/lib/transaction_builder.js +2 -3
- package/package.json +17 -17
- package/types/curr.d.ts +371 -12
- package/types/next.d.ts +371 -12
package/types/next.d.ts
CHANGED
|
@@ -2209,14 +2209,36 @@ export namespace xdr {
|
|
|
2209
2209
|
| 'vmCachedInstantiation'
|
|
2210
2210
|
| 'invokeVmFunction'
|
|
2211
2211
|
| 'computeKeccak256Hash'
|
|
2212
|
-
| '
|
|
2212
|
+
| 'decodeEcdsaCurve256Sig'
|
|
2213
2213
|
| 'recoverEcdsaSecp256k1Key'
|
|
2214
2214
|
| 'int256AddSub'
|
|
2215
2215
|
| 'int256Mul'
|
|
2216
2216
|
| 'int256Div'
|
|
2217
2217
|
| 'int256Pow'
|
|
2218
2218
|
| 'int256Shift'
|
|
2219
|
-
| 'chaCha20DrawBytes'
|
|
2219
|
+
| 'chaCha20DrawBytes'
|
|
2220
|
+
| 'parseWasmInstructions'
|
|
2221
|
+
| 'parseWasmFunctions'
|
|
2222
|
+
| 'parseWasmGlobals'
|
|
2223
|
+
| 'parseWasmTableEntries'
|
|
2224
|
+
| 'parseWasmTypes'
|
|
2225
|
+
| 'parseWasmDataSegments'
|
|
2226
|
+
| 'parseWasmElemSegments'
|
|
2227
|
+
| 'parseWasmImports'
|
|
2228
|
+
| 'parseWasmExports'
|
|
2229
|
+
| 'parseWasmDataSegmentBytes'
|
|
2230
|
+
| 'instantiateWasmInstructions'
|
|
2231
|
+
| 'instantiateWasmFunctions'
|
|
2232
|
+
| 'instantiateWasmGlobals'
|
|
2233
|
+
| 'instantiateWasmTableEntries'
|
|
2234
|
+
| 'instantiateWasmTypes'
|
|
2235
|
+
| 'instantiateWasmDataSegments'
|
|
2236
|
+
| 'instantiateWasmElemSegments'
|
|
2237
|
+
| 'instantiateWasmImports'
|
|
2238
|
+
| 'instantiateWasmExports'
|
|
2239
|
+
| 'instantiateWasmDataSegmentBytes'
|
|
2240
|
+
| 'sec1DecodePointUncompressed'
|
|
2241
|
+
| 'verifyEcdsaSecp256r1Sig';
|
|
2220
2242
|
|
|
2221
2243
|
readonly value:
|
|
2222
2244
|
| 0
|
|
@@ -2241,7 +2263,29 @@ export namespace xdr {
|
|
|
2241
2263
|
| 19
|
|
2242
2264
|
| 20
|
|
2243
2265
|
| 21
|
|
2244
|
-
| 22
|
|
2266
|
+
| 22
|
|
2267
|
+
| 23
|
|
2268
|
+
| 24
|
|
2269
|
+
| 25
|
|
2270
|
+
| 26
|
|
2271
|
+
| 27
|
|
2272
|
+
| 28
|
|
2273
|
+
| 29
|
|
2274
|
+
| 30
|
|
2275
|
+
| 31
|
|
2276
|
+
| 32
|
|
2277
|
+
| 33
|
|
2278
|
+
| 34
|
|
2279
|
+
| 35
|
|
2280
|
+
| 36
|
|
2281
|
+
| 37
|
|
2282
|
+
| 38
|
|
2283
|
+
| 39
|
|
2284
|
+
| 40
|
|
2285
|
+
| 41
|
|
2286
|
+
| 42
|
|
2287
|
+
| 43
|
|
2288
|
+
| 44;
|
|
2245
2289
|
|
|
2246
2290
|
static wasmInsnExec(): ContractCostType;
|
|
2247
2291
|
|
|
@@ -2273,7 +2317,7 @@ export namespace xdr {
|
|
|
2273
2317
|
|
|
2274
2318
|
static computeKeccak256Hash(): ContractCostType;
|
|
2275
2319
|
|
|
2276
|
-
static
|
|
2320
|
+
static decodeEcdsaCurve256Sig(): ContractCostType;
|
|
2277
2321
|
|
|
2278
2322
|
static recoverEcdsaSecp256k1Key(): ContractCostType;
|
|
2279
2323
|
|
|
@@ -2288,6 +2332,50 @@ export namespace xdr {
|
|
|
2288
2332
|
static int256Shift(): ContractCostType;
|
|
2289
2333
|
|
|
2290
2334
|
static chaCha20DrawBytes(): ContractCostType;
|
|
2335
|
+
|
|
2336
|
+
static parseWasmInstructions(): ContractCostType;
|
|
2337
|
+
|
|
2338
|
+
static parseWasmFunctions(): ContractCostType;
|
|
2339
|
+
|
|
2340
|
+
static parseWasmGlobals(): ContractCostType;
|
|
2341
|
+
|
|
2342
|
+
static parseWasmTableEntries(): ContractCostType;
|
|
2343
|
+
|
|
2344
|
+
static parseWasmTypes(): ContractCostType;
|
|
2345
|
+
|
|
2346
|
+
static parseWasmDataSegments(): ContractCostType;
|
|
2347
|
+
|
|
2348
|
+
static parseWasmElemSegments(): ContractCostType;
|
|
2349
|
+
|
|
2350
|
+
static parseWasmImports(): ContractCostType;
|
|
2351
|
+
|
|
2352
|
+
static parseWasmExports(): ContractCostType;
|
|
2353
|
+
|
|
2354
|
+
static parseWasmDataSegmentBytes(): ContractCostType;
|
|
2355
|
+
|
|
2356
|
+
static instantiateWasmInstructions(): ContractCostType;
|
|
2357
|
+
|
|
2358
|
+
static instantiateWasmFunctions(): ContractCostType;
|
|
2359
|
+
|
|
2360
|
+
static instantiateWasmGlobals(): ContractCostType;
|
|
2361
|
+
|
|
2362
|
+
static instantiateWasmTableEntries(): ContractCostType;
|
|
2363
|
+
|
|
2364
|
+
static instantiateWasmTypes(): ContractCostType;
|
|
2365
|
+
|
|
2366
|
+
static instantiateWasmDataSegments(): ContractCostType;
|
|
2367
|
+
|
|
2368
|
+
static instantiateWasmElemSegments(): ContractCostType;
|
|
2369
|
+
|
|
2370
|
+
static instantiateWasmImports(): ContractCostType;
|
|
2371
|
+
|
|
2372
|
+
static instantiateWasmExports(): ContractCostType;
|
|
2373
|
+
|
|
2374
|
+
static instantiateWasmDataSegmentBytes(): ContractCostType;
|
|
2375
|
+
|
|
2376
|
+
static sec1DecodePointUncompressed(): ContractCostType;
|
|
2377
|
+
|
|
2378
|
+
static verifyEcdsaSecp256r1Sig(): ContractCostType;
|
|
2291
2379
|
}
|
|
2292
2380
|
|
|
2293
2381
|
class ConfigSettingId {
|
|
@@ -3463,14 +3551,109 @@ export namespace xdr {
|
|
|
3463
3551
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
3464
3552
|
}
|
|
3465
3553
|
|
|
3466
|
-
class
|
|
3554
|
+
class ContractCodeCostInputs {
|
|
3467
3555
|
constructor(attributes: {
|
|
3468
3556
|
ext: ExtensionPoint;
|
|
3557
|
+
nInstructions: number;
|
|
3558
|
+
nFunctions: number;
|
|
3559
|
+
nGlobals: number;
|
|
3560
|
+
nTableEntries: number;
|
|
3561
|
+
nTypes: number;
|
|
3562
|
+
nDataSegments: number;
|
|
3563
|
+
nElemSegments: number;
|
|
3564
|
+
nImports: number;
|
|
3565
|
+
nExports: number;
|
|
3566
|
+
nDataSegmentBytes: number;
|
|
3567
|
+
});
|
|
3568
|
+
|
|
3569
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
3570
|
+
|
|
3571
|
+
nInstructions(value?: number): number;
|
|
3572
|
+
|
|
3573
|
+
nFunctions(value?: number): number;
|
|
3574
|
+
|
|
3575
|
+
nGlobals(value?: number): number;
|
|
3576
|
+
|
|
3577
|
+
nTableEntries(value?: number): number;
|
|
3578
|
+
|
|
3579
|
+
nTypes(value?: number): number;
|
|
3580
|
+
|
|
3581
|
+
nDataSegments(value?: number): number;
|
|
3582
|
+
|
|
3583
|
+
nElemSegments(value?: number): number;
|
|
3584
|
+
|
|
3585
|
+
nImports(value?: number): number;
|
|
3586
|
+
|
|
3587
|
+
nExports(value?: number): number;
|
|
3588
|
+
|
|
3589
|
+
nDataSegmentBytes(value?: number): number;
|
|
3590
|
+
|
|
3591
|
+
toXDR(format?: 'raw'): Buffer;
|
|
3592
|
+
|
|
3593
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
3594
|
+
|
|
3595
|
+
static read(io: Buffer): ContractCodeCostInputs;
|
|
3596
|
+
|
|
3597
|
+
static write(value: ContractCodeCostInputs, io: Buffer): void;
|
|
3598
|
+
|
|
3599
|
+
static isValid(value: ContractCodeCostInputs): boolean;
|
|
3600
|
+
|
|
3601
|
+
static toXDR(value: ContractCodeCostInputs): Buffer;
|
|
3602
|
+
|
|
3603
|
+
static fromXDR(input: Buffer, format?: 'raw'): ContractCodeCostInputs;
|
|
3604
|
+
|
|
3605
|
+
static fromXDR(
|
|
3606
|
+
input: string,
|
|
3607
|
+
format: 'hex' | 'base64',
|
|
3608
|
+
): ContractCodeCostInputs;
|
|
3609
|
+
|
|
3610
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
3611
|
+
|
|
3612
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
class ContractCodeEntryV1 {
|
|
3616
|
+
constructor(attributes: {
|
|
3617
|
+
ext: ExtensionPoint;
|
|
3618
|
+
costInputs: ContractCodeCostInputs;
|
|
3619
|
+
});
|
|
3620
|
+
|
|
3621
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
3622
|
+
|
|
3623
|
+
costInputs(value?: ContractCodeCostInputs): ContractCodeCostInputs;
|
|
3624
|
+
|
|
3625
|
+
toXDR(format?: 'raw'): Buffer;
|
|
3626
|
+
|
|
3627
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
3628
|
+
|
|
3629
|
+
static read(io: Buffer): ContractCodeEntryV1;
|
|
3630
|
+
|
|
3631
|
+
static write(value: ContractCodeEntryV1, io: Buffer): void;
|
|
3632
|
+
|
|
3633
|
+
static isValid(value: ContractCodeEntryV1): boolean;
|
|
3634
|
+
|
|
3635
|
+
static toXDR(value: ContractCodeEntryV1): Buffer;
|
|
3636
|
+
|
|
3637
|
+
static fromXDR(input: Buffer, format?: 'raw'): ContractCodeEntryV1;
|
|
3638
|
+
|
|
3639
|
+
static fromXDR(
|
|
3640
|
+
input: string,
|
|
3641
|
+
format: 'hex' | 'base64',
|
|
3642
|
+
): ContractCodeEntryV1;
|
|
3643
|
+
|
|
3644
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
3645
|
+
|
|
3646
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
class ContractCodeEntry {
|
|
3650
|
+
constructor(attributes: {
|
|
3651
|
+
ext: ContractCodeEntryExt;
|
|
3469
3652
|
hash: Buffer;
|
|
3470
3653
|
code: Buffer;
|
|
3471
3654
|
});
|
|
3472
3655
|
|
|
3473
|
-
ext(value?:
|
|
3656
|
+
ext(value?: ContractCodeEntryExt): ContractCodeEntryExt;
|
|
3474
3657
|
|
|
3475
3658
|
hash(value?: Buffer): Buffer;
|
|
3476
3659
|
|
|
@@ -4663,15 +4846,55 @@ export namespace xdr {
|
|
|
4663
4846
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4664
4847
|
}
|
|
4665
4848
|
|
|
4666
|
-
class
|
|
4849
|
+
class SorobanTransactionMetaExtV1 {
|
|
4667
4850
|
constructor(attributes: {
|
|
4668
4851
|
ext: ExtensionPoint;
|
|
4852
|
+
totalNonRefundableResourceFeeCharged: Int64;
|
|
4853
|
+
totalRefundableResourceFeeCharged: Int64;
|
|
4854
|
+
rentFeeCharged: Int64;
|
|
4855
|
+
});
|
|
4856
|
+
|
|
4857
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
4858
|
+
|
|
4859
|
+
totalNonRefundableResourceFeeCharged(value?: Int64): Int64;
|
|
4860
|
+
|
|
4861
|
+
totalRefundableResourceFeeCharged(value?: Int64): Int64;
|
|
4862
|
+
|
|
4863
|
+
rentFeeCharged(value?: Int64): Int64;
|
|
4864
|
+
|
|
4865
|
+
toXDR(format?: 'raw'): Buffer;
|
|
4866
|
+
|
|
4867
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
4868
|
+
|
|
4869
|
+
static read(io: Buffer): SorobanTransactionMetaExtV1;
|
|
4870
|
+
|
|
4871
|
+
static write(value: SorobanTransactionMetaExtV1, io: Buffer): void;
|
|
4872
|
+
|
|
4873
|
+
static isValid(value: SorobanTransactionMetaExtV1): boolean;
|
|
4874
|
+
|
|
4875
|
+
static toXDR(value: SorobanTransactionMetaExtV1): Buffer;
|
|
4876
|
+
|
|
4877
|
+
static fromXDR(input: Buffer, format?: 'raw'): SorobanTransactionMetaExtV1;
|
|
4878
|
+
|
|
4879
|
+
static fromXDR(
|
|
4880
|
+
input: string,
|
|
4881
|
+
format: 'hex' | 'base64',
|
|
4882
|
+
): SorobanTransactionMetaExtV1;
|
|
4883
|
+
|
|
4884
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
4885
|
+
|
|
4886
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
class SorobanTransactionMeta {
|
|
4890
|
+
constructor(attributes: {
|
|
4891
|
+
ext: SorobanTransactionMetaExt;
|
|
4669
4892
|
events: ContractEvent[];
|
|
4670
4893
|
returnValue: ScVal;
|
|
4671
4894
|
diagnosticEvents: DiagnosticEvent[];
|
|
4672
4895
|
});
|
|
4673
4896
|
|
|
4674
|
-
ext(value?:
|
|
4897
|
+
ext(value?: SorobanTransactionMetaExt): SorobanTransactionMetaExt;
|
|
4675
4898
|
|
|
4676
4899
|
events(value?: ContractEvent[]): ContractEvent[];
|
|
4677
4900
|
|
|
@@ -4887,9 +5110,40 @@ export namespace xdr {
|
|
|
4887
5110
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
4888
5111
|
}
|
|
4889
5112
|
|
|
5113
|
+
class LedgerCloseMetaExtV1 {
|
|
5114
|
+
constructor(attributes: { ext: ExtensionPoint; sorobanFeeWrite1Kb: Int64 });
|
|
5115
|
+
|
|
5116
|
+
ext(value?: ExtensionPoint): ExtensionPoint;
|
|
5117
|
+
|
|
5118
|
+
sorobanFeeWrite1Kb(value?: Int64): Int64;
|
|
5119
|
+
|
|
5120
|
+
toXDR(format?: 'raw'): Buffer;
|
|
5121
|
+
|
|
5122
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
5123
|
+
|
|
5124
|
+
static read(io: Buffer): LedgerCloseMetaExtV1;
|
|
5125
|
+
|
|
5126
|
+
static write(value: LedgerCloseMetaExtV1, io: Buffer): void;
|
|
5127
|
+
|
|
5128
|
+
static isValid(value: LedgerCloseMetaExtV1): boolean;
|
|
5129
|
+
|
|
5130
|
+
static toXDR(value: LedgerCloseMetaExtV1): Buffer;
|
|
5131
|
+
|
|
5132
|
+
static fromXDR(input: Buffer, format?: 'raw'): LedgerCloseMetaExtV1;
|
|
5133
|
+
|
|
5134
|
+
static fromXDR(
|
|
5135
|
+
input: string,
|
|
5136
|
+
format: 'hex' | 'base64',
|
|
5137
|
+
): LedgerCloseMetaExtV1;
|
|
5138
|
+
|
|
5139
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
5140
|
+
|
|
5141
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
5142
|
+
}
|
|
5143
|
+
|
|
4890
5144
|
class LedgerCloseMetaV1 {
|
|
4891
5145
|
constructor(attributes: {
|
|
4892
|
-
ext:
|
|
5146
|
+
ext: LedgerCloseMetaExt;
|
|
4893
5147
|
ledgerHeader: LedgerHeaderHistoryEntry;
|
|
4894
5148
|
txSet: GeneralizedTransactionSet;
|
|
4895
5149
|
txProcessing: TransactionResultMeta[];
|
|
@@ -4900,7 +5154,7 @@ export namespace xdr {
|
|
|
4900
5154
|
evictedPersistentLedgerEntries: LedgerEntry[];
|
|
4901
5155
|
});
|
|
4902
5156
|
|
|
4903
|
-
ext(value?:
|
|
5157
|
+
ext(value?: LedgerCloseMetaExt): LedgerCloseMetaExt;
|
|
4904
5158
|
|
|
4905
5159
|
ledgerHeader(value?: LedgerHeaderHistoryEntry): LedgerHeaderHistoryEntry;
|
|
4906
5160
|
|
|
@@ -9032,7 +9286,8 @@ export namespace xdr {
|
|
|
9032
9286
|
tempRentRateDenominator: Int64;
|
|
9033
9287
|
maxEntriesToArchive: number;
|
|
9034
9288
|
bucketListSizeWindowSampleSize: number;
|
|
9035
|
-
|
|
9289
|
+
bucketListWindowSamplePeriod: number;
|
|
9290
|
+
evictionScanSize: number;
|
|
9036
9291
|
startingEvictionScanLevel: number;
|
|
9037
9292
|
});
|
|
9038
9293
|
|
|
@@ -9050,7 +9305,9 @@ export namespace xdr {
|
|
|
9050
9305
|
|
|
9051
9306
|
bucketListSizeWindowSampleSize(value?: number): number;
|
|
9052
9307
|
|
|
9053
|
-
|
|
9308
|
+
bucketListWindowSamplePeriod(value?: number): number;
|
|
9309
|
+
|
|
9310
|
+
evictionScanSize(value?: number): number;
|
|
9054
9311
|
|
|
9055
9312
|
startingEvictionScanLevel(value?: number): number;
|
|
9056
9313
|
|
|
@@ -9752,6 +10009,41 @@ export namespace xdr {
|
|
|
9752
10009
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
9753
10010
|
}
|
|
9754
10011
|
|
|
10012
|
+
class ContractCodeEntryExt {
|
|
10013
|
+
switch(): number;
|
|
10014
|
+
|
|
10015
|
+
v1(value?: ContractCodeEntryV1): ContractCodeEntryV1;
|
|
10016
|
+
|
|
10017
|
+
static 0(): ContractCodeEntryExt;
|
|
10018
|
+
|
|
10019
|
+
static 1(value: ContractCodeEntryV1): ContractCodeEntryExt;
|
|
10020
|
+
|
|
10021
|
+
value(): ContractCodeEntryV1 | void;
|
|
10022
|
+
|
|
10023
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10024
|
+
|
|
10025
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10026
|
+
|
|
10027
|
+
static read(io: Buffer): ContractCodeEntryExt;
|
|
10028
|
+
|
|
10029
|
+
static write(value: ContractCodeEntryExt, io: Buffer): void;
|
|
10030
|
+
|
|
10031
|
+
static isValid(value: ContractCodeEntryExt): boolean;
|
|
10032
|
+
|
|
10033
|
+
static toXDR(value: ContractCodeEntryExt): Buffer;
|
|
10034
|
+
|
|
10035
|
+
static fromXDR(input: Buffer, format?: 'raw'): ContractCodeEntryExt;
|
|
10036
|
+
|
|
10037
|
+
static fromXDR(
|
|
10038
|
+
input: string,
|
|
10039
|
+
format: 'hex' | 'base64',
|
|
10040
|
+
): ContractCodeEntryExt;
|
|
10041
|
+
|
|
10042
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10043
|
+
|
|
10044
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10045
|
+
}
|
|
10046
|
+
|
|
9755
10047
|
class LedgerEntryExtensionV1Ext {
|
|
9756
10048
|
switch(): number;
|
|
9757
10049
|
|
|
@@ -10498,6 +10790,41 @@ export namespace xdr {
|
|
|
10498
10790
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10499
10791
|
}
|
|
10500
10792
|
|
|
10793
|
+
class SorobanTransactionMetaExt {
|
|
10794
|
+
switch(): number;
|
|
10795
|
+
|
|
10796
|
+
v1(value?: SorobanTransactionMetaExtV1): SorobanTransactionMetaExtV1;
|
|
10797
|
+
|
|
10798
|
+
static 0(): SorobanTransactionMetaExt;
|
|
10799
|
+
|
|
10800
|
+
static 1(value: SorobanTransactionMetaExtV1): SorobanTransactionMetaExt;
|
|
10801
|
+
|
|
10802
|
+
value(): SorobanTransactionMetaExtV1 | void;
|
|
10803
|
+
|
|
10804
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10805
|
+
|
|
10806
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10807
|
+
|
|
10808
|
+
static read(io: Buffer): SorobanTransactionMetaExt;
|
|
10809
|
+
|
|
10810
|
+
static write(value: SorobanTransactionMetaExt, io: Buffer): void;
|
|
10811
|
+
|
|
10812
|
+
static isValid(value: SorobanTransactionMetaExt): boolean;
|
|
10813
|
+
|
|
10814
|
+
static toXDR(value: SorobanTransactionMetaExt): Buffer;
|
|
10815
|
+
|
|
10816
|
+
static fromXDR(input: Buffer, format?: 'raw'): SorobanTransactionMetaExt;
|
|
10817
|
+
|
|
10818
|
+
static fromXDR(
|
|
10819
|
+
input: string,
|
|
10820
|
+
format: 'hex' | 'base64',
|
|
10821
|
+
): SorobanTransactionMetaExt;
|
|
10822
|
+
|
|
10823
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10824
|
+
|
|
10825
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10826
|
+
}
|
|
10827
|
+
|
|
10501
10828
|
class TransactionMeta {
|
|
10502
10829
|
switch(): number;
|
|
10503
10830
|
|
|
@@ -10544,6 +10871,38 @@ export namespace xdr {
|
|
|
10544
10871
|
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10545
10872
|
}
|
|
10546
10873
|
|
|
10874
|
+
class LedgerCloseMetaExt {
|
|
10875
|
+
switch(): number;
|
|
10876
|
+
|
|
10877
|
+
v1(value?: LedgerCloseMetaExtV1): LedgerCloseMetaExtV1;
|
|
10878
|
+
|
|
10879
|
+
static 0(): LedgerCloseMetaExt;
|
|
10880
|
+
|
|
10881
|
+
static 1(value: LedgerCloseMetaExtV1): LedgerCloseMetaExt;
|
|
10882
|
+
|
|
10883
|
+
value(): LedgerCloseMetaExtV1 | void;
|
|
10884
|
+
|
|
10885
|
+
toXDR(format?: 'raw'): Buffer;
|
|
10886
|
+
|
|
10887
|
+
toXDR(format: 'hex' | 'base64'): string;
|
|
10888
|
+
|
|
10889
|
+
static read(io: Buffer): LedgerCloseMetaExt;
|
|
10890
|
+
|
|
10891
|
+
static write(value: LedgerCloseMetaExt, io: Buffer): void;
|
|
10892
|
+
|
|
10893
|
+
static isValid(value: LedgerCloseMetaExt): boolean;
|
|
10894
|
+
|
|
10895
|
+
static toXDR(value: LedgerCloseMetaExt): Buffer;
|
|
10896
|
+
|
|
10897
|
+
static fromXDR(input: Buffer, format?: 'raw'): LedgerCloseMetaExt;
|
|
10898
|
+
|
|
10899
|
+
static fromXDR(input: string, format: 'hex' | 'base64'): LedgerCloseMetaExt;
|
|
10900
|
+
|
|
10901
|
+
static validateXDR(input: Buffer, format?: 'raw'): boolean;
|
|
10902
|
+
|
|
10903
|
+
static validateXDR(input: string, format: 'hex' | 'base64'): boolean;
|
|
10904
|
+
}
|
|
10905
|
+
|
|
10547
10906
|
class LedgerCloseMeta {
|
|
10548
10907
|
switch(): number;
|
|
10549
10908
|
|