@bitgo/public-types 5.94.0 → 5.95.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.
Files changed (30) hide show
  1. package/dist/src/schema/transactionRequest/intents/index.d.ts +5 -0
  2. package/dist/src/schema/transactionRequest/intents/index.js +5 -0
  3. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  4. package/dist/src/schema/transactionRequest/intents/intent.d.ts +363 -0
  5. package/dist/src/schema/transactionRequest/intents/intent.js +10 -0
  6. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  7. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +74 -0
  8. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.js +39 -0
  9. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.js.map +1 -0
  10. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +76 -0
  11. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.js +41 -0
  12. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.js.map +1 -0
  13. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +75 -0
  14. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.js +40 -0
  15. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.js.map +1 -0
  16. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +84 -0
  17. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.js +45 -0
  18. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.js.map +1 -0
  19. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +74 -0
  20. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.js +39 -0
  21. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.js.map +1 -0
  22. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +2202 -1476
  23. package/package.json +1 -1
  24. package/src/schema/transactionRequest/intents/index.ts +5 -0
  25. package/src/schema/transactionRequest/intents/intent.ts +10 -0
  26. package/src/schema/transactionRequest/intents/trxClaimRewardsIntent.ts +18 -0
  27. package/src/schema/transactionRequest/intents/trxFreezeIntent.ts +20 -0
  28. package/src/schema/transactionRequest/intents/trxUnfreezeIntent.ts +19 -0
  29. package/src/schema/transactionRequest/intents/trxVoteIntent.ts +27 -0
  30. package/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts +20 -0
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.TrxFreezeIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseStakeIntent_1 = require("./baseStakeIntent");
29
+ const baseIntent_1 = require("./baseIntent");
30
+ const intentType_1 = require("./intentType");
31
+ exports.TrxFreezeIntent = t.intersection([
32
+ baseStakeIntent_1.BaseStakeIntent,
33
+ baseIntent_1.BaseIntentWithAmount,
34
+ t.type({
35
+ intentType: intentType_1.intentTypes.stake,
36
+ validatorAddress: t.string,
37
+ ownerAddress: t.string,
38
+ resource: t.union([t.literal("BANDWIDTH"), t.literal("ENERGY")]),
39
+ }),
40
+ ]);
41
+ //# sourceMappingURL=trxFreezeIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trxFreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxFreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAK9B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,KAAK;QAC7B,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,75 @@
1
+ import * as t from "io-ts";
2
+ export declare const TrxUnfreezeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
36
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
37
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
+ tokenApproval: t.LiteralC<"tokenApproval">;
39
+ transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
41
+ increaseStake: t.LiteralC<"increaseStake">;
42
+ decreaseStake: t.LiteralC<"decreaseStake">;
43
+ signalExit: t.LiteralC<"signalExit">;
44
+ withdrawStake: t.LiteralC<"withdrawStake">;
45
+ spotTransfer: t.LiteralC<"spotTransfer">;
46
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
47
+ enableBridging: t.LiteralC<"enableBridging">;
48
+ goUnstake: t.LiteralC<"goUnstake">;
49
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
50
+ transferAccept: t.LiteralC<"transferAccept">;
51
+ transferReject: t.LiteralC<"transferReject">;
52
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
53
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
54
+ "defi-deposit": t.LiteralC<"defi-deposit">;
55
+ "defi-redeem": t.LiteralC<"defi-redeem">;
56
+ }>;
57
+ }>, t.PartialC<{
58
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
60
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
61
+ }>]>, t.TypeC<{
62
+ stakingRequestId: t.StringC;
63
+ }>, t.PartialC<{
64
+ source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
65
+ }>]>, t.TypeC<{
66
+ amount: t.TypeC<{
67
+ value: t.StringC;
68
+ symbol: t.StringC;
69
+ }>;
70
+ }>, t.TypeC<{
71
+ intentType: t.LiteralC<"unstake">;
72
+ ownerAddress: t.StringC;
73
+ resource: t.UnionC<[t.LiteralC<"BANDWIDTH">, t.LiteralC<"ENERGY">]>;
74
+ }>]>;
75
+ export type TrxUnfreezeIntent = t.TypeOf<typeof TrxUnfreezeIntent>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.TrxUnfreezeIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseStakeIntent_1 = require("./baseStakeIntent");
29
+ const baseIntent_1 = require("./baseIntent");
30
+ const intentType_1 = require("./intentType");
31
+ exports.TrxUnfreezeIntent = t.intersection([
32
+ baseStakeIntent_1.BaseStakeIntent,
33
+ baseIntent_1.BaseIntentWithAmount,
34
+ t.type({
35
+ intentType: intentType_1.intentTypes.unstake,
36
+ ownerAddress: t.string,
37
+ resource: t.union([t.literal("BANDWIDTH"), t.literal("ENERGY")]),
38
+ }),
39
+ ]);
40
+ //# sourceMappingURL=trxUnfreezeIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trxUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAK9B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,OAAO;QAC/B,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjE,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,84 @@
1
+ import * as t from "io-ts";
2
+ export declare const TrxVote: t.TypeC<{
3
+ vote_address: t.StringC;
4
+ vote_count: t.StringC;
5
+ }>;
6
+ export type TrxVote = t.TypeOf<typeof TrxVote>;
7
+ export declare const TrxVoteIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
8
+ intentType: t.KeyofC<{
9
+ payment: t.LiteralC<"payment">;
10
+ transferToken: t.LiteralC<"transferToken">;
11
+ consolidate: t.LiteralC<"consolidate">;
12
+ consolidateToken: t.LiteralC<"consolidateToken">;
13
+ fanout: t.LiteralC<"fanout">;
14
+ stake: t.LiteralC<"stake">;
15
+ unstake: t.LiteralC<"unstake">;
16
+ delegate: t.LiteralC<"delegate">;
17
+ undelegate: t.LiteralC<"undelegate">;
18
+ switchValidator: t.LiteralC<"switchValidator">;
19
+ claim: t.LiteralC<"claim">;
20
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
21
+ pledge: t.LiteralC<"pledge">;
22
+ voteDelegation: t.LiteralC<"voteDelegation">;
23
+ vote: t.LiteralC<"vote">;
24
+ createAccount: t.LiteralC<"createAccount">;
25
+ updateAccount: t.LiteralC<"updateAccount">;
26
+ addTrustLine: t.LiteralC<"addTrustLine">;
27
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
28
+ signMessage: t.LiteralC<"signMessage">;
29
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
30
+ enableToken: t.LiteralC<"enableToken">;
31
+ authorize: t.LiteralC<"authorize">;
32
+ acceleration: t.LiteralC<"acceleration">;
33
+ fillNonce: t.LiteralC<"fillNonce">;
34
+ walletRecovery: t.LiteralC<"walletRecovery">;
35
+ contractCall: t.LiteralC<"contractCall">;
36
+ deactivate: t.LiteralC<"deactivate">;
37
+ customTx: t.LiteralC<"customTx">;
38
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
39
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
40
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
41
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
42
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
43
+ tokenApproval: t.LiteralC<"tokenApproval">;
44
+ transferStake: t.LiteralC<"transferStake">;
45
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
46
+ increaseStake: t.LiteralC<"increaseStake">;
47
+ decreaseStake: t.LiteralC<"decreaseStake">;
48
+ signalExit: t.LiteralC<"signalExit">;
49
+ withdrawStake: t.LiteralC<"withdrawStake">;
50
+ spotTransfer: t.LiteralC<"spotTransfer">;
51
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
52
+ enableBridging: t.LiteralC<"enableBridging">;
53
+ goUnstake: t.LiteralC<"goUnstake">;
54
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
55
+ transferAccept: t.LiteralC<"transferAccept">;
56
+ transferReject: t.LiteralC<"transferReject">;
57
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
58
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
59
+ "defi-deposit": t.LiteralC<"defi-deposit">;
60
+ "defi-redeem": t.LiteralC<"defi-redeem">;
61
+ }>;
62
+ }>, t.PartialC<{
63
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
64
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
65
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
66
+ }>]>, t.TypeC<{
67
+ stakingRequestId: t.StringC;
68
+ }>, t.PartialC<{
69
+ source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
70
+ }>]>, t.TypeC<{
71
+ amount: t.TypeC<{
72
+ value: t.StringC;
73
+ symbol: t.StringC;
74
+ }>;
75
+ }>, t.TypeC<{
76
+ intentType: t.LiteralC<"voteDelegation">;
77
+ validatorAddress: t.StringC;
78
+ ownerAddress: t.StringC;
79
+ votes: t.ArrayC<t.TypeC<{
80
+ vote_address: t.StringC;
81
+ vote_count: t.StringC;
82
+ }>>;
83
+ }>]>;
84
+ export type TrxVoteIntent = t.TypeOf<typeof TrxVoteIntent>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.TrxVoteIntent = exports.TrxVote = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseStakeIntent_1 = require("./baseStakeIntent");
29
+ const baseIntent_1 = require("./baseIntent");
30
+ const intentType_1 = require("./intentType");
31
+ exports.TrxVote = t.type({
32
+ vote_address: t.string,
33
+ vote_count: t.string,
34
+ });
35
+ exports.TrxVoteIntent = t.intersection([
36
+ baseStakeIntent_1.BaseStakeIntent,
37
+ baseIntent_1.BaseIntentWithAmount,
38
+ t.type({
39
+ intentType: intentType_1.intentTypes.voteDelegation,
40
+ validatorAddress: t.string,
41
+ ownerAddress: t.string,
42
+ votes: t.array(exports.TrxVote),
43
+ }),
44
+ ]);
45
+ //# sourceMappingURL=trxVoteIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trxVoteIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxVoteIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAE9B,QAAA,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,CAAC,MAAM;IACtB,UAAU,EAAE,CAAC,CAAC,MAAM;CACrB,CAAC,CAAC;AAOU,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc;QACtC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,eAAO,CAAC;KACxB,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,74 @@
1
+ import * as t from "io-ts";
2
+ export declare const TrxWithdrawExpireUnfreezeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
36
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
37
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
+ tokenApproval: t.LiteralC<"tokenApproval">;
39
+ transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
41
+ increaseStake: t.LiteralC<"increaseStake">;
42
+ decreaseStake: t.LiteralC<"decreaseStake">;
43
+ signalExit: t.LiteralC<"signalExit">;
44
+ withdrawStake: t.LiteralC<"withdrawStake">;
45
+ spotTransfer: t.LiteralC<"spotTransfer">;
46
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
47
+ enableBridging: t.LiteralC<"enableBridging">;
48
+ goUnstake: t.LiteralC<"goUnstake">;
49
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
50
+ transferAccept: t.LiteralC<"transferAccept">;
51
+ transferReject: t.LiteralC<"transferReject">;
52
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
53
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
54
+ "defi-deposit": t.LiteralC<"defi-deposit">;
55
+ "defi-redeem": t.LiteralC<"defi-redeem">;
56
+ }>;
57
+ }>, t.PartialC<{
58
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
59
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
60
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
61
+ }>]>, t.TypeC<{
62
+ stakingRequestId: t.StringC;
63
+ }>, t.PartialC<{
64
+ source: t.KeyofC<typeof import("./stakingRequestSource").StakingRequestSourceEnum>;
65
+ }>]>, t.TypeC<{
66
+ amount: t.TypeC<{
67
+ value: t.StringC;
68
+ symbol: t.StringC;
69
+ }>;
70
+ }>, t.TypeC<{
71
+ intentType: t.LiteralC<"claim">;
72
+ ownerAddress: t.StringC;
73
+ }>]>;
74
+ export type TrxWithdrawExpireUnfreezeIntent = t.TypeOf<typeof TrxWithdrawExpireUnfreezeIntent>;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.TrxWithdrawExpireUnfreezeIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseStakeIntent_1 = require("./baseStakeIntent");
29
+ const baseIntent_1 = require("./baseIntent");
30
+ const intentType_1 = require("./intentType");
31
+ exports.TrxWithdrawExpireUnfreezeIntent = t.intersection([
32
+ baseStakeIntent_1.BaseStakeIntent,
33
+ baseIntent_1.BaseIntentWithAmount,
34
+ t.type({
35
+ intentType: intentType_1.intentTypes.claim,
36
+ ownerAddress: t.string,
37
+ }),
38
+ ]);
39
+ //# sourceMappingURL=trxWithdrawExpireUnfreezeIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trxWithdrawExpireUnfreezeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAAoD;AACpD,6CAA2C;AAK9B,QAAA,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,KAAK;QAC7B,YAAY,EAAE,CAAC,CAAC,MAAM;KACvB,CAAC;CACH,CAAC,CAAC"}