@bitgo/public-types 5.80.0 → 5.82.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 (166) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +2 -2
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +2 -2
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +2 -2
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +2 -2
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +2 -2
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +2 -2
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +2 -2
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +2 -2
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +2 -2
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +2 -2
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +2 -2
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +2 -2
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +2 -2
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +2 -2
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +2 -2
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +2 -2
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +2 -2
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +2 -2
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +2 -2
  20. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +2 -2
  21. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +2 -2
  22. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +4 -4
  23. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +2 -2
  24. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +2 -2
  25. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +2 -2
  26. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +2 -2
  27. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +2 -2
  28. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +2 -2
  29. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +2 -2
  30. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +2 -2
  31. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +2 -2
  32. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +2 -2
  33. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +2 -2
  34. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +2 -2
  35. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +2 -2
  36. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +2 -2
  37. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +2 -2
  38. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +2 -2
  39. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +2 -2
  40. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +2 -2
  41. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +2 -2
  42. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +2 -2
  43. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +2 -2
  44. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +2 -2
  45. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +2 -2
  46. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +2 -2
  47. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +2 -2
  48. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +2 -2
  49. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +2 -2
  50. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +2 -2
  51. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +2 -2
  52. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +2 -2
  53. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +2 -2
  54. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +4 -4
  55. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +2 -2
  56. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +2 -2
  57. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +2 -2
  58. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +2 -2
  59. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +2 -2
  60. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +2 -2
  61. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +2 -2
  62. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +2 -2
  63. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +2 -2
  64. package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -2
  65. package/dist/src/schema/transactionRequest/intents/index.js +2 -2
  66. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  67. package/dist/src/schema/transactionRequest/intents/intent.d.ts +354 -350
  68. package/dist/src/schema/transactionRequest/intents/intent.js +4 -4
  69. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  70. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +4 -4
  71. package/dist/src/schema/transactionRequest/intents/intentType.js +2 -2
  72. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  73. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +2 -2
  74. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +2 -2
  75. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +4 -4
  76. package/dist/src/schema/transactionRequest/intents/irysPledgeIntent.d.ts +2 -2
  77. package/dist/src/schema/transactionRequest/intents/irysStakeIntent.d.ts +2 -2
  78. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +4 -4
  79. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +2 -2
  80. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +2 -2
  81. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +2 -2
  82. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +2 -2
  83. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +2 -2
  84. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +2 -2
  85. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +2 -2
  86. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +2 -2
  87. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +2 -2
  88. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +2 -2
  89. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +2 -2
  90. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +2 -2
  91. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +2 -2
  92. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +2 -2
  93. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +2 -2
  94. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +2 -2
  95. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +2 -2
  96. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +2 -2
  97. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -2
  98. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -2
  99. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +2 -2
  100. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +2 -2
  101. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +4 -4
  102. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +4 -4
  103. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +2 -2
  104. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +2 -2
  105. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +2 -2
  106. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +2 -2
  107. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +2 -2
  108. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +2 -2
  109. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +2 -2
  110. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +2 -2
  111. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +4 -4
  112. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +4 -4
  113. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +4 -4
  114. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +2 -2
  115. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +2 -2
  116. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +4 -4
  117. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +2 -2
  118. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +2 -2
  119. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +2 -2
  120. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +4 -4
  121. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +2 -2
  122. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +2 -2
  123. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +2 -2
  124. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +2 -2
  125. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +2 -2
  126. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +2 -2
  127. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +2 -2
  128. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +2 -2
  129. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +2 -2
  130. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +2 -2
  131. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +2 -2
  132. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +2 -2
  133. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +2 -2
  134. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +2 -2
  135. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +2 -2
  136. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +2 -2
  137. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +2 -2
  138. package/dist/src/schema/transactionRequest/intents/{defiDepositIntent.d.ts → vetSignalExitIntent.d.ts} +9 -7
  139. package/dist/src/schema/transactionRequest/intents/{defiRedeemIntent.js → vetSignalExitIntent.js} +9 -8
  140. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.js.map +1 -0
  141. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +2 -2
  142. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +2 -2
  143. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +4 -4
  144. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +2 -2
  145. package/dist/src/schema/transactionRequest/intents/{defiRedeemIntent.d.ts → vetWithdrawStakeIntent.d.ts} +9 -7
  146. package/dist/src/schema/transactionRequest/intents/{defiDepositIntent.js → vetWithdrawStakeIntent.js} +9 -8
  147. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.js.map +1 -0
  148. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +2 -2
  149. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +2 -2
  150. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +2 -2
  151. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +2 -2
  152. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +2 -2
  153. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +2 -2
  154. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +4 -4
  155. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +4 -4
  156. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +708 -700
  157. package/package.json +1 -1
  158. package/src/schema/transactionRequest/intents/index.ts +2 -2
  159. package/src/schema/transactionRequest/intents/intent.ts +4 -4
  160. package/src/schema/transactionRequest/intents/intentType.ts +2 -8
  161. package/src/schema/transactionRequest/intents/vetSignalExitIntent.ts +23 -0
  162. package/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.ts +23 -0
  163. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.js.map +0 -1
  164. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.js.map +0 -1
  165. package/src/schema/transactionRequest/intents/defiDepositIntent.ts +0 -15
  166. package/src/schema/transactionRequest/intents/defiRedeemIntent.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "5.80.0",
3
+ "version": "5.82.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -46,8 +46,6 @@ export * from "./cosmosStakeIntent";
46
46
  export * from "./cosmosSwitchValidatorIntent";
47
47
  export * from "./cosmosUnstakeIntent";
48
48
  export * from "./cosmosWithdrawIntent";
49
- export * from "./defiDepositIntent";
50
- export * from "./defiRedeemIntent";
51
49
  export * from "./dotAccountBaseBuildOptions";
52
50
  export * from "./dotBaseIntent";
53
51
  export * from "./dotConsolidateIntent";
@@ -172,6 +170,8 @@ export * from "./vetUnstakingIntent";
172
170
  export * from "./vetValidatorRegistrationIntent";
173
171
  export * from "./vetIncreaseStakeIntent";
174
172
  export * from "./vetDecreaseStakeIntent";
173
+ export * from "./vetSignalExitIntent";
174
+ export * from "./vetWithdrawStakeIntent";
175
175
  export * from "./voteDelegationIntent";
176
176
  export * from "./walletRecoveryIntent";
177
177
  export * from "./walrusStakingIntent";
@@ -17,8 +17,6 @@ import {
17
17
  VetExitDelegationIntent,
18
18
  VetBurnNFTIntent,
19
19
  } from "./vetUnstakingIntent";
20
- import { DefiDepositIntent } from "./defiDepositIntent";
21
- import { DefiRedeemIntent } from "./defiRedeemIntent";
22
20
  import { CosmosPaymentIntent } from "./cosmosPaymentIntent";
23
21
  import { CosmosStakeIntent } from "./cosmosStakeIntent";
24
22
  import { CosmosSwitchValidatorIntent } from "./cosmosSwitchValidatorIntent";
@@ -106,6 +104,8 @@ import { VetStakeClaimRewardsIntent } from "./vetStakeClaimRewardsIntent";
106
104
  import { VetValidatorRegistrationIntent } from "./vetValidatorRegistrationIntent";
107
105
  import { VetIncreaseStakeIntent } from "./vetIncreaseStakeIntent";
108
106
  import { VetDecreaseStakeIntent } from "./vetDecreaseStakeIntent";
107
+ import { VetSignalExitIntent } from "./vetSignalExitIntent";
108
+ import { VetWithdrawStakeIntent } from "./vetWithdrawStakeIntent";
109
109
  import { CantonTransferAcceptIntent } from "./cantonTransferAcceptIntent";
110
110
  import { CantonTransferAcknowledgeIntent } from "./cantonTransferAcknowledgeIntent";
111
111
  import { CantonTransferOfferWithdrawnIntent } from "./cantonTransferOfferWithdrawnIntent";
@@ -144,8 +144,6 @@ export const TransactionIntent = t.union([
144
144
  CosmosSwitchValidatorIntent,
145
145
  CosmosUnstakeIntent,
146
146
  CosmosWithdrawIntent,
147
- DefiDepositIntent,
148
- DefiRedeemIntent,
149
147
  DotConsolidateIntent,
150
148
  DotCreateAccountIntent,
151
149
  DotPaymentIntent,
@@ -220,6 +218,8 @@ export const TransactionIntent = t.union([
220
218
  VetValidatorRegistrationIntent,
221
219
  VetIncreaseStakeIntent,
222
220
  VetDecreaseStakeIntent,
221
+ VetSignalExitIntent,
222
+ VetWithdrawStakeIntent,
223
223
  WalletRecoveryIntent,
224
224
  BaseStakeIntentWithCalldata,
225
225
  CoreDaoDelegateIntent,
@@ -40,6 +40,8 @@ export const intentTypes = {
40
40
  validatorRegistration: t.literal("validatorRegistration"),
41
41
  increaseStake: t.literal("increaseStake"),
42
42
  decreaseStake: t.literal("decreaseStake"),
43
+ signalExit: t.literal("signalExit"),
44
+ withdrawStake: t.literal("withdrawStake"),
43
45
  spotTransfer: t.literal("spotTransfer"),
44
46
  bridgeFunds: t.literal("bridgeFunds"),
45
47
  /**
@@ -54,14 +56,6 @@ export const intentTypes = {
54
56
  transferReject: t.literal("transferReject"),
55
57
  transferAcknowledge: t.literal("transferAcknowledge"),
56
58
  transferOfferWithdrawn: t.literal("transferOfferWithdrawn"),
57
- /**
58
- * Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
59
- */
60
- "defi-deposit": t.literal("defi-deposit"),
61
- /**
62
- * Redeem vault shares from a DeFi protocol vault (e.g. ctUSD1cx → USD1).
63
- */
64
- "defi-redeem": t.literal("defi-redeem"),
65
59
  };
66
60
 
67
61
  export const IntentType = t.keyof(intentTypes);
@@ -0,0 +1,23 @@
1
+ import * as t from "io-ts";
2
+ import { BaseStakeIntent } from "./baseStakeIntent";
3
+ import { NonEmptyString } from "io-ts-types";
4
+ import { intentTypes } from "./intentType";
5
+
6
+ /**
7
+ * @title VET Signal Exit Intent
8
+ *
9
+ * Intent for signaling the exit of a validator position at the end of the staking period.
10
+ * This is the first step in a full unstake flow for validator registration.
11
+ * @param {string} validatorAddress - The address of the validator to exit
12
+ * @param {string} stakingContractAddress - The address of the staking contract
13
+ */
14
+ export const VetSignalExitIntent = t.intersection([
15
+ BaseStakeIntent,
16
+ t.type({
17
+ intentType: intentTypes.signalExit,
18
+ validatorAddress: NonEmptyString,
19
+ stakingContractAddress: NonEmptyString,
20
+ }),
21
+ ]);
22
+
23
+ export type VetSignalExitIntent = t.TypeOf<typeof VetSignalExitIntent>;
@@ -0,0 +1,23 @@
1
+ import * as t from "io-ts";
2
+ import { BaseStakeIntent } from "./baseStakeIntent";
3
+ import { NonEmptyString } from "io-ts-types";
4
+ import { intentTypes } from "./intentType";
5
+
6
+ /**
7
+ * @title VET Withdraw Stake Intent
8
+ *
9
+ * Intent for withdrawing a validator's stake after the validator has exited.
10
+ * This is the second step in a full unstake flow, after signalExit and the cooldown period.
11
+ * @param {string} validatorAddress - The address of the validator to withdraw from
12
+ * @param {string} stakingContractAddress - The address of the staking contract
13
+ */
14
+ export const VetWithdrawStakeIntent = t.intersection([
15
+ BaseStakeIntent,
16
+ t.type({
17
+ intentType: intentTypes.withdrawStake,
18
+ validatorAddress: NonEmptyString,
19
+ stakingContractAddress: NonEmptyString,
20
+ }),
21
+ ]);
22
+
23
+ export type VetWithdrawStakeIntent = t.TypeOf<typeof VetWithdrawStakeIntent>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"defiDepositIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/defiDepositIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAE9B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc,CAAC;QACvC,QAAQ,EAAE,CAAC,CAAC,MAAM;QAElB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"defiRedeemIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/defiRedeemIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAE9B,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,aAAa,CAAC;QACtC,QAAQ,EAAE,CAAC,CAAC,MAAM;QAElB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- import * as t from "io-ts";
2
- import { BaseIntent } from "./baseIntent";
3
- import { intentTypes } from "./intentType";
4
-
5
- export const DefiDepositIntent = t.intersection([
6
- BaseIntent,
7
- t.type({
8
- intentType: intentTypes["defi-deposit"],
9
- protocol: t.string,
10
- // Raw amount string in base units (wei). Asset is identified by protocol, not amount.symbol.
11
- amount: t.string,
12
- }),
13
- ]);
14
-
15
- export type DefiDepositIntent = t.TypeOf<typeof DefiDepositIntent>;
@@ -1,15 +0,0 @@
1
- import * as t from "io-ts";
2
- import { BaseIntent } from "./baseIntent";
3
- import { intentTypes } from "./intentType";
4
-
5
- export const DefiRedeemIntent = t.intersection([
6
- BaseIntent,
7
- t.type({
8
- intentType: intentTypes["defi-redeem"],
9
- protocol: t.string,
10
- // Raw amount string in base units (wei). Asset is identified by protocol, not amount.symbol.
11
- amount: t.string,
12
- }),
13
- ]);
14
-
15
- export type DefiRedeemIntent = t.TypeOf<typeof DefiRedeemIntent>;