@bitgo/public-types 7.5.0 → 7.6.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 (217) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +6 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +6 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +6 -0
  4. package/dist/src/schema/transactionRequest/intents/adaCancelIntent.d.ts +6 -0
  5. package/dist/src/schema/transactionRequest/intents/adaClaimTimelockIntent.d.ts +6 -0
  6. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +6 -0
  7. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +6 -0
  8. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +6 -0
  9. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +12 -0
  10. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +12 -0
  11. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +6 -0
  12. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +6 -0
  13. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +6 -0
  14. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +6 -0
  15. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +6 -0
  16. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +6 -0
  17. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +6 -0
  18. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +6 -0
  19. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +6 -0
  20. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +6 -0
  21. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +6 -0
  22. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +6 -0
  23. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +6 -0
  24. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +115 -0
  25. package/dist/src/schema/transactionRequest/intents/baseIntent.js +10 -1
  26. package/dist/src/schema/transactionRequest/intents/baseIntent.js.map +1 -1
  27. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +6 -0
  28. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +6 -0
  29. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +6 -0
  30. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +6 -0
  31. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +6 -0
  32. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +6 -0
  33. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +6 -0
  34. package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +6 -0
  35. package/dist/src/schema/transactionRequest/intents/cantonAllocationOfferWithdrawnIntent.d.ts +6 -0
  36. package/dist/src/schema/transactionRequest/intents/cantonAllocationRejectIntent.d.ts +6 -0
  37. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +6 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonBroadridgeStandingDelegationIntent.d.ts +6 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +6 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +6 -0
  41. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +6 -0
  42. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOffboardingIntent.d.ts +6 -0
  43. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +6 -0
  44. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingCancelIntent.d.ts +6 -0
  45. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +6 -0
  46. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +6 -0
  47. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockCommon.d.ts +41 -0
  48. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockCommon.js +73 -0
  49. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockCommon.js.map +1 -0
  50. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockIntent.d.ts +676 -0
  51. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockIntent.js +106 -0
  52. package/dist/src/schema/transactionRequest/intents/cantonGovernanceLockIntent.js.map +1 -0
  53. package/dist/src/schema/transactionRequest/intents/cantonParticipantAllowListIntent.d.ts +12 -0
  54. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +6 -0
  55. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +6 -0
  56. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +6 -0
  57. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +6 -0
  58. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +6 -0
  59. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +6 -0
  60. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +6 -0
  61. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +6 -0
  62. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +6 -0
  63. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +6 -0
  64. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +6 -0
  65. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +6 -0
  66. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +6 -0
  67. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +6 -0
  68. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +6 -0
  69. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +6 -0
  70. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +6 -0
  71. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +6 -0
  72. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +6 -0
  73. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +6 -0
  74. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +6 -0
  75. package/dist/src/schema/transactionRequest/intents/defiWithdrawIntent.d.ts +6 -0
  76. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +6 -0
  77. package/dist/src/schema/transactionRequest/intents/disableTokenIntent.d.ts +6 -0
  78. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +6 -0
  79. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +6 -0
  80. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +6 -0
  81. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +6 -0
  82. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +6 -0
  83. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +6 -0
  84. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +6 -0
  85. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +6 -0
  86. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +6 -0
  87. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +6 -0
  88. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +12 -0
  89. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +6 -0
  90. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +6 -0
  91. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +6 -0
  92. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +6 -0
  93. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +6 -0
  94. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +6 -0
  95. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +6 -0
  96. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +6 -0
  97. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +6 -0
  98. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +6 -0
  99. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +6 -0
  100. package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -0
  101. package/dist/src/schema/transactionRequest/intents/index.js +2 -0
  102. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  103. package/dist/src/schema/transactionRequest/intents/intent.d.ts +1668 -3
  104. package/dist/src/schema/transactionRequest/intents/intent.js +8 -1
  105. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  106. package/dist/src/schema/transactionRequest/intents/intentGroups.d.ts +1668 -3
  107. package/dist/src/schema/transactionRequest/intents/intentGroups.js +8 -1
  108. package/dist/src/schema/transactionRequest/intents/intentGroups.js.map +1 -1
  109. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +12 -0
  110. package/dist/src/schema/transactionRequest/intents/intentType.js +6 -0
  111. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  112. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +6 -0
  113. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +6 -0
  114. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +12 -0
  115. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +12 -0
  116. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +6 -0
  117. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +6 -0
  118. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +6 -0
  119. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +6 -0
  120. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +6 -0
  121. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +6 -0
  122. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +6 -0
  123. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +6 -0
  124. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +6 -0
  125. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +6 -0
  126. package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +6 -0
  127. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +6 -0
  128. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +6 -0
  129. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +6 -0
  130. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +6 -0
  131. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +6 -0
  132. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +6 -0
  133. package/dist/src/schema/transactionRequest/intents/solConfidentialTransferIntent.d.ts +6 -0
  134. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +6 -0
  135. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +6 -0
  136. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +6 -0
  137. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +6 -0
  138. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +6 -0
  139. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +6 -0
  140. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +12 -0
  141. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +12 -0
  142. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +6 -0
  143. package/dist/src/schema/transactionRequest/intents/stacksRegisterForBondIntent.d.ts +6 -0
  144. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +6 -0
  145. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +6 -0
  146. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +6 -0
  147. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +6 -0
  148. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +6 -0
  149. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +6 -0
  150. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +6 -0
  151. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +6 -0
  152. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +12 -0
  153. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +18 -0
  154. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +12 -0
  155. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +6 -0
  156. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +6 -0
  157. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +6 -0
  158. package/dist/src/schema/transactionRequest/intents/taoClaimRootIntent.d.ts +6 -0
  159. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +12 -0
  160. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +6 -0
  161. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +6 -0
  162. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +6 -0
  163. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +12 -0
  164. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +6 -0
  165. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +6 -0
  166. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +6 -0
  167. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +6 -0
  168. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +6 -0
  169. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +6 -0
  170. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +6 -0
  171. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +6 -0
  172. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +6 -0
  173. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +6 -0
  174. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +6 -0
  175. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +6 -0
  176. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +6 -0
  177. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +6 -0
  178. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +6 -0
  179. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +6 -0
  180. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +6 -0
  181. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +6 -0
  182. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +6 -0
  183. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +6 -0
  184. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +6 -0
  185. package/dist/src/schema/transactionRequest/intents/unwrapNativeIntent.d.ts +6 -0
  186. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +6 -0
  187. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +6 -0
  188. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +6 -0
  189. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +6 -0
  190. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +6 -0
  191. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +6 -0
  192. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +6 -0
  193. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +12 -0
  194. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +6 -0
  195. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +6 -0
  196. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +6 -0
  197. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +6 -0
  198. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +6 -0
  199. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +6 -0
  200. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +6 -0
  201. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +6 -0
  202. package/dist/src/schema/transactionRequest/intents/wrapApproveIntent.d.ts +6 -0
  203. package/dist/src/schema/transactionRequest/intents/wrapNativeIntent.d.ts +6 -0
  204. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +12 -0
  205. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +12 -0
  206. package/dist/src/schema/transactionRequest/intents/zecPaymentIntent.d.ts +6 -0
  207. package/dist/src/schema/transactionRequest/transactionRequest.js +2 -2
  208. package/dist/src/schema/transactionRequest/transactionRequest.js.map +1 -1
  209. package/package.json +1 -1
  210. package/src/schema/transactionRequest/intents/baseIntent.ts +40 -1
  211. package/src/schema/transactionRequest/intents/cantonGovernanceLockCommon.ts +180 -0
  212. package/src/schema/transactionRequest/intents/cantonGovernanceLockIntent.ts +237 -0
  213. package/src/schema/transactionRequest/intents/index.ts +2 -0
  214. package/src/schema/transactionRequest/intents/intent.ts +16 -2
  215. package/src/schema/transactionRequest/intents/intentGroups.ts +18 -3
  216. package/src/schema/transactionRequest/intents/intentType.ts +16 -0
  217. package/src/schema/transactionRequest/transactionRequest.ts +3 -3
@@ -70,6 +70,12 @@ export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.In
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const BscWithdrawUndelegateIntent: t.IntersectionC<[t.Intersectio
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonAllocationAllocateIntent: t.IntersectionC<[t.Intersec
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonAllocationOfferWithdrawnIntent: t.IntersectionC<[t.In
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonAllocationRejectIntent: t.IntersectionC<[t.Intersecti
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonAllocationRequestIntent: t.IntersectionC<[t.Intersect
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonBroadridgeStandingDelegationIntent: t.IntersectionC<[
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonCommandIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonCosignDelegationAcceptIntent: t.IntersectionC<[t.Inte
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonCosignDelegationProposalIntent: t.IntersectionC<[t.In
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonEndInvestorOffboardingIntent: t.IntersectionC<[t.Inte
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonEndInvestorOnboardingAcceptIntent: t.IntersectionC<[t
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonEndInvestorOnboardingCancelIntent: t.IntersectionC<[t
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonEndInvestorOnboardingOfferIntent: t.IntersectionC<[t.
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -70,6 +70,12 @@ export declare const CantonEndInvestorOnboardingRejectIntent: t.IntersectionC<[t
70
70
  cantonParticipantOnboardingRequest: t.LiteralC<"cantonParticipantOnboardingRequest">;
71
71
  cantonParticipantAllowListAdd: t.LiteralC<"cantonParticipantAllowListAdd">;
72
72
  cantonParticipantAllowListRemove: t.LiteralC<"cantonParticipantAllowListRemove">;
73
+ cantonGovernanceLockCreate: t.LiteralC<"cantonGovernanceLockCreate">;
74
+ cantonGovernanceLockUnlock: t.LiteralC<"cantonGovernanceLockUnlock">;
75
+ cantonGovernanceLockProvisionalUnlock: t.LiteralC<"cantonGovernanceLockProvisionalUnlock">;
76
+ cantonGovernanceLockWithdraw: t.LiteralC<"cantonGovernanceLockWithdraw">;
77
+ cantonGovernanceLockProposeSubstitution: t.LiteralC<"cantonGovernanceLockProposeSubstitution">;
78
+ cantonGovernanceLockProposeTransfer: t.LiteralC<"cantonGovernanceLockProposeTransfer">;
73
79
  "defi-deposit": t.LiteralC<"defi-deposit">;
74
80
  "defi-redeem": t.LiteralC<"defi-redeem">;
75
81
  "defi-approve": t.LiteralC<"defi-approve">;
@@ -0,0 +1,41 @@
1
+ import * as t from "io-ts";
2
+ export interface CantonGovernanceLockMemoTokenBrand {
3
+ readonly CantonGovernanceLockMemoToken: unique symbol;
4
+ }
5
+ export declare const CantonGovernanceLockMemoToken: t.BrandC<t.StringC, CantonGovernanceLockMemoTokenBrand>;
6
+ export interface CantonGovernanceLockPositiveAmountBrand {
7
+ readonly CantonGovernanceLockPositiveAmount: unique symbol;
8
+ }
9
+ export declare const CantonGovernanceLockPositiveAmount: t.BrandC<t.StringC, CantonGovernanceLockPositiveAmountBrand>;
10
+ export interface CantonGovernanceLockZeroAmountBrand {
11
+ readonly CantonGovernanceLockZeroAmount: unique symbol;
12
+ }
13
+ export declare const CantonGovernanceLockZeroAmount: t.BrandC<t.StringC, CantonGovernanceLockZeroAmountBrand>;
14
+ export interface CantonGovernanceLockTimestampBrand {
15
+ readonly CantonGovernanceLockTimestamp: unique symbol;
16
+ }
17
+ export declare const CantonGovernanceLockTimestamp: t.BrandC<t.StringC, CantonGovernanceLockTimestampBrand>;
18
+ export interface CantonGovernanceLockMicrosBrand {
19
+ readonly CantonGovernanceLockMicros: unique symbol;
20
+ }
21
+ export declare const CantonGovernanceLockMicros: t.BrandC<t.StringC, CantonGovernanceLockMicrosBrand>;
22
+ export declare const CantonGovernanceLockKind: t.UnionC<[t.LiteralC<"sv-lock">, t.LiteralC<"fa-lock">, t.LiteralC<"provisional-fa-lock">]>;
23
+ export type CantonGovernanceLockKind = t.TypeOf<typeof CantonGovernanceLockKind>;
24
+ export declare const CantonGovernanceLockVestableKind: t.UnionC<[t.LiteralC<"sv-lock">, t.LiteralC<"fa-lock">]>;
25
+ export type CantonGovernanceLockVestableKind = t.TypeOf<typeof CantonGovernanceLockVestableKind>;
26
+ export declare const CantonGovernanceLockNoProtocolMemo: t.PartialC<{
27
+ memo: t.UndefinedC;
28
+ }>;
29
+ export declare const CantonGovernanceLockTarget: t.UnionC<[t.IntersectionC<[t.TypeC<{
30
+ lockKind: t.UnionC<[t.LiteralC<"sv-lock">, t.LiteralC<"fa-lock">, t.LiteralC<"provisional-fa-lock">]>;
31
+ lockStatus: t.LiteralC<"locked">;
32
+ }>, t.PartialC<{
33
+ vestingDurationMicros: t.UndefinedC;
34
+ vestingEndTimeMicros: t.UndefinedC;
35
+ }>]>, t.TypeC<{
36
+ lockKind: t.UnionC<[t.LiteralC<"sv-lock">, t.LiteralC<"fa-lock">]>;
37
+ lockStatus: t.LiteralC<"vesting">;
38
+ vestingDurationMicros: t.BrandC<t.StringC, CantonGovernanceLockMicrosBrand>;
39
+ vestingEndTimeMicros: t.BrandC<t.StringC, CantonGovernanceLockMicrosBrand>;
40
+ }>]>;
41
+ export type CantonGovernanceLockTarget = t.TypeOf<typeof CantonGovernanceLockTarget>;
@@ -0,0 +1,73 @@
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.CantonGovernanceLockTarget = exports.CantonGovernanceLockNoProtocolMemo = exports.CantonGovernanceLockVestableKind = exports.CantonGovernanceLockKind = exports.CantonGovernanceLockMicros = exports.CantonGovernanceLockTimestamp = exports.CantonGovernanceLockZeroAmount = exports.CantonGovernanceLockPositiveAmount = exports.CantonGovernanceLockMemoToken = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ exports.CantonGovernanceLockMemoToken = t.brand(t.string, ((value) => /^[^\s&=]+$/.test(value)), "CantonGovernanceLockMemoToken");
29
+ exports.CantonGovernanceLockPositiveAmount = t.brand(t.string, ((value) => /^\d+(\.\d{1,10})?$/.test(value) && /[1-9]/.test(value)), "CantonGovernanceLockPositiveAmount");
30
+ exports.CantonGovernanceLockZeroAmount = t.brand(t.string, ((value) => /^0+(\.0{1,10})?$/.test(value)), "CantonGovernanceLockZeroAmount");
31
+ exports.CantonGovernanceLockTimestamp = t.brand(t.string, ((value) => {
32
+ const match = /^(\d{4})-(\d{2})-(\d{2})T\d{2}:\d{2}:\d{2}(?:\.\d{1,9})?Z$/.exec(value);
33
+ if (!match) {
34
+ return false;
35
+ }
36
+ const parsed = new Date(value);
37
+ return (!Number.isNaN(parsed.getTime()) &&
38
+ parsed.getUTCFullYear() === Number(match[1]) &&
39
+ parsed.getUTCMonth() + 1 === Number(match[2]) &&
40
+ parsed.getUTCDate() === Number(match[3]));
41
+ }), "CantonGovernanceLockTimestamp");
42
+ exports.CantonGovernanceLockMicros = t.brand(t.string, ((value) => /^[1-9]\d*$/.test(value)), "CantonGovernanceLockMicros");
43
+ exports.CantonGovernanceLockKind = t.union([
44
+ t.literal("sv-lock"),
45
+ t.literal("fa-lock"),
46
+ t.literal("provisional-fa-lock"),
47
+ ]);
48
+ exports.CantonGovernanceLockVestableKind = t.union([
49
+ t.literal("sv-lock"),
50
+ t.literal("fa-lock"),
51
+ ]);
52
+ exports.CantonGovernanceLockNoProtocolMemo = t.partial({
53
+ memo: t.undefined,
54
+ });
55
+ exports.CantonGovernanceLockTarget = t.union([
56
+ t.intersection([
57
+ t.type({
58
+ lockKind: exports.CantonGovernanceLockKind,
59
+ lockStatus: t.literal("locked"),
60
+ }),
61
+ t.partial({
62
+ vestingDurationMicros: t.undefined,
63
+ vestingEndTimeMicros: t.undefined,
64
+ }),
65
+ ]),
66
+ t.type({
67
+ lockKind: exports.CantonGovernanceLockVestableKind,
68
+ lockStatus: t.literal("vesting"),
69
+ vestingDurationMicros: exports.CantonGovernanceLockMicros,
70
+ vestingEndTimeMicros: exports.CantonGovernanceLockMicros,
71
+ }),
72
+ ]);
73
+ //# sourceMappingURL=cantonGovernanceLockCommon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cantonGovernanceLockCommon.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonGovernanceLockCommon.ts"],"names":[],"mappings":"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"}