@bitgo/public-types 6.90.0 → 6.92.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 (206) hide show
  1. package/dist/src/schema/mpcv2/signing/redpallasRerandRound.d.ts +8 -8
  2. package/dist/src/schema/mpcv2/signing/redpallasRerandRound.js +4 -12
  3. package/dist/src/schema/mpcv2/signing/redpallasRerandRound.js.map +1 -1
  4. package/dist/src/schema/mpcv2/signing/redpallasSigningRound.d.ts +12 -12
  5. package/dist/src/schema/mpcv2/signing/redpallasSigningRound.js +6 -18
  6. package/dist/src/schema/mpcv2/signing/redpallasSigningRound.js.map +1 -1
  7. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +2 -0
  8. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +2 -0
  9. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +2 -0
  10. package/dist/src/schema/transactionRequest/intents/adaCancelIntent.d.ts +2 -0
  11. package/dist/src/schema/transactionRequest/intents/adaClaimTimelockIntent.d.ts +2 -0
  12. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +2 -0
  13. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +2 -0
  14. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +2 -0
  15. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +4 -0
  16. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +4 -0
  17. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +2 -0
  18. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +2 -0
  19. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +2 -0
  20. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +2 -0
  21. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +2 -0
  22. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +2 -0
  23. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +2 -0
  24. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +2 -0
  25. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +2 -0
  26. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +2 -0
  27. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +2 -0
  28. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +2 -0
  29. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +2 -0
  30. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +4 -0
  31. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +2 -0
  32. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +2 -0
  33. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +2 -0
  34. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +2 -0
  35. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +2 -0
  36. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +2 -0
  37. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +2 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +2 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts +2 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +2 -0
  41. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +2 -0
  42. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +2 -0
  43. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +2 -0
  44. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +2 -0
  45. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +2 -0
  46. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +2 -0
  47. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +2 -0
  48. package/dist/src/schema/transactionRequest/intents/cantonParticipantAllowListIntent.d.ts +205 -0
  49. package/dist/src/schema/transactionRequest/intents/cantonParticipantAllowListIntent.js +58 -0
  50. package/dist/src/schema/transactionRequest/intents/cantonParticipantAllowListIntent.js.map +1 -0
  51. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +2 -0
  52. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +2 -0
  53. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +2 -0
  54. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +2 -0
  55. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +2 -0
  56. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +2 -0
  57. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +2 -0
  58. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +2 -0
  59. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +2 -0
  60. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +2 -0
  61. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +2 -0
  62. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +2 -0
  63. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +2 -0
  64. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +2 -0
  65. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +2 -0
  66. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +2 -0
  67. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +2 -0
  68. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +2 -0
  69. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +2 -0
  70. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +2 -0
  71. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +2 -0
  72. package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.d.ts +2 -0
  73. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +2 -0
  74. package/dist/src/schema/transactionRequest/intents/disableTokenIntent.d.ts +2 -0
  75. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +2 -0
  76. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +2 -0
  77. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +2 -0
  78. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +2 -0
  79. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +2 -0
  80. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +2 -0
  81. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +2 -0
  82. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +2 -0
  83. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +2 -0
  84. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +2 -0
  85. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +4 -0
  86. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +2 -0
  87. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +2 -0
  88. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +2 -0
  89. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +2 -0
  90. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +2 -0
  91. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +2 -0
  92. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +2 -0
  93. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +2 -0
  94. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +2 -0
  95. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +2 -0
  96. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +2 -0
  97. package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
  98. package/dist/src/schema/transactionRequest/intents/index.js +1 -0
  99. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  100. package/dist/src/schema/transactionRequest/intents/intent.d.ts +516 -0
  101. package/dist/src/schema/transactionRequest/intents/intent.js +3 -0
  102. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  103. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +4 -0
  104. package/dist/src/schema/transactionRequest/intents/intentType.js +2 -0
  105. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  106. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +2 -0
  107. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +2 -0
  108. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +4 -0
  109. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +4 -0
  110. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +2 -0
  111. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +2 -0
  112. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +2 -0
  113. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +2 -0
  114. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +2 -0
  115. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +2 -0
  116. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +2 -0
  117. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +2 -0
  118. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +2 -0
  119. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +2 -0
  120. package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +2 -0
  121. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +2 -0
  122. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +2 -0
  123. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +2 -0
  124. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +2 -0
  125. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +2 -0
  126. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +2 -0
  127. package/dist/src/schema/transactionRequest/intents/solConfidentialTransferIntent.d.ts +2 -0
  128. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +2 -0
  129. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +2 -0
  130. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -0
  131. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -0
  132. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +2 -0
  133. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +2 -0
  134. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +4 -0
  135. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +4 -0
  136. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +2 -0
  137. package/dist/src/schema/transactionRequest/intents/stacksRegisterForBondIntent.d.ts +2 -0
  138. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +2 -0
  139. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +2 -0
  140. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +2 -0
  141. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +2 -0
  142. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +2 -0
  143. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +2 -0
  144. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +2 -0
  145. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +2 -0
  146. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +4 -0
  147. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +6 -0
  148. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +4 -0
  149. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +2 -0
  150. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +2 -0
  151. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +2 -0
  152. package/dist/src/schema/transactionRequest/intents/taoClaimRootIntent.d.ts +2 -0
  153. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +4 -0
  154. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +2 -0
  155. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +2 -0
  156. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +2 -0
  157. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +4 -0
  158. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +2 -0
  159. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +2 -0
  160. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +2 -0
  161. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +2 -0
  162. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +2 -0
  163. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +2 -0
  164. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +2 -0
  165. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +2 -0
  166. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +2 -0
  167. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +2 -0
  168. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +2 -0
  169. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +2 -0
  170. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +2 -0
  171. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +2 -0
  172. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +2 -0
  173. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +2 -0
  174. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +2 -0
  175. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +2 -0
  176. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +2 -0
  177. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +2 -0
  178. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +2 -0
  179. package/dist/src/schema/transactionRequest/intents/unwrapNativeIntent.d.ts +2 -0
  180. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +2 -0
  181. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +2 -0
  182. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +2 -0
  183. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +2 -0
  184. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +2 -0
  185. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +2 -0
  186. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +2 -0
  187. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +4 -0
  188. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +2 -0
  189. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +2 -0
  190. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +2 -0
  191. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +2 -0
  192. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +2 -0
  193. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +2 -0
  194. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +2 -0
  195. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +2 -0
  196. package/dist/src/schema/transactionRequest/intents/wrapApproveIntent.d.ts +2 -0
  197. package/dist/src/schema/transactionRequest/intents/wrapNativeIntent.d.ts +2 -0
  198. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +4 -0
  199. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +4 -0
  200. package/package.json +1 -1
  201. package/src/schema/mpcv2/signing/redpallasRerandRound.ts +6 -12
  202. package/src/schema/mpcv2/signing/redpallasSigningRound.ts +11 -21
  203. package/src/schema/transactionRequest/intents/cantonParticipantAllowListIntent.ts +82 -0
  204. package/src/schema/transactionRequest/intents/index.ts +1 -0
  205. package/src/schema/transactionRequest/intents/intent.ts +6 -0
  206. package/src/schema/transactionRequest/intents/intentType.ts +4 -0
@@ -65,6 +65,8 @@ export declare const WrapNativeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC
65
65
  cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
66
66
  cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
67
67
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
68
+ cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
69
+ cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
68
70
  "defi-deposit": t.LiteralC<"defi-deposit">;
69
71
  "defi-redeem": t.LiteralC<"defi-redeem">;
70
72
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -65,6 +65,8 @@ export declare const XdcUploadKycIntent: t.IntersectionC<[t.IntersectionC<[t.Int
65
65
  cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
66
66
  cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
67
67
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
68
+ cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
69
+ cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
68
70
  "defi-deposit": t.LiteralC<"defi-deposit">;
69
71
  "defi-redeem": t.LiteralC<"defi-redeem">;
70
72
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -162,6 +164,8 @@ export declare const XdcProposeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
162
164
  cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
163
165
  cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
164
166
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
167
+ cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
168
+ cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
165
169
  "defi-deposit": t.LiteralC<"defi-deposit">;
166
170
  "defi-redeem": t.LiteralC<"defi-redeem">;
167
171
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -65,6 +65,8 @@ export declare const XdcResignIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
65
65
  cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
66
66
  cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
67
67
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
68
+ cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
69
+ cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
68
70
  "defi-deposit": t.LiteralC<"defi-deposit">;
69
71
  "defi-redeem": t.LiteralC<"defi-redeem">;
70
72
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -162,6 +164,8 @@ export declare const XdcWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
162
164
  cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
163
165
  cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
164
166
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
167
+ cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
168
+ cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
165
169
  "defi-deposit": t.LiteralC<"defi-deposit">;
166
170
  "defi-redeem": t.LiteralC<"defi-redeem">;
167
171
  "defi-approve": t.LiteralC<"defi-approve">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.90.0",
3
+ "version": "6.92.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -10,6 +10,8 @@ import { MPCv2SignatureShareBase } from "./signingRound";
10
10
  * `handleIncomingMessages` in `WaitMsg1` the round 2 payload, each
11
11
  * carrying WASM-serialized bytes with a rerand prefix. Round 0 is
12
12
  * computed locally and never crosses the wire; there is no round 3.
13
+ * Each round carries one signed message per Orchard spend: `msg1` and
14
+ * `msg2` are arrays ordered by spend index (N=1 is a one-element array).
13
15
  *
14
16
  * Wire literals reuse the shared signing-round states and the envelope
15
17
  * reuses `EddsaMPCv2SignedMessage` (shared with EdDSA despite the name),
@@ -21,9 +23,7 @@ export const RedpallasMPCv2RerandShareRound1Input = t.intersection([
21
23
  t.type(
22
24
  {
23
25
  type: t.literal("round1Input"),
24
- data: t.type({
25
- msg1: EddsaMPCv2SignedMessage,
26
- }),
26
+ data: t.type({ msg1: t.array(EddsaMPCv2SignedMessage) }),
27
27
  },
28
28
  "RedpallasMPCv2RerandShareRound1Input",
29
29
  ),
@@ -43,9 +43,7 @@ export const RedpallasMPCv2RerandShareRound1Output = t.intersection([
43
43
  t.type(
44
44
  {
45
45
  type: t.literal("round1Output"),
46
- data: t.type({
47
- msg1: EddsaMPCv2SignedMessage,
48
- }),
46
+ data: t.type({ msg1: t.array(EddsaMPCv2SignedMessage) }),
49
47
  },
50
48
  "RedpallasMPCv2RerandShareRound1Output",
51
49
  ),
@@ -65,9 +63,7 @@ export const RedpallasMPCv2RerandShareRound2Input = t.intersection([
65
63
  t.type(
66
64
  {
67
65
  type: t.literal("round2Input"),
68
- data: t.type({
69
- msg2: EddsaMPCv2SignedMessage,
70
- }),
66
+ data: t.type({ msg2: t.array(EddsaMPCv2SignedMessage) }),
71
67
  },
72
68
  "RedpallasMPCv2RerandShareRound2Input",
73
69
  ),
@@ -87,9 +83,7 @@ export const RedpallasMPCv2RerandShareRound2Output = t.intersection([
87
83
  t.type(
88
84
  {
89
85
  type: t.literal("round2Output"),
90
- data: t.type({
91
- msg2: EddsaMPCv2SignedMessage,
92
- }),
86
+ data: t.type({ msg2: t.array(EddsaMPCv2SignedMessage) }),
93
87
  },
94
88
  "RedpallasMPCv2RerandShareRound2Output",
95
89
  ),
@@ -5,18 +5,18 @@ import { MPCv2SignatureShareBase } from "./signingRound";
5
5
  /**
6
6
  * RedPallas MPCv2 — User to BitGo round 1
7
7
  *
8
- * RedPallas DSG signing follows the same 3-round shape as EdDSA MPCv2 —
9
- * one signed message per round — reusing the shared EdDSA MPCv2 GPG
10
- * material and message envelope (`EddsaMPCv2SignedMessage`).
8
+ * RedPallas DSG signing follows the same 3-round shape as EdDSA MPCv2,
9
+ * reusing the shared EdDSA MPCv2 GPG material and message envelope
10
+ * (`EddsaMPCv2SignedMessage`). Unlike EdDSA MPS, each round carries one
11
+ * signed message per Orchard spend: `msgN` is an array ordered by spend
12
+ * index (N=1 is a one-element array).
11
13
  */
12
14
  export const RedpallasMPCv2SignatureShareRound1Input = t.intersection([
13
15
  MPCv2SignatureShareBase,
14
16
  t.type(
15
17
  {
16
18
  type: t.literal("round1Input"),
17
- data: t.type({
18
- msg1: EddsaMPCv2SignedMessage,
19
- }),
19
+ data: t.type({ msg1: t.array(EddsaMPCv2SignedMessage) }),
20
20
  },
21
21
  "RedpallasMPCv2SignatureShareRound1Input",
22
22
  ),
@@ -36,9 +36,7 @@ export const RedpallasMPCv2SignatureShareRound1Output = t.intersection([
36
36
  t.type(
37
37
  {
38
38
  type: t.literal("round1Output"),
39
- data: t.type({
40
- msg1: EddsaMPCv2SignedMessage,
41
- }),
39
+ data: t.type({ msg1: t.array(EddsaMPCv2SignedMessage) }),
42
40
  },
43
41
  "RedpallasMPCv2SignatureShareRound1Output",
44
42
  ),
@@ -58,9 +56,7 @@ export const RedpallasMPCv2SignatureShareRound2Input = t.intersection([
58
56
  t.type(
59
57
  {
60
58
  type: t.literal("round2Input"),
61
- data: t.type({
62
- msg2: EddsaMPCv2SignedMessage,
63
- }),
59
+ data: t.type({ msg2: t.array(EddsaMPCv2SignedMessage) }),
64
60
  },
65
61
  "RedpallasMPCv2SignatureShareRound2Input",
66
62
  ),
@@ -80,9 +76,7 @@ export const RedpallasMPCv2SignatureShareRound2Output = t.intersection([
80
76
  t.type(
81
77
  {
82
78
  type: t.literal("round2Output"),
83
- data: t.type({
84
- msg2: EddsaMPCv2SignedMessage,
85
- }),
79
+ data: t.type({ msg2: t.array(EddsaMPCv2SignedMessage) }),
86
80
  },
87
81
  "RedpallasMPCv2SignatureShareRound2Output",
88
82
  ),
@@ -102,9 +96,7 @@ export const RedpallasMPCv2SignatureShareRound3Input = t.intersection([
102
96
  t.type(
103
97
  {
104
98
  type: t.literal("round3Input"),
105
- data: t.type({
106
- msg3: EddsaMPCv2SignedMessage,
107
- }),
99
+ data: t.type({ msg3: t.array(EddsaMPCv2SignedMessage) }),
108
100
  },
109
101
  "RedpallasMPCv2SignatureShareRound3Input",
110
102
  ),
@@ -124,9 +116,7 @@ export const RedpallasMPCv2SignatureShareRound3Output = t.intersection([
124
116
  t.type(
125
117
  {
126
118
  type: t.literal("round3Output"),
127
- data: t.type({
128
- msg3: EddsaMPCv2SignedMessage,
129
- }),
119
+ data: t.type({ msg3: t.array(EddsaMPCv2SignedMessage) }),
130
120
  },
131
121
  "RedpallasMPCv2SignatureShareRound3Output",
132
122
  ),
@@ -0,0 +1,82 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+ import { intentTypes } from "./intentType";
4
+
5
+ export type NonEmptyUniqueStringArrayBrand = {
6
+ readonly NonEmptyUniqueStringArray: unique symbol;
7
+ };
8
+
9
+ const StringArray = t.array(t.string);
10
+ type StringArray = t.TypeOf<typeof StringArray>;
11
+
12
+ const NonEmptyUniqueStringArray = t.brand(
13
+ StringArray,
14
+ (values): values is t.Branded<StringArray, NonEmptyUniqueStringArrayBrand> =>
15
+ values.length > 0 &&
16
+ values.every((value) => value.trim().length > 0) &&
17
+ new Set(values).size === values.length,
18
+ "NonEmptyUniqueStringArray",
19
+ );
20
+
21
+ export type UniqueStringArrayBrand = {
22
+ readonly UniqueStringArray: unique symbol;
23
+ };
24
+
25
+ const UniqueStringArray = t.brand(
26
+ StringArray,
27
+ (values): values is t.Branded<StringArray, UniqueStringArrayBrand> =>
28
+ values.every((value) => value.trim().length > 0) &&
29
+ new Set(values).size === values.length,
30
+ "UniqueStringArray",
31
+ );
32
+
33
+ const CantonParticipantAllowListOperationFields = t.partial({
34
+ /** Participant party ID; omitted when the wallet root party is authoritative. */
35
+ participantPartyId: t.string,
36
+ /** ParticipantService contract CID; normally resolved by wallet-platform. */
37
+ participantServiceCid: t.string,
38
+ /** Participant-owned AllowList contract CID; normally resolved by wallet-platform. */
39
+ allowListCid: t.string,
40
+ /** Credential CIDs; normally resolved from persisted allow-list membership state. */
41
+ credentialCids: UniqueStringArray,
42
+ });
43
+
44
+ /**
45
+ * @title Canton Participant Allow-List Add Intent
46
+ *
47
+ * Adds one or more end-investor parties to the participant-owned DTCC allow-list.
48
+ * Wallet-platform resolves the participant service, allow-list, and credential CIDs
49
+ * from authoritative wallet state before creating the Canton command.
50
+ */
51
+ export const CantonParticipantAllowListAddIntent = t.intersection([
52
+ BaseIntent,
53
+ t.type({
54
+ intentType: intentTypes.cantonParticipantAllowListAdd,
55
+ endInvestorPartyIds: NonEmptyUniqueStringArray,
56
+ }),
57
+ CantonParticipantAllowListOperationFields,
58
+ ]);
59
+
60
+ export type CantonParticipantAllowListAddIntent = t.TypeOf<
61
+ typeof CantonParticipantAllowListAddIntent
62
+ >;
63
+
64
+ /**
65
+ * @title Canton Participant Allow-List Remove Intent
66
+ *
67
+ * Removes one or more end-investor parties from the participant-owned DTCC allow-list.
68
+ * Wallet-platform resolves the participant service, allow-list, and credential CIDs
69
+ * from authoritative wallet state before creating the Canton command.
70
+ */
71
+ export const CantonParticipantAllowListRemoveIntent = t.intersection([
72
+ BaseIntent,
73
+ t.type({
74
+ intentType: intentTypes.cantonParticipantAllowListRemove,
75
+ endInvestorPartyIds: NonEmptyUniqueStringArray,
76
+ }),
77
+ CantonParticipantAllowListOperationFields,
78
+ ]);
79
+
80
+ export type CantonParticipantAllowListRemoveIntent = t.TypeOf<
81
+ typeof CantonParticipantAllowListRemoveIntent
82
+ >;
@@ -52,6 +52,7 @@ export * from "./cantonEndInvestorOnboardingOfferIntent";
52
52
  export * from "./cantonEndInvestorOnboardingAcceptIntent";
53
53
  export * from "./cantonEndInvestorOnboardingRejectIntent";
54
54
  export * from "./cantonParticipantOnboardingRequestIntent";
55
+ export * from "./cantonParticipantAllowListIntent";
55
56
  export * from "./claimIntent";
56
57
  export * from "./consolidateTokenIntent";
57
58
  export * from "./coredaoClaimIntent";
@@ -138,6 +138,10 @@ import { CantonEndInvestorOnboardingOfferIntent } from "./cantonEndInvestorOnboa
138
138
  import { CantonEndInvestorOnboardingAcceptIntent } from "./cantonEndInvestorOnboardingAcceptIntent";
139
139
  import { CantonEndInvestorOnboardingRejectIntent } from "./cantonEndInvestorOnboardingRejectIntent";
140
140
  import { CantonParticipantOnboardingRequestIntent } from "./cantonParticipantOnboardingRequestIntent";
141
+ import {
142
+ CantonParticipantAllowListAddIntent,
143
+ CantonParticipantAllowListRemoveIntent,
144
+ } from "./cantonParticipantAllowListIntent";
141
145
  import { TonWhalesDelegateIntent } from "./tonWhalesDelegateIntent";
142
146
  import { TonWhalesUndelegateIntent } from "./tonWhalesUndelegateIntent";
143
147
  import { TrxClaimRewardsIntent } from "./trxClaimRewardsIntent";
@@ -194,6 +198,8 @@ export const TransactionIntent = t.union([
194
198
  CantonEndInvestorOnboardingAcceptIntent,
195
199
  CantonEndInvestorOnboardingRejectIntent,
196
200
  CantonParticipantOnboardingRequestIntent,
201
+ CantonParticipantAllowListAddIntent,
202
+ CantonParticipantAllowListRemoveIntent,
197
203
  ClaimIntent,
198
204
  CosmosContractCallIntent,
199
205
  CosmosPaymentIntent,
@@ -84,6 +84,10 @@ export const intentTypes = {
84
84
  cantonParticipantOnboardingRequest: t.literal(
85
85
  "cantonParticipantOnboardingRequest",
86
86
  ),
87
+ cantonParticipantAllowListAdd: t.literal("cantonParticipantAllowListAdd"),
88
+ cantonParticipantAllowListRemove: t.literal(
89
+ "cantonParticipantAllowListRemove",
90
+ ),
87
91
  /**
88
92
  * Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
89
93
  */