@bitgo/public-types 6.8.0 → 6.9.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/cantonCosignDelegationProposalIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +25 -24
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +3 -2
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +4 -4
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +4 -4
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +2 -2
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +50 -48
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/solBuildOptions.ts +11 -14
package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export declare const CantonCosignDelegationProposalIntent: t.IntersectionC<[t.In
|
|
|
66
66
|
intentType: t.LiteralC<"cosignDelegationProposal">;
|
|
67
67
|
contractId: t.StringC;
|
|
68
68
|
operatorId: t.StringC;
|
|
69
|
+
updateId: t.StringC;
|
|
69
70
|
}>, t.PartialC<{
|
|
70
71
|
packageName: t.StringC;
|
|
71
72
|
}>]>;
|
package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cantonCosignDelegationProposalIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"cantonCosignDelegationProposalIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAa9B,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,wBAAwB;QAChD,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,QAAQ,EAAE,CAAC,CAAC,MAAM;KACnB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,WAAW,EAAE,CAAC,CAAC,MAAM;KACtB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1337,6 +1337,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
1337
1337
|
intentType: t.LiteralC<"cosignDelegationProposal">;
|
|
1338
1338
|
contractId: t.StringC;
|
|
1339
1339
|
operatorId: t.StringC;
|
|
1340
|
+
updateId: t.StringC;
|
|
1340
1341
|
}>, t.PartialC<{
|
|
1341
1342
|
packageName: t.StringC;
|
|
1342
1343
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
@@ -5826,8 +5827,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
5826
5827
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5827
5828
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
5828
5829
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5829
|
-
}>, t.
|
|
5830
|
-
memo: t.
|
|
5830
|
+
}>, t.TypeC<{
|
|
5831
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5831
5832
|
}>]>, t.TypeC<{
|
|
5832
5833
|
intentType: t.LiteralC<"authorize">;
|
|
5833
5834
|
transactionMessage: t.StringC;
|
|
@@ -5917,8 +5918,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
5917
5918
|
}, unknown>, t.UndefinedC]>;
|
|
5918
5919
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
5919
5920
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5920
|
-
}>, t.
|
|
5921
|
-
memo: t.
|
|
5921
|
+
}>, t.TypeC<{
|
|
5922
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5922
5923
|
}>]>, t.TypeC<{
|
|
5923
5924
|
amount: t.TypeC<{
|
|
5924
5925
|
value: t.StringC;
|
|
@@ -5991,8 +5992,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
5991
5992
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5992
5993
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
5993
5994
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5994
|
-
}>, t.
|
|
5995
|
-
memo: t.
|
|
5995
|
+
}>, t.TypeC<{
|
|
5996
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5996
5997
|
}>]>, t.TypeC<{
|
|
5997
5998
|
intentType: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
5998
5999
|
recipients: t.BrandC<t.ArrayC<t.BrandC<t.IntersectionC<[t.TypeC<{
|
|
@@ -6143,8 +6144,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6143
6144
|
}>]>>;
|
|
6144
6145
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6145
6146
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6146
|
-
}>, t.
|
|
6147
|
-
memo: t.
|
|
6147
|
+
}>, t.TypeC<{
|
|
6148
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6148
6149
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6149
6150
|
intentType: t.KeyofC<{
|
|
6150
6151
|
payment: t.LiteralC<"payment">;
|
|
@@ -6210,8 +6211,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6210
6211
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6211
6212
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6212
6213
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6213
|
-
}>, t.
|
|
6214
|
-
memo: t.
|
|
6214
|
+
}>, t.TypeC<{
|
|
6215
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6215
6216
|
}>]>, t.TypeC<{
|
|
6216
6217
|
intentType: t.LiteralC<"customTx">;
|
|
6217
6218
|
solInstructions: t.ArrayC<t.TypeC<{
|
|
@@ -6288,8 +6289,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6288
6289
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6289
6290
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6290
6291
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6291
|
-
}>, t.
|
|
6292
|
-
memo: t.
|
|
6292
|
+
}>, t.TypeC<{
|
|
6293
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6293
6294
|
}>]>, t.TypeC<{
|
|
6294
6295
|
intentType: t.LiteralC<"deactivate">;
|
|
6295
6296
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
@@ -6359,8 +6360,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6359
6360
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6360
6361
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6361
6362
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6362
|
-
}>, t.
|
|
6363
|
-
memo: t.
|
|
6363
|
+
}>, t.TypeC<{
|
|
6364
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6364
6365
|
}>]>, t.TypeC<{
|
|
6365
6366
|
intentType: t.LiteralC<"delegate">;
|
|
6366
6367
|
validatorAddress: t.StringC;
|
|
@@ -6451,8 +6452,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6451
6452
|
}>]>>;
|
|
6452
6453
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6453
6454
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6454
|
-
}>, t.
|
|
6455
|
-
memo: t.
|
|
6455
|
+
}>, t.TypeC<{
|
|
6456
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6456
6457
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6457
6458
|
intentType: t.KeyofC<{
|
|
6458
6459
|
payment: t.LiteralC<"payment">;
|
|
@@ -6540,8 +6541,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6540
6541
|
isTestTransaction: t.BooleanC;
|
|
6541
6542
|
}>]>]>, t.IntersectionC<[t.PartialC<{
|
|
6542
6543
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6543
|
-
}>, t.
|
|
6544
|
-
memo: t.
|
|
6544
|
+
}>, t.TypeC<{
|
|
6545
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6545
6546
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6546
6547
|
intentType: t.KeyofC<{
|
|
6547
6548
|
payment: t.LiteralC<"payment">;
|
|
@@ -6613,8 +6614,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6613
6614
|
intentType: t.LiteralC<"stake">;
|
|
6614
6615
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6615
6616
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6616
|
-
}>, t.
|
|
6617
|
-
memo: t.
|
|
6617
|
+
}>, t.TypeC<{
|
|
6618
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6618
6619
|
}>]>, t.TypeC<{
|
|
6619
6620
|
amount: t.TypeC<{
|
|
6620
6621
|
value: t.StringC;
|
|
@@ -6695,8 +6696,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6695
6696
|
intentType: t.LiteralC<"unstake">;
|
|
6696
6697
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6697
6698
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6698
|
-
}>, t.
|
|
6699
|
-
memo: t.
|
|
6699
|
+
}>, t.TypeC<{
|
|
6700
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6700
6701
|
}>]>, t.TypeC<{
|
|
6701
6702
|
stakingAddress: t.StringC;
|
|
6702
6703
|
}>, t.PartialC<{
|
|
@@ -6808,8 +6809,8 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
6808
6809
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6809
6810
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6810
6811
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6811
|
-
}>, t.
|
|
6812
|
-
memo: t.
|
|
6812
|
+
}>, t.TypeC<{
|
|
6813
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6813
6814
|
}>]>, t.TypeC<{
|
|
6814
6815
|
intentType: t.LiteralC<"customTx">;
|
|
6815
6816
|
solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
|
|
@@ -64,8 +64,8 @@ export declare const SolAuthorizeIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
|
|
|
64
64
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
65
65
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
66
66
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
67
|
-
}>, t.
|
|
68
|
-
memo: t.
|
|
67
|
+
}>, t.TypeC<{
|
|
68
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
69
69
|
}>]>, t.TypeC<{
|
|
70
70
|
intentType: t.LiteralC<"authorize">;
|
|
71
71
|
transactionMessage: t.StringC;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
2
|
export declare const SolBuildOptions: t.IntersectionC<[t.PartialC<{
|
|
3
3
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
4
|
-
}>, t.
|
|
5
|
-
memo: t.
|
|
4
|
+
}>, t.TypeC<{
|
|
5
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6
6
|
}>]>;
|
|
7
7
|
export type SolBuildOptions = t.TypeOf<typeof SolBuildOptions>;
|
|
@@ -25,11 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SolBuildOptions = void 0;
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
|
+
const utils_1 = require("../../../utils");
|
|
28
29
|
const accountBaseBuildOptions_1 = require("./accountBaseBuildOptions");
|
|
29
30
|
exports.SolBuildOptions = t.intersection([
|
|
30
31
|
accountBaseBuildOptions_1.AccountBaseBuildOptions,
|
|
31
|
-
t.
|
|
32
|
-
memo:
|
|
32
|
+
t.type({
|
|
33
|
+
memo: utils_1.optionalString,
|
|
33
34
|
}),
|
|
34
35
|
]);
|
|
35
36
|
//# sourceMappingURL=solBuildOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uEAAoE;
|
|
1
|
+
{"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAChD,uEAAoE;AAgBvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,IAAI,EAAE,sBAAc;KACrB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -78,8 +78,8 @@ export declare const SolClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
|
78
78
|
}, unknown>, t.UndefinedC]>;
|
|
79
79
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
80
80
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
81
|
-
}>, t.
|
|
82
|
-
memo: t.
|
|
81
|
+
}>, t.TypeC<{
|
|
82
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
83
83
|
}>]>, t.TypeC<{
|
|
84
84
|
amount: t.TypeC<{
|
|
85
85
|
value: t.StringC;
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts
CHANGED
|
@@ -81,8 +81,8 @@ export declare const SolCloseAssociatedTokenAccountIntent: t.IntersectionC<[t.In
|
|
|
81
81
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
82
82
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
83
83
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
84
|
-
}>, t.
|
|
85
|
-
memo: t.
|
|
84
|
+
}>, t.TypeC<{
|
|
85
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
86
86
|
}>]>, t.TypeC<{
|
|
87
87
|
intentType: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
88
88
|
recipients: t.BrandC<t.ArrayC<t.BrandC<t.IntersectionC<[t.TypeC<{
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare const SolCreateAssociatedTokenAccountIntent: t.IntersectionC<[t.I
|
|
|
71
71
|
}>]>>;
|
|
72
72
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
73
73
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
74
|
-
}>, t.
|
|
75
|
-
memo: t.
|
|
74
|
+
}>, t.TypeC<{
|
|
75
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
76
76
|
}>]>]>;
|
|
77
77
|
export type SolCreateAssociatedTokenAccountIntent = t.TypeOf<typeof SolCreateAssociatedTokenAccountIntent>;
|
|
@@ -64,8 +64,8 @@ export declare const SolCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
|
64
64
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
65
65
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
66
66
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
67
|
-
}>, t.
|
|
68
|
-
memo: t.
|
|
67
|
+
}>, t.TypeC<{
|
|
68
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
69
69
|
}>]>, t.TypeC<{
|
|
70
70
|
intentType: t.LiteralC<"customTx">;
|
|
71
71
|
solInstructions: t.ArrayC<t.TypeC<{
|
|
@@ -64,8 +64,8 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
|
64
64
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
65
65
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
66
66
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
67
|
-
}>, t.
|
|
68
|
-
memo: t.
|
|
67
|
+
}>, t.TypeC<{
|
|
68
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
69
69
|
}>]>, t.TypeC<{
|
|
70
70
|
intentType: t.LiteralC<"deactivate">;
|
|
71
71
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
@@ -64,8 +64,8 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
|
64
64
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
65
65
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
66
66
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
67
|
-
}>, t.
|
|
68
|
-
memo: t.
|
|
67
|
+
}>, t.TypeC<{
|
|
68
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
69
69
|
}>]>, t.TypeC<{
|
|
70
70
|
intentType: t.LiteralC<"delegate">;
|
|
71
71
|
validatorAddress: t.StringC;
|
|
@@ -84,7 +84,7 @@ export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
84
84
|
}>]>>;
|
|
85
85
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
86
86
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
87
|
-
}>, t.
|
|
88
|
-
memo: t.
|
|
87
|
+
}>, t.TypeC<{
|
|
88
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
89
89
|
}>]>]>;
|
|
90
90
|
export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
|
|
@@ -86,7 +86,7 @@ export declare const SolPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
86
86
|
isTestTransaction: t.BooleanC;
|
|
87
87
|
}>]>]>, t.IntersectionC<[t.PartialC<{
|
|
88
88
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
89
|
-
}>, t.
|
|
90
|
-
memo: t.
|
|
89
|
+
}>, t.TypeC<{
|
|
90
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
91
91
|
}>]>]>;
|
|
92
92
|
export type SolPaymentIntent = t.TypeOf<typeof SolPaymentIntent>;
|
|
@@ -70,8 +70,8 @@ export declare const SolStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
|
70
70
|
intentType: t.LiteralC<"stake">;
|
|
71
71
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
72
72
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
73
|
-
}>, t.
|
|
74
|
-
memo: t.
|
|
73
|
+
}>, t.TypeC<{
|
|
74
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
75
75
|
}>]>, t.TypeC<{
|
|
76
76
|
amount: t.TypeC<{
|
|
77
77
|
value: t.StringC;
|
|
@@ -154,8 +154,8 @@ export declare const SolJitoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
154
154
|
intentType: t.LiteralC<"stake">;
|
|
155
155
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
156
156
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
157
|
-
}>, t.
|
|
158
|
-
memo: t.
|
|
157
|
+
}>, t.TypeC<{
|
|
158
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
159
159
|
}>]>, t.TypeC<{
|
|
160
160
|
amount: t.TypeC<{
|
|
161
161
|
value: t.StringC;
|
|
@@ -70,8 +70,8 @@ export declare const SolUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
|
70
70
|
intentType: t.LiteralC<"unstake">;
|
|
71
71
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
72
72
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
73
|
-
}>, t.
|
|
74
|
-
memo: t.
|
|
73
|
+
}>, t.TypeC<{
|
|
74
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
75
75
|
}>]>, t.TypeC<{
|
|
76
76
|
stakingAddress: t.StringC;
|
|
77
77
|
}>, t.PartialC<{
|
|
@@ -191,8 +191,8 @@ export declare const SolJitoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
|
191
191
|
intentType: t.LiteralC<"unstake">;
|
|
192
192
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
193
193
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
194
|
-
}>, t.
|
|
195
|
-
memo: t.
|
|
194
|
+
}>, t.TypeC<{
|
|
195
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
196
196
|
}>]>, t.TypeC<{
|
|
197
197
|
stakingAddress: t.StringC;
|
|
198
198
|
}>, t.PartialC<{
|
|
@@ -64,8 +64,8 @@ export declare const SolVersionedCustomTxIntent: t.IntersectionC<[t.Intersection
|
|
|
64
64
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
65
65
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
66
66
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
67
|
-
}>, t.
|
|
68
|
-
memo: t.
|
|
67
|
+
}>, t.TypeC<{
|
|
68
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
69
69
|
}>]>, t.TypeC<{
|
|
70
70
|
intentType: t.LiteralC<"customTx">;
|
|
71
71
|
solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
|
|
@@ -1435,6 +1435,7 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
1435
1435
|
intentType: t.LiteralC<"cosignDelegationProposal">;
|
|
1436
1436
|
contractId: t.StringC;
|
|
1437
1437
|
operatorId: t.StringC;
|
|
1438
|
+
updateId: t.StringC;
|
|
1438
1439
|
}>, t.PartialC<{
|
|
1439
1440
|
packageName: t.StringC;
|
|
1440
1441
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
@@ -5924,8 +5925,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
5924
5925
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5925
5926
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
5926
5927
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
5927
|
-
}>, t.
|
|
5928
|
-
memo: t.
|
|
5928
|
+
}>, t.TypeC<{
|
|
5929
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
5929
5930
|
}>]>, t.TypeC<{
|
|
5930
5931
|
intentType: t.LiteralC<"authorize">;
|
|
5931
5932
|
transactionMessage: t.StringC;
|
|
@@ -6015,8 +6016,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6015
6016
|
}, unknown>, t.UndefinedC]>;
|
|
6016
6017
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6017
6018
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6018
|
-
}>, t.
|
|
6019
|
-
memo: t.
|
|
6019
|
+
}>, t.TypeC<{
|
|
6020
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6020
6021
|
}>]>, t.TypeC<{
|
|
6021
6022
|
amount: t.TypeC<{
|
|
6022
6023
|
value: t.StringC;
|
|
@@ -6089,8 +6090,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6089
6090
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6090
6091
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6091
6092
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6092
|
-
}>, t.
|
|
6093
|
-
memo: t.
|
|
6093
|
+
}>, t.TypeC<{
|
|
6094
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6094
6095
|
}>]>, t.TypeC<{
|
|
6095
6096
|
intentType: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
6096
6097
|
recipients: t.BrandC<t.ArrayC<t.BrandC<t.IntersectionC<[t.TypeC<{
|
|
@@ -6241,8 +6242,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6241
6242
|
}>]>>;
|
|
6242
6243
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6243
6244
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6244
|
-
}>, t.
|
|
6245
|
-
memo: t.
|
|
6245
|
+
}>, t.TypeC<{
|
|
6246
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6246
6247
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6247
6248
|
intentType: t.KeyofC<{
|
|
6248
6249
|
payment: t.LiteralC<"payment">;
|
|
@@ -6308,8 +6309,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6308
6309
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6309
6310
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6310
6311
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6311
|
-
}>, t.
|
|
6312
|
-
memo: t.
|
|
6312
|
+
}>, t.TypeC<{
|
|
6313
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6313
6314
|
}>]>, t.TypeC<{
|
|
6314
6315
|
intentType: t.LiteralC<"customTx">;
|
|
6315
6316
|
solInstructions: t.ArrayC<t.TypeC<{
|
|
@@ -6386,8 +6387,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6386
6387
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6387
6388
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6388
6389
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6389
|
-
}>, t.
|
|
6390
|
-
memo: t.
|
|
6390
|
+
}>, t.TypeC<{
|
|
6391
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6391
6392
|
}>]>, t.TypeC<{
|
|
6392
6393
|
intentType: t.LiteralC<"deactivate">;
|
|
6393
6394
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
@@ -6457,8 +6458,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6457
6458
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6458
6459
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6459
6460
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6460
|
-
}>, t.
|
|
6461
|
-
memo: t.
|
|
6461
|
+
}>, t.TypeC<{
|
|
6462
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6462
6463
|
}>]>, t.TypeC<{
|
|
6463
6464
|
intentType: t.LiteralC<"delegate">;
|
|
6464
6465
|
validatorAddress: t.StringC;
|
|
@@ -6549,8 +6550,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6549
6550
|
}>]>>;
|
|
6550
6551
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6551
6552
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6552
|
-
}>, t.
|
|
6553
|
-
memo: t.
|
|
6553
|
+
}>, t.TypeC<{
|
|
6554
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6554
6555
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6555
6556
|
intentType: t.KeyofC<{
|
|
6556
6557
|
payment: t.LiteralC<"payment">;
|
|
@@ -6638,8 +6639,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6638
6639
|
isTestTransaction: t.BooleanC;
|
|
6639
6640
|
}>]>]>, t.IntersectionC<[t.PartialC<{
|
|
6640
6641
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6641
|
-
}>, t.
|
|
6642
|
-
memo: t.
|
|
6642
|
+
}>, t.TypeC<{
|
|
6643
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6643
6644
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
6644
6645
|
intentType: t.KeyofC<{
|
|
6645
6646
|
payment: t.LiteralC<"payment">;
|
|
@@ -6711,8 +6712,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6711
6712
|
intentType: t.LiteralC<"stake">;
|
|
6712
6713
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6713
6714
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6714
|
-
}>, t.
|
|
6715
|
-
memo: t.
|
|
6715
|
+
}>, t.TypeC<{
|
|
6716
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6716
6717
|
}>]>, t.TypeC<{
|
|
6717
6718
|
amount: t.TypeC<{
|
|
6718
6719
|
value: t.StringC;
|
|
@@ -6793,8 +6794,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6793
6794
|
intentType: t.LiteralC<"unstake">;
|
|
6794
6795
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6795
6796
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6796
|
-
}>, t.
|
|
6797
|
-
memo: t.
|
|
6797
|
+
}>, t.TypeC<{
|
|
6798
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6798
6799
|
}>]>, t.TypeC<{
|
|
6799
6800
|
stakingAddress: t.StringC;
|
|
6800
6801
|
}>, t.PartialC<{
|
|
@@ -6906,8 +6907,8 @@ export declare const TransactionRequestLite: t.IntersectionC<[t.IntersectionC<[t
|
|
|
6906
6907
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6907
6908
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
6908
6909
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
6909
|
-
}>, t.
|
|
6910
|
-
memo: t.
|
|
6910
|
+
}>, t.TypeC<{
|
|
6911
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
6911
6912
|
}>]>, t.TypeC<{
|
|
6912
6913
|
intentType: t.LiteralC<"customTx">;
|
|
6913
6914
|
solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
|
|
@@ -13540,6 +13541,7 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
13540
13541
|
intentType: t.LiteralC<"cosignDelegationProposal">;
|
|
13541
13542
|
contractId: t.StringC;
|
|
13542
13543
|
operatorId: t.StringC;
|
|
13544
|
+
updateId: t.StringC;
|
|
13543
13545
|
}>, t.PartialC<{
|
|
13544
13546
|
packageName: t.StringC;
|
|
13545
13547
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
@@ -18029,8 +18031,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18029
18031
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18030
18032
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18031
18033
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18032
|
-
}>, t.
|
|
18033
|
-
memo: t.
|
|
18034
|
+
}>, t.TypeC<{
|
|
18035
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18034
18036
|
}>]>, t.TypeC<{
|
|
18035
18037
|
intentType: t.LiteralC<"authorize">;
|
|
18036
18038
|
transactionMessage: t.StringC;
|
|
@@ -18120,8 +18122,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18120
18122
|
}, unknown>, t.UndefinedC]>;
|
|
18121
18123
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18122
18124
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18123
|
-
}>, t.
|
|
18124
|
-
memo: t.
|
|
18125
|
+
}>, t.TypeC<{
|
|
18126
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18125
18127
|
}>]>, t.TypeC<{
|
|
18126
18128
|
amount: t.TypeC<{
|
|
18127
18129
|
value: t.StringC;
|
|
@@ -18194,8 +18196,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18194
18196
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18195
18197
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18196
18198
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18197
|
-
}>, t.
|
|
18198
|
-
memo: t.
|
|
18199
|
+
}>, t.TypeC<{
|
|
18200
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18199
18201
|
}>]>, t.TypeC<{
|
|
18200
18202
|
intentType: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
18201
18203
|
recipients: t.BrandC<t.ArrayC<t.BrandC<t.IntersectionC<[t.TypeC<{
|
|
@@ -18346,8 +18348,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18346
18348
|
}>]>>;
|
|
18347
18349
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18348
18350
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18349
|
-
}>, t.
|
|
18350
|
-
memo: t.
|
|
18351
|
+
}>, t.TypeC<{
|
|
18352
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18351
18353
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18352
18354
|
intentType: t.KeyofC<{
|
|
18353
18355
|
payment: t.LiteralC<"payment">;
|
|
@@ -18413,8 +18415,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18413
18415
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18414
18416
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18415
18417
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18416
|
-
}>, t.
|
|
18417
|
-
memo: t.
|
|
18418
|
+
}>, t.TypeC<{
|
|
18419
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18418
18420
|
}>]>, t.TypeC<{
|
|
18419
18421
|
intentType: t.LiteralC<"customTx">;
|
|
18420
18422
|
solInstructions: t.ArrayC<t.TypeC<{
|
|
@@ -18491,8 +18493,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18491
18493
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18492
18494
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18493
18495
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18494
|
-
}>, t.
|
|
18495
|
-
memo: t.
|
|
18496
|
+
}>, t.TypeC<{
|
|
18497
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18496
18498
|
}>]>, t.TypeC<{
|
|
18497
18499
|
intentType: t.LiteralC<"deactivate">;
|
|
18498
18500
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
@@ -18562,8 +18564,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18562
18564
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18563
18565
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18564
18566
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18565
|
-
}>, t.
|
|
18566
|
-
memo: t.
|
|
18567
|
+
}>, t.TypeC<{
|
|
18568
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18567
18569
|
}>]>, t.TypeC<{
|
|
18568
18570
|
intentType: t.LiteralC<"delegate">;
|
|
18569
18571
|
validatorAddress: t.StringC;
|
|
@@ -18654,8 +18656,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18654
18656
|
}>]>>;
|
|
18655
18657
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18656
18658
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18657
|
-
}>, t.
|
|
18658
|
-
memo: t.
|
|
18659
|
+
}>, t.TypeC<{
|
|
18660
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18659
18661
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18660
18662
|
intentType: t.KeyofC<{
|
|
18661
18663
|
payment: t.LiteralC<"payment">;
|
|
@@ -18743,8 +18745,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18743
18745
|
isTestTransaction: t.BooleanC;
|
|
18744
18746
|
}>]>]>, t.IntersectionC<[t.PartialC<{
|
|
18745
18747
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18746
|
-
}>, t.
|
|
18747
|
-
memo: t.
|
|
18748
|
+
}>, t.TypeC<{
|
|
18749
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18748
18750
|
}>]>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
18749
18751
|
intentType: t.KeyofC<{
|
|
18750
18752
|
payment: t.LiteralC<"payment">;
|
|
@@ -18816,8 +18818,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18816
18818
|
intentType: t.LiteralC<"stake">;
|
|
18817
18819
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18818
18820
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18819
|
-
}>, t.
|
|
18820
|
-
memo: t.
|
|
18821
|
+
}>, t.TypeC<{
|
|
18822
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18821
18823
|
}>]>, t.TypeC<{
|
|
18822
18824
|
amount: t.TypeC<{
|
|
18823
18825
|
value: t.StringC;
|
|
@@ -18898,8 +18900,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
18898
18900
|
intentType: t.LiteralC<"unstake">;
|
|
18899
18901
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
18900
18902
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
18901
|
-
}>, t.
|
|
18902
|
-
memo: t.
|
|
18903
|
+
}>, t.TypeC<{
|
|
18904
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
18903
18905
|
}>]>, t.TypeC<{
|
|
18904
18906
|
stakingAddress: t.StringC;
|
|
18905
18907
|
}>, t.PartialC<{
|
|
@@ -19011,8 +19013,8 @@ export declare const TransactionRequest: t.UnionC<[t.IntersectionC<[t.Intersecti
|
|
|
19011
19013
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
19012
19014
|
}>]>, t.IntersectionC<[t.PartialC<{
|
|
19013
19015
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
19014
|
-
}>, t.
|
|
19015
|
-
memo: t.
|
|
19016
|
+
}>, t.TypeC<{
|
|
19017
|
+
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
19016
19018
|
}>]>, t.TypeC<{
|
|
19017
19019
|
intentType: t.LiteralC<"customTx">;
|
|
19018
19020
|
solVersionedTransactionData: t.IntersectionC<[t.TypeC<{
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ import { intentTypes } from "./intentType";
|
|
|
10
10
|
* @param {String} intentType - The type of intent (always set to cosignDelegationProposal)
|
|
11
11
|
* @param {String} contractId - The contract id of the delegation proposal to cosign
|
|
12
12
|
* @param {String} operatorId - The operator id associated with the delegation proposal
|
|
13
|
+
* @param {String} updateId - The transaction update id of the cosign delegation proposal
|
|
13
14
|
* @param {String} [packageName] - The optional package name
|
|
14
15
|
*/
|
|
15
16
|
export const CantonCosignDelegationProposalIntent = t.intersection([
|
|
@@ -18,6 +19,7 @@ export const CantonCosignDelegationProposalIntent = t.intersection([
|
|
|
18
19
|
intentType: intentTypes.cosignDelegationProposal,
|
|
19
20
|
contractId: t.string,
|
|
20
21
|
operatorId: t.string,
|
|
22
|
+
updateId: t.string,
|
|
21
23
|
}),
|
|
22
24
|
t.partial({
|
|
23
25
|
packageName: t.string,
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
+
import { optionalString } from "../../../utils";
|
|
2
3
|
import { AccountBaseBuildOptions } from "./accountBaseBuildOptions";
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Solana build fragment intersected by **every** Sol intent codec that composes
|
|
6
7
|
* `SolBuildOptions` (e.g. payment, stake, consolidate, close-ATA, etc.).
|
|
7
8
|
*
|
|
8
|
-
* **`memo`
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* required the key for `.is()` even when the value would have been `undefined`.
|
|
13
|
-
* When `memo` is present, the value is validated as a `string`; if a caller
|
|
14
|
-
* passes `memo: undefined`, `t.partial` does not run the inner codec (the key
|
|
15
|
-
* is treated as absent), so runtime stays compatible with spreads.
|
|
9
|
+
* **`memo` is part of the legacy wire contract:** `t.type({ memo: optionalString })`
|
|
10
|
+
* keeps the **`memo` key structurally present** for `.is()` / `decode` (value may
|
|
11
|
+
* be a string or `undefined` per `optionalString`). Payloads that omit `memo`
|
|
12
|
+
* entirely are not accepted by this codec.
|
|
16
13
|
*
|
|
17
|
-
*
|
|
18
|
-
* `
|
|
19
|
-
* `
|
|
20
|
-
*
|
|
14
|
+
* Upstream services (for example wallet-platform when persisting
|
|
15
|
+
* `closeAssociatedTokenAccount` intents) may normalize a missing `memo` to
|
|
16
|
+
* `""` before validation so stored objects match this shape. Other Sol flows
|
|
17
|
+
* should send `memo` or apply the same normalization if they share this path.
|
|
21
18
|
*/
|
|
22
19
|
export const SolBuildOptions = t.intersection([
|
|
23
20
|
AccountBaseBuildOptions,
|
|
24
|
-
t.
|
|
25
|
-
memo:
|
|
21
|
+
t.type({
|
|
22
|
+
memo: optionalString,
|
|
26
23
|
}),
|
|
27
24
|
]);
|
|
28
25
|
|