@bitgo/public-types 5.53.0 → 5.55.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 (155) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
  20. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +1 -0
  21. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
  22. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
  23. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
  24. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
  25. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
  26. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
  27. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
  28. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
  29. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
  30. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +1 -0
  31. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
  32. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
  33. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
  34. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
  35. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
  36. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
  37. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
  38. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
  39. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
  40. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
  41. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +1 -0
  42. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
  43. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
  44. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
  45. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
  46. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
  47. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
  48. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
  49. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
  50. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
  51. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
  52. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
  53. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
  54. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
  55. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
  56. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
  57. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
  58. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +1 -0
  59. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
  60. package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -0
  61. package/dist/src/schema/transactionRequest/intents/index.js +2 -0
  62. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  63. package/dist/src/schema/transactionRequest/intents/intent.d.ts +212 -0
  64. package/dist/src/schema/transactionRequest/intents/intent.js +4 -0
  65. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  66. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
  67. package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
  68. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  69. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +1 -0
  70. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +1 -0
  71. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +2 -0
  72. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
  73. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
  74. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
  75. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
  76. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
  77. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
  78. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
  79. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
  80. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
  81. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +1 -0
  82. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
  83. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
  84. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
  85. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
  86. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  87. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  88. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  89. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  90. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
  91. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
  92. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
  93. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +1 -0
  94. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  95. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
  96. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
  97. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
  98. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
  99. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
  100. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
  101. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
  102. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
  103. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
  104. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
  105. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
  106. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +2 -0
  107. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
  108. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
  109. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
  110. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
  111. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
  112. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -0
  113. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +1 -0
  114. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
  115. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
  116. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +2 -0
  117. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js +2 -0
  118. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js.map +1 -1
  119. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
  120. package/dist/src/schema/transactionRequest/intents/tonStakingType.d.ts +8 -0
  121. package/dist/src/schema/transactionRequest/intents/tonStakingType.js +35 -0
  122. package/dist/src/schema/transactionRequest/intents/tonStakingType.js.map +1 -0
  123. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
  124. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +62 -0
  125. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.js +40 -0
  126. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.js.map +1 -0
  127. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
  128. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +1 -0
  129. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
  130. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +56 -0
  131. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.js +36 -0
  132. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.js.map +1 -0
  133. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +1 -0
  134. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +1 -0
  135. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +1 -0
  136. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +2 -0
  137. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +59 -0
  138. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.js +37 -0
  139. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.js.map +1 -0
  140. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
  141. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
  142. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
  143. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
  144. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
  145. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
  146. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +424 -0
  147. package/package.json +1 -1
  148. package/src/schema/transactionRequest/intents/index.ts +2 -0
  149. package/src/schema/transactionRequest/intents/intent.ts +4 -0
  150. package/src/schema/transactionRequest/intents/intentType.ts +1 -0
  151. package/src/schema/transactionRequest/intents/tonDelegateIntent.ts +5 -0
  152. package/src/schema/transactionRequest/intents/tonStakingType.ts +11 -0
  153. package/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.ts +26 -0
  154. package/src/schema/transactionRequest/intents/validatorRegistrationIntent.ts +14 -0
  155. package/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts +23 -0
@@ -37,6 +37,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -58,5 +59,6 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
58
59
  useSingleNominator: t.BooleanC;
59
60
  }>, t.PartialC<{
60
61
  ownerAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
62
+ tonStakingType: t.KeyofC<typeof import("./tonStakingType").TonStakingTypeEnum>;
61
63
  }>]>;
62
64
  export type TonDelegateIntent = t.TypeOf<typeof TonDelegateIntent>;
@@ -28,6 +28,7 @@ const t = __importStar(require("io-ts"));
28
28
  const baseIntent_1 = require("./baseIntent");
29
29
  const intentType_1 = require("./intentType");
30
30
  const utils_1 = require("../../../utils");
31
+ const tonStakingType_1 = require("./tonStakingType");
31
32
  exports.TonDelegateIntent = t.intersection([
32
33
  baseIntent_1.BaseIntent,
33
34
  baseIntent_1.BaseIntentWithAmount,
@@ -38,6 +39,7 @@ exports.TonDelegateIntent = t.intersection([
38
39
  }),
39
40
  t.partial({
40
41
  ownerAddress: utils_1.optionalString,
42
+ tonStakingType: tonStakingType_1.TonStakingType,
41
43
  }),
42
44
  ]);
43
45
  //# sourceMappingURL=tonDelegateIntent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tonDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAgE;AAChE,6CAA2C;AAC3C,0CAAgD;AAanC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,kBAAkB,EAAE,CAAC,CAAC,OAAO;KAC9B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,YAAY,EAAE,sBAAc;KAC7B,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"tonDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAAgE;AAChE,6CAA2C;AAC3C,0CAAgD;AAChD,qDAAkD;AAarC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAE1B,kBAAkB,EAAE,CAAC,CAAC,OAAO;KAC9B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QAER,YAAY,EAAE,sBAAc;QAE5B,cAAc,EAAE,+BAAc;KAC/B,CAAC;CACH,CAAC,CAAC"}
@@ -37,6 +37,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -0,0 +1,8 @@
1
+ import * as t from "io-ts";
2
+ export declare enum TonStakingTypeEnum {
3
+ SINGLE_NOMINATOR = "SINGLE_NOMINATOR",
4
+ MULTI_NOMINATOR = "MULTI_NOMINATOR",
5
+ TON_WHALES = "TON_WHALES"
6
+ }
7
+ export declare const TonStakingType: t.KeyofC<typeof TonStakingTypeEnum>;
8
+ export type TonStakingType = t.TypeOf<typeof TonStakingType>;
@@ -0,0 +1,35 @@
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.TonStakingType = exports.TonStakingTypeEnum = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ var TonStakingTypeEnum;
29
+ (function (TonStakingTypeEnum) {
30
+ TonStakingTypeEnum["SINGLE_NOMINATOR"] = "SINGLE_NOMINATOR";
31
+ TonStakingTypeEnum["MULTI_NOMINATOR"] = "MULTI_NOMINATOR";
32
+ TonStakingTypeEnum["TON_WHALES"] = "TON_WHALES";
33
+ })(TonStakingTypeEnum || (exports.TonStakingTypeEnum = TonStakingTypeEnum = {}));
34
+ exports.TonStakingType = t.keyof(TonStakingTypeEnum);
35
+ //# sourceMappingURL=tonStakingType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonStakingType.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonStakingType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,2DAAqC,CAAA;IACrC,yDAAmC,CAAA;IACnC,+CAAyB,CAAA;AAC3B,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAEY,QAAA,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC"}
@@ -37,6 +37,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -0,0 +1,62 @@
1
+ import * as t from "io-ts";
2
+ import { TonStakingTypeEnum } from "./tonStakingType";
3
+ export declare const TonWhalesDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4
+ intentType: t.KeyofC<{
5
+ payment: t.LiteralC<"payment">;
6
+ transferToken: t.LiteralC<"transferToken">;
7
+ consolidate: t.LiteralC<"consolidate">;
8
+ consolidateToken: t.LiteralC<"consolidateToken">;
9
+ fanout: t.LiteralC<"fanout">;
10
+ stake: t.LiteralC<"stake">;
11
+ unstake: t.LiteralC<"unstake">;
12
+ delegate: t.LiteralC<"delegate">;
13
+ undelegate: t.LiteralC<"undelegate">;
14
+ switchValidator: t.LiteralC<"switchValidator">;
15
+ claim: t.LiteralC<"claim">;
16
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
17
+ pledge: t.LiteralC<"pledge">;
18
+ voteDelegation: t.LiteralC<"voteDelegation">;
19
+ vote: t.LiteralC<"vote">;
20
+ createAccount: t.LiteralC<"createAccount">;
21
+ updateAccount: t.LiteralC<"updateAccount">;
22
+ addTrustLine: t.LiteralC<"addTrustLine">;
23
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
24
+ signMessage: t.LiteralC<"signMessage">;
25
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
26
+ enableToken: t.LiteralC<"enableToken">;
27
+ authorize: t.LiteralC<"authorize">;
28
+ acceleration: t.LiteralC<"acceleration">;
29
+ fillNonce: t.LiteralC<"fillNonce">;
30
+ walletRecovery: t.LiteralC<"walletRecovery">;
31
+ contractCall: t.LiteralC<"contractCall">;
32
+ deactivate: t.LiteralC<"deactivate">;
33
+ customTx: t.LiteralC<"customTx">;
34
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
35
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
36
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
37
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
38
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
39
+ tokenApproval: t.LiteralC<"tokenApproval">;
40
+ transferStake: t.LiteralC<"transferStake">;
41
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
42
+ goUnstake: t.LiteralC<"goUnstake">;
43
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
44
+ transferAccept: t.LiteralC<"transferAccept">;
45
+ transferReject: t.LiteralC<"transferReject">;
46
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
47
+ }>;
48
+ }>, t.PartialC<{
49
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
50
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
51
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
52
+ }>]>, t.TypeC<{
53
+ amount: t.TypeC<{
54
+ value: t.StringC;
55
+ symbol: t.StringC;
56
+ }>;
57
+ }>, t.TypeC<{
58
+ intentType: t.LiteralC<"delegate">;
59
+ validatorAddress: t.StringC;
60
+ tonStakingType: t.LiteralC<TonStakingTypeEnum.TON_WHALES>;
61
+ }>]>;
62
+ export type TonWhalesDelegateIntent = t.TypeOf<typeof TonWhalesDelegateIntent>;
@@ -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.TonWhalesDelegateIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const tonStakingType_1 = require("./tonStakingType");
30
+ const baseIntent_1 = require("./baseIntent");
31
+ exports.TonWhalesDelegateIntent = t.intersection([
32
+ baseIntent_1.BaseIntent,
33
+ baseIntent_1.BaseIntentWithAmount,
34
+ t.type({
35
+ intentType: intentType_1.intentTypes.delegate,
36
+ validatorAddress: t.string,
37
+ tonStakingType: t.literal(tonStakingType_1.TonStakingTypeEnum.TON_WHALES),
38
+ }),
39
+ ]);
40
+ //# sourceMappingURL=tonWhalesDelegateIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonWhalesDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/tonWhalesDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,qDAAsD;AACtD,6CAAgE;AAWnD,QAAA,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IAEpD,uBAAU;IACV,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAChC,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAC1B,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAkB,CAAC,UAAU,CAAC;KACzD,CAAC;CACH,CAAC,CAAC"}
@@ -37,6 +37,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const UndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -0,0 +1,56 @@
1
+ import * as t from "io-ts";
2
+ export declare const ValidatorRegistrationIntent: 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
+ goUnstake: t.LiteralC<"goUnstake">;
42
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
43
+ transferAccept: t.LiteralC<"transferAccept">;
44
+ transferReject: t.LiteralC<"transferReject">;
45
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
46
+ }>;
47
+ }>, t.PartialC<{
48
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
49
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
50
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
51
+ }>]>, t.TypeC<{
52
+ stakingRequestId: t.StringC;
53
+ }>]>, t.TypeC<{
54
+ intentType: t.LiteralC<"validatorRegistration">;
55
+ }>]>;
56
+ export type ValidatorRegistrationIntent = t.TypeOf<typeof ValidatorRegistrationIntent>;
@@ -0,0 +1,36 @@
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.ValidatorRegistrationIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseStakeIntent_1 = require("./baseStakeIntent");
29
+ const intentType_1 = require("./intentType");
30
+ exports.ValidatorRegistrationIntent = t.intersection([
31
+ baseStakeIntent_1.BaseStakeIntent,
32
+ t.type({
33
+ intentType: intentType_1.intentTypes.validatorRegistration,
34
+ }),
35
+ ]);
36
+ //# sourceMappingURL=validatorRegistrationIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/validatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAE9B,QAAA,2BAA2B,GAAG,CAAC,CAAC,YAAY,CAAC;IACxD,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,qBAAqB;KAC9C,CAAC;CACH,CAAC,CAAC"}
@@ -37,6 +37,7 @@ export declare const VetDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const VetStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const VetStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const VetExitDelegationIntent: t.IntersectionC<[t.IntersectionC<[
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -94,6 +95,7 @@ export declare const VetBurnNFTIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
94
95
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
95
96
  tokenApproval: t.LiteralC<"tokenApproval">;
96
97
  transferStake: t.LiteralC<"transferStake">;
98
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
97
99
  goUnstake: t.LiteralC<"goUnstake">;
98
100
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
99
101
  transferAccept: t.LiteralC<"transferAccept">;
@@ -0,0 +1,59 @@
1
+ import * as t from "io-ts";
2
+ export declare const VetValidatorRegistrationIntent: t.IntersectionC<[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
+ goUnstake: t.LiteralC<"goUnstake">;
42
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
43
+ transferAccept: t.LiteralC<"transferAccept">;
44
+ transferReject: t.LiteralC<"transferReject">;
45
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
46
+ }>;
47
+ }>, t.PartialC<{
48
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
49
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
50
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
51
+ }>]>, t.TypeC<{
52
+ stakingRequestId: t.StringC;
53
+ }>]>, t.TypeC<{
54
+ intentType: t.LiteralC<"validatorRegistration">;
55
+ }>]>, t.TypeC<{
56
+ validatorAddress: import("io-ts-types").NonEmptyStringC;
57
+ stakingPeriod: t.NumberC;
58
+ }>]>;
59
+ export type VetValidatorRegistrationIntent = t.TypeOf<typeof VetValidatorRegistrationIntent>;
@@ -0,0 +1,37 @@
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.VetValidatorRegistrationIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const validatorRegistrationIntent_1 = require("./validatorRegistrationIntent");
29
+ const io_ts_types_1 = require("io-ts-types");
30
+ exports.VetValidatorRegistrationIntent = t.intersection([
31
+ validatorRegistrationIntent_1.ValidatorRegistrationIntent,
32
+ t.type({
33
+ validatorAddress: io_ts_types_1.NonEmptyString,
34
+ stakingPeriod: t.number,
35
+ }),
36
+ ]);
37
+ //# sourceMappingURL=vetValidatorRegistrationIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vetValidatorRegistrationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,+EAA4E;AAC5E,6CAA6C;AAUhC,QAAA,8BAA8B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3D,yDAA2B;IAC3B,CAAC,CAAC,IAAI,CAAC;QACL,gBAAgB,EAAE,4BAAc;QAChC,aAAa,EAAE,CAAC,CAAC,MAAM;KACxB,CAAC;CACH,CAAC,CAAC"}
@@ -37,6 +37,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;
@@ -37,6 +37,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
37
37
  feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
38
  tokenApproval: t.LiteralC<"tokenApproval">;
39
39
  transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
40
41
  goUnstake: t.LiteralC<"goUnstake">;
41
42
  createBtcDelegation: t.LiteralC<"createBtcDelegation">;
42
43
  transferAccept: t.LiteralC<"transferAccept">;