@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.
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/100/swapping/ccmDepositReceived.d.cts +70 -70
- package/dist/100/swapping/ccmDepositReceived.d.ts +70 -70
- package/dist/100/swapping/ccmFailed.d.cts +70 -70
- package/dist/100/swapping/ccmFailed.d.ts +70 -70
- package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
- package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
- package/dist/100/swapping/swapAmountTooLow.d.cts +37 -37
- package/dist/100/swapping/swapAmountTooLow.d.ts +37 -37
- package/dist/100/swapping/swapDepositAddressReady.d.cts +42 -42
- package/dist/100/swapping/swapDepositAddressReady.d.ts +42 -42
- package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/100/swapping/swapExecuted.d.cts +12 -12
- package/dist/100/swapping/swapExecuted.d.ts +12 -12
- package/dist/100/swapping/swapScheduled.d.cts +109 -109
- package/dist/100/swapping/swapScheduled.d.ts +109 -109
- package/dist/100/swapping/withdrawalRequested.d.cts +12 -12
- package/dist/100/swapping/withdrawalRequested.d.ts +12 -12
- package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
- package/dist/120/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/120/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +4 -4
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +4 -4
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
- package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
- package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
- package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/ethereumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/ethereumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/150/swapping/ccmDepositReceived.d.cts +90 -90
- package/dist/150/swapping/ccmDepositReceived.d.ts +90 -90
- package/dist/150/swapping/ccmFailed.d.cts +115 -115
- package/dist/150/swapping/ccmFailed.d.ts +115 -115
- package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/150/swapping/swapDepositAddressReady.d.cts +77 -77
- package/dist/150/swapping/swapDepositAddressReady.d.ts +77 -77
- package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapExecuted.d.cts +94 -94
- package/dist/150/swapping/swapExecuted.d.ts +94 -94
- package/dist/150/swapping/swapScheduled.d.cts +139 -139
- package/dist/150/swapping/swapScheduled.d.ts +139 -139
- package/dist/150/swapping/withdrawalRequested.d.cts +26 -26
- package/dist/150/swapping/withdrawalRequested.d.ts +26 -26
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.cts +2 -2
- package/dist/170/arbitrumIngressEgress/boostedDepositLost.d.ts +2 -2
- package/dist/170/arbitrumIngressEgress/ccmFailed.d.cts +101 -101
- package/dist/170/arbitrumIngressEgress/ccmFailed.d.ts +101 -101
- package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.cjs +10 -0
- package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.d.cts +46 -0
- package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.d.ts +46 -0
- package/dist/170/arbitrumIngressEgress/ccmFallbackScheduled.mjs +10 -0
- package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.cjs +7 -0
- package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
- package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
- package/dist/170/arbitrumIngressEgress/depositChannelLifetimeSet.mjs +7 -0
- package/dist/170/arbitrumIngressEgress/depositIgnored.cjs +19 -0
- package/dist/170/arbitrumIngressEgress/depositIgnored.d.cts +53 -0
- package/dist/170/arbitrumIngressEgress/depositIgnored.d.ts +53 -0
- package/dist/170/arbitrumIngressEgress/depositIgnored.mjs +19 -0
- package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.cjs +10 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.d.cts +24 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.d.ts +24 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectedByBroker.mjs +10 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.cjs +9 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.d.cts +21 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.d.ts +21 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionFailed.mjs +9 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
- package/dist/170/arbitrumIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
- package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.cjs +9 -0
- package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.d.cts +38 -0
- package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.d.ts +38 -0
- package/dist/170/arbitrumVault/activationTxFailedAwaitingGovernance.mjs +9 -0
- package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.cjs +10 -0
- package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.d.cts +46 -0
- package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.d.ts +46 -0
- package/dist/170/bitcoinIngressEgress/ccmFallbackScheduled.mjs +10 -0
- package/dist/170/bitcoinIngressEgress/depositBoosted.cjs +24 -0
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +342 -0
- package/dist/170/bitcoinIngressEgress/depositBoosted.d.ts +342 -0
- package/dist/170/bitcoinIngressEgress/depositBoosted.mjs +24 -0
- package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.cjs +7 -0
- package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
- package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
- package/dist/170/bitcoinIngressEgress/depositChannelLifetimeSet.mjs +7 -0
- package/dist/170/bitcoinIngressEgress/depositFinalised.cjs +22 -0
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +336 -0
- package/dist/170/bitcoinIngressEgress/depositFinalised.d.ts +336 -0
- package/dist/170/bitcoinIngressEgress/depositFinalised.mjs +22 -0
- package/dist/170/bitcoinIngressEgress/depositIgnored.cjs +19 -0
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +267 -0
- package/dist/170/bitcoinIngressEgress/depositIgnored.d.ts +267 -0
- package/dist/170/bitcoinIngressEgress/depositIgnored.mjs +19 -0
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.cjs +10 -0
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +564 -0
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.ts +564 -0
- package/dist/170/bitcoinIngressEgress/depositWitnessRejected.mjs +10 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.cjs +10 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +143 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.ts +143 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.mjs +10 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.cjs +7 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +140 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.ts +140 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.mjs +7 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
- package/dist/170/bitcoinIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
- package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.cjs +9 -0
- package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.d.cts +26 -0
- package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.d.ts +26 -0
- package/dist/170/bitcoinVault/activationTxFailedAwaitingGovernance.mjs +9 -0
- package/dist/170/common.cjs +106 -1
- package/dist/170/common.d.cts +765 -1
- package/dist/170/common.d.ts +765 -1
- package/dist/170/common.mjs +105 -0
- package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.cjs +10 -0
- package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.d.cts +46 -0
- package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.d.ts +46 -0
- package/dist/170/ethereumIngressEgress/ccmFallbackScheduled.mjs +10 -0
- package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.cjs +7 -0
- package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
- package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
- package/dist/170/ethereumIngressEgress/depositChannelLifetimeSet.mjs +7 -0
- package/dist/170/ethereumIngressEgress/depositIgnored.cjs +19 -0
- package/dist/170/ethereumIngressEgress/depositIgnored.d.cts +53 -0
- package/dist/170/ethereumIngressEgress/depositIgnored.d.ts +53 -0
- package/dist/170/ethereumIngressEgress/depositIgnored.mjs +19 -0
- package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.cjs +10 -0
- package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.d.cts +24 -0
- package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.d.ts +24 -0
- package/dist/170/ethereumIngressEgress/transactionRejectedByBroker.mjs +10 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionFailed.cjs +9 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionFailed.d.cts +21 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionFailed.d.ts +21 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionFailed.mjs +9 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
- package/dist/170/ethereumIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
- package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.cjs +9 -0
- package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.d.cts +38 -0
- package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.d.ts +38 -0
- package/dist/170/ethereumVault/activationTxFailedAwaitingGovernance.mjs +9 -0
- package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.cjs +10 -0
- package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.d.cts +46 -0
- package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.d.ts +46 -0
- package/dist/170/polkadotIngressEgress/ccmFallbackScheduled.mjs +10 -0
- package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.cjs +6 -0
- package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
- package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
- package/dist/170/polkadotIngressEgress/depositChannelLifetimeSet.mjs +6 -0
- package/dist/170/polkadotIngressEgress/depositIgnored.cjs +18 -0
- package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +43 -0
- package/dist/170/polkadotIngressEgress/depositIgnored.d.ts +43 -0
- package/dist/170/polkadotIngressEgress/depositIgnored.mjs +18 -0
- package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.cjs +9 -0
- package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.cts +14 -0
- package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.d.ts +14 -0
- package/dist/170/polkadotIngressEgress/transactionRejectedByBroker.mjs +9 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionFailed.cjs +6 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionFailed.d.cts +11 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionFailed.d.ts +11 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionFailed.mjs +6 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.d.cts +29 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.d.ts +29 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.d.cts +32 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.d.ts +32 -0
- package/dist/170/polkadotIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
- package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.cjs +9 -0
- package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.d.cts +11 -0
- package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.d.ts +11 -0
- package/dist/170/polkadotVault/activationTxFailedAwaitingGovernance.mjs +9 -0
- package/dist/170/solanaIngressEgress/ccmFallbackScheduled.cjs +10 -0
- package/dist/170/solanaIngressEgress/ccmFallbackScheduled.d.cts +46 -0
- package/dist/170/solanaIngressEgress/ccmFallbackScheduled.d.ts +46 -0
- package/dist/170/solanaIngressEgress/ccmFallbackScheduled.mjs +10 -0
- package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.cjs +7 -0
- package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.d.cts +11 -0
- package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.d.ts +11 -0
- package/dist/170/solanaIngressEgress/depositChannelLifetimeSet.mjs +7 -0
- package/dist/170/solanaIngressEgress/depositIgnored.cjs +17 -0
- package/dist/170/solanaIngressEgress/depositIgnored.d.cts +40 -0
- package/dist/170/solanaIngressEgress/depositIgnored.d.ts +40 -0
- package/dist/170/solanaIngressEgress/depositIgnored.mjs +17 -0
- package/dist/170/solanaIngressEgress/transactionRejectedByBroker.cjs +6 -0
- package/dist/170/solanaIngressEgress/transactionRejectedByBroker.d.cts +11 -0
- package/dist/170/solanaIngressEgress/transactionRejectedByBroker.d.ts +11 -0
- package/dist/170/solanaIngressEgress/transactionRejectedByBroker.mjs +6 -0
- package/dist/170/solanaIngressEgress/transactionRejectionFailed.cjs +6 -0
- package/dist/170/solanaIngressEgress/transactionRejectionFailed.d.cts +5 -0
- package/dist/170/solanaIngressEgress/transactionRejectionFailed.d.ts +5 -0
- package/dist/170/solanaIngressEgress/transactionRejectionFailed.mjs +6 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.cjs +10 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.d.cts +14 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.d.ts +14 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestExpired.mjs +10 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.cjs +11 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.d.cts +17 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.d.ts +17 -0
- package/dist/170/solanaIngressEgress/transactionRejectionRequestReceived.mjs +11 -0
- package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.cjs +9 -0
- package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.d.cts +11 -0
- package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.d.ts +11 -0
- package/dist/170/solanaVault/activationTxFailedAwaitingGovernance.mjs +9 -0
- package/dist/170/swapping/minimumChunkSizeSet.cjs +10 -0
- package/dist/170/swapping/minimumChunkSizeSet.d.cts +24 -0
- package/dist/170/swapping/minimumChunkSizeSet.d.ts +24 -0
- package/dist/170/swapping/minimumChunkSizeSet.mjs +10 -0
- package/dist/170/swapping/swapRequested.d.cts +135 -135
- package/dist/170/swapping/swapRequested.d.ts +135 -135
- package/dist/HandlerMap.cjs +3 -6
- package/dist/HandlerMap.mjs +3 -6
- package/dist/Processor.cjs +12 -16
- package/dist/Processor.mjs +8 -12
- package/dist/{chunk-FTWJXIFQ.cjs → chunk-6F7DYTPM.cjs} +1 -2
- package/dist/{chunk-AYNJNFEN.mjs → chunk-XRJFNASX.mjs} +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types.d.cts +1 -2
- package/dist/types.d.ts +1 -2
- package/dist/utils.cjs +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +8 -3
package/dist/HandlerMap.cjs
CHANGED
|
@@ -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-
|
|
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;
|
package/dist/HandlerMap.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
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;
|
package/dist/Processor.cjs
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
90
|
-
this.timings
|
|
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
|
-
|
|
240
|
+
_chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
|
|
245
241
|
timedMethod
|
|
246
242
|
], Processor.prototype, "fetchBlocks", 1);
|
|
247
|
-
|
|
243
|
+
_chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
|
|
248
244
|
timedMethod
|
|
249
245
|
], Processor.prototype, "getEventInfo", 1);
|
|
250
|
-
|
|
246
|
+
_chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
|
|
251
247
|
timedMethod
|
|
252
248
|
], Processor.prototype, "getExtrinsicInfo", 1);
|
|
253
|
-
|
|
249
|
+
_chunk6F7DYTPMcjs.__decorateClass.call(void 0, [
|
|
254
250
|
timedMethod
|
|
255
251
|
], Processor.prototype, "handleBlock", 1);
|
|
256
252
|
|
package/dist/Processor.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__decorateClass
|
|
3
|
-
} from "./chunk-
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
90
|
-
this.timings
|
|
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-
|
|
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
package/dist/types.d.cts
CHANGED
package/dist/types.d.ts
CHANGED
package/dist/utils.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
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
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/processor",
|
|
3
|
-
"version": "1.7.
|
|
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": "
|
|
10
|
+
"@chainflip/utils": "0.4.0",
|
|
11
11
|
"zod": "^3.23.8"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@chainflip/rpc": "
|
|
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",
|