@bitgo/public-types 2.33.5 → 2.35.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 (370) hide show
  1. package/dist/src/schema/transactionRequest/index.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/index.js +1 -0
  3. package/dist/src/schema/transactionRequest/index.js.map +1 -1
  4. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +40 -0
  5. package/dist/src/schema/transactionRequest/intents/accelerationIntent.js +37 -0
  6. package/dist/src/schema/transactionRequest/intents/accelerationIntent.js.map +1 -0
  7. package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.d.ts +5 -0
  8. package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js +32 -0
  9. package/dist/src/schema/transactionRequest/intents/accountBaseBuildOptions.js.map +1 -0
  10. package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.d.ts +36 -0
  11. package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js +43 -0
  12. package/dist/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.js.map +1 -0
  13. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +42 -0
  14. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js +40 -0
  15. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.js.map +1 -0
  16. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +46 -0
  17. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js +40 -0
  18. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.js.map +1 -0
  19. package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.d.ts +38 -0
  20. package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js +36 -0
  21. package/dist/src/schema/transactionRequest/intents/adaConsolidateIntent.js.map +1 -0
  22. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +56 -0
  23. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.js +36 -0
  24. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.js.map +1 -0
  25. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +42 -0
  26. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.js +39 -0
  27. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.js.map +1 -0
  28. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +50 -0
  29. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js +38 -0
  30. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.js.map +1 -0
  31. package/dist/src/schema/transactionRequest/intents/address.d.ts +9 -0
  32. package/dist/src/schema/transactionRequest/intents/address.js +33 -0
  33. package/dist/src/schema/transactionRequest/intents/address.js.map +1 -0
  34. package/dist/src/schema/transactionRequest/intents/amount.d.ts +6 -0
  35. package/dist/src/schema/transactionRequest/intents/amount.js +32 -0
  36. package/dist/src/schema/transactionRequest/intents/amount.js.map +1 -0
  37. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +56 -0
  38. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.js +36 -0
  39. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.js.map +1 -0
  40. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +72 -0
  41. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js +40 -0
  42. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.js.map +1 -0
  43. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +72 -0
  44. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js +40 -0
  45. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.js.map +1 -0
  46. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +54 -0
  47. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.js +37 -0
  48. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.js.map +1 -0
  49. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +72 -0
  50. package/dist/src/schema/transactionRequest/intents/baseIntent.js +41 -0
  51. package/dist/src/schema/transactionRequest/intents/baseIntent.js.map +1 -0
  52. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +39 -0
  53. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.js +35 -0
  54. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.js.map +1 -0
  55. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +50 -0
  56. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.js +40 -0
  57. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.js.map +1 -0
  58. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +45 -0
  59. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.js +6 -0
  60. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.js.map +1 -0
  61. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +50 -0
  62. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.js +40 -0
  63. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.js.map +1 -0
  64. package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.d.ts +48 -0
  65. package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.js +6 -0
  66. package/dist/src/schema/transactionRequest/intents/bscWithdrawIntent.js.map +1 -0
  67. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +102 -0
  68. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js +43 -0
  69. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.js.map +1 -0
  70. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +56 -0
  71. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.js +36 -0
  72. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.js.map +1 -0
  73. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +71 -0
  74. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js +42 -0
  75. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.js.map +1 -0
  76. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +47 -0
  77. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.js +6 -0
  78. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.js.map +1 -0
  79. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +71 -0
  80. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js +42 -0
  81. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.js.map +1 -0
  82. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +50 -0
  83. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.js +35 -0
  84. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.js.map +1 -0
  85. package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.d.ts +17 -0
  86. package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js +37 -0
  87. package/dist/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.js.map +1 -0
  88. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +75 -0
  89. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js +40 -0
  90. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.js.map +1 -0
  91. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +85 -0
  92. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js +42 -0
  93. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.js.map +1 -0
  94. package/dist/src/schema/transactionRequest/intents/dotFeeOptions.d.ts +7 -0
  95. package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js +38 -0
  96. package/dist/src/schema/transactionRequest/intents/dotFeeOptions.js.map +1 -0
  97. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +76 -0
  98. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.js +40 -0
  99. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.js.map +1 -0
  100. package/dist/src/schema/transactionRequest/intents/dotProxy.d.ts +8 -0
  101. package/dist/src/schema/transactionRequest/intents/dotProxy.js +35 -0
  102. package/dist/src/schema/transactionRequest/intents/dotProxy.js.map +1 -0
  103. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +63 -0
  104. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js +42 -0
  105. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.js.map +1 -0
  106. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +62 -0
  107. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js +41 -0
  108. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.js.map +1 -0
  109. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +62 -0
  110. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.js +34 -0
  111. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.js.map +1 -0
  112. package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.d.ts +7 -0
  113. package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js +34 -0
  114. package/dist/src/schema/transactionRequest/intents/eip1559FeeOptions.js.map +1 -0
  115. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +43 -0
  116. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js +38 -0
  117. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js.map +1 -0
  118. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +66 -0
  119. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.js +39 -0
  120. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.js.map +1 -0
  121. package/dist/src/schema/transactionRequest/intents/ethBuildOptions.d.ts +53 -0
  122. package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js +50 -0
  123. package/dist/src/schema/transactionRequest/intents/ethBuildOptions.js.map +1 -0
  124. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +63 -0
  125. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js +40 -0
  126. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.js.map +1 -0
  127. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +91 -0
  128. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js +37 -0
  129. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.js.map +1 -0
  130. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +81 -0
  131. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.js +40 -0
  132. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.js.map +1 -0
  133. package/dist/src/schema/transactionRequest/intents/feeOption.d.ts +8 -0
  134. package/dist/src/schema/transactionRequest/intents/feeOption.js +39 -0
  135. package/dist/src/schema/transactionRequest/intents/feeOption.js.map +1 -0
  136. package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.d.ts +12 -0
  137. package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.js +34 -0
  138. package/dist/src/schema/transactionRequest/intents/feeOptionFeeType.js.map +1 -0
  139. package/dist/src/schema/transactionRequest/intents/feeOptionFormula.d.ts +16 -0
  140. package/dist/src/schema/transactionRequest/intents/feeOptionFormula.js +36 -0
  141. package/dist/src/schema/transactionRequest/intents/feeOptionFormula.js.map +1 -0
  142. package/dist/src/schema/transactionRequest/intents/feeOptionUnit.d.ts +12 -0
  143. package/dist/src/schema/transactionRequest/intents/feeOptionUnit.js +34 -0
  144. package/dist/src/schema/transactionRequest/intents/feeOptionUnit.js.map +1 -0
  145. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +39 -0
  146. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.js +37 -0
  147. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.js.map +1 -0
  148. package/dist/src/schema/transactionRequest/intents/hopParams.d.ts +7 -0
  149. package/dist/src/schema/transactionRequest/intents/hopParams.js +34 -0
  150. package/dist/src/schema/transactionRequest/intents/hopParams.js.map +1 -0
  151. package/dist/src/schema/transactionRequest/intents/index.d.ts +89 -0
  152. package/dist/src/schema/transactionRequest/intents/index.js +106 -0
  153. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -0
  154. package/dist/src/schema/transactionRequest/intents/intent.d.ts +2428 -0
  155. package/dist/src/schema/transactionRequest/intents/intent.js +118 -0
  156. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -0
  157. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +62 -0
  158. package/dist/src/schema/transactionRequest/intents/intentType.js +59 -0
  159. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -0
  160. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +41 -0
  161. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.js +38 -0
  162. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.js.map +1 -0
  163. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +43 -0
  164. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.js +35 -0
  165. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.js.map +1 -0
  166. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +57 -0
  167. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.js +36 -0
  168. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.js.map +1 -0
  169. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +57 -0
  170. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.js +36 -0
  171. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.js.map +1 -0
  172. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +64 -0
  173. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.js +36 -0
  174. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.js.map +1 -0
  175. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +54 -0
  176. package/dist/src/schema/transactionRequest/intents/paymentIntent.js +38 -0
  177. package/dist/src/schema/transactionRequest/intents/paymentIntent.js.map +1 -0
  178. package/dist/src/schema/transactionRequest/intents/recipientEntry.d.ts +17 -0
  179. package/dist/src/schema/transactionRequest/intents/recipientEntry.js +36 -0
  180. package/dist/src/schema/transactionRequest/intents/recipientEntry.js.map +1 -0
  181. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +41 -0
  182. package/dist/src/schema/transactionRequest/intents/signMessageIntent.js +39 -0
  183. package/dist/src/schema/transactionRequest/intents/signMessageIntent.js.map +1 -0
  184. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +51 -0
  185. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js +46 -0
  186. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js.map +1 -0
  187. package/dist/src/schema/transactionRequest/intents/solBuildOptions.d.ts +7 -0
  188. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js +36 -0
  189. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -0
  190. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +58 -0
  191. package/dist/src/schema/transactionRequest/intents/solClaimIntent.js +39 -0
  192. package/dist/src/schema/transactionRequest/intents/solClaimIntent.js.map +1 -0
  193. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +47 -0
  194. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js +34 -0
  195. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js.map +1 -0
  196. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +45 -0
  197. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js +41 -0
  198. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js.map +1 -0
  199. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +46 -0
  200. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js +42 -0
  201. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js.map +1 -0
  202. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +58 -0
  203. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js +34 -0
  204. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js.map +1 -0
  205. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +51 -0
  206. package/dist/src/schema/transactionRequest/intents/solStakeIntent.js +39 -0
  207. package/dist/src/schema/transactionRequest/intents/solStakeIntent.js.map +1 -0
  208. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +61 -0
  209. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js +41 -0
  210. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -0
  211. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +44 -0
  212. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.js +38 -0
  213. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.js.map +1 -0
  214. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +41 -0
  215. package/dist/src/schema/transactionRequest/intents/stakeIntent.js +36 -0
  216. package/dist/src/schema/transactionRequest/intents/stakeIntent.js.map +1 -0
  217. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +47 -0
  218. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.js +40 -0
  219. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.js.map +1 -0
  220. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +42 -0
  221. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.js +38 -0
  222. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.js.map +1 -0
  223. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +79 -0
  224. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.js +39 -0
  225. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.js.map +1 -0
  226. package/dist/src/schema/transactionRequest/intents/suiFeeOptions.d.ts +5 -0
  227. package/dist/src/schema/transactionRequest/intents/suiFeeOptions.js +31 -0
  228. package/dist/src/schema/transactionRequest/intents/suiFeeOptions.js.map +1 -0
  229. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +75 -0
  230. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js +40 -0
  231. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.js.map +1 -0
  232. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +57 -0
  233. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js +38 -0
  234. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.js.map +1 -0
  235. package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.d.ts +5 -0
  236. package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.js +31 -0
  237. package/dist/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.js.map +1 -0
  238. package/dist/src/schema/transactionRequest/intents/tokenData.d.ts +12 -0
  239. package/dist/src/schema/transactionRequest/intents/tokenData.js +36 -0
  240. package/dist/src/schema/transactionRequest/intents/tokenData.js.map +1 -0
  241. package/dist/src/schema/transactionRequest/intents/tokenEnablement.d.ts +6 -0
  242. package/dist/src/schema/transactionRequest/intents/tokenEnablement.js +33 -0
  243. package/dist/src/schema/transactionRequest/intents/tokenEnablement.js.map +1 -0
  244. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.d.ts +28 -0
  245. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.js +36 -0
  246. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntry.js.map +1 -0
  247. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.d.ts +7 -0
  248. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js +34 -0
  249. package/dist/src/schema/transactionRequest/intents/tokenRecipientEntryItem.js.map +1 -0
  250. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +44 -0
  251. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js +39 -0
  252. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.js.map +1 -0
  253. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +56 -0
  254. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js +36 -0
  255. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.js.map +1 -0
  256. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +40 -0
  257. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.js +37 -0
  258. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.js.map +1 -0
  259. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +100 -0
  260. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js +40 -0
  261. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.js.map +1 -0
  262. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +41 -0
  263. package/dist/src/schema/transactionRequest/intents/unstakeIntent.js +36 -0
  264. package/dist/src/schema/transactionRequest/intents/unstakeIntent.js.map +1 -0
  265. package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.d.ts +6 -0
  266. package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js +33 -0
  267. package/dist/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.js.map +1 -0
  268. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +39 -0
  269. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.js +36 -0
  270. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.js.map +1 -0
  271. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +48 -0
  272. package/dist/src/schema/transactionRequest/intents/withdrawIntent.js +39 -0
  273. package/dist/src/schema/transactionRequest/intents/withdrawIntent.js.map +1 -0
  274. package/dist/src/utils/primitives.d.ts +5 -0
  275. package/dist/src/utils/primitives.js +2 -1
  276. package/dist/src/utils/primitives.js.map +1 -1
  277. package/package.json +1 -1
  278. package/src/schema/transactionRequest/index.ts +1 -0
  279. package/src/schema/transactionRequest/intents/README.md +29 -0
  280. package/src/schema/transactionRequest/intents/accelerationIntent.ts +13 -0
  281. package/src/schema/transactionRequest/intents/accountBaseBuildOptions.ts +8 -0
  282. package/src/schema/transactionRequest/intents/accountBaseConsolidateIntent.ts +26 -0
  283. package/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.ts +18 -0
  284. package/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.ts +18 -0
  285. package/src/schema/transactionRequest/intents/adaConsolidateIntent.ts +12 -0
  286. package/src/schema/transactionRequest/intents/adaPaymentIntent.ts +12 -0
  287. package/src/schema/transactionRequest/intents/adaPledgeIntent.ts +15 -0
  288. package/src/schema/transactionRequest/intents/adaStakeIntent.ts +14 -0
  289. package/src/schema/transactionRequest/intents/address.ts +7 -0
  290. package/src/schema/transactionRequest/intents/amount.ts +8 -0
  291. package/src/schema/transactionRequest/intents/atomPaymentIntent.ts +12 -0
  292. package/src/schema/transactionRequest/intents/atomStakeIntent.ts +16 -0
  293. package/src/schema/transactionRequest/intents/atomUnstakeIntent.ts +16 -0
  294. package/src/schema/transactionRequest/intents/atomWithdrawIntent.ts +13 -0
  295. package/src/schema/transactionRequest/intents/baseIntent.ts +20 -0
  296. package/src/schema/transactionRequest/intents/baseStakeIntent.ts +11 -0
  297. package/src/schema/transactionRequest/intents/bscDelegateIntent.ts +16 -0
  298. package/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.ts +8 -0
  299. package/src/schema/transactionRequest/intents/bscUndelegateIntent.ts +16 -0
  300. package/src/schema/transactionRequest/intents/bscWithdrawIntent.ts +6 -0
  301. package/src/schema/transactionRequest/intents/consolidateTokenIntent.ts +19 -0
  302. package/src/schema/transactionRequest/intents/cosmosPaymentIntent.ts +12 -0
  303. package/src/schema/transactionRequest/intents/cosmosStakeIntent.ts +18 -0
  304. package/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.ts +8 -0
  305. package/src/schema/transactionRequest/intents/cosmosUnstakeIntent.ts +18 -0
  306. package/src/schema/transactionRequest/intents/cosmosWithdrawIntent.ts +11 -0
  307. package/src/schema/transactionRequest/intents/dotAccountBaseBuildOptions.ts +15 -0
  308. package/src/schema/transactionRequest/intents/dotBaseIntent.ts +16 -0
  309. package/src/schema/transactionRequest/intents/dotCreateAccountIntent.ts +19 -0
  310. package/src/schema/transactionRequest/intents/dotFeeOptions.ts +12 -0
  311. package/src/schema/transactionRequest/intents/dotPaymentIntent.ts +16 -0
  312. package/src/schema/transactionRequest/intents/dotProxy.ts +11 -0
  313. package/src/schema/transactionRequest/intents/dotStakingIntent.ts +18 -0
  314. package/src/schema/transactionRequest/intents/dotUnstakingIntent.ts +17 -0
  315. package/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.ts +10 -0
  316. package/src/schema/transactionRequest/intents/eip1559FeeOptions.ts +10 -0
  317. package/src/schema/transactionRequest/intents/enableTokenIntent.ts +14 -0
  318. package/src/schema/transactionRequest/intents/ethAccelerationIntent.ts +15 -0
  319. package/src/schema/transactionRequest/intents/ethBuildOptions.ts +27 -0
  320. package/src/schema/transactionRequest/intents/ethFillNonceIntent.ts +18 -0
  321. package/src/schema/transactionRequest/intents/ethPaymentIntent.ts +13 -0
  322. package/src/schema/transactionRequest/intents/ethStakingIntent.ts +16 -0
  323. package/src/schema/transactionRequest/intents/feeOption.ts +13 -0
  324. package/src/schema/transactionRequest/intents/feeOptionFeeType.ts +11 -0
  325. package/src/schema/transactionRequest/intents/feeOptionFormula.ts +13 -0
  326. package/src/schema/transactionRequest/intents/feeOptionUnit.ts +11 -0
  327. package/src/schema/transactionRequest/intents/fillNonceIntent.ts +13 -0
  328. package/src/schema/transactionRequest/intents/hopParams.ts +10 -0
  329. package/src/schema/transactionRequest/intents/index.ts +89 -0
  330. package/src/schema/transactionRequest/intents/intent.ts +97 -0
  331. package/src/schema/transactionRequest/intents/intentType.ts +36 -0
  332. package/src/schema/transactionRequest/intents/lightningPaymentIntent.ts +14 -0
  333. package/src/schema/transactionRequest/intents/mmiSignMessageIntent.ts +11 -0
  334. package/src/schema/transactionRequest/intents/nearStakeIntent.ts +12 -0
  335. package/src/schema/transactionRequest/intents/nearUnstakeIntent.ts +12 -0
  336. package/src/schema/transactionRequest/intents/nearWithdrawIntent.ts +12 -0
  337. package/src/schema/transactionRequest/intents/paymentIntent.ts +14 -0
  338. package/src/schema/transactionRequest/intents/recipientEntry.ts +12 -0
  339. package/src/schema/transactionRequest/intents/signMessageIntent.ts +23 -0
  340. package/src/schema/transactionRequest/intents/solAuthorizeIntent.ts +22 -0
  341. package/src/schema/transactionRequest/intents/solBuildOptions.ts +12 -0
  342. package/src/schema/transactionRequest/intents/solClaimIntent.ts +15 -0
  343. package/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts +12 -0
  344. package/src/schema/transactionRequest/intents/solDeactivateIntent.ts +17 -0
  345. package/src/schema/transactionRequest/intents/solDelegateIntent.ts +18 -0
  346. package/src/schema/transactionRequest/intents/solPaymentIntent.ts +10 -0
  347. package/src/schema/transactionRequest/intents/solStakeIntent.ts +15 -0
  348. package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +17 -0
  349. package/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.ts +12 -0
  350. package/src/schema/transactionRequest/intents/stakeIntent.ts +12 -0
  351. package/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.ts +18 -0
  352. package/src/schema/transactionRequest/intents/suiBuildOptions.ts +14 -0
  353. package/src/schema/transactionRequest/intents/suiCustomTxIntent.ts +15 -0
  354. package/src/schema/transactionRequest/intents/suiFeeOptions.ts +7 -0
  355. package/src/schema/transactionRequest/intents/suiStakingIntent.ts +16 -0
  356. package/src/schema/transactionRequest/intents/suiUnstakingIntent.ts +14 -0
  357. package/src/schema/transactionRequest/intents/supportedTokenRecipientEntryItem.ts +9 -0
  358. package/src/schema/transactionRequest/intents/tokenData.ts +12 -0
  359. package/src/schema/transactionRequest/intents/tokenEnablement.ts +9 -0
  360. package/src/schema/transactionRequest/intents/tokenRecipientEntry.ts +12 -0
  361. package/src/schema/transactionRequest/intents/tokenRecipientEntryItem.ts +10 -0
  362. package/src/schema/transactionRequest/intents/tonDelegateIntent.ts +15 -0
  363. package/src/schema/transactionRequest/intents/tonPaymentIntent.ts +12 -0
  364. package/src/schema/transactionRequest/intents/tonUndelegateIntent.ts +13 -0
  365. package/src/schema/transactionRequest/intents/transferTokenIntent.ts +16 -0
  366. package/src/schema/transactionRequest/intents/unstakeIntent.ts +12 -0
  367. package/src/schema/transactionRequest/intents/unsupportedTokenRecipientEntryItem.ts +11 -0
  368. package/src/schema/transactionRequest/intents/walletRecoveryIntent.ts +12 -0
  369. package/src/schema/transactionRequest/intents/withdrawIntent.ts +15 -0
  370. package/src/utils/primitives.ts +1 -0
@@ -0,0 +1,41 @@
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.DotUnstakingIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const unstakeIntent_1 = require("./unstakeIntent");
29
+ const dotAccountBaseBuildOptions_1 = require("./dotAccountBaseBuildOptions");
30
+ const amount_1 = require("./amount");
31
+ const utils_1 = require("../../../utils");
32
+ exports.DotUnstakingIntent = t.intersection([
33
+ unstakeIntent_1.UnstakeIntent,
34
+ dotAccountBaseBuildOptions_1.DotAccountBaseBuildOptions,
35
+ t.type({
36
+ amount: amount_1.Amount,
37
+ stakingProxy: t.string,
38
+ stopStaking: utils_1.optionalBoolean,
39
+ }),
40
+ ]);
41
+ //# sourceMappingURL=dotUnstakingIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotUnstakingIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/dotUnstakingIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,6EAA0E;AAC1E,qCAAkC;AAClC,0CAAiD;AAEpC,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,6BAAa;IACb,uDAA0B;IAC1B,CAAC,CAAC,IAAI,CAAC;QACL,MAAM,EAAE,eAAM;QACd,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,WAAW,EAAE,uBAAe;KAC7B,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import * as t from "io-ts";
2
+ export declare const DotWithdrawStakeIntent: t.IntersectionC<[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
+ vote: t.LiteralC<"vote">;
18
+ createAccount: t.LiteralC<"createAccount">;
19
+ updateAccount: t.LiteralC<"updateAccount">;
20
+ addTrustLine: t.LiteralC<"addTrustLine">;
21
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
22
+ signMessage: t.LiteralC<"signMessage">;
23
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
24
+ enableToken: t.LiteralC<"enableToken">;
25
+ authorize: t.LiteralC<"authorize">;
26
+ acceleration: t.LiteralC<"acceleration">;
27
+ fillNonce: t.LiteralC<"fillNonce">;
28
+ walletRecovery: t.LiteralC<"walletRecovery">;
29
+ contractCall: t.LiteralC<"contractCall">;
30
+ deactivate: t.LiteralC<"deactivate">;
31
+ customTx: t.LiteralC<"customTx">;
32
+ }>;
33
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
34
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
35
+ nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
36
+ }>, t.TypeC<{
37
+ stakingRequestId: t.StringC;
38
+ }>]>, t.TypeC<{
39
+ intentType: t.LiteralC<"claim">;
40
+ amount: t.UnionC<[t.Type<{
41
+ value: string;
42
+ symbol: string;
43
+ }, {
44
+ value: string;
45
+ symbol: string;
46
+ }, unknown>, t.UndefinedC]>;
47
+ }>]>, t.IntersectionC<[t.TypeC<{
48
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
49
+ }>, t.TypeC<{
50
+ fee: t.UnionC<[t.Type<{
51
+ amount: string | number;
52
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
53
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
54
+ type: "max" | "base" | "tip" | undefined;
55
+ }, {
56
+ amount: string | number;
57
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
58
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
59
+ type: "max" | "base" | "tip" | undefined;
60
+ }, unknown>, t.UndefinedC]>;
61
+ }>]>]>;
62
+ export type DotWithdrawStakeIntent = t.TypeOf<typeof DotWithdrawStakeIntent>;
@@ -0,0 +1,34 @@
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.DotWithdrawStakeIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const dotAccountBaseBuildOptions_1 = require("./dotAccountBaseBuildOptions");
29
+ const withdrawIntent_1 = require("./withdrawIntent");
30
+ exports.DotWithdrawStakeIntent = t.intersection([
31
+ withdrawIntent_1.WithdrawIntent,
32
+ dotAccountBaseBuildOptions_1.DotAccountBaseBuildOptions,
33
+ ]);
34
+ //# sourceMappingURL=dotWithdrawStakeIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotWithdrawStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/dotWithdrawStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6EAA0E;AAC1E,qDAAkD;AAErC,QAAA,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,+BAAc;IACd,uDAA0B;CAC3B,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as t from "io-ts";
2
+ export declare const EIP1559FeeOptions: t.TypeC<{
3
+ gasLimit: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
4
+ maxFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
5
+ maxPriorityFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
6
+ }>;
7
+ export type EIP1559FeeOptions = t.TypeOf<typeof EIP1559FeeOptions>;
@@ -0,0 +1,34 @@
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.EIP1559FeeOptions = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const utils_1 = require("../../../utils");
29
+ exports.EIP1559FeeOptions = t.type({
30
+ gasLimit: utils_1.optionalNumber,
31
+ maxFeePerGas: utils_1.optionalNumber,
32
+ maxPriorityFeePerGas: utils_1.optionalNumber,
33
+ });
34
+ //# sourceMappingURL=eip1559FeeOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eip1559FeeOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/eip1559FeeOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAEnC,QAAA,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,QAAQ,EAAE,sBAAc;IACxB,YAAY,EAAE,sBAAc;IAC5B,oBAAoB,EAAE,sBAAc;CACrC,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import * as t from "io-ts";
2
+ export declare const EnableTokenIntent: 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
+ vote: t.LiteralC<"vote">;
18
+ createAccount: t.LiteralC<"createAccount">;
19
+ updateAccount: t.LiteralC<"updateAccount">;
20
+ addTrustLine: t.LiteralC<"addTrustLine">;
21
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
22
+ signMessage: t.LiteralC<"signMessage">;
23
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
24
+ enableToken: t.LiteralC<"enableToken">;
25
+ authorize: t.LiteralC<"authorize">;
26
+ acceleration: t.LiteralC<"acceleration">;
27
+ fillNonce: t.LiteralC<"fillNonce">;
28
+ walletRecovery: t.LiteralC<"walletRecovery">;
29
+ contractCall: t.LiteralC<"contractCall">;
30
+ deactivate: t.LiteralC<"deactivate">;
31
+ customTx: t.LiteralC<"customTx">;
32
+ }>;
33
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
34
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
35
+ nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
36
+ }>, t.TypeC<{
37
+ intentType: t.LiteralC<"enableToken">;
38
+ enableTokens: t.ArrayC<t.TypeC<{
39
+ name: t.StringC;
40
+ address: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
41
+ }>>;
42
+ }>]>;
43
+ export type EnableTokenIntent = t.TypeOf<typeof EnableTokenIntent>;
@@ -0,0 +1,38 @@
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.EnableTokenIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const intentType_1 = require("./intentType");
29
+ const baseIntent_1 = require("./baseIntent");
30
+ const tokenEnablement_1 = require("./tokenEnablement");
31
+ exports.EnableTokenIntent = t.intersection([
32
+ baseIntent_1.BaseIntent,
33
+ t.type({
34
+ intentType: intentType_1.intentTypes.enableToken,
35
+ enableTokens: t.array(tokenEnablement_1.TokenEnablement),
36
+ }),
37
+ ]);
38
+ //# sourceMappingURL=enableTokenIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enableTokenIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/enableTokenIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,6CAA0C;AAC1C,uDAAoD;AAEvC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,WAAW;QACnC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAe,CAAC;KACvC,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,66 @@
1
+ import * as t from "io-ts";
2
+ export declare const EthAccelerationIntent: 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
+ vote: t.LiteralC<"vote">;
18
+ createAccount: t.LiteralC<"createAccount">;
19
+ updateAccount: t.LiteralC<"updateAccount">;
20
+ addTrustLine: t.LiteralC<"addTrustLine">;
21
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
22
+ signMessage: t.LiteralC<"signMessage">;
23
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
24
+ enableToken: t.LiteralC<"enableToken">;
25
+ authorize: t.LiteralC<"authorize">;
26
+ acceleration: t.LiteralC<"acceleration">;
27
+ fillNonce: t.LiteralC<"fillNonce">;
28
+ walletRecovery: t.LiteralC<"walletRecovery">;
29
+ contractCall: t.LiteralC<"contractCall">;
30
+ deactivate: t.LiteralC<"deactivate">;
31
+ customTx: t.LiteralC<"customTx">;
32
+ }>;
33
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
34
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
35
+ nonce: t.UnionC<[t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>, t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>]>;
36
+ }>, t.TypeC<{
37
+ intentType: t.LiteralC<"acceleration">;
38
+ txid: t.StringC;
39
+ }>]>, t.IntersectionC<[t.TypeC<{
40
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
41
+ }>, t.TypeC<{
42
+ hopParams: t.UnionC<[t.Type<{
43
+ paymentId: string | undefined;
44
+ userReqSig: string | undefined;
45
+ gasPriceMax: number | undefined;
46
+ }, {
47
+ paymentId: string | undefined;
48
+ userReqSig: string | undefined;
49
+ gasPriceMax: number | undefined;
50
+ }, unknown>, t.UndefinedC]>;
51
+ receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
52
+ senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
53
+ }>]>, t.TypeC<{
54
+ feeOptions: t.UnionC<[t.TypeC<{
55
+ unit: t.UnionC<[t.Type<"baseUnit" | "cpu" | "ram", "baseUnit" | "cpu" | "ram", unknown>, t.UndefinedC]>;
56
+ formula: t.UnionC<[t.Type<"fixed" | "feeRate" | "perKB" | "custom" | "perVKB", "fixed" | "feeRate" | "perKB" | "custom" | "perVKB", unknown>, t.UndefinedC]>;
57
+ feeType: t.UnionC<[t.Type<"max" | "base" | "tip", "max" | "base" | "tip", unknown>, t.UndefinedC]>;
58
+ gasLimit: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
59
+ gasPrice: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
60
+ }>, t.TypeC<{
61
+ gasLimit: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
62
+ maxFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
63
+ maxPriorityFeePerGas: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
64
+ }>]>;
65
+ }>]>;
66
+ export type EthAccelerationIntent = t.TypeOf<typeof EthAccelerationIntent>;
@@ -0,0 +1,39 @@
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.EthAccelerationIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const accelerationIntent_1 = require("./accelerationIntent");
29
+ const ethBuildOptions_1 = require("./ethBuildOptions");
30
+ const feeOption_1 = require("./feeOption");
31
+ const eip1559FeeOptions_1 = require("./eip1559FeeOptions");
32
+ exports.EthAccelerationIntent = t.intersection([
33
+ accelerationIntent_1.AccelerationIntent,
34
+ ethBuildOptions_1.EthBuildOptionsWithoutFeeOptions,
35
+ t.type({
36
+ feeOptions: t.union([feeOption_1.FeeOption, eip1559FeeOptions_1.EIP1559FeeOptions]),
37
+ }),
38
+ ]);
39
+ //# sourceMappingURL=ethAccelerationIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ethAccelerationIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/ethAccelerationIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6DAA0D;AAC1D,uDAAqE;AACrE,2CAAwC;AACxC,2DAAwD;AAE3C,QAAA,qBAAqB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,uCAAkB;IAClB,kDAAgC;IAChC,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAS,EAAE,qCAAiB,CAAC,CAAC;KACpD,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import * as t from "io-ts";
2
+ export declare const EthBuildOptions: t.IntersectionC<[t.TypeC<{
3
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
4
+ }>, t.TypeC<{
5
+ feeOptions: t.UnionC<[t.Type<{
6
+ gasLimit: number | undefined;
7
+ maxFeePerGas: number | undefined;
8
+ maxPriorityFeePerGas: number | undefined;
9
+ } | {
10
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
11
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
12
+ feeType: "max" | "base" | "tip" | undefined;
13
+ gasLimit: number | undefined;
14
+ gasPrice: number | undefined;
15
+ }, {
16
+ gasLimit: number | undefined;
17
+ maxFeePerGas: number | undefined;
18
+ maxPriorityFeePerGas: number | undefined;
19
+ } | {
20
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
21
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
22
+ feeType: "max" | "base" | "tip" | undefined;
23
+ gasLimit: number | undefined;
24
+ gasPrice: number | undefined;
25
+ }, unknown>, t.UndefinedC]>;
26
+ hopParams: t.UnionC<[t.Type<{
27
+ paymentId: string | undefined;
28
+ userReqSig: string | undefined;
29
+ gasPriceMax: number | undefined;
30
+ }, {
31
+ paymentId: string | undefined;
32
+ userReqSig: string | undefined;
33
+ gasPriceMax: number | undefined;
34
+ }, unknown>, t.UndefinedC]>;
35
+ receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
36
+ senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
37
+ }>]>;
38
+ export type EthBuildOptions = t.TypeOf<typeof EthBuildOptions>;
39
+ export declare const EthBuildOptionsWithoutFeeOptions: t.IntersectionC<[t.TypeC<{
40
+ nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
41
+ }>, t.TypeC<{
42
+ hopParams: t.UnionC<[t.Type<{
43
+ paymentId: string | undefined;
44
+ userReqSig: string | undefined;
45
+ gasPriceMax: number | undefined;
46
+ }, {
47
+ paymentId: string | undefined;
48
+ userReqSig: string | undefined;
49
+ gasPriceMax: number | undefined;
50
+ }, unknown>, t.UndefinedC]>;
51
+ receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
52
+ senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
53
+ }>]>;
@@ -0,0 +1,50 @@
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.EthBuildOptionsWithoutFeeOptions = exports.EthBuildOptions = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const accountBaseBuildOptions_1 = require("./accountBaseBuildOptions");
29
+ const utils_1 = require("../../../utils");
30
+ const feeOption_1 = require("./feeOption");
31
+ const eip1559FeeOptions_1 = require("./eip1559FeeOptions");
32
+ const hopParams_1 = require("./hopParams");
33
+ exports.EthBuildOptions = t.intersection([
34
+ accountBaseBuildOptions_1.AccountBaseBuildOptions,
35
+ t.type({
36
+ feeOptions: (0, utils_1.Optional)(t.union([feeOption_1.FeeOption, eip1559FeeOptions_1.EIP1559FeeOptions])),
37
+ hopParams: (0, utils_1.Optional)(hopParams_1.HopParams),
38
+ receiveAddress: utils_1.optionalString,
39
+ senderAddressIndex: utils_1.optionalNumber,
40
+ }),
41
+ ]);
42
+ exports.EthBuildOptionsWithoutFeeOptions = t.intersection([
43
+ accountBaseBuildOptions_1.AccountBaseBuildOptions,
44
+ t.type({
45
+ hopParams: (0, utils_1.Optional)(hopParams_1.HopParams),
46
+ receiveAddress: utils_1.optionalString,
47
+ senderAddressIndex: utils_1.optionalNumber,
48
+ }),
49
+ ]);
50
+ //# sourceMappingURL=ethBuildOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ethBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/ethBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uEAAoE;AACpE,0CAA0E;AAC1E,2CAAwC;AACxC,2DAAwD;AACxD,2CAAwC;AAE3B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAS,EAAE,qCAAiB,CAAC,CAAC,CAAC;QAC7D,SAAS,EAAE,IAAA,gBAAQ,EAAC,qBAAS,CAAC;QAC9B,cAAc,EAAE,sBAAc;QAC9B,kBAAkB,EAAE,sBAAc;KACnC,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,gCAAgC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7D,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QACL,SAAS,EAAE,IAAA,gBAAQ,EAAC,qBAAS,CAAC;QAC9B,cAAc,EAAE,sBAAc;QAC9B,kBAAkB,EAAE,sBAAc;KACnC,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,63 @@
1
+ import * as t from "io-ts";
2
+ export declare const EthFillNonceIntent: 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
+ vote: t.LiteralC<"vote">;
18
+ createAccount: t.LiteralC<"createAccount">;
19
+ updateAccount: t.LiteralC<"updateAccount">;
20
+ addTrustLine: t.LiteralC<"addTrustLine">;
21
+ removeTrustLine: t.LiteralC<"removeTrustLine">;
22
+ signMessage: t.LiteralC<"signMessage">;
23
+ signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
24
+ enableToken: t.LiteralC<"enableToken">;
25
+ authorize: t.LiteralC<"authorize">;
26
+ acceleration: t.LiteralC<"acceleration">;
27
+ fillNonce: t.LiteralC<"fillNonce">;
28
+ walletRecovery: t.LiteralC<"walletRecovery">;
29
+ contractCall: t.LiteralC<"contractCall">;
30
+ deactivate: t.LiteralC<"deactivate">;
31
+ customTx: t.LiteralC<"customTx">;
32
+ }>;
33
+ sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
34
+ comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
35
+ }>, t.TypeC<{
36
+ intentType: t.LiteralC<"fillNonce">;
37
+ nonce: t.UnionC<[t.StringC, t.NumberC]>;
38
+ }>]>, t.TypeC<{
39
+ feeOptions: t.UnionC<[t.Type<{
40
+ gasLimit: number | undefined;
41
+ maxFeePerGas: number | undefined;
42
+ maxPriorityFeePerGas: number | undefined;
43
+ } | {
44
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
45
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
46
+ feeType: "max" | "base" | "tip" | undefined;
47
+ gasLimit: number | undefined;
48
+ gasPrice: number | undefined;
49
+ }, {
50
+ gasLimit: number | undefined;
51
+ maxFeePerGas: number | undefined;
52
+ maxPriorityFeePerGas: number | undefined;
53
+ } | {
54
+ unit: "baseUnit" | "cpu" | "ram" | undefined;
55
+ formula: "fixed" | "feeRate" | "perKB" | "custom" | "perVKB" | undefined;
56
+ feeType: "max" | "base" | "tip" | undefined;
57
+ gasLimit: number | undefined;
58
+ gasPrice: number | undefined;
59
+ }, unknown>, t.UndefinedC]>;
60
+ receiveAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
61
+ senderAddressIndex: t.UnionC<[t.Type<number, number, unknown>, t.UndefinedC]>;
62
+ }>]>;
63
+ export type EthFillNonceIntent = t.TypeOf<typeof EthFillNonceIntent>;
@@ -0,0 +1,40 @@
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.EthFillNonceIntent = void 0;
27
+ const t = __importStar(require("io-ts"));
28
+ const fillNonceIntent_1 = require("./fillNonceIntent");
29
+ const utils_1 = require("../../../utils");
30
+ const feeOption_1 = require("./feeOption");
31
+ const eip1559FeeOptions_1 = require("./eip1559FeeOptions");
32
+ exports.EthFillNonceIntent = t.intersection([
33
+ fillNonceIntent_1.FillNonceIntent,
34
+ t.type({
35
+ feeOptions: (0, utils_1.Optional)(t.union([feeOption_1.FeeOption, eip1559FeeOptions_1.EIP1559FeeOptions])),
36
+ receiveAddress: utils_1.optionalString,
37
+ senderAddressIndex: utils_1.optionalNumber,
38
+ }),
39
+ ]);
40
+ //# sourceMappingURL=ethFillNonceIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ethFillNonceIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/ethFillNonceIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,0CAA0E;AAC1E,2CAAwC;AACxC,2DAAwD;AAE3C,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IAGf,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAS,EAAE,qCAAiB,CAAC,CAAC,CAAC;QAC7D,cAAc,EAAE,sBAAc;QAC9B,kBAAkB,EAAE,sBAAc;KACnC,CAAC;CACH,CAAC,CAAC"}