@bitgo/public-types 6.25.0 → 6.27.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/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +3 -1
- package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.js +4 -1
- package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +307 -1
- package/dist/src/schema/transactionRequest/intents/intent.js +4 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaFeeOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +964 -352
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonCommandIntent.ts +9 -1
- package/src/schema/transactionRequest/intents/feeAddressTransferIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/intent.ts +4 -0
- package/src/schema/transactionRequest/intents/iotaBuildOptions.ts +11 -0
- package/src/schema/transactionRequest/intents/iotaConsolidateIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/iotaFeeOptions.ts +7 -0
- package/src/schema/transactionRequest/intents/iotaPaymentIntent.ts +7 -0
|
@@ -1792,8 +1792,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1792
1792
|
ExerciseCommand: t.IntersectionC<[t.TypeC<{
|
|
1793
1793
|
templateId: t.StringC;
|
|
1794
1794
|
choice: t.StringC;
|
|
1795
|
-
choiceArgument: t.RecordC<t.StringC, t.UnknownC>;
|
|
1796
1795
|
}>, t.PartialC<{
|
|
1796
|
+
choiceArgument: t.RecordC<t.StringC, t.UnknownC>;
|
|
1797
1797
|
contractId: t.StringC;
|
|
1798
1798
|
}>]>;
|
|
1799
1799
|
}>]>;
|
|
@@ -1809,6 +1809,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1809
1809
|
resolveAll: t.BooleanC;
|
|
1810
1810
|
}>]>>;
|
|
1811
1811
|
}>]>;
|
|
1812
|
+
}>, t.PartialC<{
|
|
1813
|
+
token: t.StringC;
|
|
1812
1814
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1813
1815
|
intentType: t.KeyofC<{
|
|
1814
1816
|
payment: t.LiteralC<"payment">;
|
|
@@ -5242,7 +5244,67 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5242
5244
|
isTestTransaction: t.BooleanC;
|
|
5243
5245
|
}>]>]>, t.PartialC<{
|
|
5244
5246
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5245
|
-
}>]>, t.
|
|
5247
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
|
5248
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5249
|
+
}>, t.TypeC<{
|
|
5250
|
+
intentType: t.LiteralC<"consolidate">;
|
|
5251
|
+
receiveAddress: t.StringC;
|
|
5252
|
+
}>, t.PartialC<{
|
|
5253
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
5254
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5255
|
+
recipients: t.UnionC<[t.Type<({
|
|
5256
|
+
address: {
|
|
5257
|
+
address?: string | undefined;
|
|
5258
|
+
option?: {
|
|
5259
|
+
[x: string]: unknown;
|
|
5260
|
+
} | undefined;
|
|
5261
|
+
};
|
|
5262
|
+
amount: {
|
|
5263
|
+
value: string;
|
|
5264
|
+
symbol: string;
|
|
5265
|
+
};
|
|
5266
|
+
} & {
|
|
5267
|
+
data?: string | undefined;
|
|
5268
|
+
} & {
|
|
5269
|
+
tokenData?: ({
|
|
5270
|
+
tokenQuantity: string;
|
|
5271
|
+
tokenType: string;
|
|
5272
|
+
} & {
|
|
5273
|
+
tokenId?: string | undefined;
|
|
5274
|
+
} & {
|
|
5275
|
+
tokenName: string;
|
|
5276
|
+
} & {
|
|
5277
|
+
tokenContractAddress?: string | undefined;
|
|
5278
|
+
decimals?: number | undefined;
|
|
5279
|
+
}) | undefined;
|
|
5280
|
+
})[], ({
|
|
5281
|
+
address: {
|
|
5282
|
+
address?: string | undefined;
|
|
5283
|
+
option?: {
|
|
5284
|
+
[x: string]: unknown;
|
|
5285
|
+
} | undefined;
|
|
5286
|
+
};
|
|
5287
|
+
amount: {
|
|
5288
|
+
value: string;
|
|
5289
|
+
symbol: string;
|
|
5290
|
+
};
|
|
5291
|
+
} & {
|
|
5292
|
+
data?: string | undefined;
|
|
5293
|
+
} & {
|
|
5294
|
+
tokenData?: ({
|
|
5295
|
+
tokenQuantity: string;
|
|
5296
|
+
tokenType: string;
|
|
5297
|
+
} & {
|
|
5298
|
+
tokenId?: string | undefined;
|
|
5299
|
+
} & {
|
|
5300
|
+
tokenName: string;
|
|
5301
|
+
} & {
|
|
5302
|
+
tokenContractAddress?: string | undefined;
|
|
5303
|
+
decimals?: number | undefined;
|
|
5304
|
+
}) | undefined;
|
|
5305
|
+
})[], unknown>, t.UndefinedC]>;
|
|
5306
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
5307
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5246
5308
|
intentType: t.KeyofC<{
|
|
5247
5309
|
payment: t.LiteralC<"payment">;
|
|
5248
5310
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5313,17 +5375,11 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5313
5375
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5314
5376
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5315
5377
|
}>]>, t.TypeC<{
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
}
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
feeLimitRatio: t.NumberC;
|
|
5322
|
-
}>]>;
|
|
5323
|
-
signature: t.StringC;
|
|
5324
|
-
}>, t.TypeC<{
|
|
5325
|
-
intentType: t.LiteralC<"payment">;
|
|
5326
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5378
|
+
feeOptions: t.TypeC<{
|
|
5379
|
+
gasLimit: t.NumberC;
|
|
5380
|
+
}>;
|
|
5381
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5382
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5327
5383
|
intentType: t.KeyofC<{
|
|
5328
5384
|
payment: t.LiteralC<"payment">;
|
|
5329
5385
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5394,17 +5450,28 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5394
5450
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5395
5451
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5396
5452
|
}>]>, t.TypeC<{
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5453
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
5454
|
+
address: t.PartialC<{
|
|
5455
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5456
|
+
option: t.UnionC<[t.Type<{
|
|
5457
|
+
[x: string]: unknown;
|
|
5458
|
+
}, {
|
|
5459
|
+
[x: string]: unknown;
|
|
5460
|
+
}, unknown>, t.UndefinedC]>;
|
|
5461
|
+
}>;
|
|
5462
|
+
amount: t.TypeC<{
|
|
5463
|
+
value: t.StringC;
|
|
5464
|
+
symbol: t.StringC;
|
|
5465
|
+
}>;
|
|
5403
5466
|
}>, t.PartialC<{
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5467
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5468
|
+
}>]>>;
|
|
5469
|
+
}>, t.UnionC<[t.TypeC<{
|
|
5470
|
+
intentType: t.LiteralC<"payment">;
|
|
5471
|
+
}>, t.TypeC<{
|
|
5472
|
+
intentType: t.LiteralC<"payment">;
|
|
5473
|
+
isTestTransaction: t.BooleanC;
|
|
5474
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5408
5475
|
intentType: t.KeyofC<{
|
|
5409
5476
|
payment: t.LiteralC<"payment">;
|
|
5410
5477
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5475,14 +5542,13 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5475
5542
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5476
5543
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5477
5544
|
}>]>, t.TypeC<{
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
signerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5545
|
+
feeOptions: t.TypeC<{
|
|
5546
|
+
gasLimit: t.NumberC;
|
|
5547
|
+
}>;
|
|
5548
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5483
5549
|
}>]>, t.TypeC<{
|
|
5484
|
-
|
|
5485
|
-
}>]>, t.
|
|
5550
|
+
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
5551
|
+
}>]>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5486
5552
|
intentType: t.KeyofC<{
|
|
5487
5553
|
payment: t.LiteralC<"payment">;
|
|
5488
5554
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5553,30 +5619,17 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5553
5619
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5554
5620
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5555
5621
|
}>]>, t.TypeC<{
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5559
|
-
option: t.UnionC<[t.Type<{
|
|
5560
|
-
[x: string]: unknown;
|
|
5561
|
-
}, {
|
|
5562
|
-
[x: string]: unknown;
|
|
5563
|
-
}, unknown>, t.UndefinedC]>;
|
|
5564
|
-
}>;
|
|
5565
|
-
amount: t.TypeC<{
|
|
5566
|
-
value: t.StringC;
|
|
5567
|
-
symbol: t.StringC;
|
|
5568
|
-
}>;
|
|
5622
|
+
signedRequest: t.IntersectionC<[t.TypeC<{
|
|
5623
|
+
invoice: t.StringC;
|
|
5569
5624
|
}>, t.PartialC<{
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5625
|
+
amountMsat: import("io-ts-types").BigIntFromStringC;
|
|
5626
|
+
feeLimitMsat: import("io-ts-types").BigIntFromStringC;
|
|
5627
|
+
feeLimitRatio: t.NumberC;
|
|
5628
|
+
}>]>;
|
|
5629
|
+
signature: t.StringC;
|
|
5574
5630
|
}>, t.TypeC<{
|
|
5575
5631
|
intentType: t.LiteralC<"payment">;
|
|
5576
|
-
|
|
5577
|
-
}>]>]>, t.TypeC<{
|
|
5578
|
-
custodianTransactionId: t.StringC;
|
|
5579
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5632
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5580
5633
|
intentType: t.KeyofC<{
|
|
5581
5634
|
payment: t.LiteralC<"payment">;
|
|
5582
5635
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5647,29 +5700,17 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5647
5700
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5648
5701
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5649
5702
|
}>]>, t.TypeC<{
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
5657
|
-
address: t.PartialC<{
|
|
5658
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5659
|
-
option: t.UnionC<[t.Type<{
|
|
5660
|
-
[x: string]: unknown;
|
|
5661
|
-
}, {
|
|
5662
|
-
[x: string]: unknown;
|
|
5663
|
-
}, unknown>, t.UndefinedC]>;
|
|
5664
|
-
}>;
|
|
5665
|
-
amount: t.TypeC<{
|
|
5666
|
-
value: t.StringC;
|
|
5667
|
-
symbol: t.StringC;
|
|
5668
|
-
}>;
|
|
5703
|
+
intentType: t.LiteralC<"payment">;
|
|
5704
|
+
onchainRequest: t.IntersectionC<[t.TypeC<{
|
|
5705
|
+
recipients: t.ArrayC<t.TypeC<{
|
|
5706
|
+
amountSat: import("io-ts-types").BigIntFromStringC;
|
|
5707
|
+
address: t.StringC;
|
|
5708
|
+
}>>;
|
|
5669
5709
|
}>, t.PartialC<{
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5710
|
+
satsPerVbyte: import("io-ts-types").BigIntFromStringC;
|
|
5711
|
+
numBlocks: t.NumberC;
|
|
5712
|
+
}>]>;
|
|
5713
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5673
5714
|
intentType: t.KeyofC<{
|
|
5674
5715
|
payment: t.LiteralC<"payment">;
|
|
5675
5716
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5740,29 +5781,14 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5740
5781
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5741
5782
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5742
5783
|
}>]>, t.TypeC<{
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5784
|
+
intentType: t.LiteralC<"signMessage">;
|
|
5785
|
+
messageRaw: t.StringC;
|
|
5786
|
+
messageEncoded: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5787
|
+
messageStandardType: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5788
|
+
signerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5748
5789
|
}>]>, t.TypeC<{
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5752
|
-
option: t.UnionC<[t.Type<{
|
|
5753
|
-
[x: string]: unknown;
|
|
5754
|
-
}, {
|
|
5755
|
-
[x: string]: unknown;
|
|
5756
|
-
}, unknown>, t.UndefinedC]>;
|
|
5757
|
-
}>;
|
|
5758
|
-
amount: t.TypeC<{
|
|
5759
|
-
value: t.StringC;
|
|
5760
|
-
symbol: t.StringC;
|
|
5761
|
-
}>;
|
|
5762
|
-
}>, t.PartialC<{
|
|
5763
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5764
|
-
}>]>>;
|
|
5765
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5790
|
+
custodianMessageId: t.StringC;
|
|
5791
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5766
5792
|
intentType: t.KeyofC<{
|
|
5767
5793
|
payment: t.LiteralC<"payment">;
|
|
5768
5794
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5832,20 +5858,6 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5832
5858
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5833
5859
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5834
5860
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5835
|
-
}>]>, t.TypeC<{
|
|
5836
|
-
stakingRequestId: t.StringC;
|
|
5837
|
-
}>, t.PartialC<{
|
|
5838
|
-
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
5839
|
-
}>]>, t.TypeC<{
|
|
5840
|
-
intentType: t.LiteralC<"claim">;
|
|
5841
|
-
}>, t.PartialC<{
|
|
5842
|
-
amount: t.UnionC<[t.Type<{
|
|
5843
|
-
value: string;
|
|
5844
|
-
symbol: string;
|
|
5845
|
-
}, {
|
|
5846
|
-
value: string;
|
|
5847
|
-
symbol: string;
|
|
5848
|
-
}, unknown>, t.UndefinedC]>;
|
|
5849
5861
|
}>]>, t.TypeC<{
|
|
5850
5862
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
5851
5863
|
address: t.PartialC<{
|
|
@@ -5863,7 +5875,14 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5863
5875
|
}>, t.PartialC<{
|
|
5864
5876
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5865
5877
|
}>]>>;
|
|
5866
|
-
}
|
|
5878
|
+
}>, t.UnionC<[t.TypeC<{
|
|
5879
|
+
intentType: t.LiteralC<"payment">;
|
|
5880
|
+
}>, t.TypeC<{
|
|
5881
|
+
intentType: t.LiteralC<"payment">;
|
|
5882
|
+
isTestTransaction: t.BooleanC;
|
|
5883
|
+
}>]>]>, t.TypeC<{
|
|
5884
|
+
custodianTransactionId: t.StringC;
|
|
5885
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5867
5886
|
intentType: t.KeyofC<{
|
|
5868
5887
|
payment: t.LiteralC<"payment">;
|
|
5869
5888
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -5933,60 +5952,30 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5933
5952
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5934
5953
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5935
5954
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5936
|
-
}>]>, t.
|
|
5937
|
-
|
|
5938
|
-
}>, t.TypeC<{
|
|
5939
|
-
intentType: t.LiteralC<"createAccount">;
|
|
5940
|
-
}>, t.PartialC<{
|
|
5941
|
-
name: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5942
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
5943
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5955
|
+
}>]>, t.TypeC<{
|
|
5956
|
+
stakingRequestId: t.StringC;
|
|
5944
5957
|
}>, t.PartialC<{
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
} & {
|
|
5954
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
5955
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
5956
|
-
type?: "max" | "base" | "tip" | undefined;
|
|
5957
|
-
}, unknown>, t.UndefinedC]>;
|
|
5958
|
-
}>]>, t.PartialC<{
|
|
5959
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5960
|
-
}>, t.PartialC<{
|
|
5961
|
-
index: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
5962
|
-
recipients: t.UnionC<[t.Type<({
|
|
5963
|
-
address: {
|
|
5964
|
-
address?: string | undefined;
|
|
5965
|
-
option?: {
|
|
5958
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
5959
|
+
}>]>, t.TypeC<{
|
|
5960
|
+
intentType: t.LiteralC<"stake">;
|
|
5961
|
+
}>]>, t.TypeC<{
|
|
5962
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
5963
|
+
address: t.PartialC<{
|
|
5964
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5965
|
+
option: t.UnionC<[t.Type<{
|
|
5966
5966
|
[x: string]: unknown;
|
|
5967
|
-
}
|
|
5968
|
-
};
|
|
5969
|
-
amount: {
|
|
5970
|
-
value: string;
|
|
5971
|
-
symbol: string;
|
|
5972
|
-
};
|
|
5973
|
-
} & {
|
|
5974
|
-
data?: string | undefined;
|
|
5975
|
-
})[], ({
|
|
5976
|
-
address: {
|
|
5977
|
-
address?: string | undefined;
|
|
5978
|
-
option?: {
|
|
5967
|
+
}, {
|
|
5979
5968
|
[x: string]: unknown;
|
|
5980
|
-
}
|
|
5981
|
-
}
|
|
5982
|
-
amount: {
|
|
5983
|
-
value:
|
|
5984
|
-
symbol:
|
|
5985
|
-
}
|
|
5986
|
-
}
|
|
5987
|
-
data
|
|
5988
|
-
}
|
|
5989
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5969
|
+
}, unknown>, t.UndefinedC]>;
|
|
5970
|
+
}>;
|
|
5971
|
+
amount: t.TypeC<{
|
|
5972
|
+
value: t.StringC;
|
|
5973
|
+
symbol: t.StringC;
|
|
5974
|
+
}>;
|
|
5975
|
+
}>, t.PartialC<{
|
|
5976
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5977
|
+
}>]>>;
|
|
5978
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
5990
5979
|
intentType: t.KeyofC<{
|
|
5991
5980
|
payment: t.LiteralC<"payment">;
|
|
5992
5981
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -6056,31 +6045,29 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6056
6045
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6057
6046
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6058
6047
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6059
|
-
}>]>, t.
|
|
6060
|
-
|
|
6048
|
+
}>]>, t.TypeC<{
|
|
6049
|
+
stakingRequestId: t.StringC;
|
|
6061
6050
|
}>, t.PartialC<{
|
|
6062
|
-
|
|
6063
|
-
amount: string | number;
|
|
6064
|
-
} & {
|
|
6065
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6066
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6067
|
-
type?: "max" | "base" | "tip" | undefined;
|
|
6068
|
-
}, {
|
|
6069
|
-
amount: string | number;
|
|
6070
|
-
} & {
|
|
6071
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6072
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6073
|
-
type?: "max" | "base" | "tip" | undefined;
|
|
6074
|
-
}, unknown>, t.UndefinedC]>;
|
|
6051
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6075
6052
|
}>]>, t.TypeC<{
|
|
6076
|
-
intentType: t.LiteralC<"
|
|
6077
|
-
|
|
6078
|
-
|
|
6053
|
+
intentType: t.LiteralC<"unstake">;
|
|
6054
|
+
}>]>, t.TypeC<{
|
|
6055
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
6056
|
+
address: t.PartialC<{
|
|
6057
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6058
|
+
option: t.UnionC<[t.Type<{
|
|
6059
|
+
[x: string]: unknown;
|
|
6060
|
+
}, {
|
|
6061
|
+
[x: string]: unknown;
|
|
6062
|
+
}, unknown>, t.UndefinedC]>;
|
|
6063
|
+
}>;
|
|
6064
|
+
amount: t.TypeC<{
|
|
6065
|
+
value: t.StringC;
|
|
6066
|
+
symbol: t.StringC;
|
|
6067
|
+
}>;
|
|
6079
6068
|
}>, t.PartialC<{
|
|
6080
|
-
|
|
6069
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6081
6070
|
}>]>>;
|
|
6082
|
-
}>, t.PartialC<{
|
|
6083
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6084
6071
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6085
6072
|
intentType: t.KeyofC<{
|
|
6086
6073
|
payment: t.LiteralC<"payment">;
|
|
@@ -6155,21 +6142,15 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6155
6142
|
stakingRequestId: t.StringC;
|
|
6156
6143
|
}>, t.PartialC<{
|
|
6157
6144
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6158
|
-
}>]>, t.
|
|
6159
|
-
|
|
6145
|
+
}>]>, t.TypeC<{
|
|
6146
|
+
intentType: t.LiteralC<"claim">;
|
|
6160
6147
|
}>, t.PartialC<{
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6165
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6166
|
-
type?: "max" | "base" | "tip" | undefined;
|
|
6148
|
+
amount: t.UnionC<[t.Type<{
|
|
6149
|
+
value: string;
|
|
6150
|
+
symbol: string;
|
|
6167
6151
|
}, {
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6171
|
-
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6172
|
-
type?: "max" | "base" | "tip" | undefined;
|
|
6152
|
+
value: string;
|
|
6153
|
+
symbol: string;
|
|
6173
6154
|
}, unknown>, t.UndefinedC]>;
|
|
6174
6155
|
}>]>, t.TypeC<{
|
|
6175
6156
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -6188,11 +6169,6 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6188
6169
|
}>, t.PartialC<{
|
|
6189
6170
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6190
6171
|
}>]>>;
|
|
6191
|
-
}>]>, t.TypeC<{
|
|
6192
|
-
intentType: t.LiteralC<"stake">;
|
|
6193
|
-
}>, t.PartialC<{
|
|
6194
|
-
addToStake: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
6195
|
-
validators: t.ArrayC<t.StringC>;
|
|
6196
6172
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6197
6173
|
intentType: t.KeyofC<{
|
|
6198
6174
|
payment: t.LiteralC<"payment">;
|
|
@@ -6263,10 +6239,12 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6263
6239
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6264
6240
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6265
6241
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6266
|
-
}>]>, t.
|
|
6267
|
-
|
|
6242
|
+
}>]>, t.PartialC<{
|
|
6243
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6244
|
+
}>, t.TypeC<{
|
|
6245
|
+
intentType: t.LiteralC<"createAccount">;
|
|
6268
6246
|
}>, t.PartialC<{
|
|
6269
|
-
|
|
6247
|
+
name: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6270
6248
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6271
6249
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6272
6250
|
}>, t.PartialC<{
|
|
@@ -6283,10 +6261,38 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6283
6261
|
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6284
6262
|
type?: "max" | "base" | "tip" | undefined;
|
|
6285
6263
|
}, unknown>, t.UndefinedC]>;
|
|
6286
|
-
}>]>, t.
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6264
|
+
}>]>, t.PartialC<{
|
|
6265
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6266
|
+
}>, t.PartialC<{
|
|
6267
|
+
index: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
6268
|
+
recipients: t.UnionC<[t.Type<({
|
|
6269
|
+
address: {
|
|
6270
|
+
address?: string | undefined;
|
|
6271
|
+
option?: {
|
|
6272
|
+
[x: string]: unknown;
|
|
6273
|
+
} | undefined;
|
|
6274
|
+
};
|
|
6275
|
+
amount: {
|
|
6276
|
+
value: string;
|
|
6277
|
+
symbol: string;
|
|
6278
|
+
};
|
|
6279
|
+
} & {
|
|
6280
|
+
data?: string | undefined;
|
|
6281
|
+
})[], ({
|
|
6282
|
+
address: {
|
|
6283
|
+
address?: string | undefined;
|
|
6284
|
+
option?: {
|
|
6285
|
+
[x: string]: unknown;
|
|
6286
|
+
} | undefined;
|
|
6287
|
+
};
|
|
6288
|
+
amount: {
|
|
6289
|
+
value: string;
|
|
6290
|
+
symbol: string;
|
|
6291
|
+
};
|
|
6292
|
+
} & {
|
|
6293
|
+
data?: string | undefined;
|
|
6294
|
+
})[], unknown>, t.UndefinedC]>;
|
|
6295
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6290
6296
|
intentType: t.KeyofC<{
|
|
6291
6297
|
payment: t.LiteralC<"payment">;
|
|
6292
6298
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -6356,10 +6362,6 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6356
6362
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6357
6363
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6358
6364
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6359
|
-
}>]>, t.TypeC<{
|
|
6360
|
-
stakingRequestId: t.StringC;
|
|
6361
|
-
}>, t.PartialC<{
|
|
6362
|
-
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6363
6365
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6364
6366
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6365
6367
|
}>, t.PartialC<{
|
|
@@ -6377,26 +6379,14 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6377
6379
|
type?: "max" | "base" | "tip" | undefined;
|
|
6378
6380
|
}, unknown>, t.UndefinedC]>;
|
|
6379
6381
|
}>]>, t.TypeC<{
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
option: t.UnionC<[t.Type<{
|
|
6384
|
-
[x: string]: unknown;
|
|
6385
|
-
}, {
|
|
6386
|
-
[x: string]: unknown;
|
|
6387
|
-
}, unknown>, t.UndefinedC]>;
|
|
6388
|
-
}>;
|
|
6389
|
-
amount: t.TypeC<{
|
|
6390
|
-
value: t.StringC;
|
|
6391
|
-
symbol: t.StringC;
|
|
6392
|
-
}>;
|
|
6382
|
+
intentType: t.LiteralC<"enableToken">;
|
|
6383
|
+
enableTokens: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
6384
|
+
name: t.StringC;
|
|
6393
6385
|
}>, t.PartialC<{
|
|
6394
|
-
|
|
6386
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6395
6387
|
}>]>>;
|
|
6396
|
-
}>]>, t.TypeC<{
|
|
6397
|
-
intentType: t.LiteralC<"unstake">;
|
|
6398
6388
|
}>, t.PartialC<{
|
|
6399
|
-
|
|
6389
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6400
6390
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6401
6391
|
intentType: t.KeyofC<{
|
|
6402
6392
|
payment: t.LiteralC<"payment">;
|
|
@@ -6505,8 +6495,11 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6505
6495
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6506
6496
|
}>]>>;
|
|
6507
6497
|
}>]>, t.TypeC<{
|
|
6508
|
-
intentType: t.LiteralC<"
|
|
6509
|
-
}
|
|
6498
|
+
intentType: t.LiteralC<"stake">;
|
|
6499
|
+
}>, t.PartialC<{
|
|
6500
|
+
addToStake: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
6501
|
+
validators: t.ArrayC<t.StringC>;
|
|
6502
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6510
6503
|
intentType: t.KeyofC<{
|
|
6511
6504
|
payment: t.LiteralC<"payment">;
|
|
6512
6505
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -6576,20 +6569,29 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6576
6569
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6577
6570
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6578
6571
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6572
|
+
}>]>, t.TypeC<{
|
|
6573
|
+
stakingRequestId: t.StringC;
|
|
6574
|
+
}>, t.PartialC<{
|
|
6575
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6579
6576
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6580
6577
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6581
|
-
}>, t.
|
|
6582
|
-
|
|
6578
|
+
}>, t.PartialC<{
|
|
6579
|
+
fee: t.UnionC<[t.Type<{
|
|
6580
|
+
amount: string | number;
|
|
6581
|
+
} & {
|
|
6582
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6583
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6584
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6585
|
+
}, {
|
|
6586
|
+
amount: string | number;
|
|
6587
|
+
} & {
|
|
6588
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6589
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6590
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6591
|
+
}, unknown>, t.UndefinedC]>;
|
|
6583
6592
|
}>]>, t.TypeC<{
|
|
6584
|
-
intentType: t.LiteralC<"
|
|
6585
|
-
|
|
6586
|
-
stakeAccount: t.StringC;
|
|
6587
|
-
oldWithdrawPublicKey: t.StringC;
|
|
6588
|
-
newWithdrawPublicKey: t.StringC;
|
|
6589
|
-
lockupPublicKey: t.StringC;
|
|
6590
|
-
nonceAccount: t.StringC;
|
|
6591
|
-
nonceAuthority: t.StringC;
|
|
6592
|
-
blockhash: t.StringC;
|
|
6593
|
+
intentType: t.LiteralC<"switchValidator">;
|
|
6594
|
+
validators: t.ArrayC<t.StringC>;
|
|
6593
6595
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6594
6596
|
intentType: t.KeyofC<{
|
|
6595
6597
|
payment: t.LiteralC<"payment">;
|
|
@@ -6664,25 +6666,329 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6664
6666
|
stakingRequestId: t.StringC;
|
|
6665
6667
|
}>, t.PartialC<{
|
|
6666
6668
|
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6667
|
-
}>]>, t.
|
|
6668
|
-
|
|
6669
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6670
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6669
6671
|
}>, t.PartialC<{
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6672
|
+
fee: t.UnionC<[t.Type<{
|
|
6673
|
+
amount: string | number;
|
|
6674
|
+
} & {
|
|
6675
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6676
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6677
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6673
6678
|
}, {
|
|
6674
|
-
|
|
6675
|
-
|
|
6679
|
+
amount: string | number;
|
|
6680
|
+
} & {
|
|
6681
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6682
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6683
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6676
6684
|
}, unknown>, t.UndefinedC]>;
|
|
6677
|
-
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6678
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6679
|
-
}>, t.TypeC<{
|
|
6680
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6681
6685
|
}>]>, t.TypeC<{
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
6687
|
+
address: t.PartialC<{
|
|
6688
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6689
|
+
option: t.UnionC<[t.Type<{
|
|
6690
|
+
[x: string]: unknown;
|
|
6691
|
+
}, {
|
|
6692
|
+
[x: string]: unknown;
|
|
6693
|
+
}, unknown>, t.UndefinedC]>;
|
|
6694
|
+
}>;
|
|
6695
|
+
amount: t.TypeC<{
|
|
6696
|
+
value: t.StringC;
|
|
6697
|
+
symbol: t.StringC;
|
|
6698
|
+
}>;
|
|
6699
|
+
}>, t.PartialC<{
|
|
6700
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6701
|
+
}>]>>;
|
|
6702
|
+
}>]>, t.TypeC<{
|
|
6703
|
+
intentType: t.LiteralC<"unstake">;
|
|
6704
|
+
}>, t.PartialC<{
|
|
6705
|
+
stopStaking: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
6706
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6707
|
+
intentType: t.KeyofC<{
|
|
6708
|
+
payment: t.LiteralC<"payment">;
|
|
6709
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
6710
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
6711
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
6712
|
+
fanout: t.LiteralC<"fanout">;
|
|
6713
|
+
stake: t.LiteralC<"stake">;
|
|
6714
|
+
unstake: t.LiteralC<"unstake">;
|
|
6715
|
+
delegate: t.LiteralC<"delegate">;
|
|
6716
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
6717
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
6718
|
+
claim: t.LiteralC<"claim">;
|
|
6719
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
6720
|
+
pledge: t.LiteralC<"pledge">;
|
|
6721
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
6722
|
+
vote: t.LiteralC<"vote">;
|
|
6723
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
6724
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
6725
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
6726
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
6727
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
6728
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
6729
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
6730
|
+
authorize: t.LiteralC<"authorize">;
|
|
6731
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
6732
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
6733
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
6734
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
6735
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
6736
|
+
customTx: t.LiteralC<"customTx">;
|
|
6737
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
6738
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
6739
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
6740
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
6741
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
6742
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
6743
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
6744
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
6745
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
6746
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
6747
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
6748
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
6749
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
6750
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
6751
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
6752
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
6753
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
6754
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
6755
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
6756
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
6757
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
6758
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
6759
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
6760
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
6761
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
6762
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
6763
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
6764
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
6765
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
6766
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
6767
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
6768
|
+
export: t.LiteralC<"export">;
|
|
6769
|
+
import: t.LiteralC<"import">;
|
|
6770
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
6771
|
+
}>;
|
|
6772
|
+
}>, t.PartialC<{
|
|
6773
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6774
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6775
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6776
|
+
}>]>, t.TypeC<{
|
|
6777
|
+
stakingRequestId: t.StringC;
|
|
6778
|
+
}>, t.PartialC<{
|
|
6779
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6780
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6781
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6782
|
+
}>, t.PartialC<{
|
|
6783
|
+
fee: t.UnionC<[t.Type<{
|
|
6784
|
+
amount: string | number;
|
|
6785
|
+
} & {
|
|
6786
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6787
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6788
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6789
|
+
}, {
|
|
6790
|
+
amount: string | number;
|
|
6791
|
+
} & {
|
|
6792
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
6793
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | undefined;
|
|
6794
|
+
type?: "max" | "base" | "tip" | undefined;
|
|
6795
|
+
}, unknown>, t.UndefinedC]>;
|
|
6796
|
+
}>]>, t.TypeC<{
|
|
6797
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
6798
|
+
address: t.PartialC<{
|
|
6799
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6800
|
+
option: t.UnionC<[t.Type<{
|
|
6801
|
+
[x: string]: unknown;
|
|
6802
|
+
}, {
|
|
6803
|
+
[x: string]: unknown;
|
|
6804
|
+
}, unknown>, t.UndefinedC]>;
|
|
6805
|
+
}>;
|
|
6806
|
+
amount: t.TypeC<{
|
|
6807
|
+
value: t.StringC;
|
|
6808
|
+
symbol: t.StringC;
|
|
6809
|
+
}>;
|
|
6810
|
+
}>, t.PartialC<{
|
|
6811
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6812
|
+
}>]>>;
|
|
6813
|
+
}>]>, t.TypeC<{
|
|
6814
|
+
intentType: t.LiteralC<"claim">;
|
|
6815
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6816
|
+
intentType: t.KeyofC<{
|
|
6817
|
+
payment: t.LiteralC<"payment">;
|
|
6818
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
6819
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
6820
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
6821
|
+
fanout: t.LiteralC<"fanout">;
|
|
6822
|
+
stake: t.LiteralC<"stake">;
|
|
6823
|
+
unstake: t.LiteralC<"unstake">;
|
|
6824
|
+
delegate: t.LiteralC<"delegate">;
|
|
6825
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
6826
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
6827
|
+
claim: t.LiteralC<"claim">;
|
|
6828
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
6829
|
+
pledge: t.LiteralC<"pledge">;
|
|
6830
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
6831
|
+
vote: t.LiteralC<"vote">;
|
|
6832
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
6833
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
6834
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
6835
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
6836
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
6837
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
6838
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
6839
|
+
authorize: t.LiteralC<"authorize">;
|
|
6840
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
6841
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
6842
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
6843
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
6844
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
6845
|
+
customTx: t.LiteralC<"customTx">;
|
|
6846
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
6847
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
6848
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
6849
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
6850
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
6851
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
6852
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
6853
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
6854
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
6855
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
6856
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
6857
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
6858
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
6859
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
6860
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
6861
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
6862
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
6863
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
6864
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
6865
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
6866
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
6867
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
6868
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
6869
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
6870
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
6871
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
6872
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
6873
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
6874
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
6875
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
6876
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
6877
|
+
export: t.LiteralC<"export">;
|
|
6878
|
+
import: t.LiteralC<"import">;
|
|
6879
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
6880
|
+
}>;
|
|
6881
|
+
}>, t.PartialC<{
|
|
6882
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6883
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6884
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6885
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6886
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6887
|
+
}>, t.TypeC<{
|
|
6888
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6889
|
+
}>]>, t.TypeC<{
|
|
6890
|
+
intentType: t.LiteralC<"authorize">;
|
|
6891
|
+
transactionMessage: t.StringC;
|
|
6892
|
+
stakeAccount: t.StringC;
|
|
6893
|
+
oldWithdrawPublicKey: t.StringC;
|
|
6894
|
+
newWithdrawPublicKey: t.StringC;
|
|
6895
|
+
lockupPublicKey: t.StringC;
|
|
6896
|
+
nonceAccount: t.StringC;
|
|
6897
|
+
nonceAuthority: t.StringC;
|
|
6898
|
+
blockhash: t.StringC;
|
|
6899
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6900
|
+
intentType: t.KeyofC<{
|
|
6901
|
+
payment: t.LiteralC<"payment">;
|
|
6902
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
6903
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
6904
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
6905
|
+
fanout: t.LiteralC<"fanout">;
|
|
6906
|
+
stake: t.LiteralC<"stake">;
|
|
6907
|
+
unstake: t.LiteralC<"unstake">;
|
|
6908
|
+
delegate: t.LiteralC<"delegate">;
|
|
6909
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
6910
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
6911
|
+
claim: t.LiteralC<"claim">;
|
|
6912
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
6913
|
+
pledge: t.LiteralC<"pledge">;
|
|
6914
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
6915
|
+
vote: t.LiteralC<"vote">;
|
|
6916
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
6917
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
6918
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
6919
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
6920
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
6921
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
6922
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
6923
|
+
authorize: t.LiteralC<"authorize">;
|
|
6924
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
6925
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
6926
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
6927
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
6928
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
6929
|
+
customTx: t.LiteralC<"customTx">;
|
|
6930
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
6931
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
6932
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
6933
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
6934
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
6935
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
6936
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
6937
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
6938
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
6939
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
6940
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
6941
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
6942
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
6943
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
6944
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
6945
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
6946
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
6947
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
6948
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
6949
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
6950
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
6951
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
6952
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
6953
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
6954
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
6955
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
6956
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
6957
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
6958
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
6959
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
6960
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
6961
|
+
export: t.LiteralC<"export">;
|
|
6962
|
+
import: t.LiteralC<"import">;
|
|
6963
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
6964
|
+
}>;
|
|
6965
|
+
}>, t.PartialC<{
|
|
6966
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6967
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6968
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6969
|
+
}>]>, t.TypeC<{
|
|
6970
|
+
stakingRequestId: t.StringC;
|
|
6971
|
+
}>, t.PartialC<{
|
|
6972
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
6973
|
+
}>]>, t.TypeC<{
|
|
6974
|
+
intentType: t.LiteralC<"claim">;
|
|
6975
|
+
}>, t.PartialC<{
|
|
6976
|
+
amount: t.UnionC<[t.Type<{
|
|
6977
|
+
value: string;
|
|
6978
|
+
symbol: string;
|
|
6979
|
+
}, {
|
|
6980
|
+
value: string;
|
|
6981
|
+
symbol: string;
|
|
6982
|
+
}, unknown>, t.UndefinedC]>;
|
|
6983
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6984
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6985
|
+
}>, t.TypeC<{
|
|
6986
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6987
|
+
}>]>, t.TypeC<{
|
|
6988
|
+
amount: t.TypeC<{
|
|
6989
|
+
value: t.StringC;
|
|
6990
|
+
symbol: t.StringC;
|
|
6991
|
+
}>;
|
|
6686
6992
|
}>, t.TypeC<{
|
|
6687
6993
|
stakingAddress: t.StringC;
|
|
6688
6994
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
@@ -15055,8 +15361,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
15055
15361
|
ExerciseCommand: t.IntersectionC<[t.TypeC<{
|
|
15056
15362
|
templateId: t.StringC;
|
|
15057
15363
|
choice: t.StringC;
|
|
15058
|
-
choiceArgument: t.RecordC<t.StringC, t.UnknownC>;
|
|
15059
15364
|
}>, t.PartialC<{
|
|
15365
|
+
choiceArgument: t.RecordC<t.StringC, t.UnknownC>;
|
|
15060
15366
|
contractId: t.StringC;
|
|
15061
15367
|
}>]>;
|
|
15062
15368
|
}>]>;
|
|
@@ -15072,6 +15378,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
15072
15378
|
resolveAll: t.BooleanC;
|
|
15073
15379
|
}>]>>;
|
|
15074
15380
|
}>]>;
|
|
15381
|
+
}>, t.PartialC<{
|
|
15382
|
+
token: t.StringC;
|
|
15075
15383
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
15076
15384
|
intentType: t.KeyofC<{
|
|
15077
15385
|
payment: t.LiteralC<"payment">;
|
|
@@ -17899,7 +18207,255 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
17899
18207
|
symbol: t.StringC;
|
|
17900
18208
|
}>;
|
|
17901
18209
|
}>, t.TypeC<{
|
|
17902
|
-
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
18210
|
+
intentType: t.LiteralC<"stakeClaimRewards">;
|
|
18211
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18212
|
+
intentType: t.KeyofC<{
|
|
18213
|
+
payment: t.LiteralC<"payment">;
|
|
18214
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
18215
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
18216
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
18217
|
+
fanout: t.LiteralC<"fanout">;
|
|
18218
|
+
stake: t.LiteralC<"stake">;
|
|
18219
|
+
unstake: t.LiteralC<"unstake">;
|
|
18220
|
+
delegate: t.LiteralC<"delegate">;
|
|
18221
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
18222
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
18223
|
+
claim: t.LiteralC<"claim">;
|
|
18224
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
18225
|
+
pledge: t.LiteralC<"pledge">;
|
|
18226
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
18227
|
+
vote: t.LiteralC<"vote">;
|
|
18228
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
18229
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
18230
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
18231
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
18232
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
18233
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
18234
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
18235
|
+
authorize: t.LiteralC<"authorize">;
|
|
18236
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
18237
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
18238
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
18239
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
18240
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
18241
|
+
customTx: t.LiteralC<"customTx">;
|
|
18242
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
18243
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
18244
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
18245
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
18246
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
18247
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
18248
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
18249
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
18250
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
18251
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
18252
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
18253
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
18254
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
18255
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
18256
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
18257
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
18258
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
18259
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
18260
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
18261
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
18262
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
18263
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
18264
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
18265
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
18266
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
18267
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
18268
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
18269
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
18270
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
18271
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
18272
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
18273
|
+
export: t.LiteralC<"export">;
|
|
18274
|
+
import: t.LiteralC<"import">;
|
|
18275
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
18276
|
+
}>;
|
|
18277
|
+
}>, t.PartialC<{
|
|
18278
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18279
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18280
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18281
|
+
}>]>, t.TypeC<{
|
|
18282
|
+
stakingRequestId: t.StringC;
|
|
18283
|
+
}>, t.PartialC<{
|
|
18284
|
+
source: t.KeyofC<typeof import(".").StakingRequestSourceEnum>;
|
|
18285
|
+
}>]>, t.TypeC<{
|
|
18286
|
+
intentType: t.LiteralC<"undelegate">;
|
|
18287
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18288
|
+
intentType: t.KeyofC<{
|
|
18289
|
+
payment: t.LiteralC<"payment">;
|
|
18290
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
18291
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
18292
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
18293
|
+
fanout: t.LiteralC<"fanout">;
|
|
18294
|
+
stake: t.LiteralC<"stake">;
|
|
18295
|
+
unstake: t.LiteralC<"unstake">;
|
|
18296
|
+
delegate: t.LiteralC<"delegate">;
|
|
18297
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
18298
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
18299
|
+
claim: t.LiteralC<"claim">;
|
|
18300
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
18301
|
+
pledge: t.LiteralC<"pledge">;
|
|
18302
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
18303
|
+
vote: t.LiteralC<"vote">;
|
|
18304
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
18305
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
18306
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
18307
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
18308
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
18309
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
18310
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
18311
|
+
authorize: t.LiteralC<"authorize">;
|
|
18312
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
18313
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
18314
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
18315
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
18316
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
18317
|
+
customTx: t.LiteralC<"customTx">;
|
|
18318
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
18319
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
18320
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
18321
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
18322
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
18323
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
18324
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
18325
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
18326
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
18327
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
18328
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
18329
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
18330
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
18331
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
18332
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
18333
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
18334
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
18335
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
18336
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
18337
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
18338
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
18339
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
18340
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
18341
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
18342
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
18343
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
18344
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
18345
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
18346
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
18347
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
18348
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
18349
|
+
export: t.LiteralC<"export">;
|
|
18350
|
+
import: t.LiteralC<"import">;
|
|
18351
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
18352
|
+
}>;
|
|
18353
|
+
}>, t.PartialC<{
|
|
18354
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18355
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18356
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18357
|
+
}>]>, t.TypeC<{
|
|
18358
|
+
intentType: t.LiteralC<"feeAddressTransfer">;
|
|
18359
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
18360
|
+
address: t.PartialC<{
|
|
18361
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18362
|
+
option: t.UnionC<[t.Type<{
|
|
18363
|
+
[x: string]: unknown;
|
|
18364
|
+
}, {
|
|
18365
|
+
[x: string]: unknown;
|
|
18366
|
+
}, unknown>, t.UndefinedC]>;
|
|
18367
|
+
}>;
|
|
18368
|
+
amount: t.TypeC<{
|
|
18369
|
+
value: t.StringC;
|
|
18370
|
+
symbol: t.StringC;
|
|
18371
|
+
}>;
|
|
18372
|
+
}>, t.PartialC<{
|
|
18373
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18374
|
+
}>]>>;
|
|
18375
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18376
|
+
intentType: t.KeyofC<{
|
|
18377
|
+
payment: t.LiteralC<"payment">;
|
|
18378
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
18379
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
18380
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
18381
|
+
fanout: t.LiteralC<"fanout">;
|
|
18382
|
+
stake: t.LiteralC<"stake">;
|
|
18383
|
+
unstake: t.LiteralC<"unstake">;
|
|
18384
|
+
delegate: t.LiteralC<"delegate">;
|
|
18385
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
18386
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
18387
|
+
claim: t.LiteralC<"claim">;
|
|
18388
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
18389
|
+
pledge: t.LiteralC<"pledge">;
|
|
18390
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
18391
|
+
vote: t.LiteralC<"vote">;
|
|
18392
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
18393
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
18394
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
18395
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
18396
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
18397
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
18398
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
18399
|
+
authorize: t.LiteralC<"authorize">;
|
|
18400
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
18401
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
18402
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
18403
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
18404
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
18405
|
+
customTx: t.LiteralC<"customTx">;
|
|
18406
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
18407
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
18408
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
18409
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
18410
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
18411
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
18412
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
18413
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
18414
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
18415
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
18416
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
18417
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
18418
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
18419
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
18420
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
18421
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
18422
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
18423
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
18424
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
18425
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
18426
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
18427
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
18428
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
18429
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
18430
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
18431
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
18432
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
18433
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
18434
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
18435
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
18436
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
18437
|
+
export: t.LiteralC<"export">;
|
|
18438
|
+
import: t.LiteralC<"import">;
|
|
18439
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
18440
|
+
}>;
|
|
18441
|
+
}>, t.PartialC<{
|
|
18442
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18443
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18444
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18445
|
+
}>]>, t.PartialC<{
|
|
18446
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18447
|
+
}>, t.TypeC<{
|
|
18448
|
+
intentType: t.LiteralC<"updateAccount">;
|
|
18449
|
+
}>, t.PartialC<{
|
|
18450
|
+
options: t.UnionC<[t.Type<{
|
|
18451
|
+
[x: string]: unknown;
|
|
18452
|
+
}, {
|
|
18453
|
+
[x: string]: unknown;
|
|
18454
|
+
}, unknown>, t.UndefinedC]>;
|
|
18455
|
+
}>]>, t.PartialC<{
|
|
18456
|
+
stakedNodeId: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
18457
|
+
stakedAccountId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18458
|
+
declineStakingReward: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
17903
18459
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
17904
18460
|
intentType: t.KeyofC<{
|
|
17905
18461
|
payment: t.LiteralC<"payment">;
|
|
@@ -17971,11 +18527,34 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
17971
18527
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
17972
18528
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
17973
18529
|
}>]>, t.TypeC<{
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
|
|
17978
|
-
|
|
18530
|
+
amount: t.TypeC<{
|
|
18531
|
+
value: t.StringC;
|
|
18532
|
+
symbol: t.StringC;
|
|
18533
|
+
}>;
|
|
18534
|
+
}>, t.TypeC<{
|
|
18535
|
+
intentType: t.LiteralC<"bridgeFunds">;
|
|
18536
|
+
}>]>, t.PartialC<{
|
|
18537
|
+
feeOptions: t.UnionC<[t.Type<{
|
|
18538
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
18539
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
18540
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
18541
|
+
gasLimit?: number | undefined;
|
|
18542
|
+
gasPrice?: number | undefined;
|
|
18543
|
+
} | {
|
|
18544
|
+
gasLimit?: number | undefined;
|
|
18545
|
+
maxFeePerGas?: number | undefined;
|
|
18546
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
18547
|
+
}, {
|
|
18548
|
+
unit?: "baseUnit" | "cpu" | "ram" | undefined;
|
|
18549
|
+
formula?: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
|
|
18550
|
+
feeType?: "max" | "base" | "tip" | undefined;
|
|
18551
|
+
gasLimit?: number | undefined;
|
|
18552
|
+
gasPrice?: number | undefined;
|
|
18553
|
+
} | {
|
|
18554
|
+
gasLimit?: number | undefined;
|
|
18555
|
+
maxFeePerGas?: number | undefined;
|
|
18556
|
+
maxPriorityFeePerGas?: number | undefined;
|
|
18557
|
+
}, unknown>, t.UndefinedC]>;
|
|
17979
18558
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
17980
18559
|
intentType: t.KeyofC<{
|
|
17981
18560
|
payment: t.LiteralC<"payment">;
|
|
@@ -18047,7 +18626,6 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18047
18626
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18048
18627
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18049
18628
|
}>]>, t.TypeC<{
|
|
18050
|
-
intentType: t.LiteralC<"feeAddressTransfer">;
|
|
18051
18629
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
18052
18630
|
address: t.PartialC<{
|
|
18053
18631
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
@@ -18064,7 +18642,9 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18064
18642
|
}>, t.PartialC<{
|
|
18065
18643
|
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18066
18644
|
}>]>>;
|
|
18067
|
-
}
|
|
18645
|
+
}>, t.TypeC<{
|
|
18646
|
+
intentType: t.LiteralC<"spotTransfer">;
|
|
18647
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18068
18648
|
intentType: t.KeyofC<{
|
|
18069
18649
|
payment: t.LiteralC<"payment">;
|
|
18070
18650
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -18134,20 +18714,11 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18134
18714
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18135
18715
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18136
18716
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18137
|
-
}>]>, t.
|
|
18138
|
-
|
|
18139
|
-
|
|
18140
|
-
intentType: t.LiteralC<"updateAccount">;
|
|
18717
|
+
}>]>, t.TypeC<{
|
|
18718
|
+
intentType: t.LiteralC<"enableBridging">;
|
|
18719
|
+
asset: t.StringC;
|
|
18141
18720
|
}>, t.PartialC<{
|
|
18142
|
-
|
|
18143
|
-
[x: string]: unknown;
|
|
18144
|
-
}, {
|
|
18145
|
-
[x: string]: unknown;
|
|
18146
|
-
}, unknown>, t.UndefinedC]>;
|
|
18147
|
-
}>]>, t.PartialC<{
|
|
18148
|
-
stakedNodeId: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
18149
|
-
stakedAccountId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18150
|
-
declineStakingReward: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
18721
|
+
network: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18151
18722
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18152
18723
|
intentType: t.KeyofC<{
|
|
18153
18724
|
payment: t.LiteralC<"payment">;
|
|
@@ -18219,34 +18790,89 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18219
18790
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18220
18791
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18221
18792
|
}>]>, t.TypeC<{
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
|
|
18793
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
18794
|
+
address: t.PartialC<{
|
|
18795
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18796
|
+
option: t.UnionC<[t.Type<{
|
|
18797
|
+
[x: string]: unknown;
|
|
18798
|
+
}, {
|
|
18799
|
+
[x: string]: unknown;
|
|
18800
|
+
}, unknown>, t.UndefinedC]>;
|
|
18801
|
+
}>;
|
|
18802
|
+
amount: t.TypeC<{
|
|
18803
|
+
value: t.StringC;
|
|
18804
|
+
symbol: t.StringC;
|
|
18805
|
+
}>;
|
|
18806
|
+
}>, t.PartialC<{
|
|
18807
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18808
|
+
}>]>>;
|
|
18809
|
+
}>, t.UnionC<[t.TypeC<{
|
|
18810
|
+
intentType: t.LiteralC<"payment">;
|
|
18226
18811
|
}>, t.TypeC<{
|
|
18227
|
-
intentType: t.LiteralC<"
|
|
18228
|
-
|
|
18229
|
-
|
|
18230
|
-
|
|
18231
|
-
|
|
18232
|
-
|
|
18233
|
-
|
|
18234
|
-
|
|
18235
|
-
|
|
18236
|
-
|
|
18237
|
-
|
|
18238
|
-
|
|
18239
|
-
|
|
18240
|
-
|
|
18241
|
-
|
|
18242
|
-
|
|
18243
|
-
|
|
18244
|
-
|
|
18245
|
-
|
|
18246
|
-
|
|
18247
|
-
|
|
18248
|
-
|
|
18249
|
-
|
|
18812
|
+
intentType: t.LiteralC<"payment">;
|
|
18813
|
+
isTestTransaction: t.BooleanC;
|
|
18814
|
+
}>]>]>, t.PartialC<{
|
|
18815
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18816
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.PartialC<{
|
|
18817
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18818
|
+
}>, t.TypeC<{
|
|
18819
|
+
intentType: t.LiteralC<"consolidate">;
|
|
18820
|
+
receiveAddress: t.StringC;
|
|
18821
|
+
}>, t.PartialC<{
|
|
18822
|
+
senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
|
|
18823
|
+
consolidateId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18824
|
+
recipients: t.UnionC<[t.Type<({
|
|
18825
|
+
address: {
|
|
18826
|
+
address?: string | undefined;
|
|
18827
|
+
option?: {
|
|
18828
|
+
[x: string]: unknown;
|
|
18829
|
+
} | undefined;
|
|
18830
|
+
};
|
|
18831
|
+
amount: {
|
|
18832
|
+
value: string;
|
|
18833
|
+
symbol: string;
|
|
18834
|
+
};
|
|
18835
|
+
} & {
|
|
18836
|
+
data?: string | undefined;
|
|
18837
|
+
} & {
|
|
18838
|
+
tokenData?: ({
|
|
18839
|
+
tokenQuantity: string;
|
|
18840
|
+
tokenType: string;
|
|
18841
|
+
} & {
|
|
18842
|
+
tokenId?: string | undefined;
|
|
18843
|
+
} & {
|
|
18844
|
+
tokenName: string;
|
|
18845
|
+
} & {
|
|
18846
|
+
tokenContractAddress?: string | undefined;
|
|
18847
|
+
decimals?: number | undefined;
|
|
18848
|
+
}) | undefined;
|
|
18849
|
+
})[], ({
|
|
18850
|
+
address: {
|
|
18851
|
+
address?: string | undefined;
|
|
18852
|
+
option?: {
|
|
18853
|
+
[x: string]: unknown;
|
|
18854
|
+
} | undefined;
|
|
18855
|
+
};
|
|
18856
|
+
amount: {
|
|
18857
|
+
value: string;
|
|
18858
|
+
symbol: string;
|
|
18859
|
+
};
|
|
18860
|
+
} & {
|
|
18861
|
+
data?: string | undefined;
|
|
18862
|
+
} & {
|
|
18863
|
+
tokenData?: ({
|
|
18864
|
+
tokenQuantity: string;
|
|
18865
|
+
tokenType: string;
|
|
18866
|
+
} & {
|
|
18867
|
+
tokenId?: string | undefined;
|
|
18868
|
+
} & {
|
|
18869
|
+
tokenName: string;
|
|
18870
|
+
} & {
|
|
18871
|
+
tokenContractAddress?: string | undefined;
|
|
18872
|
+
decimals?: number | undefined;
|
|
18873
|
+
}) | undefined;
|
|
18874
|
+
})[], unknown>, t.UndefinedC]>;
|
|
18875
|
+
keepAlive: t.UnionC<[t.Type<boolean, boolean, unknown>, t.UndefinedC]>;
|
|
18250
18876
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18251
18877
|
intentType: t.KeyofC<{
|
|
18252
18878
|
payment: t.LiteralC<"payment">;
|
|
@@ -18318,25 +18944,11 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18318
18944
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18319
18945
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18320
18946
|
}>]>, t.TypeC<{
|
|
18321
|
-
|
|
18322
|
-
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
|
|
18326
|
-
}, {
|
|
18327
|
-
[x: string]: unknown;
|
|
18328
|
-
}, unknown>, t.UndefinedC]>;
|
|
18329
|
-
}>;
|
|
18330
|
-
amount: t.TypeC<{
|
|
18331
|
-
value: t.StringC;
|
|
18332
|
-
symbol: t.StringC;
|
|
18333
|
-
}>;
|
|
18334
|
-
}>, t.PartialC<{
|
|
18335
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18336
|
-
}>]>>;
|
|
18337
|
-
}>, t.TypeC<{
|
|
18338
|
-
intentType: t.LiteralC<"spotTransfer">;
|
|
18339
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18947
|
+
feeOptions: t.TypeC<{
|
|
18948
|
+
gasLimit: t.NumberC;
|
|
18949
|
+
}>;
|
|
18950
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18951
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18340
18952
|
intentType: t.KeyofC<{
|
|
18341
18953
|
payment: t.LiteralC<"payment">;
|
|
18342
18954
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -18407,11 +19019,28 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18407
19019
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18408
19020
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18409
19021
|
}>]>, t.TypeC<{
|
|
18410
|
-
|
|
18411
|
-
|
|
18412
|
-
|
|
18413
|
-
|
|
18414
|
-
|
|
19022
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
19023
|
+
address: t.PartialC<{
|
|
19024
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
19025
|
+
option: t.UnionC<[t.Type<{
|
|
19026
|
+
[x: string]: unknown;
|
|
19027
|
+
}, {
|
|
19028
|
+
[x: string]: unknown;
|
|
19029
|
+
}, unknown>, t.UndefinedC]>;
|
|
19030
|
+
}>;
|
|
19031
|
+
amount: t.TypeC<{
|
|
19032
|
+
value: t.StringC;
|
|
19033
|
+
symbol: t.StringC;
|
|
19034
|
+
}>;
|
|
19035
|
+
}>, t.PartialC<{
|
|
19036
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
19037
|
+
}>]>>;
|
|
19038
|
+
}>, t.UnionC<[t.TypeC<{
|
|
19039
|
+
intentType: t.LiteralC<"payment">;
|
|
19040
|
+
}>, t.TypeC<{
|
|
19041
|
+
intentType: t.LiteralC<"payment">;
|
|
19042
|
+
isTestTransaction: t.BooleanC;
|
|
19043
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18415
19044
|
intentType: t.KeyofC<{
|
|
18416
19045
|
payment: t.LiteralC<"payment">;
|
|
18417
19046
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -18482,29 +19111,12 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18482
19111
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18483
19112
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18484
19113
|
}>]>, t.TypeC<{
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
18488
|
-
|
|
18489
|
-
|
|
18490
|
-
|
|
18491
|
-
[x: string]: unknown;
|
|
18492
|
-
}, unknown>, t.UndefinedC]>;
|
|
18493
|
-
}>;
|
|
18494
|
-
amount: t.TypeC<{
|
|
18495
|
-
value: t.StringC;
|
|
18496
|
-
symbol: t.StringC;
|
|
18497
|
-
}>;
|
|
18498
|
-
}>, t.PartialC<{
|
|
18499
|
-
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18500
|
-
}>]>>;
|
|
18501
|
-
}>, t.UnionC<[t.TypeC<{
|
|
18502
|
-
intentType: t.LiteralC<"payment">;
|
|
18503
|
-
}>, t.TypeC<{
|
|
18504
|
-
intentType: t.LiteralC<"payment">;
|
|
18505
|
-
isTestTransaction: t.BooleanC;
|
|
18506
|
-
}>]>]>, t.PartialC<{
|
|
18507
|
-
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
19114
|
+
feeOptions: t.TypeC<{
|
|
19115
|
+
gasLimit: t.NumberC;
|
|
19116
|
+
}>;
|
|
19117
|
+
lockedAmount: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
19118
|
+
}>]>, t.TypeC<{
|
|
19119
|
+
unspents: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
18508
19120
|
}>]>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18509
19121
|
intentType: t.KeyofC<{
|
|
18510
19122
|
payment: t.LiteralC<"payment">;
|