@bitgo/public-types 6.14.0 → 6.16.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 (184) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
  20. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +1 -0
  21. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +1 -0
  22. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
  23. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
  24. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
  25. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
  26. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
  27. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
  28. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
  29. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
  30. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +1 -0
  31. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +100 -0
  32. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.js +77 -0
  33. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.js.map +1 -0
  34. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +1 -0
  35. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +1 -0
  36. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +1 -0
  37. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +1 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +1 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
  41. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +1 -0
  42. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
  43. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
  44. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
  45. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
  46. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +1 -0
  47. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
  48. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +1 -0
  49. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
  50. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
  51. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
  52. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
  53. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +1 -0
  54. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +1 -0
  55. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +1 -0
  56. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
  57. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
  58. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
  59. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
  60. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
  61. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
  62. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
  63. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
  64. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
  65. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
  66. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
  67. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
  68. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
  69. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
  70. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
  71. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
  72. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +1 -0
  73. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +1 -0
  74. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +1 -0
  75. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +1 -0
  76. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +1 -0
  77. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
  78. package/dist/src/schema/transactionRequest/intents/index.d.ts +2 -0
  79. package/dist/src/schema/transactionRequest/intents/index.js +2 -0
  80. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  81. package/dist/src/schema/transactionRequest/intents/intent.d.ts +235 -0
  82. package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
  83. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  84. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
  85. package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
  86. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  87. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +1 -0
  88. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +1 -0
  89. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +2 -0
  90. package/dist/src/schema/transactionRequest/intents/irysPledgeIntent.d.ts +1 -0
  91. package/dist/src/schema/transactionRequest/intents/irysStakeIntent.d.ts +1 -0
  92. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
  93. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
  94. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
  95. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
  96. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
  97. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
  98. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
  99. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
  100. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
  101. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +1 -0
  102. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
  103. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
  104. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
  105. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
  106. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  107. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  108. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  109. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  110. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
  111. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
  112. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
  113. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +1 -0
  114. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  115. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
  116. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
  117. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
  118. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
  119. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
  120. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
  121. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +1 -0
  122. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
  123. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
  124. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
  125. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
  126. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
  127. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +2 -0
  128. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
  129. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
  130. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
  131. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +1 -0
  132. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
  133. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
  134. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -0
  135. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +1 -0
  136. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
  137. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
  138. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
  139. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +1 -0
  140. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +1 -0
  141. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
  142. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +1 -0
  143. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +1 -0
  144. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
  145. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +1 -0
  146. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +1 -0
  147. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
  148. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +1 -0
  149. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +90 -0
  150. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.js +37 -0
  151. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.js.map +1 -0
  152. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +1 -0
  153. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +1 -0
  154. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +1 -0
  155. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +1 -0
  156. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +1 -0
  157. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +1 -0
  158. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +1 -0
  159. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
  160. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +1 -0
  161. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +1 -0
  162. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +1 -0
  163. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +1 -0
  164. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +1 -0
  165. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +1 -0
  166. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +1 -0
  167. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +2 -0
  168. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +1 -0
  169. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +1 -0
  170. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
  171. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
  172. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
  173. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
  174. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
  175. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
  176. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +2 -0
  177. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +2 -0
  178. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +470 -0
  179. package/package.json +1 -1
  180. package/src/schema/transactionRequest/intents/cantonCommandIntent.ts +80 -0
  181. package/src/schema/transactionRequest/intents/index.ts +2 -0
  182. package/src/schema/transactionRequest/intents/intent.ts +2 -0
  183. package/src/schema/transactionRequest/intents/intentType.ts +1 -0
  184. package/src/schema/transactionRequest/intents/trxCreateAccountIntent.ts +16 -0
@@ -54,6 +54,7 @@ export declare const AccelerationIntent: t.IntersectionC<[t.IntersectionC<[t.Typ
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AccountBaseCreateAccountIntent: t.IntersectionC<[t.Intersec
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AccountBaseUpdateAccountIntent: t.IntersectionC<[t.Intersec
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaPledgeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AdaVoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AptCustomTxIntent: t.IntersectionC<[t.IntersectionC<[t.Type
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AptStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AptUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AptWithdrawStakeIntent: t.IntersectionC<[t.IntersectionC<[t
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AtomPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AtomStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AtomUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const AtomWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Int
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BabyCreateBtcDelegationIntent: t.IntersectionC<[t.Intersect
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BabyWithdrawRewardIntent: t.IntersectionC<[t.IntersectionC<
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BaseBridgeFundsIntent: t.IntersectionC<[t.IntersectionC<[t.
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BaseGoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Type
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BaseIntent: t.IntersectionC<[t.TypeC<{
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -123,6 +124,7 @@ export declare const BaseIntentWithoutNonce: t.IntersectionC<[t.TypeC<{
123
124
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
124
125
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
125
126
  allocationRequest: t.LiteralC<"allocationRequest">;
127
+ cantonCommand: t.LiteralC<"cantonCommand">;
126
128
  "defi-deposit": t.LiteralC<"defi-deposit">;
127
129
  "defi-redeem": t.LiteralC<"defi-redeem">;
128
130
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BaseStakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BaseStakeIntentWithCalldata: t.IntersectionC<[t.Intersectio
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BeraDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Int
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BscDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Inte
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BscStakeClaimRewardsIntent: t.IntersectionC<[t.Intersection
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BscUnDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.In
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const BscWithdrawUndelegateIntent: t.IntersectionC<[t.Intersectio
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonAllocationRequestIntent: t.IntersectionC<[t.Intersect
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -0,0 +1,100 @@
1
+ import * as t from "io-ts";
2
+ export declare const CantonCommandIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
3
+ intentType: t.KeyofC<{
4
+ payment: t.LiteralC<"payment">;
5
+ transferToken: t.LiteralC<"transferToken">;
6
+ consolidate: t.LiteralC<"consolidate">;
7
+ consolidateToken: t.LiteralC<"consolidateToken">;
8
+ fanout: t.LiteralC<"fanout">;
9
+ stake: t.LiteralC<"stake">;
10
+ unstake: t.LiteralC<"unstake">;
11
+ delegate: t.LiteralC<"delegate">;
12
+ undelegate: t.LiteralC<"undelegate">;
13
+ switchValidator: t.LiteralC<"switchValidator">;
14
+ claim: t.LiteralC<"claim">;
15
+ stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
16
+ pledge: t.LiteralC<"pledge">;
17
+ voteDelegation: t.LiteralC<"voteDelegation">;
18
+ vote: t.LiteralC<"vote">;
19
+ createAccount: t.LiteralC<"createAccount">;
20
+ updateAccount: t.LiteralC<"updateAccount">;
21
+ addTrustLine: t.LiteralC<"addTrustLine">;
22
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
23
+ signMessage: t.LiteralC<"signMessage">;
24
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
25
+ enableToken: t.LiteralC<"enableToken">;
26
+ authorize: t.LiteralC<"authorize">;
27
+ acceleration: t.LiteralC<"acceleration">;
28
+ fillNonce: t.LiteralC<"fillNonce">;
29
+ walletRecovery: t.LiteralC<"walletRecovery">;
30
+ contractCall: t.LiteralC<"contractCall">;
31
+ deactivate: t.LiteralC<"deactivate">;
32
+ customTx: t.LiteralC<"customTx">;
33
+ closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
34
+ stakeWithCallData: t.LiteralC<"stakeWithCallData">;
35
+ unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
36
+ switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
37
+ feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
38
+ tokenApproval: t.LiteralC<"tokenApproval">;
39
+ transferStake: t.LiteralC<"transferStake">;
40
+ validatorRegistration: t.LiteralC<"validatorRegistration">;
41
+ increaseStake: t.LiteralC<"increaseStake">;
42
+ decreaseStake: t.LiteralC<"decreaseStake">;
43
+ signalExit: t.LiteralC<"signalExit">;
44
+ withdrawStake: t.LiteralC<"withdrawStake">;
45
+ spotTransfer: t.LiteralC<"spotTransfer">;
46
+ bridgeFunds: t.LiteralC<"bridgeFunds">;
47
+ enableBridging: t.LiteralC<"enableBridging">;
48
+ goUnstake: t.LiteralC<"goUnstake">;
49
+ createBtcDelegation: t.LiteralC<"createBtcDelegation">;
50
+ transferAccept: t.LiteralC<"transferAccept">;
51
+ transferReject: t.LiteralC<"transferReject">;
52
+ transferAcknowledge: t.LiteralC<"transferAcknowledge">;
53
+ transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
54
+ cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
+ cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
+ allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
58
+ "defi-deposit": t.LiteralC<"defi-deposit">;
59
+ "defi-redeem": t.LiteralC<"defi-redeem">;
60
+ delegateResource: t.LiteralC<"delegateResource">;
61
+ undelegateResource: t.LiteralC<"undelegateResource">;
62
+ export: t.LiteralC<"export">;
63
+ import: t.LiteralC<"import">;
64
+ importtoc: t.LiteralC<"importtoc">;
65
+ }>;
66
+ }>, t.PartialC<{
67
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
68
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
69
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
70
+ }>]>, t.TypeC<{
71
+ intentType: t.LiteralC<"cantonCommand">;
72
+ cantonCommandParams: t.IntersectionC<[t.TypeC<{
73
+ command: t.UnionC<[t.TypeC<{
74
+ CreateCommand: t.TypeC<{
75
+ templateId: t.StringC;
76
+ createArguments: t.RecordC<t.StringC, t.UnknownC>;
77
+ }>;
78
+ }>, t.TypeC<{
79
+ ExerciseCommand: t.IntersectionC<[t.TypeC<{
80
+ templateId: t.StringC;
81
+ choice: t.StringC;
82
+ choiceArgument: t.RecordC<t.StringC, t.UnknownC>;
83
+ }>, t.PartialC<{
84
+ contractId: t.StringC;
85
+ }>]>;
86
+ }>]>;
87
+ actAs: t.ArrayC<t.StringC>;
88
+ }>, t.PartialC<{
89
+ readAs: t.ArrayC<t.StringC>;
90
+ resolveContracts: t.ArrayC<t.IntersectionC<[t.TypeC<{
91
+ templateId: t.StringC;
92
+ actAs: t.ArrayC<t.StringC>;
93
+ injectAs: t.StringC;
94
+ }>, t.PartialC<{
95
+ readAs: t.ArrayC<t.StringC>;
96
+ resolveAll: t.BooleanC;
97
+ }>]>>;
98
+ }>]>;
99
+ }>]>;
100
+ export type CantonCommandIntent = t.TypeOf<typeof CantonCommandIntent>;
@@ -0,0 +1,77 @@
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.CantonCommandIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const baseIntent_1 = require("./baseIntent");
29
+ const intentType_1 = require("./intentType");
30
+ const CreateCommand = t.type({
31
+ CreateCommand: t.type({
32
+ templateId: t.string,
33
+ createArguments: t.record(t.string, t.unknown),
34
+ }),
35
+ });
36
+ const ExerciseCommand = t.type({
37
+ ExerciseCommand: t.intersection([
38
+ t.type({
39
+ templateId: t.string,
40
+ choice: t.string,
41
+ choiceArgument: t.record(t.string, t.unknown),
42
+ }),
43
+ t.partial({
44
+ contractId: t.string,
45
+ }),
46
+ ]),
47
+ });
48
+ const CantonCommand = t.union([CreateCommand, ExerciseCommand]);
49
+ const ResolveContractSpec = t.intersection([
50
+ t.type({
51
+ templateId: t.string,
52
+ actAs: t.array(t.string),
53
+ injectAs: t.string,
54
+ }),
55
+ t.partial({
56
+ readAs: t.array(t.string),
57
+ resolveAll: t.boolean,
58
+ }),
59
+ ]);
60
+ const CantonCommandParams = t.intersection([
61
+ t.type({
62
+ command: CantonCommand,
63
+ actAs: t.array(t.string),
64
+ }),
65
+ t.partial({
66
+ readAs: t.array(t.string),
67
+ resolveContracts: t.array(ResolveContractSpec),
68
+ }),
69
+ ]);
70
+ exports.CantonCommandIntent = t.intersection([
71
+ baseIntent_1.BaseIntent,
72
+ t.type({
73
+ intentType: intentType_1.intentTypes.cantonCommand,
74
+ cantonCommandParams: CantonCommandParams,
75
+ }),
76
+ ]);
77
+ //# sourceMappingURL=cantonCommandIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cantonCommandIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/cantonCommandIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAqB3C,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;QACpB,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,eAAe,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC;KAC/C,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7B,eAAe,EAAE,CAAC,CAAC,YAAY,CAAC;QAC9B,CAAC,CAAC,IAAI,CAAC;YACL,UAAU,EAAE,CAAC,CAAC,MAAM;YACpB,MAAM,EAAE,CAAC,CAAC,MAAM;YAChB,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC;SAC9C,CAAC;QACF,CAAC,CAAC,OAAO,CAAC;YAER,UAAU,EAAE,CAAC,CAAC,MAAM;SACrB,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC,CAAC;AAEhE,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IACzC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,CAAC,CAAC,MAAM;QACpB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QAExB,QAAQ,EAAE,CAAC,CAAC,MAAM;KACnB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QAEzB,UAAU,EAAE,CAAC,CAAC,OAAO;KACtB,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IACzC,CAAC,CAAC,IAAI,CAAC;QACL,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;QACzB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;KAC/C,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,aAAa;QACrC,mBAAmB,EAAE,mBAAmB;KACzC,CAAC;CACH,CAAC,CAAC"}
@@ -54,6 +54,7 @@ export declare const CantonCosignDelegationAcceptIntent: t.IntersectionC<[t.Inte
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonCosignDelegationProposalIntent: t.IntersectionC<[t.In
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.In
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonTransferAcceptIntent: t.IntersectionC<[t.Intersection
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonTransferAcknowledgeIntent: t.IntersectionC<[t.Interse
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonTransferOfferWithdrawnIntent: t.IntersectionC<[t.Inte
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CantonTransferRejectIntent: t.IntersectionC<[t.Intersection
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const ClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Intersecti
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const ConsolidateTokenIntent: t.IntersectionC<[t.IntersectionC<[t
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CoreDaoClaimIntent: t.IntersectionC<[t.IntersectionC<[t.Int
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CoreDaoDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CoreDaoUndelegateIntent: t.IntersectionC<[t.IntersectionC<[
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CosmosContractCallIntent: t.IntersectionC<[t.IntersectionC<
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;
@@ -54,6 +54,7 @@ export declare const CosmosPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.In
54
54
  cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
55
55
  cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
56
56
  allocationRequest: t.LiteralC<"allocationRequest">;
57
+ cantonCommand: t.LiteralC<"cantonCommand">;
57
58
  "defi-deposit": t.LiteralC<"defi-deposit">;
58
59
  "defi-redeem": t.LiteralC<"defi-redeem">;
59
60
  delegateResource: t.LiteralC<"delegateResource">;