@chainflip/processor 1.5.2 → 1.5.3
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/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/common.cjs +12 -12
- package/dist/100/common.d.cts +64 -28
- package/dist/100/common.d.ts +64 -28
- package/dist/100/common.mjs +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/swapping/ccmDepositReceived.d.cts +39 -21
- package/dist/100/swapping/ccmDepositReceived.d.ts +39 -21
- package/dist/100/swapping/ccmFailed.d.cts +35 -17
- package/dist/100/swapping/ccmFailed.d.ts +35 -17
- package/dist/100/swapping/swapAmountTooLow.d.cts +76 -40
- package/dist/100/swapping/swapAmountTooLow.d.ts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.cts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.ts +76 -40
- package/dist/100/swapping/swapScheduled.d.cts +78 -42
- package/dist/100/swapping/swapScheduled.d.ts +78 -42
- package/dist/100/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/100/swapping/withdrawalRequested.d.ts +35 -17
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/common.cjs +12 -12
- package/dist/120/common.d.cts +29 -11
- package/dist/120/common.d.ts +29 -11
- package/dist/120/common.mjs +12 -12
- package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
- package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/120/swapping/ccmFailed.d.cts +35 -17
- package/dist/120/swapping/ccmFailed.d.ts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.ts +35 -17
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/common.cjs +12 -12
- package/dist/131/common.d.cts +64 -28
- package/dist/131/common.d.ts +64 -28
- package/dist/131/common.mjs +12 -12
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/ccmFailed.d.cts +76 -40
- package/dist/131/swapping/ccmFailed.d.ts +76 -40
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +88 -52
- package/dist/131/swapping/swapDepositAddressReady.d.ts +88 -52
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +90 -54
- package/dist/131/swapping/swapScheduled.d.ts +90 -54
- package/dist/131/swapping/withdrawalRequested.d.cts +41 -23
- package/dist/131/swapping/withdrawalRequested.d.ts +41 -23
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/common.cjs +16 -16
- package/dist/141/common.d.cts +84 -36
- package/dist/141/common.d.ts +84 -36
- package/dist/141/common.mjs +16 -16
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +46 -22
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +46 -22
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +46 -22
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +46 -22
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/swapping/ccmDepositReceived.d.cts +46 -22
- package/dist/141/swapping/ccmDepositReceived.d.ts +46 -22
- package/dist/141/swapping/ccmFailed.d.cts +100 -52
- package/dist/141/swapping/ccmFailed.d.ts +100 -52
- package/dist/141/swapping/swapDepositAddressReady.d.cts +92 -44
- package/dist/141/swapping/swapDepositAddressReady.d.ts +92 -44
- package/dist/141/swapping/swapScheduled.d.cts +100 -52
- package/dist/141/swapping/swapScheduled.d.ts +100 -52
- package/dist/141/swapping/withdrawalRequested.d.cts +46 -22
- package/dist/141/swapping/withdrawalRequested.d.ts +46 -22
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- 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 +93 -93
- package/dist/150/assetBalances/refundSkipped.d.ts +93 -93
- package/dist/150/common.cjs +20 -20
- package/dist/150/common.d.cts +164 -74
- package/dist/150/common.d.ts +164 -74
- package/dist/150/common.mjs +20 -20
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +58 -28
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +58 -28
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/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/ccmDepositReceived.d.cts +58 -28
- package/dist/150/swapping/ccmDepositReceived.d.ts +58 -28
- package/dist/150/swapping/ccmFailed.d.cts +126 -66
- package/dist/150/swapping/ccmFailed.d.ts +126 -66
- package/dist/150/swapping/swapDepositAddressReady.d.cts +184 -94
- package/dist/150/swapping/swapDepositAddressReady.d.ts +184 -94
- package/dist/150/swapping/swapScheduled.d.cts +126 -66
- package/dist/150/swapping/swapScheduled.d.ts +126 -66
- package/dist/150/swapping/withdrawalRequested.d.cts +58 -28
- package/dist/150/swapping/withdrawalRequested.d.ts +58 -28
- 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 +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/common.cjs +20 -20
- package/dist/160/common.d.cts +222 -102
- package/dist/160/common.d.ts +222 -102
- package/dist/160/common.mjs +20 -20
- package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +62 -32
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +62 -32
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/ccmFailed.d.cts +126 -66
- package/dist/160/swapping/ccmFailed.d.ts +126 -66
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
- package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
- package/dist/160/swapping/swapDepositAddressReady.d.cts +134 -74
- package/dist/160/swapping/swapDepositAddressReady.d.ts +134 -74
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapExecuted.d.cts +12 -12
- package/dist/160/swapping/swapExecuted.d.ts +12 -12
- package/dist/160/swapping/swapRequested.d.cts +218 -128
- package/dist/160/swapping/swapRequested.d.ts +218 -128
- package/dist/160/swapping/withdrawalRequested.d.cts +64 -34
- package/dist/160/swapping/withdrawalRequested.d.ts +64 -34
- package/package.json +1 -1
|
@@ -221,18 +221,18 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
221
221
|
value: z.ZodEffects<z.ZodObject<{
|
|
222
222
|
__kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
__kind: "
|
|
224
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
225
225
|
}, {
|
|
226
|
-
__kind: "
|
|
227
|
-
}>, "
|
|
228
|
-
__kind: "
|
|
226
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
227
|
+
}>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
|
|
228
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
229
229
|
}>;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
value: "
|
|
231
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
232
232
|
__kind: "Token";
|
|
233
233
|
}, {
|
|
234
234
|
value: {
|
|
235
|
-
__kind: "
|
|
235
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
236
236
|
};
|
|
237
237
|
__kind: "Token";
|
|
238
238
|
}>, z.ZodObject<{
|
|
@@ -318,7 +318,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
318
318
|
} | {
|
|
319
319
|
__kind: "TooManyConsumers";
|
|
320
320
|
} | {
|
|
321
|
-
value: "
|
|
321
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
322
322
|
__kind: "Token";
|
|
323
323
|
} | {
|
|
324
324
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -357,7 +357,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
357
357
|
__kind: "TooManyConsumers";
|
|
358
358
|
} | {
|
|
359
359
|
value: {
|
|
360
|
-
__kind: "
|
|
360
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
361
361
|
};
|
|
362
362
|
__kind: "Token";
|
|
363
363
|
} | {
|
|
@@ -382,7 +382,6 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
382
382
|
__kind: "DispatchError";
|
|
383
383
|
}>]>;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
386
385
|
error: {
|
|
387
386
|
__kind: "Unsupported";
|
|
388
387
|
} | {
|
|
@@ -429,7 +428,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
429
428
|
} | {
|
|
430
429
|
__kind: "TooManyConsumers";
|
|
431
430
|
} | {
|
|
432
|
-
value: "
|
|
431
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
433
432
|
__kind: "Token";
|
|
434
433
|
} | {
|
|
435
434
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -448,10 +447,8 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
448
447
|
};
|
|
449
448
|
__kind: "DispatchError";
|
|
450
449
|
};
|
|
450
|
+
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
451
451
|
}, {
|
|
452
|
-
egressId: [{
|
|
453
|
-
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
454
|
-
}, string | number];
|
|
455
452
|
error: {
|
|
456
453
|
__kind: "Unsupported";
|
|
457
454
|
} | {
|
|
@@ -503,7 +500,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
503
500
|
__kind: "TooManyConsumers";
|
|
504
501
|
} | {
|
|
505
502
|
value: {
|
|
506
|
-
__kind: "
|
|
503
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
507
504
|
};
|
|
508
505
|
__kind: "Token";
|
|
509
506
|
} | {
|
|
@@ -527,6 +524,9 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
527
524
|
};
|
|
528
525
|
__kind: "DispatchError";
|
|
529
526
|
};
|
|
527
|
+
egressId: [{
|
|
528
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
529
|
+
}, string | number];
|
|
530
530
|
}>;
|
|
531
531
|
|
|
532
532
|
export { bitcoinIngressEgressCcmEgressInvalid };
|
|
@@ -221,18 +221,18 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
221
221
|
value: z.ZodEffects<z.ZodObject<{
|
|
222
222
|
__kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
__kind: "
|
|
224
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
225
225
|
}, {
|
|
226
|
-
__kind: "
|
|
227
|
-
}>, "
|
|
228
|
-
__kind: "
|
|
226
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
227
|
+
}>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
|
|
228
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
229
229
|
}>;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
value: "
|
|
231
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
232
232
|
__kind: "Token";
|
|
233
233
|
}, {
|
|
234
234
|
value: {
|
|
235
|
-
__kind: "
|
|
235
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
236
236
|
};
|
|
237
237
|
__kind: "Token";
|
|
238
238
|
}>, z.ZodObject<{
|
|
@@ -318,7 +318,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
318
318
|
} | {
|
|
319
319
|
__kind: "TooManyConsumers";
|
|
320
320
|
} | {
|
|
321
|
-
value: "
|
|
321
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
322
322
|
__kind: "Token";
|
|
323
323
|
} | {
|
|
324
324
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -357,7 +357,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
357
357
|
__kind: "TooManyConsumers";
|
|
358
358
|
} | {
|
|
359
359
|
value: {
|
|
360
|
-
__kind: "
|
|
360
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
361
361
|
};
|
|
362
362
|
__kind: "Token";
|
|
363
363
|
} | {
|
|
@@ -382,7 +382,6 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
382
382
|
__kind: "DispatchError";
|
|
383
383
|
}>]>;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
386
385
|
error: {
|
|
387
386
|
__kind: "Unsupported";
|
|
388
387
|
} | {
|
|
@@ -429,7 +428,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
429
428
|
} | {
|
|
430
429
|
__kind: "TooManyConsumers";
|
|
431
430
|
} | {
|
|
432
|
-
value: "
|
|
431
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
433
432
|
__kind: "Token";
|
|
434
433
|
} | {
|
|
435
434
|
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
@@ -448,10 +447,8 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
448
447
|
};
|
|
449
448
|
__kind: "DispatchError";
|
|
450
449
|
};
|
|
450
|
+
egressId: ["Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", bigint];
|
|
451
451
|
}, {
|
|
452
|
-
egressId: [{
|
|
453
|
-
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
454
|
-
}, string | number];
|
|
455
452
|
error: {
|
|
456
453
|
__kind: "Unsupported";
|
|
457
454
|
} | {
|
|
@@ -503,7 +500,7 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
503
500
|
__kind: "TooManyConsumers";
|
|
504
501
|
} | {
|
|
505
502
|
value: {
|
|
506
|
-
__kind: "
|
|
503
|
+
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
507
504
|
};
|
|
508
505
|
__kind: "Token";
|
|
509
506
|
} | {
|
|
@@ -527,6 +524,9 @@ declare const bitcoinIngressEgressCcmEgressInvalid: z.ZodObject<{
|
|
|
527
524
|
};
|
|
528
525
|
__kind: "DispatchError";
|
|
529
526
|
};
|
|
527
|
+
egressId: [{
|
|
528
|
+
__kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
529
|
+
}, string | number];
|
|
530
530
|
}>;
|
|
531
531
|
|
|
532
532
|
export { bitcoinIngressEgressCcmEgressInvalid };
|
|
@@ -148,15 +148,15 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
148
148
|
version: number;
|
|
149
149
|
program: `0x${string}`;
|
|
150
150
|
};
|
|
151
|
-
channelId: bigint;
|
|
152
|
-
prewitnessedDepositId: bigint;
|
|
153
|
-
amounts: [number, bigint][];
|
|
154
|
-
blockHeight: bigint;
|
|
155
151
|
asset: "Btc";
|
|
152
|
+
amounts: [number, bigint][];
|
|
156
153
|
depositDetails: {
|
|
157
154
|
txId: `0x${string}`;
|
|
158
155
|
vout: number;
|
|
159
156
|
};
|
|
157
|
+
prewitnessedDepositId: bigint;
|
|
158
|
+
channelId: bigint;
|
|
159
|
+
blockHeight: bigint;
|
|
160
160
|
ingressFee: bigint;
|
|
161
161
|
boostFee: bigint;
|
|
162
162
|
action: {
|
|
@@ -195,17 +195,17 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
195
195
|
version: number;
|
|
196
196
|
program: string;
|
|
197
197
|
};
|
|
198
|
-
channelId: string | number;
|
|
199
|
-
prewitnessedDepositId: string | number;
|
|
200
|
-
amounts: [number, string | number][];
|
|
201
|
-
blockHeight: string | number;
|
|
202
198
|
asset: {
|
|
203
199
|
__kind: "Btc";
|
|
204
200
|
};
|
|
201
|
+
amounts: [number, string | number][];
|
|
205
202
|
depositDetails: {
|
|
206
203
|
txId: string;
|
|
207
204
|
vout: number;
|
|
208
205
|
};
|
|
206
|
+
prewitnessedDepositId: string | number;
|
|
207
|
+
channelId: string | number;
|
|
208
|
+
blockHeight: string | number;
|
|
209
209
|
ingressFee: string | number;
|
|
210
210
|
boostFee: string | number;
|
|
211
211
|
action: {
|
|
@@ -148,15 +148,15 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
148
148
|
version: number;
|
|
149
149
|
program: `0x${string}`;
|
|
150
150
|
};
|
|
151
|
-
channelId: bigint;
|
|
152
|
-
prewitnessedDepositId: bigint;
|
|
153
|
-
amounts: [number, bigint][];
|
|
154
|
-
blockHeight: bigint;
|
|
155
151
|
asset: "Btc";
|
|
152
|
+
amounts: [number, bigint][];
|
|
156
153
|
depositDetails: {
|
|
157
154
|
txId: `0x${string}`;
|
|
158
155
|
vout: number;
|
|
159
156
|
};
|
|
157
|
+
prewitnessedDepositId: bigint;
|
|
158
|
+
channelId: bigint;
|
|
159
|
+
blockHeight: bigint;
|
|
160
160
|
ingressFee: bigint;
|
|
161
161
|
boostFee: bigint;
|
|
162
162
|
action: {
|
|
@@ -195,17 +195,17 @@ declare const bitcoinIngressEgressDepositBoosted: z.ZodObject<{
|
|
|
195
195
|
version: number;
|
|
196
196
|
program: string;
|
|
197
197
|
};
|
|
198
|
-
channelId: string | number;
|
|
199
|
-
prewitnessedDepositId: string | number;
|
|
200
|
-
amounts: [number, string | number][];
|
|
201
|
-
blockHeight: string | number;
|
|
202
198
|
asset: {
|
|
203
199
|
__kind: "Btc";
|
|
204
200
|
};
|
|
201
|
+
amounts: [number, string | number][];
|
|
205
202
|
depositDetails: {
|
|
206
203
|
txId: string;
|
|
207
204
|
vout: number;
|
|
208
205
|
};
|
|
206
|
+
prewitnessedDepositId: string | number;
|
|
207
|
+
channelId: string | number;
|
|
208
|
+
blockHeight: string | number;
|
|
209
209
|
ingressFee: string | number;
|
|
210
210
|
boostFee: string | number;
|
|
211
211
|
action: {
|
|
@@ -146,14 +146,13 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
146
146
|
version: number;
|
|
147
147
|
program: `0x${string}`;
|
|
148
148
|
};
|
|
149
|
-
channelId: bigint;
|
|
150
|
-
blockHeight: bigint;
|
|
151
149
|
asset: "Btc";
|
|
152
|
-
amount: bigint;
|
|
153
150
|
depositDetails: {
|
|
154
151
|
txId: `0x${string}`;
|
|
155
152
|
vout: number;
|
|
156
153
|
};
|
|
154
|
+
channelId: bigint;
|
|
155
|
+
blockHeight: bigint;
|
|
157
156
|
ingressFee: bigint;
|
|
158
157
|
action: {
|
|
159
158
|
__kind: "Swap";
|
|
@@ -170,6 +169,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
170
169
|
__kind: "BoostersCredited";
|
|
171
170
|
prewitnessedDepositId: bigint;
|
|
172
171
|
};
|
|
172
|
+
amount: bigint;
|
|
173
173
|
}, {
|
|
174
174
|
depositAddress: {
|
|
175
175
|
value: string;
|
|
@@ -191,16 +191,15 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
191
191
|
version: number;
|
|
192
192
|
program: string;
|
|
193
193
|
};
|
|
194
|
-
channelId: string | number;
|
|
195
|
-
blockHeight: string | number;
|
|
196
194
|
asset: {
|
|
197
195
|
__kind: "Btc";
|
|
198
196
|
};
|
|
199
|
-
amount: string | number;
|
|
200
197
|
depositDetails: {
|
|
201
198
|
txId: string;
|
|
202
199
|
vout: number;
|
|
203
200
|
};
|
|
201
|
+
channelId: string | number;
|
|
202
|
+
blockHeight: string | number;
|
|
204
203
|
ingressFee: string | number;
|
|
205
204
|
action: {
|
|
206
205
|
__kind: "Swap";
|
|
@@ -217,6 +216,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
217
216
|
__kind: "BoostersCredited";
|
|
218
217
|
prewitnessedDepositId: string | number;
|
|
219
218
|
};
|
|
219
|
+
amount: string | number;
|
|
220
220
|
}>;
|
|
221
221
|
|
|
222
222
|
export { bitcoinIngressEgressDepositFinalised };
|
|
@@ -146,14 +146,13 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
146
146
|
version: number;
|
|
147
147
|
program: `0x${string}`;
|
|
148
148
|
};
|
|
149
|
-
channelId: bigint;
|
|
150
|
-
blockHeight: bigint;
|
|
151
149
|
asset: "Btc";
|
|
152
|
-
amount: bigint;
|
|
153
150
|
depositDetails: {
|
|
154
151
|
txId: `0x${string}`;
|
|
155
152
|
vout: number;
|
|
156
153
|
};
|
|
154
|
+
channelId: bigint;
|
|
155
|
+
blockHeight: bigint;
|
|
157
156
|
ingressFee: bigint;
|
|
158
157
|
action: {
|
|
159
158
|
__kind: "Swap";
|
|
@@ -170,6 +169,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
170
169
|
__kind: "BoostersCredited";
|
|
171
170
|
prewitnessedDepositId: bigint;
|
|
172
171
|
};
|
|
172
|
+
amount: bigint;
|
|
173
173
|
}, {
|
|
174
174
|
depositAddress: {
|
|
175
175
|
value: string;
|
|
@@ -191,16 +191,15 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
191
191
|
version: number;
|
|
192
192
|
program: string;
|
|
193
193
|
};
|
|
194
|
-
channelId: string | number;
|
|
195
|
-
blockHeight: string | number;
|
|
196
194
|
asset: {
|
|
197
195
|
__kind: "Btc";
|
|
198
196
|
};
|
|
199
|
-
amount: string | number;
|
|
200
197
|
depositDetails: {
|
|
201
198
|
txId: string;
|
|
202
199
|
vout: number;
|
|
203
200
|
};
|
|
201
|
+
channelId: string | number;
|
|
202
|
+
blockHeight: string | number;
|
|
204
203
|
ingressFee: string | number;
|
|
205
204
|
action: {
|
|
206
205
|
__kind: "Swap";
|
|
@@ -217,6 +216,7 @@ declare const bitcoinIngressEgressDepositFinalised: z.ZodObject<{
|
|
|
217
216
|
__kind: "BoostersCredited";
|
|
218
217
|
prewitnessedDepositId: string | number;
|
|
219
218
|
};
|
|
219
|
+
amount: string | number;
|
|
220
220
|
}>;
|
|
221
221
|
|
|
222
222
|
export { bitcoinIngressEgressDepositFinalised };
|
package/dist/160/common.cjs
CHANGED
|
@@ -20,26 +20,26 @@ var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
|
20
20
|
"SolUsdc"
|
|
21
21
|
]);
|
|
22
22
|
var cfChainsAddressEncodedAddress = _zod.z.union([
|
|
23
|
-
_zod.z.object({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}),
|
|
27
|
-
_zod.z.object({
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}),
|
|
31
|
-
_zod.z.object({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}),
|
|
35
|
-
_zod.z.object({
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}),
|
|
39
|
-
_zod.z.object({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
})
|
|
23
|
+
_zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString }).transform(({ value }) => ({
|
|
24
|
+
chain: "Ethereum",
|
|
25
|
+
address: value
|
|
26
|
+
})),
|
|
27
|
+
_zod.z.object({ __kind: _zod.z.literal("Dot"), value: hexString }).transform(({ value }) => ({
|
|
28
|
+
chain: "Polkadot",
|
|
29
|
+
address: ss58.encode({ data: value, ss58Format: 0 })
|
|
30
|
+
})),
|
|
31
|
+
_zod.z.object({ __kind: _zod.z.literal("Btc"), value: hexString }).transform(({ value }) => ({
|
|
32
|
+
chain: "Bitcoin",
|
|
33
|
+
address: Buffer.from(value.slice(2), "hex").toString("utf8")
|
|
34
|
+
})),
|
|
35
|
+
_zod.z.object({ __kind: _zod.z.literal("Arb"), value: hexString }).transform(({ value }) => ({
|
|
36
|
+
chain: "Arbitrum",
|
|
37
|
+
address: value
|
|
38
|
+
})),
|
|
39
|
+
_zod.z.object({ __kind: _zod.z.literal("Sol"), value: hexString }).transform(({ value }) => ({
|
|
40
|
+
chain: "Solana",
|
|
41
|
+
address: base58.encode(_bytes.hexToBytes.call(void 0, value))
|
|
42
|
+
}))
|
|
43
43
|
]);
|
|
44
44
|
var cfChainsSwapOrigin = _zod.z.union([
|
|
45
45
|
_zod.z.object({
|