@chainflip/processor 1.5.2 → 1.5.4

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 (303) hide show
  1. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  2. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  3. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  4. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  5. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
  6. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
  7. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
  8. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
  9. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
  10. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
  11. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  12. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  13. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  15. package/dist/100/common.cjs +12 -12
  16. package/dist/100/common.d.cts +64 -28
  17. package/dist/100/common.d.ts +64 -28
  18. package/dist/100/common.mjs +12 -12
  19. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +20 -20
  20. package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +20 -20
  21. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  22. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
  23. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  24. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  25. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  26. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  27. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
  28. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
  29. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  30. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  31. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  32. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  33. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  34. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  35. package/dist/100/funding/funded.d.cts +2 -2
  36. package/dist/100/funding/funded.d.ts +2 -2
  37. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  38. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  39. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
  40. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
  41. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  42. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  43. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
  44. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
  45. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  46. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  47. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
  48. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
  49. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  50. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  51. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
  52. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
  53. package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  54. package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  55. package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
  56. package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
  57. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
  58. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
  59. package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
  60. package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
  61. package/dist/100/swapping/ccmDepositReceived.d.cts +39 -21
  62. package/dist/100/swapping/ccmDepositReceived.d.ts +39 -21
  63. package/dist/100/swapping/ccmFailed.d.cts +35 -17
  64. package/dist/100/swapping/ccmFailed.d.ts +35 -17
  65. package/dist/100/swapping/swapAmountTooLow.d.cts +76 -40
  66. package/dist/100/swapping/swapAmountTooLow.d.ts +76 -40
  67. package/dist/100/swapping/swapDepositAddressReady.d.cts +76 -40
  68. package/dist/100/swapping/swapDepositAddressReady.d.ts +76 -40
  69. package/dist/100/swapping/swapScheduled.d.cts +78 -42
  70. package/dist/100/swapping/swapScheduled.d.ts +78 -42
  71. package/dist/100/swapping/withdrawalRequested.d.cts +35 -17
  72. package/dist/100/swapping/withdrawalRequested.d.ts +35 -17
  73. package/dist/100/tokenholderGovernance/proposalEnacted.d.cts +8 -8
  74. package/dist/100/tokenholderGovernance/proposalEnacted.d.ts +8 -8
  75. package/dist/100/tokenholderGovernance/proposalPassed.d.cts +8 -8
  76. package/dist/100/tokenholderGovernance/proposalPassed.d.ts +8 -8
  77. package/dist/100/tokenholderGovernance/proposalRejected.d.cts +8 -8
  78. package/dist/100/tokenholderGovernance/proposalRejected.d.ts +8 -8
  79. package/dist/100/tokenholderGovernance/proposalSubmitted.d.cts +8 -8
  80. package/dist/100/tokenholderGovernance/proposalSubmitted.d.ts +8 -8
  81. package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
  82. package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
  83. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
  84. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
  85. package/dist/120/common.cjs +12 -12
  86. package/dist/120/common.d.cts +29 -11
  87. package/dist/120/common.d.ts +29 -11
  88. package/dist/120/common.mjs +12 -12
  89. package/dist/120/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  90. package/dist/120/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  91. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +39 -21
  92. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +39 -21
  93. package/dist/120/swapping/ccmFailed.d.cts +35 -17
  94. package/dist/120/swapping/ccmFailed.d.ts +35 -17
  95. package/dist/120/swapping/withdrawalRequested.d.cts +35 -17
  96. package/dist/120/swapping/withdrawalRequested.d.ts +35 -17
  97. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  98. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  99. package/dist/131/common.cjs +12 -12
  100. package/dist/131/common.d.cts +64 -28
  101. package/dist/131/common.d.ts +64 -28
  102. package/dist/131/common.mjs +12 -12
  103. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
  104. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
  105. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
  106. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
  107. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
  108. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
  109. package/dist/131/reputation/offencePenalty.d.cts +2 -2
  110. package/dist/131/reputation/offencePenalty.d.ts +2 -2
  111. package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
  112. package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
  113. package/dist/131/swapping/ccmFailed.d.cts +76 -40
  114. package/dist/131/swapping/ccmFailed.d.ts +76 -40
  115. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  116. package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
  117. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  118. package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
  119. package/dist/131/swapping/swapDepositAddressReady.d.cts +88 -52
  120. package/dist/131/swapping/swapDepositAddressReady.d.ts +88 -52
  121. package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
  122. package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
  123. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  124. package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
  125. package/dist/131/swapping/swapExecuted.d.cts +12 -12
  126. package/dist/131/swapping/swapExecuted.d.ts +12 -12
  127. package/dist/131/swapping/swapScheduled.d.cts +90 -54
  128. package/dist/131/swapping/swapScheduled.d.ts +90 -54
  129. package/dist/131/swapping/withdrawalRequested.d.cts +41 -23
  130. package/dist/131/swapping/withdrawalRequested.d.ts +41 -23
  131. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
  132. package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
  133. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  134. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  135. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
  136. package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
  137. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
  138. package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
  139. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
  140. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
  141. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  142. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  143. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  144. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
  145. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  146. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  147. package/dist/141/common.cjs +16 -16
  148. package/dist/141/common.d.cts +84 -36
  149. package/dist/141/common.d.ts +84 -36
  150. package/dist/141/common.mjs +16 -16
  151. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +46 -22
  152. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +46 -22
  153. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  154. package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  155. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +46 -22
  156. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +46 -22
  157. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
  158. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
  159. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  160. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  161. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
  162. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
  163. package/dist/141/swapping/ccmDepositReceived.d.cts +46 -22
  164. package/dist/141/swapping/ccmDepositReceived.d.ts +46 -22
  165. package/dist/141/swapping/ccmFailed.d.cts +100 -52
  166. package/dist/141/swapping/ccmFailed.d.ts +100 -52
  167. package/dist/141/swapping/swapDepositAddressReady.d.cts +92 -44
  168. package/dist/141/swapping/swapDepositAddressReady.d.ts +92 -44
  169. package/dist/141/swapping/swapScheduled.d.cts +100 -52
  170. package/dist/141/swapping/swapScheduled.d.ts +100 -52
  171. package/dist/141/swapping/withdrawalRequested.d.cts +46 -22
  172. package/dist/141/swapping/withdrawalRequested.d.ts +46 -22
  173. package/dist/150/assetBalances/refundScheduled.d.cts +50 -50
  174. package/dist/150/assetBalances/refundScheduled.d.ts +50 -50
  175. package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
  176. package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
  177. package/dist/150/common.cjs +20 -20
  178. package/dist/150/common.d.cts +164 -74
  179. package/dist/150/common.d.ts +164 -74
  180. package/dist/150/common.mjs +20 -20
  181. package/dist/150/liquidityPools/limitOrderUpdated.d.cts +10 -10
  182. package/dist/150/liquidityPools/limitOrderUpdated.d.ts +10 -10
  183. package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  184. package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +10 -10
  185. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +58 -28
  186. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +58 -28
  187. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
  188. package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
  189. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
  190. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
  191. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  192. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  193. package/dist/150/swapping/ccmDepositReceived.d.cts +136 -106
  194. package/dist/150/swapping/ccmDepositReceived.d.ts +136 -106
  195. package/dist/150/swapping/ccmFailed.d.cts +217 -157
  196. package/dist/150/swapping/ccmFailed.d.ts +217 -157
  197. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  198. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  199. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  200. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  201. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  202. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  203. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  204. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  205. package/dist/150/swapping/swapDepositAddressReady.d.cts +225 -135
  206. package/dist/150/swapping/swapDepositAddressReady.d.ts +225 -135
  207. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  208. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  209. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  210. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  211. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  212. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  213. package/dist/150/swapping/swapScheduled.d.cts +241 -181
  214. package/dist/150/swapping/swapScheduled.d.ts +241 -181
  215. package/dist/150/swapping/withdrawalRequested.d.cts +72 -42
  216. package/dist/150/swapping/withdrawalRequested.d.ts +72 -42
  217. package/dist/150/tokenholderGovernance/proposalEnacted.d.cts +8 -8
  218. package/dist/150/tokenholderGovernance/proposalEnacted.d.ts +8 -8
  219. package/dist/150/tokenholderGovernance/proposalPassed.d.cts +8 -8
  220. package/dist/150/tokenholderGovernance/proposalPassed.d.ts +8 -8
  221. package/dist/150/tokenholderGovernance/proposalRejected.d.cts +8 -8
  222. package/dist/150/tokenholderGovernance/proposalRejected.d.ts +8 -8
  223. package/dist/150/tokenholderGovernance/proposalSubmitted.d.cts +8 -8
  224. package/dist/150/tokenholderGovernance/proposalSubmitted.d.ts +8 -8
  225. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
  226. package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
  227. package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
  228. package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
  229. package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
  230. package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
  231. package/dist/160/common.cjs +23 -23
  232. package/dist/160/common.d.cts +273 -256
  233. package/dist/160/common.d.ts +273 -256
  234. package/dist/160/common.mjs +23 -23
  235. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  236. package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  237. package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +10 -10
  238. package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +10 -10
  239. package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +4 -4
  240. package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +4 -4
  241. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +2 -2
  242. package/dist/160/liquidityPools/limitOrderUpdated.d.ts +2 -2
  243. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +2 -2
  244. package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +2 -2
  245. package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
  246. package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
  247. package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
  248. package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
  249. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +62 -32
  250. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +62 -32
  251. package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  252. package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  253. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
  254. package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
  255. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  256. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  257. package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  258. package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
  259. package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +6 -6
  260. package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
  261. package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  262. package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
  263. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +14 -14
  264. package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +14 -14
  265. package/dist/160/solanaIngressEgress/depositBoosted.d.cts +4 -4
  266. package/dist/160/solanaIngressEgress/depositBoosted.d.ts +4 -4
  267. package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
  268. package/dist/160/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
  269. package/dist/160/solanaIngressEgress/depositFinalised.d.cts +5 -5
  270. package/dist/160/solanaIngressEgress/depositFinalised.d.ts +5 -5
  271. package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
  272. package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
  273. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +12 -12
  274. package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +12 -12
  275. package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  276. package/dist/160/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  277. package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
  278. package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
  279. package/dist/160/swapping/ccmFailed.d.cts +126 -66
  280. package/dist/160/swapping/ccmFailed.d.ts +126 -66
  281. package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
  282. package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
  283. package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
  284. package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
  285. package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
  286. package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
  287. package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
  288. package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
  289. package/dist/160/swapping/swapDepositAddressReady.cjs +1 -1
  290. package/dist/160/swapping/swapDepositAddressReady.d.cts +194 -275
  291. package/dist/160/swapping/swapDepositAddressReady.d.ts +194 -275
  292. package/dist/160/swapping/swapDepositAddressReady.mjs +2 -2
  293. package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
  294. package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
  295. package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
  296. package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
  297. package/dist/160/swapping/swapExecuted.d.cts +12 -12
  298. package/dist/160/swapping/swapExecuted.d.ts +12 -12
  299. package/dist/160/swapping/swapRequested.d.cts +218 -128
  300. package/dist/160/swapping/swapRequested.d.ts +218 -128
  301. package/dist/160/swapping/withdrawalRequested.d.cts +64 -34
  302. package/dist/160/swapping/withdrawalRequested.d.ts +64 -34
  303. package/package.json +1 -1
@@ -24,13 +24,14 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
24
24
  }>;
25
25
  amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
26
26
  }, "strip", z.ZodTypeAny, {
27
+ amount: bigint;
27
28
  boosterId: string;
28
29
  boostPool: {
29
30
  asset: "Btc";
30
31
  tier: number;
31
32
  };
32
- amount: bigint;
33
33
  }, {
34
+ amount: string | number;
34
35
  boosterId: string;
35
36
  boostPool: {
36
37
  asset: {
@@ -38,7 +39,6 @@ declare const bitcoinIngressEgressBoostFundsAdded: z.ZodObject<{
38
39
  };
39
40
  tier: number;
40
41
  };
41
- amount: string | number;
42
42
  }>;
43
43
 
44
44
  export { bitcoinIngressEgressBoostFundsAdded };
@@ -130,7 +130,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
130
130
  prewitnessedDepositId: string | number;
131
131
  }>]>;
132
132
  }, "strip", z.ZodTypeAny, {
133
- asset: "Btc";
134
133
  depositAddress: {
135
134
  value: `0x${string}`;
136
135
  __kind: "P2PKH";
@@ -153,6 +152,7 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
153
152
  };
154
153
  channelId: bigint;
155
154
  prewitnessedDepositId: bigint;
155
+ asset: "Btc";
156
156
  amounts: [number, bigint][];
157
157
  depositDetails: {
158
158
  txId: `0x${string}`;
@@ -177,9 +177,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
177
177
  prewitnessedDepositId: bigint;
178
178
  };
179
179
  }, {
180
- asset: {
181
- __kind: "Btc";
182
- };
183
180
  depositAddress: {
184
181
  value: string;
185
182
  __kind: "P2PKH";
@@ -202,6 +199,9 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
202
199
  };
203
200
  channelId: string | number;
204
201
  prewitnessedDepositId: string | number;
202
+ asset: {
203
+ __kind: "Btc";
204
+ };
205
205
  amounts: [number, string | number][];
206
206
  depositDetails: {
207
207
  txId: string;
@@ -130,7 +130,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
130
130
  prewitnessedDepositId: string | number;
131
131
  }>]>;
132
132
  }, "strip", z.ZodTypeAny, {
133
- asset: "Btc";
134
133
  depositAddress: {
135
134
  value: `0x${string}`;
136
135
  __kind: "P2PKH";
@@ -153,6 +152,7 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
153
152
  };
154
153
  channelId: bigint;
155
154
  prewitnessedDepositId: bigint;
155
+ asset: "Btc";
156
156
  amounts: [number, bigint][];
157
157
  depositDetails: {
158
158
  txId: `0x${string}`;
@@ -177,9 +177,6 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
177
177
  prewitnessedDepositId: bigint;
178
178
  };
179
179
  }, {
180
- asset: {
181
- __kind: "Btc";
182
- };
183
180
  depositAddress: {
184
181
  value: string;
185
182
  __kind: "P2PKH";
@@ -202,6 +199,9 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
202
199
  };
203
200
  channelId: string | number;
204
201
  prewitnessedDepositId: string | number;
202
+ asset: {
203
+ __kind: "Btc";
204
+ };
205
205
  amounts: [number, string | number][];
206
206
  depositDetails: {
207
207
  txId: string;
@@ -128,7 +128,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
128
128
  }>]>;
129
129
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
130
130
  }, "strip", z.ZodTypeAny, {
131
- asset: "Btc";
132
131
  amount: bigint;
133
132
  depositAddress: {
134
133
  value: `0x${string}`;
@@ -151,6 +150,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
151
150
  program: `0x${string}`;
152
151
  };
153
152
  channelId: bigint;
153
+ asset: "Btc";
154
154
  depositDetails: {
155
155
  txId: `0x${string}`;
156
156
  vout: number;
@@ -173,9 +173,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
173
173
  prewitnessedDepositId: bigint;
174
174
  };
175
175
  }, {
176
- asset: {
177
- __kind: "Btc";
178
- };
179
176
  amount: string | number;
180
177
  depositAddress: {
181
178
  value: string;
@@ -198,6 +195,9 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
198
195
  program: string;
199
196
  };
200
197
  channelId: string | number;
198
+ asset: {
199
+ __kind: "Btc";
200
+ };
201
201
  depositDetails: {
202
202
  txId: string;
203
203
  vout: number;
@@ -128,7 +128,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
128
128
  }>]>;
129
129
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
130
130
  }, "strip", z.ZodTypeAny, {
131
- asset: "Btc";
132
131
  amount: bigint;
133
132
  depositAddress: {
134
133
  value: `0x${string}`;
@@ -151,6 +150,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
151
150
  program: `0x${string}`;
152
151
  };
153
152
  channelId: bigint;
153
+ asset: "Btc";
154
154
  depositDetails: {
155
155
  txId: `0x${string}`;
156
156
  vout: number;
@@ -173,9 +173,6 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
173
173
  prewitnessedDepositId: bigint;
174
174
  };
175
175
  }, {
176
- asset: {
177
- __kind: "Btc";
178
- };
179
176
  amount: string | number;
180
177
  depositAddress: {
181
178
  value: string;
@@ -198,6 +195,9 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
198
195
  program: string;
199
196
  };
200
197
  channelId: string | number;
198
+ asset: {
199
+ __kind: "Btc";
200
+ };
201
201
  depositDetails: {
202
202
  txId: string;
203
203
  vout: number;
@@ -14,16 +14,16 @@ declare const bitcoinIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
14
14
  amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
15
15
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- asset: "Btc";
18
17
  channelId: bigint;
19
18
  prewitnessedDepositId: bigint;
19
+ asset: "Btc";
20
20
  amountAttempted: bigint;
21
21
  }, {
22
+ channelId: string | number;
23
+ prewitnessedDepositId: string | number;
22
24
  asset: {
23
25
  __kind: "Btc";
24
26
  };
25
- channelId: string | number;
26
- prewitnessedDepositId: string | number;
27
27
  amountAttempted: string | number;
28
28
  }>;
29
29
 
@@ -14,16 +14,16 @@ declare const bitcoinIngressEgressInsufficientBoostLiquidity: z.ZodObject<{
14
14
  amountAttempted: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
15
15
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- asset: "Btc";
18
17
  channelId: bigint;
19
18
  prewitnessedDepositId: bigint;
19
+ asset: "Btc";
20
20
  amountAttempted: bigint;
21
21
  }, {
22
+ channelId: string | number;
23
+ prewitnessedDepositId: string | number;
22
24
  asset: {
23
25
  __kind: "Btc";
24
26
  };
25
- channelId: string | number;
26
- prewitnessedDepositId: string | number;
27
27
  amountAttempted: string | number;
28
28
  }>;
29
29
 
@@ -196,22 +196,22 @@ var dispatchResult = _zod.z.union([
196
196
  _zod.z.object({ __kind: _zod.z.literal("Err"), value: spRuntimeDispatchError })
197
197
  ]);
198
198
  var cfChainsAddressEncodedAddress = _zod.z.union([
199
- _zod.z.object({
200
- __kind: _zod.z.literal("Eth").transform(() => "Ethereum"),
201
- value: hexString
202
- }),
203
- _zod.z.object({
204
- __kind: _zod.z.literal("Dot").transform(() => "Polkadot"),
205
- value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
206
- }),
207
- _zod.z.object({
208
- __kind: _zod.z.literal("Btc").transform(() => "Bitcoin"),
209
- value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
210
- }),
211
- _zod.z.object({
212
- __kind: _zod.z.literal("Arb").transform(() => "Arbitrum"),
213
- value: hexString
214
- })
199
+ _zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString }).transform(({ value }) => ({
200
+ chain: "Ethereum",
201
+ address: value
202
+ })),
203
+ _zod.z.object({ __kind: _zod.z.literal("Dot"), value: hexString }).transform(({ value }) => ({
204
+ chain: "Polkadot",
205
+ address: ss58.encode({ data: value, ss58Format: 0 })
206
+ })),
207
+ _zod.z.object({ __kind: _zod.z.literal("Btc"), value: hexString }).transform(({ value }) => ({
208
+ chain: "Bitcoin",
209
+ address: Buffer.from(value.slice(2), "hex").toString("utf8")
210
+ })),
211
+ _zod.z.object({ __kind: _zod.z.literal("Arb"), value: hexString }).transform(({ value }) => ({
212
+ chain: "Arbitrum",
213
+ address: value
214
+ }))
215
215
  ]);
216
216
  var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
217
217
  "Eth",
@@ -2422,42 +2422,66 @@ declare const dispatchResult: z.ZodUnion<[z.ZodObject<{
2422
2422
  __kind: "RootNotAllowed";
2423
2423
  };
2424
2424
  }>]>;
2425
- declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
2426
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
2425
+ declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2426
+ __kind: z.ZodLiteral<"Eth">;
2427
2427
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2428
2428
  }, "strip", z.ZodTypeAny, {
2429
- __kind: "Ethereum";
2429
+ __kind: "Eth";
2430
2430
  value: `0x${string}`;
2431
2431
  }, {
2432
2432
  __kind: "Eth";
2433
2433
  value: string;
2434
- }>, z.ZodObject<{
2435
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
2436
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2434
+ }>, {
2435
+ chain: "Ethereum";
2436
+ address: `0x${string}`;
2437
+ }, {
2438
+ __kind: "Eth";
2439
+ value: string;
2440
+ }>, z.ZodEffects<z.ZodObject<{
2441
+ __kind: z.ZodLiteral<"Dot">;
2442
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2437
2443
  }, "strip", z.ZodTypeAny, {
2438
- __kind: "Polkadot";
2444
+ __kind: "Dot";
2445
+ value: `0x${string}`;
2446
+ }, {
2447
+ __kind: "Dot";
2439
2448
  value: string;
2449
+ }>, {
2450
+ chain: "Polkadot";
2451
+ address: string;
2440
2452
  }, {
2441
2453
  __kind: "Dot";
2442
2454
  value: string;
2443
- }>, z.ZodObject<{
2444
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
2445
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2455
+ }>, z.ZodEffects<z.ZodObject<{
2456
+ __kind: z.ZodLiteral<"Btc">;
2457
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2446
2458
  }, "strip", z.ZodTypeAny, {
2447
- __kind: "Bitcoin";
2459
+ __kind: "Btc";
2460
+ value: `0x${string}`;
2461
+ }, {
2462
+ __kind: "Btc";
2448
2463
  value: string;
2464
+ }>, {
2465
+ chain: "Bitcoin";
2466
+ address: string;
2449
2467
  }, {
2450
2468
  __kind: "Btc";
2451
2469
  value: string;
2452
- }>, z.ZodObject<{
2453
- __kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
2470
+ }>, z.ZodEffects<z.ZodObject<{
2471
+ __kind: z.ZodLiteral<"Arb">;
2454
2472
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2455
2473
  }, "strip", z.ZodTypeAny, {
2456
- __kind: "Arbitrum";
2474
+ __kind: "Arb";
2457
2475
  value: `0x${string}`;
2458
2476
  }, {
2459
2477
  __kind: "Arb";
2460
2478
  value: string;
2479
+ }>, {
2480
+ chain: "Arbitrum";
2481
+ address: `0x${string}`;
2482
+ }, {
2483
+ __kind: "Arb";
2484
+ value: string;
2461
2485
  }>]>;
2462
2486
  declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
2463
2487
  __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
@@ -2493,59 +2517,83 @@ declare const cfPrimitivesBeneficiary: z.ZodObject<{
2493
2517
  }>;
2494
2518
  declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
2495
2519
  __kind: z.ZodLiteral<"DepositChannel">;
2496
- depositAddress: z.ZodUnion<[z.ZodObject<{
2497
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
2520
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2521
+ __kind: z.ZodLiteral<"Eth">;
2498
2522
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2499
2523
  }, "strip", z.ZodTypeAny, {
2500
- __kind: "Ethereum";
2524
+ __kind: "Eth";
2501
2525
  value: `0x${string}`;
2502
2526
  }, {
2503
2527
  __kind: "Eth";
2504
2528
  value: string;
2505
- }>, z.ZodObject<{
2506
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
2507
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2529
+ }>, {
2530
+ chain: "Ethereum";
2531
+ address: `0x${string}`;
2532
+ }, {
2533
+ __kind: "Eth";
2534
+ value: string;
2535
+ }>, z.ZodEffects<z.ZodObject<{
2536
+ __kind: z.ZodLiteral<"Dot">;
2537
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2508
2538
  }, "strip", z.ZodTypeAny, {
2509
- __kind: "Polkadot";
2539
+ __kind: "Dot";
2540
+ value: `0x${string}`;
2541
+ }, {
2542
+ __kind: "Dot";
2510
2543
  value: string;
2544
+ }>, {
2545
+ chain: "Polkadot";
2546
+ address: string;
2511
2547
  }, {
2512
2548
  __kind: "Dot";
2513
2549
  value: string;
2514
- }>, z.ZodObject<{
2515
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
2516
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2550
+ }>, z.ZodEffects<z.ZodObject<{
2551
+ __kind: z.ZodLiteral<"Btc">;
2552
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2517
2553
  }, "strip", z.ZodTypeAny, {
2518
- __kind: "Bitcoin";
2554
+ __kind: "Btc";
2555
+ value: `0x${string}`;
2556
+ }, {
2557
+ __kind: "Btc";
2519
2558
  value: string;
2559
+ }>, {
2560
+ chain: "Bitcoin";
2561
+ address: string;
2520
2562
  }, {
2521
2563
  __kind: "Btc";
2522
2564
  value: string;
2523
- }>, z.ZodObject<{
2524
- __kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
2565
+ }>, z.ZodEffects<z.ZodObject<{
2566
+ __kind: z.ZodLiteral<"Arb">;
2525
2567
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2526
2568
  }, "strip", z.ZodTypeAny, {
2527
- __kind: "Arbitrum";
2569
+ __kind: "Arb";
2528
2570
  value: `0x${string}`;
2529
2571
  }, {
2530
2572
  __kind: "Arb";
2531
2573
  value: string;
2574
+ }>, {
2575
+ chain: "Arbitrum";
2576
+ address: `0x${string}`;
2577
+ }, {
2578
+ __kind: "Arb";
2579
+ value: string;
2532
2580
  }>]>;
2533
2581
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2534
2582
  depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2535
2583
  }, "strip", z.ZodTypeAny, {
2536
2584
  __kind: "DepositChannel";
2537
2585
  depositAddress: {
2538
- __kind: "Ethereum";
2539
- value: `0x${string}`;
2586
+ chain: "Ethereum";
2587
+ address: `0x${string}`;
2540
2588
  } | {
2541
- __kind: "Polkadot";
2542
- value: string;
2589
+ chain: "Polkadot";
2590
+ address: string;
2543
2591
  } | {
2544
- __kind: "Bitcoin";
2545
- value: string;
2592
+ chain: "Bitcoin";
2593
+ address: string;
2546
2594
  } | {
2547
- __kind: "Arbitrum";
2548
- value: `0x${string}`;
2595
+ chain: "Arbitrum";
2596
+ address: `0x${string}`;
2549
2597
  };
2550
2598
  channelId: bigint;
2551
2599
  depositBlockHeight: bigint;
@@ -2422,42 +2422,66 @@ declare const dispatchResult: z.ZodUnion<[z.ZodObject<{
2422
2422
  __kind: "RootNotAllowed";
2423
2423
  };
2424
2424
  }>]>;
2425
- declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
2426
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
2425
+ declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2426
+ __kind: z.ZodLiteral<"Eth">;
2427
2427
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2428
2428
  }, "strip", z.ZodTypeAny, {
2429
- __kind: "Ethereum";
2429
+ __kind: "Eth";
2430
2430
  value: `0x${string}`;
2431
2431
  }, {
2432
2432
  __kind: "Eth";
2433
2433
  value: string;
2434
- }>, z.ZodObject<{
2435
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
2436
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2434
+ }>, {
2435
+ chain: "Ethereum";
2436
+ address: `0x${string}`;
2437
+ }, {
2438
+ __kind: "Eth";
2439
+ value: string;
2440
+ }>, z.ZodEffects<z.ZodObject<{
2441
+ __kind: z.ZodLiteral<"Dot">;
2442
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2437
2443
  }, "strip", z.ZodTypeAny, {
2438
- __kind: "Polkadot";
2444
+ __kind: "Dot";
2445
+ value: `0x${string}`;
2446
+ }, {
2447
+ __kind: "Dot";
2439
2448
  value: string;
2449
+ }>, {
2450
+ chain: "Polkadot";
2451
+ address: string;
2440
2452
  }, {
2441
2453
  __kind: "Dot";
2442
2454
  value: string;
2443
- }>, z.ZodObject<{
2444
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
2445
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2455
+ }>, z.ZodEffects<z.ZodObject<{
2456
+ __kind: z.ZodLiteral<"Btc">;
2457
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2446
2458
  }, "strip", z.ZodTypeAny, {
2447
- __kind: "Bitcoin";
2459
+ __kind: "Btc";
2460
+ value: `0x${string}`;
2461
+ }, {
2462
+ __kind: "Btc";
2448
2463
  value: string;
2464
+ }>, {
2465
+ chain: "Bitcoin";
2466
+ address: string;
2449
2467
  }, {
2450
2468
  __kind: "Btc";
2451
2469
  value: string;
2452
- }>, z.ZodObject<{
2453
- __kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
2470
+ }>, z.ZodEffects<z.ZodObject<{
2471
+ __kind: z.ZodLiteral<"Arb">;
2454
2472
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2455
2473
  }, "strip", z.ZodTypeAny, {
2456
- __kind: "Arbitrum";
2474
+ __kind: "Arb";
2457
2475
  value: `0x${string}`;
2458
2476
  }, {
2459
2477
  __kind: "Arb";
2460
2478
  value: string;
2479
+ }>, {
2480
+ chain: "Arbitrum";
2481
+ address: `0x${string}`;
2482
+ }, {
2483
+ __kind: "Arb";
2484
+ value: string;
2461
2485
  }>]>;
2462
2486
  declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
2463
2487
  __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
@@ -2493,59 +2517,83 @@ declare const cfPrimitivesBeneficiary: z.ZodObject<{
2493
2517
  }>;
2494
2518
  declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
2495
2519
  __kind: z.ZodLiteral<"DepositChannel">;
2496
- depositAddress: z.ZodUnion<[z.ZodObject<{
2497
- __kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
2520
+ depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2521
+ __kind: z.ZodLiteral<"Eth">;
2498
2522
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2499
2523
  }, "strip", z.ZodTypeAny, {
2500
- __kind: "Ethereum";
2524
+ __kind: "Eth";
2501
2525
  value: `0x${string}`;
2502
2526
  }, {
2503
2527
  __kind: "Eth";
2504
2528
  value: string;
2505
- }>, z.ZodObject<{
2506
- __kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
2507
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2529
+ }>, {
2530
+ chain: "Ethereum";
2531
+ address: `0x${string}`;
2532
+ }, {
2533
+ __kind: "Eth";
2534
+ value: string;
2535
+ }>, z.ZodEffects<z.ZodObject<{
2536
+ __kind: z.ZodLiteral<"Dot">;
2537
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2508
2538
  }, "strip", z.ZodTypeAny, {
2509
- __kind: "Polkadot";
2539
+ __kind: "Dot";
2540
+ value: `0x${string}`;
2541
+ }, {
2542
+ __kind: "Dot";
2510
2543
  value: string;
2544
+ }>, {
2545
+ chain: "Polkadot";
2546
+ address: string;
2511
2547
  }, {
2512
2548
  __kind: "Dot";
2513
2549
  value: string;
2514
- }>, z.ZodObject<{
2515
- __kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
2516
- value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
2550
+ }>, z.ZodEffects<z.ZodObject<{
2551
+ __kind: z.ZodLiteral<"Btc">;
2552
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2517
2553
  }, "strip", z.ZodTypeAny, {
2518
- __kind: "Bitcoin";
2554
+ __kind: "Btc";
2555
+ value: `0x${string}`;
2556
+ }, {
2557
+ __kind: "Btc";
2519
2558
  value: string;
2559
+ }>, {
2560
+ chain: "Bitcoin";
2561
+ address: string;
2520
2562
  }, {
2521
2563
  __kind: "Btc";
2522
2564
  value: string;
2523
- }>, z.ZodObject<{
2524
- __kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
2565
+ }>, z.ZodEffects<z.ZodObject<{
2566
+ __kind: z.ZodLiteral<"Arb">;
2525
2567
  value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2526
2568
  }, "strip", z.ZodTypeAny, {
2527
- __kind: "Arbitrum";
2569
+ __kind: "Arb";
2528
2570
  value: `0x${string}`;
2529
2571
  }, {
2530
2572
  __kind: "Arb";
2531
2573
  value: string;
2574
+ }>, {
2575
+ chain: "Arbitrum";
2576
+ address: `0x${string}`;
2577
+ }, {
2578
+ __kind: "Arb";
2579
+ value: string;
2532
2580
  }>]>;
2533
2581
  channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2534
2582
  depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2535
2583
  }, "strip", z.ZodTypeAny, {
2536
2584
  __kind: "DepositChannel";
2537
2585
  depositAddress: {
2538
- __kind: "Ethereum";
2539
- value: `0x${string}`;
2586
+ chain: "Ethereum";
2587
+ address: `0x${string}`;
2540
2588
  } | {
2541
- __kind: "Polkadot";
2542
- value: string;
2589
+ chain: "Polkadot";
2590
+ address: string;
2543
2591
  } | {
2544
- __kind: "Bitcoin";
2545
- value: string;
2592
+ chain: "Bitcoin";
2593
+ address: string;
2546
2594
  } | {
2547
- __kind: "Arbitrum";
2548
- value: `0x${string}`;
2595
+ chain: "Arbitrum";
2596
+ address: `0x${string}`;
2549
2597
  };
2550
2598
  channelId: bigint;
2551
2599
  depositBlockHeight: bigint;
@@ -196,22 +196,22 @@ var dispatchResult = z.union([
196
196
  z.object({ __kind: z.literal("Err"), value: spRuntimeDispatchError })
197
197
  ]);
198
198
  var cfChainsAddressEncodedAddress = z.union([
199
- z.object({
200
- __kind: z.literal("Eth").transform(() => "Ethereum"),
201
- value: hexString
202
- }),
203
- z.object({
204
- __kind: z.literal("Dot").transform(() => "Polkadot"),
205
- value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
206
- }),
207
- z.object({
208
- __kind: z.literal("Btc").transform(() => "Bitcoin"),
209
- value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
210
- }),
211
- z.object({
212
- __kind: z.literal("Arb").transform(() => "Arbitrum"),
213
- value: hexString
214
- })
199
+ z.object({ __kind: z.literal("Eth"), value: hexString }).transform(({ value }) => ({
200
+ chain: "Ethereum",
201
+ address: value
202
+ })),
203
+ z.object({ __kind: z.literal("Dot"), value: hexString }).transform(({ value }) => ({
204
+ chain: "Polkadot",
205
+ address: ss58.encode({ data: value, ss58Format: 0 })
206
+ })),
207
+ z.object({ __kind: z.literal("Btc"), value: hexString }).transform(({ value }) => ({
208
+ chain: "Bitcoin",
209
+ address: Buffer.from(value.slice(2), "hex").toString("utf8")
210
+ })),
211
+ z.object({ __kind: z.literal("Arb"), value: hexString }).transform(({ value }) => ({
212
+ chain: "Arbitrum",
213
+ address: value
214
+ }))
215
215
  ]);
216
216
  var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
217
217
  "Eth",