@bitgo/public-types 6.26.0 → 6.28.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 (201) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +3 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +3 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +3 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +3 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +3 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +3 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +3 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +3 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +3 -0
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +3 -0
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +3 -0
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +3 -0
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +3 -0
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +3 -0
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +3 -0
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +3 -0
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +3 -0
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +3 -0
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +3 -0
  20. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +3 -0
  21. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +3 -0
  22. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +6 -0
  23. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +3 -0
  24. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +3 -0
  25. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +3 -0
  26. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +3 -0
  27. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +3 -0
  28. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +3 -0
  29. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +3 -0
  30. package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +3 -0
  31. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +3 -0
  32. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +3 -0
  33. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +3 -0
  34. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +3 -0
  35. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +79 -0
  36. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js +37 -0
  37. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.js.map +1 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +81 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.js +40 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.js.map +1 -0
  41. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +80 -0
  42. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.js +38 -0
  43. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.js.map +1 -0
  44. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +3 -0
  45. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +3 -0
  46. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +3 -0
  47. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +3 -0
  48. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +3 -0
  49. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +3 -0
  50. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +3 -0
  51. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +3 -0
  52. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +3 -0
  53. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +3 -0
  54. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +3 -0
  55. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +3 -0
  56. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +3 -0
  57. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +3 -0
  58. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +3 -0
  59. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +3 -0
  60. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +3 -0
  61. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +3 -0
  62. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +3 -0
  63. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +3 -0
  64. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +3 -0
  65. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +3 -0
  66. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +3 -0
  67. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +3 -0
  68. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +3 -0
  69. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +3 -0
  70. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +3 -0
  71. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +3 -0
  72. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +3 -0
  73. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +3 -0
  74. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +3 -0
  75. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +6 -0
  76. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +3 -0
  77. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +3 -0
  78. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +3 -0
  79. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +3 -0
  80. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.js.map +1 -1
  81. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +3 -0
  82. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +3 -0
  83. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +3 -0
  84. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +3 -0
  85. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +3 -0
  86. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +3 -0
  87. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +3 -0
  88. package/dist/src/schema/transactionRequest/intents/index.d.ts +3 -0
  89. package/dist/src/schema/transactionRequest/intents/index.js +3 -0
  90. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  91. package/dist/src/schema/transactionRequest/intents/intent.d.ts +964 -0
  92. package/dist/src/schema/transactionRequest/intents/intent.js +10 -0
  93. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  94. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +6 -0
  95. package/dist/src/schema/transactionRequest/intents/intentType.js +3 -0
  96. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  97. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +3 -0
  98. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.js.map +1 -1
  99. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +3 -0
  100. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.js.map +1 -1
  101. package/dist/src/schema/transactionRequest/intents/iotaFeeOptions.js.map +1 -1
  102. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +6 -0
  103. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.js.map +1 -1
  104. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +6 -0
  105. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +3 -0
  106. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +3 -0
  107. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +3 -0
  108. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +3 -0
  109. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +3 -0
  110. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +3 -0
  111. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +3 -0
  112. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +3 -0
  113. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +3 -0
  114. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +3 -0
  115. package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +3 -0
  116. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +3 -0
  117. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +3 -0
  118. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +3 -0
  119. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +3 -0
  120. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +3 -0
  121. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +3 -0
  122. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +3 -0
  123. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +3 -0
  124. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +3 -0
  125. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +3 -0
  126. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +3 -0
  127. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +3 -0
  128. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +6 -0
  129. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +6 -0
  130. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +3 -0
  131. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +3 -0
  132. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +3 -0
  133. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +3 -0
  134. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +3 -0
  135. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +3 -0
  136. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +3 -0
  137. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +3 -0
  138. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +3 -0
  139. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +6 -0
  140. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +6 -0
  141. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +6 -0
  142. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +3 -0
  143. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +3 -0
  144. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +3 -0
  145. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +6 -0
  146. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +3 -0
  147. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +3 -0
  148. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +3 -0
  149. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +6 -0
  150. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +3 -0
  151. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +3 -0
  152. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +3 -0
  153. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +3 -0
  154. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +3 -0
  155. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +3 -0
  156. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +3 -0
  157. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +3 -0
  158. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +3 -0
  159. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +3 -0
  160. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +3 -0
  161. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +3 -0
  162. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +3 -0
  163. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +3 -0
  164. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +3 -0
  165. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +3 -0
  166. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +3 -0
  167. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +3 -0
  168. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +3 -0
  169. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +3 -0
  170. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +3 -0
  171. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +3 -0
  172. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +3 -0
  173. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +3 -0
  174. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +3 -0
  175. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +3 -0
  176. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +3 -0
  177. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +3 -0
  178. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +6 -0
  179. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +3 -0
  180. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +3 -0
  181. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +3 -0
  182. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +3 -0
  183. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +3 -0
  184. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +3 -0
  185. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +3 -0
  186. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +3 -0
  187. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +6 -0
  188. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +6 -0
  189. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +2078 -150
  190. package/package.json +1 -1
  191. package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.ts +24 -0
  192. package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.ts +28 -0
  193. package/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.ts +26 -0
  194. package/src/schema/transactionRequest/intents/feeAddressTransferIntent.ts +10 -0
  195. package/src/schema/transactionRequest/intents/index.ts +3 -0
  196. package/src/schema/transactionRequest/intents/intent.ts +10 -0
  197. package/src/schema/transactionRequest/intents/intentType.ts +9 -0
  198. package/src/schema/transactionRequest/intents/iotaBuildOptions.ts +11 -0
  199. package/src/schema/transactionRequest/intents/iotaConsolidateIntent.ts +4 -0
  200. package/src/schema/transactionRequest/intents/iotaFeeOptions.ts +7 -0
  201. package/src/schema/transactionRequest/intents/iotaPaymentIntent.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.26.0",
3
+ "version": "6.28.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -0,0 +1,24 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+ import { intentTypes } from "./intentType";
4
+
5
+ /**
6
+ * @title Canton End Investor Onboarding Accept Intent
7
+ *
8
+ * Intent for an end investor to accept an onboarding offer on the Canton ledger.
9
+ * Exercises `EndInvestorOnboardingOffer_Accept` on-chain.
10
+ *
11
+ * @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingAccept)
12
+ * @param {string} txRequestId - The txRequestId of the corresponding onboarding offer
13
+ */
14
+ export const CantonEndInvestorOnboardingAcceptIntent = t.intersection([
15
+ BaseIntent,
16
+ t.type({
17
+ intentType: intentTypes.cantonEndInvestorOnboardingAccept,
18
+ txRequestId: t.string,
19
+ }),
20
+ ]);
21
+
22
+ export type CantonEndInvestorOnboardingAcceptIntent = t.TypeOf<
23
+ typeof CantonEndInvestorOnboardingAcceptIntent
24
+ >;
@@ -0,0 +1,28 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+ import { intentTypes } from "./intentType";
4
+
5
+ /**
6
+ * @title Canton End Investor Onboarding Offer Intent
7
+ *
8
+ * Intent for a DTCC participant to offer end investor onboarding on the Canton ledger.
9
+ * Exercises `ParticipantService_OfferEndInvestorOnboarding` on-chain.
10
+ *
11
+ * @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingOffer)
12
+ * @param {string} endInvestorPartyId - The Canton party ID of the end investor to onboard
13
+ * @param {string} [comment] - Optional human-readable comment
14
+ */
15
+ export const CantonEndInvestorOnboardingOfferIntent = t.intersection([
16
+ BaseIntent,
17
+ t.type({
18
+ intentType: intentTypes.cantonEndInvestorOnboardingOffer,
19
+ endInvestorPartyId: t.string,
20
+ }),
21
+ t.partial({
22
+ comment: t.string,
23
+ }),
24
+ ]);
25
+
26
+ export type CantonEndInvestorOnboardingOfferIntent = t.TypeOf<
27
+ typeof CantonEndInvestorOnboardingOfferIntent
28
+ >;
@@ -0,0 +1,26 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+ import { intentTypes } from "./intentType";
4
+
5
+ /**
6
+ * @title Canton End Investor Onboarding Reject Intent
7
+ *
8
+ * Intent for an end investor to reject an onboarding offer on the Canton ledger.
9
+ * Exercises `EndInvestorOnboardingOffer_Reject` on-chain.
10
+ *
11
+ * @param {String} intentType - The type of intent (always set to cantonEndInvestorOnboardingReject)
12
+ * @param {string} txRequestId - The txRequestId of the corresponding onboarding offer
13
+ * @param {string} reason - The reason for rejecting the onboarding offer
14
+ */
15
+ export const CantonEndInvestorOnboardingRejectIntent = t.intersection([
16
+ BaseIntent,
17
+ t.type({
18
+ intentType: intentTypes.cantonEndInvestorOnboardingReject,
19
+ txRequestId: t.string,
20
+ reason: t.string,
21
+ }),
22
+ ]);
23
+
24
+ export type CantonEndInvestorOnboardingRejectIntent = t.TypeOf<
25
+ typeof CantonEndInvestorOnboardingRejectIntent
26
+ >;
@@ -3,6 +3,16 @@ import { BaseIntent } from "./baseIntent";
3
3
  import { intentTypes } from "./intentType";
4
4
  import { RecipientEntry } from "./recipientEntry";
5
5
 
6
+ /**
7
+ * @title Fee Address Transfer Intent
8
+ *
9
+ * @description Transfer funds from the wallet's IOTA fee address (gas tank) to one or
10
+ * more destinations. The fee address acts as the sender; use this intent to sweep
11
+ * gas-tank balances back to an operational address. Requires that a fee address is
12
+ * configured for the wallet's enterprise.
13
+ *
14
+ * @param {RecipientEntry[]} recipients - Destination addresses and amounts to transfer.
15
+ */
6
16
  export const FeeAddressTransferIntent = t.intersection([
7
17
  BaseIntent,
8
18
  t.type({
@@ -43,6 +43,9 @@ export * from "./cantonTransferAcceptIntent";
43
43
  export * from "./cantonTransferAcknowledgeIntent";
44
44
  export * from "./cantonTransferOfferWithdrawnIntent";
45
45
  export * from "./cantonTransferRejectIntent";
46
+ export * from "./cantonEndInvestorOnboardingOfferIntent";
47
+ export * from "./cantonEndInvestorOnboardingAcceptIntent";
48
+ export * from "./cantonEndInvestorOnboardingRejectIntent";
46
49
  export * from "./claimIntent";
47
50
  export * from "./consolidateTokenIntent";
48
51
  export * from "./coredaoClaimIntent";
@@ -38,6 +38,8 @@ import { FeeAddressTransferIntent } from "./feeAddressTransferIntent";
38
38
  import { HbarUpdateAccountIntent } from "./hbarUpdateAccountIntent";
39
39
  import { HypeevmSpotTransferIntent } from "./hypeevmSpotTransferIntent";
40
40
  import { IcpPaymentIntent } from "./icpPaymentIntent";
41
+ import { IotaConsolidateIntent } from "./iotaConsolidateIntent";
42
+ import { IotaPaymentIntent } from "./iotaPaymentIntent";
41
43
  import { LightningPaymentIntent } from "./lightningPaymentIntent";
42
44
  import { MmiSignMessageIntent } from "./mmiSignMessageIntent";
43
45
  import { NearStakeIntent } from "./nearStakeIntent";
@@ -121,6 +123,9 @@ import { CantonTransferAcceptIntent } from "./cantonTransferAcceptIntent";
121
123
  import { CantonTransferAcknowledgeIntent } from "./cantonTransferAcknowledgeIntent";
122
124
  import { CantonTransferOfferWithdrawnIntent } from "./cantonTransferOfferWithdrawnIntent";
123
125
  import { CantonTransferRejectIntent } from "./cantonTransferRejectIntent";
126
+ import { CantonEndInvestorOnboardingOfferIntent } from "./cantonEndInvestorOnboardingOfferIntent";
127
+ import { CantonEndInvestorOnboardingAcceptIntent } from "./cantonEndInvestorOnboardingAcceptIntent";
128
+ import { CantonEndInvestorOnboardingRejectIntent } from "./cantonEndInvestorOnboardingRejectIntent";
124
129
  import { TonWhalesDelegateIntent } from "./tonWhalesDelegateIntent";
125
130
  import { TonWhalesUndelegateIntent } from "./tonWhalesUndelegateIntent";
126
131
  import { TrxClaimRewardsIntent } from "./trxClaimRewardsIntent";
@@ -167,6 +172,9 @@ export const TransactionIntent = t.union([
167
172
  CantonTransferAcknowledgeIntent,
168
173
  CantonTransferOfferWithdrawnIntent,
169
174
  CantonTransferRejectIntent,
175
+ CantonEndInvestorOnboardingOfferIntent,
176
+ CantonEndInvestorOnboardingAcceptIntent,
177
+ CantonEndInvestorOnboardingRejectIntent,
170
178
  ClaimIntent,
171
179
  CosmosContractCallIntent,
172
180
  CosmosPaymentIntent,
@@ -199,6 +207,8 @@ export const TransactionIntent = t.union([
199
207
  HypeevmSpotTransferIntent,
200
208
  HypeevmEnableBridgingIntent,
201
209
  IcpPaymentIntent,
210
+ IotaConsolidateIntent,
211
+ IotaPaymentIntent,
202
212
  LightningPaymentIntent,
203
213
  MmiSignMessageIntent,
204
214
  MmiSignTransactionIntent,
@@ -62,6 +62,15 @@ export const intentTypes = {
62
62
  allocationRequest: t.literal("allocationRequest"),
63
63
  cantonCommand: t.literal("cantonCommand"),
64
64
  allocationAllocate: t.literal("allocationAllocate"),
65
+ cantonEndInvestorOnboardingOffer: t.literal(
66
+ "cantonEndInvestorOnboardingOffer",
67
+ ),
68
+ cantonEndInvestorOnboardingAccept: t.literal(
69
+ "cantonEndInvestorOnboardingAccept",
70
+ ),
71
+ cantonEndInvestorOnboardingReject: t.literal(
72
+ "cantonEndInvestorOnboardingReject",
73
+ ),
65
74
  /**
66
75
  * Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
67
76
  */
@@ -3,6 +3,17 @@ import { BaseIntent } from "./baseIntent";
3
3
  import { optionalString } from "../../../utils";
4
4
  import { IotaFeeOptions } from "./iotaFeeOptions";
5
5
 
6
+ /**
7
+ * @title IOTA Build Options
8
+ *
9
+ * @description Shared IOTA-specific build configuration mixed into payment and consolidate
10
+ * intents.
11
+ *
12
+ * @param {IotaFeeOptions} feeOptions - Gas budget options for this transaction. Controls
13
+ * the maximum gas units the transaction may consume.
14
+ * @param {string} lockedAmount - Server-injected value from wallet.lockedAsset; client
15
+ * values are overwritten at request time.
16
+ */
6
17
  export const IotaBuildOptions = t.intersection([
7
18
  BaseIntent,
8
19
  t.type({
@@ -4,6 +4,10 @@ import { AccountBaseConsolidateIntent } from "./accountBaseConsolidateIntent";
4
4
 
5
5
  /**
6
6
  * @title IOTA Consolidate Intent
7
+ *
8
+ * @description Consolidate IOTA coins or tokens from the wallet's receive addresses into
9
+ * the specified destination address. Both native IOTA and token consolidation are handled
10
+ * by this intent. The destination must be a wallet-owned address.
7
11
  */
8
12
  export const IotaConsolidateIntent = t.intersection([
9
13
  AccountBaseConsolidateIntent,
@@ -1,5 +1,12 @@
1
1
  import * as t from "io-ts";
2
2
 
3
+ /**
4
+ * @title IOTA Fee Options
5
+ *
6
+ * @description Gas budget configuration for an IOTA transaction.
7
+ *
8
+ * @param {number} gasLimit - Maximum gas units this transaction may consume.
9
+ */
3
10
  export const IotaFeeOptions = t.type({
4
11
  gasLimit: t.number,
5
12
  });
@@ -5,6 +5,13 @@ import { optionalStringArray } from "../../../utils";
5
5
 
6
6
  /**
7
7
  * @title IOTA Payment Intent
8
+ *
9
+ * @description Send IOTA or IOTA-based tokens from the wallet to one or more recipients.
10
+ * Specify recipients with address and amount; optionally provide specific object IDs to
11
+ * include as inputs via `unspents`.
12
+ *
13
+ * @param {string[]} unspents - Specific IOTA object IDs to use as inputs for this
14
+ * transaction. When omitted, the server selects inputs automatically.
8
15
  */
9
16
  export const IotaPaymentIntent = t.intersection([
10
17
  PaymentIntent,