@chainflip/processor 1.7.0 → 1.7.2

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 (319) hide show
  1. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  2. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  3. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  4. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  5. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  6. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  7. package/dist/100/funding/funded.d.cts +2 -2
  8. package/dist/100/funding/funded.d.ts +2 -2
  9. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  10. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  11. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
  12. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
  13. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  14. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  15. package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
  16. package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
  17. package/dist/100/swapping/ccmDepositReceived.d.cts +70 -70
  18. package/dist/100/swapping/ccmDepositReceived.d.ts +70 -70
  19. package/dist/100/swapping/ccmFailed.d.cts +70 -70
  20. package/dist/100/swapping/ccmFailed.d.ts +70 -70
  21. package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
  22. package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
  23. package/dist/100/swapping/swapAmountTooLow.d.cts +37 -37
  24. package/dist/100/swapping/swapAmountTooLow.d.ts +37 -37
  25. package/dist/100/swapping/swapDepositAddressReady.d.cts +42 -42
  26. package/dist/100/swapping/swapDepositAddressReady.d.ts +42 -42
  27. package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
  28. package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
  29. package/dist/100/swapping/swapExecuted.d.cts +12 -12
  30. package/dist/100/swapping/swapExecuted.d.ts +12 -12
  31. package/dist/100/swapping/swapScheduled.d.cts +109 -109
  32. package/dist/100/swapping/swapScheduled.d.ts +109 -109
  33. package/dist/100/swapping/withdrawalRequested.d.cts +12 -12
  34. package/dist/100/swapping/withdrawalRequested.d.ts +12 -12
  35. package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
  36. package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
  37. package/dist/120/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
  38. package/dist/120/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
  39. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +4 -4
  40. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +4 -4
  41. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  42. package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  43. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
  44. package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
  45. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  46. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
  47. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  48. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
  49. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  50. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  51. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  52. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
  53. package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
  54. package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
  55. package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
  56. package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
  57. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
  58. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
  59. package/dist/150/ethereumIngressEgress/depositBoosted.d.cts +10 -10
  60. package/dist/150/ethereumIngressEgress/depositBoosted.d.ts +10 -10
  61. package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +4 -4
  62. package/dist/150/ethereumIngressEgress/depositFinalised.d.ts +4 -4
  63. package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +16 -16
  64. package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.ts +16 -16
  65. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  66. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  67. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  68. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  69. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  70. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  71. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  72. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  73. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  74. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  75. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  76. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  77. package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
  78. package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
  79. package/dist/150/swapping/ccmDepositReceived.d.cts +90 -90
  80. package/dist/150/swapping/ccmDepositReceived.d.ts +90 -90
  81. package/dist/150/swapping/ccmFailed.d.cts +115 -115
  82. package/dist/150/swapping/ccmFailed.d.ts +115 -115
  83. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  84. package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
  85. package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
  86. package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
  87. package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
  88. package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
  89. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  90. package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
  91. package/dist/150/swapping/swapDepositAddressReady.d.cts +77 -77
  92. package/dist/150/swapping/swapDepositAddressReady.d.ts +77 -77
  93. package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
  94. package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
  95. package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
  96. package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
  97. package/dist/150/swapping/swapExecuted.d.cts +94 -94
  98. package/dist/150/swapping/swapExecuted.d.ts +94 -94
  99. package/dist/150/swapping/swapScheduled.d.cts +139 -139
  100. package/dist/150/swapping/swapScheduled.d.ts +139 -139
  101. package/dist/150/swapping/withdrawalRequested.d.cts +26 -26
  102. package/dist/150/swapping/withdrawalRequested.d.ts +26 -26
  103. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
  104. package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
  105. package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  106. package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
  107. package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  108. package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
  109. package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
  110. package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
  111. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  112. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  113. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  114. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  115. package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  116. package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
  117. package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +6 -6
  118. package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
  119. package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.cts +2 -2
  120. package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.ts +2 -2
  121. package/dist/170/arbitrumIngressEgress/ccmFailed.d.cts +101 -101
  122. package/dist/170/arbitrumIngressEgress/ccmFailed.d.ts +101 -101
  123. package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.cjs +10 -0
  124. package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.d.cts +46 -0
  125. package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.d.ts +46 -0
  126. package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.mjs +10 -0
  127. package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.cjs +7 -0
  128. package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
  129. package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
  130. package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.mjs +7 -0
  131. package/dist/170/arbitrumIngressEgress/depositIgnored.cjs +19 -0
  132. package/dist/170/arbitrumIngressEgress/depositIgnored.d.cts +53 -0
  133. package/dist/170/arbitrumIngressEgress/depositIgnored.d.ts +53 -0
  134. package/dist/170/arbitrumIngressEgress/depositIgnored.mjs +19 -0
  135. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  136. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
  137. package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.cjs +10 -0
  138. package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.d.cts +24 -0
  139. package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.d.ts +24 -0
  140. package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.mjs +10 -0
  141. package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.cjs +9 -0
  142. package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.d.cts +21 -0
  143. package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.d.ts +21 -0
  144. package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.mjs +9 -0
  145. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
  146. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
  147. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
  148. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
  149. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
  150. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
  151. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
  152. package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
  153. package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.cjs +9 -0
  154. package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.d.cts +38 -0
  155. package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.d.ts +38 -0
  156. package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.mjs +9 -0
  157. package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.cjs +10 -0
  158. package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.d.cts +46 -0
  159. package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.d.ts +46 -0
  160. package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.mjs +10 -0
  161. package/dist/170/bitcoinIngressEgress/depositBoosted.cjs +24 -0
  162. package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +342 -0
  163. package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +342 -0
  164. package/dist/170/bitcoinIngressEgress/depositBoosted.mjs +24 -0
  165. package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.cjs +7 -0
  166. package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
  167. package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
  168. package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.mjs +7 -0
  169. package/dist/170/bitcoinIngressEgress/depositFinalised.cjs +22 -0
  170. package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +336 -0
  171. package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +336 -0
  172. package/dist/170/bitcoinIngressEgress/depositFinalised.mjs +22 -0
  173. package/dist/170/bitcoinIngressEgress/depositIgnored.cjs +19 -0
  174. package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +267 -0
  175. package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +267 -0
  176. package/dist/170/bitcoinIngressEgress/depositIgnored.mjs +19 -0
  177. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.cjs +10 -0
  178. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +564 -0
  179. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +564 -0
  180. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.mjs +10 -0
  181. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.cjs +10 -0
  182. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +143 -0
  183. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +143 -0
  184. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.mjs +10 -0
  185. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.cjs +7 -0
  186. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +140 -0
  187. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +140 -0
  188. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.mjs +7 -0
  189. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
  190. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
  191. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
  192. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
  193. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
  194. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
  195. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
  196. package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
  197. package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.cjs +9 -0
  198. package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.d.cts +26 -0
  199. package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.d.ts +26 -0
  200. package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.mjs +9 -0
  201. package/dist/170/common.cjs +106 -1
  202. package/dist/170/common.d.cts +765 -1
  203. package/dist/170/common.d.ts +765 -1
  204. package/dist/170/common.mjs +105 -0
  205. package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.cjs +10 -0
  206. package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.d.cts +46 -0
  207. package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.d.ts +46 -0
  208. package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.mjs +10 -0
  209. package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.cjs +7 -0
  210. package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
  211. package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
  212. package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.mjs +7 -0
  213. package/dist/170/ethereumIngressEgress/depositIgnored.cjs +19 -0
  214. package/dist/170/ethereumIngressEgress/depositIgnored.d.cts +53 -0
  215. package/dist/170/ethereumIngressEgress/depositIgnored.d.ts +53 -0
  216. package/dist/170/ethereumIngressEgress/depositIgnored.mjs +19 -0
  217. package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.cjs +10 -0
  218. package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.d.cts +24 -0
  219. package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.d.ts +24 -0
  220. package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.mjs +10 -0
  221. package/dist/170/ethereumIngressEgress/transactionRejectionFailed.cjs +9 -0
  222. package/dist/170/ethereumIngressEgress/transactionRejectionFailed.d.cts +21 -0
  223. package/dist/170/ethereumIngressEgress/transactionRejectionFailed.d.ts +21 -0
  224. package/dist/170/ethereumIngressEgress/transactionRejectionFailed.mjs +9 -0
  225. package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
  226. package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
  227. package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
  228. package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
  229. package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
  230. package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
  231. package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
  232. package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
  233. package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.cjs +9 -0
  234. package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.d.cts +38 -0
  235. package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.d.ts +38 -0
  236. package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.mjs +9 -0
  237. package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.cjs +10 -0
  238. package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.d.cts +46 -0
  239. package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.d.ts +46 -0
  240. package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.mjs +10 -0
  241. package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.cjs +6 -0
  242. package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
  243. package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
  244. package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.mjs +6 -0
  245. package/dist/170/polkadotIngressEgress/depositIgnored.cjs +18 -0
  246. package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +43 -0
  247. package/dist/170/polkadotIngressEgress/depositIgnored.d.ts +43 -0
  248. package/dist/170/polkadotIngressEgress/depositIgnored.mjs +18 -0
  249. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.cjs +9 -0
  250. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.cts +14 -0
  251. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.ts +14 -0
  252. package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.mjs +9 -0
  253. package/dist/170/polkadotIngressEgress/transactionRejectionFailed.cjs +6 -0
  254. package/dist/170/polkadotIngressEgress/transactionRejectionFailed.d.cts +11 -0
  255. package/dist/170/polkadotIngressEgress/transactionRejectionFailed.d.ts +11 -0
  256. package/dist/170/polkadotIngressEgress/transactionRejectionFailed.mjs +6 -0
  257. package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
  258. package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.d.cts +29 -0
  259. package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.d.ts +29 -0
  260. package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
  261. package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
  262. package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.d.cts +32 -0
  263. package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.d.ts +32 -0
  264. package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
  265. package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.cjs +9 -0
  266. package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.d.cts +11 -0
  267. package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.d.ts +11 -0
  268. package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.mjs +9 -0
  269. package/dist/170/solanaIngressEgress/ccmFallbackScheduled.cjs +10 -0
  270. package/dist/170/solanaIngressEgress/ccmFallbackScheduled.d.cts +46 -0
  271. package/dist/170/solanaIngressEgress/ccmFallbackScheduled.d.ts +46 -0
  272. package/dist/170/solanaIngressEgress/ccmFallbackScheduled.mjs +10 -0
  273. package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.cjs +7 -0
  274. package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
  275. package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
  276. package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.mjs +7 -0
  277. package/dist/170/solanaIngressEgress/depositIgnored.cjs +17 -0
  278. package/dist/170/solanaIngressEgress/depositIgnored.d.cts +40 -0
  279. package/dist/170/solanaIngressEgress/depositIgnored.d.ts +40 -0
  280. package/dist/170/solanaIngressEgress/depositIgnored.mjs +17 -0
  281. package/dist/170/solanaIngressEgress/transactionRejectedByBroker.cjs +6 -0
  282. package/dist/170/solanaIngressEgress/transactionRejectedByBroker.d.cts +11 -0
  283. package/dist/170/solanaIngressEgress/transactionRejectedByBroker.d.ts +11 -0
  284. package/dist/170/solanaIngressEgress/transactionRejectedByBroker.mjs +6 -0
  285. package/dist/170/solanaIngressEgress/transactionRejectionFailed.cjs +6 -0
  286. package/dist/170/solanaIngressEgress/transactionRejectionFailed.d.cts +5 -0
  287. package/dist/170/solanaIngressEgress/transactionRejectionFailed.d.ts +5 -0
  288. package/dist/170/solanaIngressEgress/transactionRejectionFailed.mjs +6 -0
  289. package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
  290. package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
  291. package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
  292. package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
  293. package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
  294. package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
  295. package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
  296. package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
  297. package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.cjs +9 -0
  298. package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.d.cts +11 -0
  299. package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.d.ts +11 -0
  300. package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.mjs +9 -0
  301. package/dist/170/swapping/minimumChunkSizeSet.cjs +10 -0
  302. package/dist/170/swapping/minimumChunkSizeSet.d.cts +24 -0
  303. package/dist/170/swapping/minimumChunkSizeSet.d.ts +24 -0
  304. package/dist/170/swapping/minimumChunkSizeSet.mjs +10 -0
  305. package/dist/170/swapping/swapRequested.d.cts +135 -135
  306. package/dist/170/swapping/swapRequested.d.ts +135 -135
  307. package/dist/HandlerMap.cjs +3 -6
  308. package/dist/HandlerMap.mjs +3 -6
  309. package/dist/Processor.cjs +12 -16
  310. package/dist/Processor.mjs +8 -12
  311. package/dist/{chunk-FTWJXIFQ.cjs → chunk-6F7DYTPM.cjs} +1 -2
  312. package/dist/{chunk-AYNJNFEN.mjs → chunk-XRJFNASX.mjs} +1 -2
  313. package/dist/index.cjs +1 -1
  314. package/dist/index.mjs +1 -1
  315. package/dist/types.d.cts +1 -2
  316. package/dist/types.d.ts +1 -2
  317. package/dist/utils.cjs +1 -1
  318. package/dist/utils.mjs +1 -1
  319. package/package.json +8 -3
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;require('./chunk-FTWJXIFQ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;require('./chunk-6F7DYTPM.cjs');
2
2
 
3
3
  // src/processor/HandlerMap.ts
4
4
  var groupBy = (arr, fn) => arr.reduce((acc, el) => {
@@ -25,18 +25,15 @@ var HandlerMap = (_class = class {
25
25
  acc[name].push({ spec, handler });
26
26
  return acc;
27
27
  },
28
- // eslint-disable-next-line @typescript-eslint/prefer-reduce-type-parameter
29
28
  {}
30
29
  );
31
30
  }
32
31
  getHandler(name, specId) {
33
32
  const specNumber = Number.parseInt(specId.split("@")[1], 10);
34
- if (Number.isNaN(specNumber))
35
- throw new Error("Invalid specId");
33
+ if (Number.isNaN(specNumber)) throw new Error("Invalid specId");
36
34
  const handlerName = `${name}-${specNumber}`;
37
35
  let handler = this.cache[handlerName];
38
- if (handler !== void 0)
39
- return handler;
36
+ if (handler !== void 0) return handler;
40
37
  const handlers = _nullishCoalesce(this.handlersByName[name], () => ( []));
41
38
  const index = handlers.findIndex(({ spec }) => spec <= specNumber);
42
39
  handler = index === -1 ? null : handlers[index].handler;
@@ -1,4 +1,4 @@
1
- import "./chunk-AYNJNFEN.mjs";
1
+ import "./chunk-XRJFNASX.mjs";
2
2
 
3
3
  // src/processor/HandlerMap.ts
4
4
  var groupBy = (arr, fn) => arr.reduce((acc, el) => {
@@ -25,18 +25,15 @@ var HandlerMap = class {
25
25
  acc[name].push({ spec, handler });
26
26
  return acc;
27
27
  },
28
- // eslint-disable-next-line @typescript-eslint/prefer-reduce-type-parameter
29
28
  {}
30
29
  );
31
30
  }
32
31
  getHandler(name, specId) {
33
32
  const specNumber = Number.parseInt(specId.split("@")[1], 10);
34
- if (Number.isNaN(specNumber))
35
- throw new Error("Invalid specId");
33
+ if (Number.isNaN(specNumber)) throw new Error("Invalid specId");
36
34
  const handlerName = `${name}-${specNumber}`;
37
35
  let handler = this.cache[handlerName];
38
- if (handler !== void 0)
39
- return handler;
36
+ if (handler !== void 0) return handler;
40
37
  const handlers = this.handlersByName[name] ?? [];
41
38
  const index = handlers.findIndex(({ spec }) => spec <= specNumber);
42
39
  handler = index === -1 ? null : handlers[index].handler;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
2
2
 
3
- var _chunkFTWJXIFQcjs = require('./chunk-FTWJXIFQ.cjs');
3
+ var _chunk6F7DYTPMcjs = require('./chunk-6F7DYTPM.cjs');
4
4
 
5
5
  // src/processor/Processor.ts
6
6
  var _math = require('@chainflip/utils/math');
@@ -22,12 +22,10 @@ var Processor = (_class = class {
22
22
  this.processorStore = processorStore;
23
23
  this.indexerStore = indexerStore;
24
24
  this.logger = logger;
25
- if (batchSize)
26
- this.batchSize = batchSize;
27
- if (transactionTimeout)
28
- this.transactionTimeout = transactionTimeout;
25
+ if (batchSize) this.batchSize = batchSize;
26
+ if (transactionTimeout) this.transactionTimeout = transactionTimeout;
29
27
  this.eventHandlerMap = new (0, _HandlerMapcjs2.default)(eventHandlers);
30
- this.handledEvents = new Set(eventHandlers.flatMap(({ name: name2 }) => name2));
28
+ this.handledEvents = new Set(eventHandlers.flatMap(({ name: n }) => n));
31
29
  this.name = name;
32
30
  }
33
31
  __init() {this.batchSize = 50}
@@ -85,10 +83,9 @@ var Processor = (_class = class {
85
83
  }
86
84
  getEventHandler(name, specId) {
87
85
  const handler = this.eventHandlerMap.getHandler(name, specId);
88
- if (handler === null)
89
- return null;
90
- this.timings["eventHandlers"] ??= {};
91
- const timing = this.timings["eventHandlers"];
86
+ if (handler === null) return null;
87
+ this.timings.eventHandlers ??= {};
88
+ const timing = this.timings.eventHandlers;
92
89
  return async (args) => {
93
90
  timing[name] ??= [];
94
91
  const start = performance.now();
@@ -99,8 +96,7 @@ var Processor = (_class = class {
99
96
  async handleExtrinsic(_store, _block, _call) {
100
97
  }
101
98
  async getExtrinsicInfo(store, blockHeight, extrinsic) {
102
- if (extrinsic === null)
103
- return void 0;
99
+ if (extrinsic === null) return void 0;
104
100
  return store.getExtrinsicInfo(blockHeight, extrinsic.indexInBlock);
105
101
  }
106
102
  async handleBlock(store, block) {
@@ -241,16 +237,16 @@ var Processor = (_class = class {
241
237
  }
242
238
  }
243
239
  }, _class);
244
- _chunkFTWJXIFQcjs.__decorateClass.call(void 0, [
240
+ _chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
245
241
  timedMethod
246
242
  ], Processor.prototype, "fetchBlocks", 1);
247
- _chunkFTWJXIFQcjs.__decorateClass.call(void 0, [
243
+ _chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
248
244
  timedMethod
249
245
  ], Processor.prototype, "getEventInfo", 1);
250
- _chunkFTWJXIFQcjs.__decorateClass.call(void 0, [
246
+ _chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
251
247
  timedMethod
252
248
  ], Processor.prototype, "getExtrinsicInfo", 1);
253
- _chunkFTWJXIFQcjs.__decorateClass.call(void 0, [
249
+ _chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
254
250
  timedMethod
255
251
  ], Processor.prototype, "handleBlock", 1);
256
252
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __decorateClass
3
- } from "./chunk-AYNJNFEN.mjs";
3
+ } from "./chunk-XRJFNASX.mjs";
4
4
 
5
5
  // src/processor/Processor.ts
6
6
  import { average, sum } from "@chainflip/utils/math";
@@ -22,12 +22,10 @@ var Processor = class {
22
22
  this.processorStore = processorStore;
23
23
  this.indexerStore = indexerStore;
24
24
  this.logger = logger;
25
- if (batchSize)
26
- this.batchSize = batchSize;
27
- if (transactionTimeout)
28
- this.transactionTimeout = transactionTimeout;
25
+ if (batchSize) this.batchSize = batchSize;
26
+ if (transactionTimeout) this.transactionTimeout = transactionTimeout;
29
27
  this.eventHandlerMap = new HandlerMap(eventHandlers);
30
- this.handledEvents = new Set(eventHandlers.flatMap(({ name: name2 }) => name2));
28
+ this.handledEvents = new Set(eventHandlers.flatMap(({ name: n }) => n));
31
29
  this.name = name;
32
30
  }
33
31
  batchSize = 50;
@@ -85,10 +83,9 @@ var Processor = class {
85
83
  }
86
84
  getEventHandler(name, specId) {
87
85
  const handler = this.eventHandlerMap.getHandler(name, specId);
88
- if (handler === null)
89
- return null;
90
- this.timings["eventHandlers"] ??= {};
91
- const timing = this.timings["eventHandlers"];
86
+ if (handler === null) return null;
87
+ this.timings.eventHandlers ??= {};
88
+ const timing = this.timings.eventHandlers;
92
89
  return async (args) => {
93
90
  timing[name] ??= [];
94
91
  const start = performance.now();
@@ -99,8 +96,7 @@ var Processor = class {
99
96
  async handleExtrinsic(_store, _block, _call) {
100
97
  }
101
98
  async getExtrinsicInfo(store, blockHeight, extrinsic) {
102
- if (extrinsic === null)
103
- return void 0;
99
+ if (extrinsic === null) return void 0;
104
100
  return store.getExtrinsicInfo(blockHeight, extrinsic.indexInBlock);
105
101
  }
106
102
  async handleBlock(store, block) {
@@ -5,8 +5,7 @@ var __decorateClass = (decorators, target, key, kind) => {
5
5
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
6
  if (decorator = decorators[i])
7
7
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
- if (kind && result)
9
- __defProp(target, key, result);
8
+ if (kind && result) __defProp(target, key, result);
10
9
  return result;
11
10
  };
12
11
 
@@ -5,8 +5,7 @@ var __decorateClass = (decorators, target, key, kind) => {
5
5
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
6
  if (decorator = decorators[i])
7
7
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
- if (kind && result)
9
- __defProp(target, key, result);
8
+ if (kind && result) __defProp(target, key, result);
10
9
  return result;
11
10
  };
12
11
 
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-FTWJXIFQ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-6F7DYTPM.cjs');
2
2
 
3
3
  // src/processor/index.ts
4
4
  var _Processorcjs = require('./Processor.cjs'); var _Processorcjs2 = _interopRequireDefault(_Processorcjs);
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-AYNJNFEN.mjs";
1
+ import "./chunk-XRJFNASX.mjs";
2
2
 
3
3
  // src/processor/index.ts
4
4
  import { default as default2, timedMethod } from "./Processor.mjs";
package/dist/types.d.cts CHANGED
@@ -1,8 +1,7 @@
1
1
  type JsonObject = {
2
2
  [Key in string]?: JsonValue;
3
3
  };
4
- interface JsonArray extends Array<JsonValue> {
5
- }
4
+ type JsonArray = JsonValue[];
6
5
  type JsonValue = string | number | boolean | JsonObject | JsonArray | null;
7
6
  type IndexerExtrinsic = {
8
7
  id: string;
package/dist/types.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  type JsonObject = {
2
2
  [Key in string]?: JsonValue;
3
3
  };
4
- interface JsonArray extends Array<JsonValue> {
5
- }
4
+ type JsonArray = JsonValue[];
6
5
  type JsonValue = string | number | boolean | JsonObject | JsonArray | null;
7
6
  type IndexerExtrinsic = {
8
7
  id: string;
package/dist/utils.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-FTWJXIFQ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-6F7DYTPM.cjs');
2
2
 
3
3
  // src/processor/utils.ts
4
4
  var generatePalletEventName = (chains, pallet, events) => Object.fromEntries(
package/dist/utils.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-AYNJNFEN.mjs";
1
+ import "./chunk-XRJFNASX.mjs";
2
2
 
3
3
  // src/processor/utils.ts
4
4
  var generatePalletEventName = (chains, pallet, events) => Object.fromEntries(
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@chainflip/processor",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "keywords": [],
7
7
  "author": "",
8
8
  "license": "ISC",
9
9
  "dependencies": {
10
- "@chainflip/utils": "^0.4.0",
10
+ "@chainflip/utils": "0.4.0",
11
11
  "zod": "^3.23.8"
12
12
  },
13
13
  "devDependencies": {
14
- "@chainflip/rpc": "^1.6.7",
14
+ "@chainflip/rpc": "1.6.9",
15
15
  "@polkadot/types": "^10.11.2"
16
16
  },
17
17
  "repository": "https://github.com/chainflip-io/chainflip-product-toolkit.git",
@@ -45,6 +45,11 @@
45
45
  }
46
46
  },
47
47
  "scripts": {
48
+ "eslint:check": "pnpm eslint --max-warnings 0 './**/*.ts'",
49
+ "prettier:base": "prettier ./** --ignore-path=../../.prettierignore",
50
+ "prettier:check": "pnpm prettier:base --check",
51
+ "prettier:write": "pnpm prettier:base --write",
52
+ "test:ci": "CI=1 pnpm t run",
48
53
  "test": "vitest",
49
54
  "clean": "rm -rf dist",
50
55
  "prepublish": "pnpm test run && pnpm build",