@bitgo/public-types 4.0.0 → 4.0.2
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/mpcv2/smc/dsgType.d.ts +59 -0
- package/dist/src/schema/mpcv2/smc/dsgType.js +3 -0
- package/dist/src/schema/mpcv2/smc/dsgType.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +67 -9
- package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/paymentIntent.js +1 -1
- package/dist/src/schema/transactionRequest/intents/paymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +1 -1
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -1
- package/dist/src/schema/tss/baseTypes.d.ts +99 -0
- package/dist/src/schema/tss/baseTypes.js +3 -0
- package/dist/src/schema/tss/baseTypes.js.map +1 -0
- package/package.json +1 -1
- package/src/schema/mpcv2/smc/dsgType.ts +67 -0
- package/src/schema/transactionRequest/intents/intent.ts +2 -0
- package/src/schema/transactionRequest/intents/paymentIntent.ts +1 -1
- package/src/schema/tss/baseTypes.ts +137 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
import { Signature, SignatureShareRecord, EncryptedSignerShareRecord, CommitmentShareRecord, TxRequest } from "../../tss/baseTypes";
|
2
|
+
export type MpcSigningOutput = {
|
3
|
+
tssVersion: string;
|
4
|
+
txRequest: TxRequest;
|
5
|
+
ovc: {
|
6
|
+
rShare?: SignatureShareRecord;
|
7
|
+
kShare?: SignatureShareRecord;
|
8
|
+
sShare?: SignatureShareRecord;
|
9
|
+
muDeltaShare?: SignatureShareRecord;
|
10
|
+
eddsaSignature?: Signature;
|
11
|
+
signerShare?: string;
|
12
|
+
gShare?: SignatureShareRecord;
|
13
|
+
commitmentShare?: CommitmentShareRecord;
|
14
|
+
encryptedSignerShare?: EncryptedSignerShareRecord;
|
15
|
+
mpcv2Round1Message?: SignatureShareRecord;
|
16
|
+
mpcv2Round2Message?: SignatureShareRecord;
|
17
|
+
mpcv2Round3Message?: SignatureShareRecord;
|
18
|
+
signerGpgKey?: string;
|
19
|
+
signerPublicShare?: string;
|
20
|
+
}[];
|
21
|
+
};
|
22
|
+
export type OvcStepOneSignedTx = {
|
23
|
+
signatureShares: [
|
24
|
+
{
|
25
|
+
txRequest: TxRequest;
|
26
|
+
ovc: [
|
27
|
+
{
|
28
|
+
commitmentShare: CommitmentShareRecord;
|
29
|
+
encryptedSignerShare: EncryptedSignerShareRecord;
|
30
|
+
}
|
31
|
+
];
|
32
|
+
}
|
33
|
+
];
|
34
|
+
};
|
35
|
+
export type OvcStepTwoSignedTx = {
|
36
|
+
signatureShares: [
|
37
|
+
{
|
38
|
+
txRequest: TxRequest;
|
39
|
+
ovc: [
|
40
|
+
{
|
41
|
+
rShare: SignatureShareRecord;
|
42
|
+
signerShare: string;
|
43
|
+
}
|
44
|
+
];
|
45
|
+
}
|
46
|
+
];
|
47
|
+
};
|
48
|
+
export type OvcStepThreeSignedTx = {
|
49
|
+
signatureShares: [
|
50
|
+
{
|
51
|
+
txRequest: TxRequest;
|
52
|
+
ovc: [
|
53
|
+
{
|
54
|
+
gShare: SignatureShareRecord;
|
55
|
+
}
|
56
|
+
];
|
57
|
+
}
|
58
|
+
];
|
59
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dsgType.js","sourceRoot":"","sources":["../../../../../src/schema/mpcv2/smc/dsgType.ts"],"names":[],"mappings":""}
|
@@ -36,7 +36,7 @@ export declare const AdaPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const AtomPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const DotPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const EthPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -74,7 +74,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
74
74
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
75
75
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
76
76
|
}>]>, t.TypeC<{
|
77
|
-
|
77
|
+
intentType: t.LiteralC<"payment">;
|
78
78
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
79
79
|
address: t.PartialC<{
|
80
80
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -274,7 +274,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
274
274
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
275
275
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
276
276
|
}>]>, t.TypeC<{
|
277
|
-
|
277
|
+
intentType: t.LiteralC<"payment">;
|
278
278
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
279
279
|
address: t.PartialC<{
|
280
280
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -678,7 +678,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
678
678
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
679
679
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
680
680
|
}>]>, t.TypeC<{
|
681
|
-
|
681
|
+
intentType: t.LiteralC<"payment">;
|
682
682
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
683
683
|
address: t.PartialC<{
|
684
684
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -1102,7 +1102,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1102
1102
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1103
1103
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1104
1104
|
}>]>, t.TypeC<{
|
1105
|
-
|
1105
|
+
intentType: t.LiteralC<"payment">;
|
1106
1106
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
1107
1107
|
address: t.PartialC<{
|
1108
1108
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -1674,7 +1674,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
1674
1674
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
1675
1675
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
1676
1676
|
}>]>, t.TypeC<{
|
1677
|
-
|
1677
|
+
intentType: t.LiteralC<"payment">;
|
1678
1678
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
1679
1679
|
address: t.PartialC<{
|
1680
1680
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -2035,7 +2035,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2035
2035
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2036
2036
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2037
2037
|
}>]>, t.TypeC<{
|
2038
|
-
|
2038
|
+
intentType: t.LiteralC<"payment">;
|
2039
2039
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2040
2040
|
address: t.PartialC<{
|
2041
2041
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -2557,7 +2557,65 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2557
2557
|
validatorAddress: t.StringC;
|
2558
2558
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
2559
2559
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2560
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
2560
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2561
|
+
intentType: t.KeyofC<{
|
2562
|
+
payment: t.LiteralC<"payment">;
|
2563
|
+
transferToken: t.LiteralC<"transferToken">;
|
2564
|
+
consolidate: t.LiteralC<"consolidate">;
|
2565
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
2566
|
+
fanout: t.LiteralC<"fanout">;
|
2567
|
+
stake: t.LiteralC<"stake">;
|
2568
|
+
unstake: t.LiteralC<"unstake">;
|
2569
|
+
delegate: t.LiteralC<"delegate">;
|
2570
|
+
undelegate: t.LiteralC<"undelegate">;
|
2571
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
2572
|
+
claim: t.LiteralC<"claim">;
|
2573
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
2574
|
+
pledge: t.LiteralC<"pledge">;
|
2575
|
+
vote: t.LiteralC<"vote">;
|
2576
|
+
createAccount: t.LiteralC<"createAccount">;
|
2577
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
2578
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
2579
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
2580
|
+
signMessage: t.LiteralC<"signMessage">;
|
2581
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
2582
|
+
enableToken: t.LiteralC<"enableToken">;
|
2583
|
+
authorize: t.LiteralC<"authorize">;
|
2584
|
+
acceleration: t.LiteralC<"acceleration">;
|
2585
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
2586
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
2587
|
+
contractCall: t.LiteralC<"contractCall">;
|
2588
|
+
deactivate: t.LiteralC<"deactivate">;
|
2589
|
+
customTx: t.LiteralC<"customTx">;
|
2590
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
2591
|
+
}>;
|
2592
|
+
}>, t.PartialC<{
|
2593
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2594
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2595
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2596
|
+
}>]>, t.TypeC<{
|
2597
|
+
intentType: t.LiteralC<"payment">;
|
2598
|
+
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2599
|
+
address: t.PartialC<{
|
2600
|
+
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2601
|
+
option: t.UnionC<[t.Type<{
|
2602
|
+
[x: string]: unknown;
|
2603
|
+
}, {
|
2604
|
+
[x: string]: unknown;
|
2605
|
+
}, unknown>, t.UndefinedC]>;
|
2606
|
+
}>;
|
2607
|
+
amount: t.TypeC<{
|
2608
|
+
value: t.StringC;
|
2609
|
+
symbol: t.StringC;
|
2610
|
+
}>;
|
2611
|
+
}>, t.PartialC<{
|
2612
|
+
data: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2613
|
+
}>]>>;
|
2614
|
+
}>]>, t.IntersectionC<[t.PartialC<{
|
2615
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2616
|
+
}>, t.TypeC<{
|
2617
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2618
|
+
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
2561
2619
|
intentType: t.KeyofC<{
|
2562
2620
|
payment: t.LiteralC<"payment">;
|
2563
2621
|
transferToken: t.LiteralC<"transferToken">;
|
@@ -2862,7 +2920,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
2862
2920
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
2863
2921
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
2864
2922
|
}>]>, t.TypeC<{
|
2865
|
-
|
2923
|
+
intentType: t.LiteralC<"payment">;
|
2866
2924
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
2867
2925
|
address: t.PartialC<{
|
2868
2926
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -3173,7 +3231,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
3173
3231
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
3174
3232
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
3175
3233
|
}>]>, t.TypeC<{
|
3176
|
-
|
3234
|
+
intentType: t.LiteralC<"payment">;
|
3177
3235
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
3178
3236
|
address: t.PartialC<{
|
3179
3237
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -59,6 +59,7 @@ const solClaimIntent_1 = require("./solClaimIntent");
|
|
59
59
|
const solCreateAssociatedTokenAccountIntent_1 = require("./solCreateAssociatedTokenAccountIntent");
|
60
60
|
const solDeactivateIntent_1 = require("./solDeactivateIntent");
|
61
61
|
const solDelegateIntent_1 = require("./solDelegateIntent");
|
62
|
+
const solPaymentIntent_1 = require("./solPaymentIntent");
|
62
63
|
const solStakeIntent_1 = require("./solStakeIntent");
|
63
64
|
const solUnstakeIntent_1 = require("./solUnstakeIntent");
|
64
65
|
const suiCustomTxIntent_1 = require("./suiCustomTxIntent");
|
@@ -125,6 +126,7 @@ exports.TransactionIntent = t.union([
|
|
125
126
|
solCreateAssociatedTokenAccountIntent_1.SolCreateAssociatedTokenAccountIntent,
|
126
127
|
solDeactivateIntent_1.SolDeactivateIntent,
|
127
128
|
solDelegateIntent_1.SolDelegateIntent,
|
129
|
+
solPaymentIntent_1.SolPaymentIntent,
|
128
130
|
solStakeIntent_1.SolStakeIntent,
|
129
131
|
solUnstakeIntent_1.SolUnstakeIntent,
|
130
132
|
suiConsolidateIntent_1.SuiConsolidateIntent,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,+DAA4D;AAC5D,2DAAwD;AACxD,qDAAkD;AAClD,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,2DAAwD;AACxD,yDAAsD;AACtD,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,6EAA0E;AAC1E,yDAAsD;AACtD,yDAAsD;AACtD,iEAA8D;AAC9D,yEAAsE;AACtE,iEAA8D;AAC9D,2EAAwE;AACxE,qEAAkE;AAClE,6CAA0C;AAC1C,iEAA8D;AAC9D,iGAA8F;AAEjF,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,2CAAoB;IACpB,mCAAgB;IAChB,uDAA0B;IAC1B,+BAAc;IACd,mCAAgB;IAChB,qCAAiB;IACjB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,qCAAiB;IACjB,yCAAmB;IACnB,yDAA2B;IAC3B,yCAAmB;IACnB,qCAAiB;IACjB,yDAA2B;IAC3B,yCAAmB;IACnB,2CAAoB;IACpB,2CAAoB;IACpB,+CAAsB;IACtB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+CAAsB;IACtB,6CAAqB;IACrB,2CAAoB;IACpB,qDAAyB;IACzB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,+CAAsB;IACtB,+CAAsB;IACtB,2CAAoB;IACpB,mDAAwB;IACxB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,yCAAmB;IACnB,qCAAiB;IACjB,+BAAc;IACd,mCAAgB;IAChB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IAIpB,uBAAU;CACX,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/intent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,iEAA8D;AAC9D,yDAAsD;AACtD,qDAAkD;AAClD,2DAAwD;AACxD,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,2DAAwD;AACxD,+DAA4D;AAC5D,+EAA4E;AAC5E,+DAA4D;AAC5D,2DAAwD;AACxD,+EAA4E;AAC5E,+DAA4D;AAC5D,iEAA8D;AAC9D,qEAAkE;AAClE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,qEAAkE;AAClE,mEAAgE;AAChE,6DAA0D;AAC1D,yDAAsD;AACtD,yDAAsD;AACtD,qEAAkE;AAClE,iEAA8D;AAC9D,uDAAoD;AACpD,2DAAwD;AACxD,6DAA0D;AAC1D,6DAA0D;AAC1D,qDAAkD;AAClD,mGAAgG;AAChG,+DAA4D;AAC5D,2DAAwD;AACxD,yDAAsD;AACtD,qDAAkD;AAClD,yDAAsD;AACtD,2DAAwD;AACxD,yDAAsD;AACtD,6DAA0D;AAC1D,2DAAwD;AACxD,yDAAsD;AACtD,+DAA4D;AAC5D,iEAA8D;AAC9D,iEAA8D;AAC9D,iEAA8D;AAC9D,6EAA0E;AAC1E,yDAAsD;AACtD,yDAAsD;AACtD,iEAA8D;AAC9D,yEAAsE;AACtE,iEAA8D;AAC9D,2EAAwE;AACxE,qEAAkE;AAClE,6CAA0C;AAC1C,iEAA8D;AAC9D,iGAA8F;AAEjF,QAAA,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,2CAAoB;IACpB,mCAAgB;IAChB,uDAA0B;IAC1B,+BAAc;IACd,mCAAgB;IAChB,qCAAiB;IACjB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,qCAAiB;IACjB,yCAAmB;IACnB,yDAA2B;IAC3B,yCAAmB;IACnB,qCAAiB;IACjB,yDAA2B;IAC3B,yCAAmB;IACnB,2CAAoB;IACpB,2CAAoB;IACpB,+CAAsB;IACtB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,+CAAsB;IACtB,6CAAqB;IACrB,2CAAoB;IACpB,qDAAyB;IACzB,uCAAkB;IAClB,mCAAgB;IAChB,mCAAgB;IAChB,+CAAsB;IACtB,+CAAsB;IACtB,2CAAoB;IACpB,mDAAwB;IACxB,iCAAe;IACf,qCAAiB;IACjB,uCAAkB;IAClB,uCAAkB;IAClB,+BAAc;IACd,2EAAoC;IACpC,2CAAoB;IACpB,6EAAqC;IACrC,yCAAmB;IACnB,qCAAiB;IACjB,mCAAgB;IAChB,+BAAc;IACd,mCAAgB;IAChB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,mCAAgB;IAChB,uCAAkB;IAClB,2CAAoB;IACpB,qCAAiB;IACjB,mCAAgB;IAChB,yCAAmB;IACnB,2CAAoB;IAIpB,uBAAU;CACX,CAAC,CAAC"}
|
@@ -36,7 +36,7 @@ export declare const MmiSignTransactionIntent: t.IntersectionC<[t.IntersectionC<
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const PaymentIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -31,7 +31,7 @@ const recipientEntry_1 = require("./recipientEntry");
|
|
31
31
|
exports.PaymentIntent = t.intersection([
|
32
32
|
baseIntent_1.BaseIntent,
|
33
33
|
t.type({
|
34
|
-
|
34
|
+
intentType: intentType_1.intentTypes.payment,
|
35
35
|
recipients: t.array(recipientEntry_1.RecipientEntry),
|
36
36
|
}),
|
37
37
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"paymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/paymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,qDAAkD;AAErC,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,
|
1
|
+
{"version":3,"file":"paymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/paymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAC3C,qDAAkD;AAErC,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,OAAO;QAC/B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC;KACpC,CAAC;CACH,CAAC,CAAC"}
|
@@ -36,7 +36,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -36,7 +36,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
36
36
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
37
37
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
38
38
|
}>]>, t.TypeC<{
|
39
|
-
|
39
|
+
intentType: t.LiteralC<"payment">;
|
40
40
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
41
41
|
address: t.PartialC<{
|
42
42
|
address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
@@ -0,0 +1,99 @@
|
|
1
|
+
export declare enum SignatureShareType {
|
2
|
+
USER = "user",
|
3
|
+
BACKUP = "backup",
|
4
|
+
BITGO = "bitgo"
|
5
|
+
}
|
6
|
+
export declare enum EncryptedSignerShareType {
|
7
|
+
ENCRYPTED_SIGNER_SHARE = "encryptedSignerShare",
|
8
|
+
ENCRYPTED_R_SHARE = "encryptedRShare"
|
9
|
+
}
|
10
|
+
export declare enum CommitmentType {
|
11
|
+
COMMITMENT = "commitment",
|
12
|
+
DECOMMITMENT = "decommitment"
|
13
|
+
}
|
14
|
+
interface ShareBaseRecord {
|
15
|
+
from: SignatureShareType;
|
16
|
+
to: SignatureShareType;
|
17
|
+
share: string;
|
18
|
+
}
|
19
|
+
export interface SignatureShareRecord extends ShareBaseRecord {
|
20
|
+
vssProof?: string;
|
21
|
+
privateShareProof?: string;
|
22
|
+
publicShare?: string;
|
23
|
+
}
|
24
|
+
export interface EncryptedSignerShareRecord extends ShareBaseRecord {
|
25
|
+
type: EncryptedSignerShareType;
|
26
|
+
}
|
27
|
+
export interface CommitmentShareRecord extends ShareBaseRecord {
|
28
|
+
type: CommitmentType;
|
29
|
+
}
|
30
|
+
export interface Signature {
|
31
|
+
y: string;
|
32
|
+
R: string;
|
33
|
+
sigma: string;
|
34
|
+
}
|
35
|
+
export type WalletType = "backing" | "cold" | "custodial" | "custodialPaired" | "hot" | "trading";
|
36
|
+
export type TxRequestState = "pendingCommitment" | "pendingApproval" | "canceled" | "rejected" | "initialized" | "pendingDelivery" | "delivered" | "pendingUserSignature" | "signed";
|
37
|
+
export type UnsignedMessageTss = {
|
38
|
+
derivationPath: string;
|
39
|
+
message: string;
|
40
|
+
};
|
41
|
+
export type SignableTransaction = {
|
42
|
+
serializedTxHex: string;
|
43
|
+
signableHex: string;
|
44
|
+
};
|
45
|
+
export type UnsignedTransactionTss = SignableTransaction & {
|
46
|
+
derivationPath: string;
|
47
|
+
feeInfo?: {
|
48
|
+
fee: number;
|
49
|
+
feeString: string;
|
50
|
+
};
|
51
|
+
coinSpecific?: Record<string, unknown>;
|
52
|
+
parsedTx?: unknown;
|
53
|
+
};
|
54
|
+
export type TransactionState = "initialized" | "pendingCommitment" | "pendingSignature" | "signed" | "held" | "delivered" | "invalidSignature" | "rejected";
|
55
|
+
export type SignedTx = {
|
56
|
+
id: string;
|
57
|
+
tx: string;
|
58
|
+
publicKey?: string;
|
59
|
+
signature?: string;
|
60
|
+
};
|
61
|
+
export type TxRequestVersion = "full" | "lite";
|
62
|
+
export type TxRequest = {
|
63
|
+
txRequestId: string;
|
64
|
+
walletId: string;
|
65
|
+
walletType: WalletType;
|
66
|
+
version: number;
|
67
|
+
enterpriseId?: string;
|
68
|
+
state: TxRequestState;
|
69
|
+
date: string;
|
70
|
+
userId: string;
|
71
|
+
intent: unknown;
|
72
|
+
pendingApprovalId?: string;
|
73
|
+
policiesChecked: boolean;
|
74
|
+
signatureShares?: SignatureShareRecord[];
|
75
|
+
commitmentShares?: CommitmentShareRecord[];
|
76
|
+
pendingTxHashes?: string[];
|
77
|
+
txHashes?: string[];
|
78
|
+
unsignedMessages?: UnsignedMessageTss[];
|
79
|
+
unsignedTxs: UnsignedTransactionTss[];
|
80
|
+
transactions?: {
|
81
|
+
state: TransactionState;
|
82
|
+
unsignedTx: UnsignedTransactionTss;
|
83
|
+
signatureShares: SignatureShareRecord[];
|
84
|
+
signedTx?: SignedTx;
|
85
|
+
commitmentShares?: CommitmentShareRecord[];
|
86
|
+
}[];
|
87
|
+
messages?: {
|
88
|
+
state: TransactionState;
|
89
|
+
signatureShares: SignatureShareRecord[];
|
90
|
+
messageRaw: string;
|
91
|
+
messageEncoded?: string;
|
92
|
+
derivationPath: string;
|
93
|
+
combineSigShare?: string;
|
94
|
+
txHash?: string;
|
95
|
+
}[];
|
96
|
+
apiVersion?: TxRequestVersion;
|
97
|
+
latest: boolean;
|
98
|
+
};
|
99
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"baseTypes.js","sourceRoot":"","sources":["../../../../src/schema/tss/baseTypes.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -0,0 +1,67 @@
|
|
1
|
+
import {
|
2
|
+
Signature,
|
3
|
+
SignatureShareRecord,
|
4
|
+
EncryptedSignerShareRecord,
|
5
|
+
CommitmentShareRecord,
|
6
|
+
TxRequest,
|
7
|
+
} from "../../tss/baseTypes";
|
8
|
+
|
9
|
+
export type MpcSigningOutput = {
|
10
|
+
tssVersion: string;
|
11
|
+
txRequest: TxRequest;
|
12
|
+
ovc: {
|
13
|
+
rShare?: SignatureShareRecord;
|
14
|
+
kShare?: SignatureShareRecord;
|
15
|
+
sShare?: SignatureShareRecord;
|
16
|
+
muDeltaShare?: SignatureShareRecord;
|
17
|
+
eddsaSignature?: Signature;
|
18
|
+
signerShare?: string;
|
19
|
+
gShare?: SignatureShareRecord;
|
20
|
+
commitmentShare?: CommitmentShareRecord;
|
21
|
+
encryptedSignerShare?: EncryptedSignerShareRecord;
|
22
|
+
mpcv2Round1Message?: SignatureShareRecord;
|
23
|
+
mpcv2Round2Message?: SignatureShareRecord;
|
24
|
+
mpcv2Round3Message?: SignatureShareRecord;
|
25
|
+
signerGpgKey?: string;
|
26
|
+
signerPublicShare?: string;
|
27
|
+
}[];
|
28
|
+
};
|
29
|
+
|
30
|
+
export type OvcStepOneSignedTx = {
|
31
|
+
signatureShares: [
|
32
|
+
{
|
33
|
+
txRequest: TxRequest;
|
34
|
+
ovc: [
|
35
|
+
{
|
36
|
+
commitmentShare: CommitmentShareRecord;
|
37
|
+
encryptedSignerShare: EncryptedSignerShareRecord;
|
38
|
+
},
|
39
|
+
];
|
40
|
+
},
|
41
|
+
];
|
42
|
+
};
|
43
|
+
export type OvcStepTwoSignedTx = {
|
44
|
+
signatureShares: [
|
45
|
+
{
|
46
|
+
txRequest: TxRequest;
|
47
|
+
ovc: [
|
48
|
+
{
|
49
|
+
rShare: SignatureShareRecord;
|
50
|
+
signerShare: string;
|
51
|
+
},
|
52
|
+
];
|
53
|
+
},
|
54
|
+
];
|
55
|
+
};
|
56
|
+
export type OvcStepThreeSignedTx = {
|
57
|
+
signatureShares: [
|
58
|
+
{
|
59
|
+
txRequest: TxRequest;
|
60
|
+
ovc: [
|
61
|
+
{
|
62
|
+
gShare: SignatureShareRecord;
|
63
|
+
},
|
64
|
+
];
|
65
|
+
},
|
66
|
+
];
|
67
|
+
};
|
@@ -33,6 +33,7 @@ import { SolClaimIntent } from "./solClaimIntent";
|
|
33
33
|
import { SolCreateAssociatedTokenAccountIntent } from "./solCreateAssociatedTokenAccountIntent";
|
34
34
|
import { SolDeactivateIntent } from "./solDeactivateIntent";
|
35
35
|
import { SolDelegateIntent } from "./solDelegateIntent";
|
36
|
+
import { SolPaymentIntent } from "./solPaymentIntent";
|
36
37
|
import { SolStakeIntent } from "./solStakeIntent";
|
37
38
|
import { SolUnstakeIntent } from "./solUnstakeIntent";
|
38
39
|
import { SuiCustomTxIntent } from "./suiCustomTxIntent";
|
@@ -100,6 +101,7 @@ export const TransactionIntent = t.union([
|
|
100
101
|
SolCreateAssociatedTokenAccountIntent,
|
101
102
|
SolDeactivateIntent,
|
102
103
|
SolDelegateIntent,
|
104
|
+
SolPaymentIntent,
|
103
105
|
SolStakeIntent,
|
104
106
|
SolUnstakeIntent,
|
105
107
|
SuiConsolidateIntent,
|
@@ -0,0 +1,137 @@
|
|
1
|
+
export declare enum SignatureShareType {
|
2
|
+
USER = "user",
|
3
|
+
BACKUP = "backup",
|
4
|
+
BITGO = "bitgo",
|
5
|
+
}
|
6
|
+
|
7
|
+
export declare enum EncryptedSignerShareType {
|
8
|
+
ENCRYPTED_SIGNER_SHARE = "encryptedSignerShare",
|
9
|
+
ENCRYPTED_R_SHARE = "encryptedRShare",
|
10
|
+
}
|
11
|
+
|
12
|
+
export declare enum CommitmentType {
|
13
|
+
COMMITMENT = "commitment",
|
14
|
+
DECOMMITMENT = "decommitment",
|
15
|
+
}
|
16
|
+
|
17
|
+
interface ShareBaseRecord {
|
18
|
+
from: SignatureShareType;
|
19
|
+
to: SignatureShareType;
|
20
|
+
share: string;
|
21
|
+
}
|
22
|
+
|
23
|
+
export interface SignatureShareRecord extends ShareBaseRecord {
|
24
|
+
vssProof?: string;
|
25
|
+
privateShareProof?: string;
|
26
|
+
publicShare?: string;
|
27
|
+
}
|
28
|
+
|
29
|
+
export interface EncryptedSignerShareRecord extends ShareBaseRecord {
|
30
|
+
type: EncryptedSignerShareType;
|
31
|
+
}
|
32
|
+
|
33
|
+
export interface CommitmentShareRecord extends ShareBaseRecord {
|
34
|
+
type: CommitmentType;
|
35
|
+
}
|
36
|
+
|
37
|
+
export interface Signature {
|
38
|
+
y: string;
|
39
|
+
R: string;
|
40
|
+
sigma: string;
|
41
|
+
}
|
42
|
+
|
43
|
+
export type WalletType =
|
44
|
+
| "backing"
|
45
|
+
| "cold"
|
46
|
+
| "custodial"
|
47
|
+
| "custodialPaired"
|
48
|
+
| "hot"
|
49
|
+
| "trading";
|
50
|
+
|
51
|
+
export type TxRequestState =
|
52
|
+
| "pendingCommitment"
|
53
|
+
| "pendingApproval"
|
54
|
+
| "canceled"
|
55
|
+
| "rejected"
|
56
|
+
| "initialized"
|
57
|
+
| "pendingDelivery"
|
58
|
+
| "delivered"
|
59
|
+
| "pendingUserSignature"
|
60
|
+
| "signed";
|
61
|
+
|
62
|
+
export type UnsignedMessageTss = {
|
63
|
+
derivationPath: string;
|
64
|
+
message: string;
|
65
|
+
};
|
66
|
+
|
67
|
+
export type SignableTransaction = {
|
68
|
+
serializedTxHex: string;
|
69
|
+
signableHex: string;
|
70
|
+
};
|
71
|
+
|
72
|
+
export type UnsignedTransactionTss = SignableTransaction & {
|
73
|
+
derivationPath: string;
|
74
|
+
feeInfo?: {
|
75
|
+
fee: number;
|
76
|
+
feeString: string;
|
77
|
+
};
|
78
|
+
coinSpecific?: Record<string, unknown>;
|
79
|
+
parsedTx?: unknown;
|
80
|
+
};
|
81
|
+
|
82
|
+
export type TransactionState =
|
83
|
+
| "initialized"
|
84
|
+
| "pendingCommitment"
|
85
|
+
| "pendingSignature"
|
86
|
+
| "signed"
|
87
|
+
| "held"
|
88
|
+
| "delivered"
|
89
|
+
| "invalidSignature"
|
90
|
+
| "rejected";
|
91
|
+
|
92
|
+
export type SignedTx = {
|
93
|
+
id: string;
|
94
|
+
tx: string;
|
95
|
+
publicKey?: string;
|
96
|
+
signature?: string;
|
97
|
+
};
|
98
|
+
|
99
|
+
export type TxRequestVersion = "full" | "lite";
|
100
|
+
|
101
|
+
export type TxRequest = {
|
102
|
+
txRequestId: string;
|
103
|
+
walletId: string;
|
104
|
+
walletType: WalletType;
|
105
|
+
version: number;
|
106
|
+
enterpriseId?: string;
|
107
|
+
state: TxRequestState;
|
108
|
+
date: string;
|
109
|
+
userId: string;
|
110
|
+
intent: unknown;
|
111
|
+
pendingApprovalId?: string;
|
112
|
+
policiesChecked: boolean;
|
113
|
+
signatureShares?: SignatureShareRecord[];
|
114
|
+
commitmentShares?: CommitmentShareRecord[];
|
115
|
+
pendingTxHashes?: string[];
|
116
|
+
txHashes?: string[];
|
117
|
+
unsignedMessages?: UnsignedMessageTss[];
|
118
|
+
unsignedTxs: UnsignedTransactionTss[];
|
119
|
+
transactions?: {
|
120
|
+
state: TransactionState;
|
121
|
+
unsignedTx: UnsignedTransactionTss;
|
122
|
+
signatureShares: SignatureShareRecord[];
|
123
|
+
signedTx?: SignedTx;
|
124
|
+
commitmentShares?: CommitmentShareRecord[];
|
125
|
+
}[];
|
126
|
+
messages?: {
|
127
|
+
state: TransactionState;
|
128
|
+
signatureShares: SignatureShareRecord[];
|
129
|
+
messageRaw: string;
|
130
|
+
messageEncoded?: string;
|
131
|
+
derivationPath: string;
|
132
|
+
combineSigShare?: string;
|
133
|
+
txHash?: string;
|
134
|
+
}[];
|
135
|
+
apiVersion?: TxRequestVersion;
|
136
|
+
latest: boolean;
|
137
|
+
};
|