@chainflip/processor 1.5.1 → 1.5.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/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/100/common.cjs +15 -6
- package/dist/100/common.d.cts +25 -25
- package/dist/100/common.d.ts +25 -25
- package/dist/100/common.mjs +14 -5
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +28 -28
- 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/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- 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 +19 -19
- package/dist/100/swapping/ccmDepositReceived.d.ts +19 -19
- package/dist/100/swapping/ccmFailed.d.cts +15 -15
- package/dist/100/swapping/ccmFailed.d.ts +15 -15
- package/dist/100/swapping/swapAmountTooLow.d.cts +35 -35
- package/dist/100/swapping/swapAmountTooLow.d.ts +35 -35
- package/dist/100/swapping/swapDepositAddressReady.d.cts +36 -36
- package/dist/100/swapping/swapDepositAddressReady.d.ts +36 -36
- package/dist/100/swapping/swapScheduled.d.cts +37 -37
- package/dist/100/swapping/swapScheduled.d.ts +37 -37
- package/dist/100/swapping/withdrawalRequested.d.cts +15 -15
- package/dist/100/swapping/withdrawalRequested.d.ts +15 -15
- package/dist/102/common.cjs +3 -3
- package/dist/102/common.mjs +2 -2
- package/dist/111/common.cjs +3 -3
- package/dist/111/common.mjs +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/common.cjs +15 -6
- package/dist/120/common.d.cts +10 -10
- package/dist/120/common.d.ts +10 -10
- package/dist/120/common.mjs +14 -5
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/120/swapping/ccmFailed.d.cts +15 -15
- package/dist/120/swapping/ccmFailed.d.ts +15 -15
- package/dist/120/swapping/withdrawalRequested.d.cts +15 -15
- package/dist/120/swapping/withdrawalRequested.d.ts +15 -15
- package/dist/131/common.cjs +15 -6
- package/dist/131/common.d.cts +25 -25
- package/dist/131/common.d.ts +25 -25
- package/dist/131/common.mjs +14 -5
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- 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 +35 -35
- package/dist/131/swapping/ccmFailed.d.ts +35 -35
- 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 +48 -48
- package/dist/131/swapping/swapDepositAddressReady.d.ts +48 -48
- 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 +49 -49
- package/dist/131/swapping/swapScheduled.d.ts +49 -49
- package/dist/131/swapping/withdrawalRequested.d.cts +21 -21
- package/dist/131/swapping/withdrawalRequested.d.ts +21 -21
- 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/141/common.cjs +19 -7
- package/dist/141/common.d.cts +30 -30
- package/dist/141/common.d.ts +30 -30
- package/dist/141/common.mjs +18 -6
- 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/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +18 -18
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +18 -18
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +90 -90
- package/dist/141/swapping/ccmDepositReceived.d.ts +90 -90
- package/dist/141/swapping/ccmFailed.d.cts +126 -126
- package/dist/141/swapping/ccmFailed.d.ts +126 -126
- package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/141/swapping/swapDepositAddressReady.d.cts +64 -64
- package/dist/141/swapping/swapDepositAddressReady.d.ts +64 -64
- package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
- package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/141/swapping/swapExecuted.d.cts +88 -88
- package/dist/141/swapping/swapExecuted.d.ts +88 -88
- package/dist/141/swapping/swapScheduled.d.cts +150 -150
- package/dist/141/swapping/swapScheduled.d.ts +150 -150
- package/dist/141/swapping/withdrawalRequested.d.cts +36 -36
- package/dist/141/swapping/withdrawalRequested.d.ts +36 -36
- 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 +50 -50
- package/dist/150/assetBalances/refundScheduled.d.ts +50 -50
- package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
- package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
- package/dist/150/common.cjs +25 -8
- package/dist/150/common.d.cts +64 -64
- package/dist/150/common.d.ts +64 -64
- package/dist/150/common.mjs +24 -7
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +24 -24
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- 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 +104 -104
- package/dist/150/swapping/ccmDepositReceived.d.ts +104 -104
- package/dist/150/swapping/ccmFailed.d.cts +151 -151
- package/dist/150/swapping/ccmFailed.d.ts +151 -151
- 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 +127 -127
- package/dist/150/swapping/swapDepositAddressReady.d.ts +127 -127
- 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 +175 -175
- package/dist/150/swapping/swapScheduled.d.ts +175 -175
- package/dist/150/swapping/withdrawalRequested.d.cts +40 -40
- package/dist/150/swapping/withdrawalRequested.d.ts +40 -40
- 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 +25 -8
- package/dist/160/common.d.cts +88 -88
- package/dist/160/common.d.ts +88 -88
- package/dist/160/common.mjs +24 -7
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- 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 +28 -28
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +28 -28
- 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 +24 -24
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- 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 +56 -56
- package/dist/160/swapping/ccmFailed.d.ts +56 -56
- 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 +66 -66
- package/dist/160/swapping/swapDepositAddressReady.d.ts +66 -66
- 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 +110 -110
- package/dist/160/swapping/swapRequested.d.ts +110 -110
- package/dist/160/swapping/withdrawalRequested.d.cts +30 -30
- package/dist/160/swapping/withdrawalRequested.d.ts +30 -30
- package/dist/Processor.cjs +7 -1
- package/dist/Processor.mjs +7 -1
- package/package.json +1 -1
|
@@ -13,43 +13,43 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
13
13
|
egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
14
14
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
16
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
16
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
17
17
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
__kind: "
|
|
19
|
+
__kind: "Ethereum";
|
|
20
20
|
value: `0x${string}`;
|
|
21
21
|
}, {
|
|
22
22
|
__kind: "Eth";
|
|
23
23
|
value: string;
|
|
24
24
|
}>, z.ZodObject<{
|
|
25
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
26
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
26
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
__kind: "
|
|
29
|
-
value:
|
|
28
|
+
__kind: "Polkadot";
|
|
29
|
+
value: string;
|
|
30
30
|
}, {
|
|
31
31
|
__kind: "Dot";
|
|
32
32
|
value: string;
|
|
33
33
|
}>, z.ZodObject<{
|
|
34
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
35
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
35
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
__kind: "
|
|
38
|
-
value:
|
|
37
|
+
__kind: "Bitcoin";
|
|
38
|
+
value: string;
|
|
39
39
|
}, {
|
|
40
40
|
__kind: "Btc";
|
|
41
41
|
value: string;
|
|
42
42
|
}>]>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
destinationAddress: {
|
|
45
|
-
__kind: "
|
|
45
|
+
__kind: "Ethereum";
|
|
46
46
|
value: `0x${string}`;
|
|
47
47
|
} | {
|
|
48
|
-
__kind: "
|
|
49
|
-
value:
|
|
48
|
+
__kind: "Polkadot";
|
|
49
|
+
value: string;
|
|
50
50
|
} | {
|
|
51
|
-
__kind: "
|
|
52
|
-
value:
|
|
51
|
+
__kind: "Bitcoin";
|
|
52
|
+
value: string;
|
|
53
53
|
};
|
|
54
54
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin", bigint];
|
|
55
55
|
egressAmount: bigint;
|
|
@@ -13,43 +13,43 @@ declare const swappingWithdrawalRequested: z.ZodObject<{
|
|
|
13
13
|
egressAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
14
14
|
egressFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
16
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
16
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
17
17
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
__kind: "
|
|
19
|
+
__kind: "Ethereum";
|
|
20
20
|
value: `0x${string}`;
|
|
21
21
|
}, {
|
|
22
22
|
__kind: "Eth";
|
|
23
23
|
value: string;
|
|
24
24
|
}>, z.ZodObject<{
|
|
25
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
26
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
26
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
__kind: "
|
|
29
|
-
value:
|
|
28
|
+
__kind: "Polkadot";
|
|
29
|
+
value: string;
|
|
30
30
|
}, {
|
|
31
31
|
__kind: "Dot";
|
|
32
32
|
value: string;
|
|
33
33
|
}>, z.ZodObject<{
|
|
34
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
35
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
35
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
__kind: "
|
|
38
|
-
value:
|
|
37
|
+
__kind: "Bitcoin";
|
|
38
|
+
value: string;
|
|
39
39
|
}, {
|
|
40
40
|
__kind: "Btc";
|
|
41
41
|
value: string;
|
|
42
42
|
}>]>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
destinationAddress: {
|
|
45
|
-
__kind: "
|
|
45
|
+
__kind: "Ethereum";
|
|
46
46
|
value: `0x${string}`;
|
|
47
47
|
} | {
|
|
48
|
-
__kind: "
|
|
49
|
-
value:
|
|
48
|
+
__kind: "Polkadot";
|
|
49
|
+
value: string;
|
|
50
50
|
} | {
|
|
51
|
-
__kind: "
|
|
52
|
-
value:
|
|
51
|
+
__kind: "Bitcoin";
|
|
52
|
+
value: string;
|
|
53
53
|
};
|
|
54
54
|
egressId: ["Ethereum" | "Polkadot" | "Bitcoin", bigint];
|
|
55
55
|
egressAmount: bigint;
|
package/dist/131/common.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// generated/131/common.ts
|
|
2
2
|
var _zod = require('zod');
|
|
3
|
-
var _ss58 = require('@chainflip/utils/ss58');
|
|
3
|
+
var _ss58 = require('@chainflip/utils/ss58'); var ss58 = _interopRequireWildcard(_ss58);
|
|
4
4
|
var hexString = _zod.z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "Invalid hex string" });
|
|
5
5
|
var simpleEnum = (values) => _zod.z.object({ __kind: _zod.z.enum(values) }).transform(({ __kind }) => __kind);
|
|
6
6
|
var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc", "Usdt"]);
|
|
@@ -111,7 +111,7 @@ var spRuntimeDispatchError = _zod.z.union([
|
|
|
111
111
|
var accountId = _zod.z.union([
|
|
112
112
|
hexString,
|
|
113
113
|
_zod.z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
114
|
-
]).transform((value) =>
|
|
114
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
115
115
|
var stateChainRuntimeChainflipOffencesOffence = simpleEnum([
|
|
116
116
|
"ParticipateSigningFailed",
|
|
117
117
|
"ParticipateKeygenFailed",
|
|
@@ -144,9 +144,18 @@ var cfChainsDotPolkadotTransactionId = _zod.z.object({
|
|
|
144
144
|
});
|
|
145
145
|
var cfChainsBtcBitcoinTransactionData = _zod.z.object({ encodedTransaction: hexString });
|
|
146
146
|
var cfChainsAddressEncodedAddress = _zod.z.union([
|
|
147
|
-
_zod.z.object({
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
_zod.z.object({
|
|
148
|
+
__kind: _zod.z.literal("Eth").transform(() => "Ethereum"),
|
|
149
|
+
value: hexString
|
|
150
|
+
}),
|
|
151
|
+
_zod.z.object({
|
|
152
|
+
__kind: _zod.z.literal("Dot").transform(() => "Polkadot"),
|
|
153
|
+
value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
|
|
154
|
+
}),
|
|
155
|
+
_zod.z.object({
|
|
156
|
+
__kind: _zod.z.literal("Btc").transform(() => "Bitcoin"),
|
|
157
|
+
value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
|
|
158
|
+
})
|
|
150
159
|
]);
|
|
151
160
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
152
161
|
"Eth",
|
package/dist/131/common.d.cts
CHANGED
|
@@ -1409,29 +1409,29 @@ declare const cfChainsBtcBitcoinTransactionData: z.ZodObject<{
|
|
|
1409
1409
|
encodedTransaction: string;
|
|
1410
1410
|
}>;
|
|
1411
1411
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
1412
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1412
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1413
1413
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
__kind: "
|
|
1415
|
+
__kind: "Ethereum";
|
|
1416
1416
|
value: `0x${string}`;
|
|
1417
1417
|
}, {
|
|
1418
1418
|
__kind: "Eth";
|
|
1419
1419
|
value: string;
|
|
1420
1420
|
}>, z.ZodObject<{
|
|
1421
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1422
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1421
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1422
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1423
1423
|
}, "strip", z.ZodTypeAny, {
|
|
1424
|
-
__kind: "
|
|
1425
|
-
value:
|
|
1424
|
+
__kind: "Polkadot";
|
|
1425
|
+
value: string;
|
|
1426
1426
|
}, {
|
|
1427
1427
|
__kind: "Dot";
|
|
1428
1428
|
value: string;
|
|
1429
1429
|
}>, z.ZodObject<{
|
|
1430
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1431
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1430
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1431
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1432
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1433
|
-
__kind: "
|
|
1434
|
-
value:
|
|
1433
|
+
__kind: "Bitcoin";
|
|
1434
|
+
value: string;
|
|
1435
1435
|
}, {
|
|
1436
1436
|
__kind: "Btc";
|
|
1437
1437
|
value: string;
|
|
@@ -1461,29 +1461,29 @@ declare const cfChainsCcmChannelMetadata: z.ZodObject<{
|
|
|
1461
1461
|
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
1462
1462
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
1463
1463
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
1464
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1464
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1465
1465
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1466
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1467
|
-
__kind: "
|
|
1467
|
+
__kind: "Ethereum";
|
|
1468
1468
|
value: `0x${string}`;
|
|
1469
1469
|
}, {
|
|
1470
1470
|
__kind: "Eth";
|
|
1471
1471
|
value: string;
|
|
1472
1472
|
}>, z.ZodObject<{
|
|
1473
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1474
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1473
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1474
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1475
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1476
|
-
__kind: "
|
|
1477
|
-
value:
|
|
1476
|
+
__kind: "Polkadot";
|
|
1477
|
+
value: string;
|
|
1478
1478
|
}, {
|
|
1479
1479
|
__kind: "Dot";
|
|
1480
1480
|
value: string;
|
|
1481
1481
|
}>, z.ZodObject<{
|
|
1482
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1483
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1482
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1483
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1484
1484
|
}, "strip", z.ZodTypeAny, {
|
|
1485
|
-
__kind: "
|
|
1486
|
-
value:
|
|
1485
|
+
__kind: "Bitcoin";
|
|
1486
|
+
value: string;
|
|
1487
1487
|
}, {
|
|
1488
1488
|
__kind: "Btc";
|
|
1489
1489
|
value: string;
|
|
@@ -1493,14 +1493,14 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
1493
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1494
1494
|
__kind: "DepositChannel";
|
|
1495
1495
|
depositAddress: {
|
|
1496
|
-
__kind: "
|
|
1496
|
+
__kind: "Ethereum";
|
|
1497
1497
|
value: `0x${string}`;
|
|
1498
1498
|
} | {
|
|
1499
|
-
__kind: "
|
|
1500
|
-
value:
|
|
1499
|
+
__kind: "Polkadot";
|
|
1500
|
+
value: string;
|
|
1501
1501
|
} | {
|
|
1502
|
-
__kind: "
|
|
1503
|
-
value:
|
|
1502
|
+
__kind: "Bitcoin";
|
|
1503
|
+
value: string;
|
|
1504
1504
|
};
|
|
1505
1505
|
channelId: bigint;
|
|
1506
1506
|
depositBlockHeight: bigint;
|
package/dist/131/common.d.ts
CHANGED
|
@@ -1409,29 +1409,29 @@ declare const cfChainsBtcBitcoinTransactionData: z.ZodObject<{
|
|
|
1409
1409
|
encodedTransaction: string;
|
|
1410
1410
|
}>;
|
|
1411
1411
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
1412
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1412
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1413
1413
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
__kind: "
|
|
1415
|
+
__kind: "Ethereum";
|
|
1416
1416
|
value: `0x${string}`;
|
|
1417
1417
|
}, {
|
|
1418
1418
|
__kind: "Eth";
|
|
1419
1419
|
value: string;
|
|
1420
1420
|
}>, z.ZodObject<{
|
|
1421
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1422
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1421
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1422
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1423
1423
|
}, "strip", z.ZodTypeAny, {
|
|
1424
|
-
__kind: "
|
|
1425
|
-
value:
|
|
1424
|
+
__kind: "Polkadot";
|
|
1425
|
+
value: string;
|
|
1426
1426
|
}, {
|
|
1427
1427
|
__kind: "Dot";
|
|
1428
1428
|
value: string;
|
|
1429
1429
|
}>, z.ZodObject<{
|
|
1430
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1431
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1430
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1431
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1432
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1433
|
-
__kind: "
|
|
1434
|
-
value:
|
|
1433
|
+
__kind: "Bitcoin";
|
|
1434
|
+
value: string;
|
|
1435
1435
|
}, {
|
|
1436
1436
|
__kind: "Btc";
|
|
1437
1437
|
value: string;
|
|
@@ -1461,29 +1461,29 @@ declare const cfChainsCcmChannelMetadata: z.ZodObject<{
|
|
|
1461
1461
|
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
1462
1462
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
1463
1463
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
1464
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1464
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1465
1465
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1466
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1467
|
-
__kind: "
|
|
1467
|
+
__kind: "Ethereum";
|
|
1468
1468
|
value: `0x${string}`;
|
|
1469
1469
|
}, {
|
|
1470
1470
|
__kind: "Eth";
|
|
1471
1471
|
value: string;
|
|
1472
1472
|
}>, z.ZodObject<{
|
|
1473
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1474
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1473
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1474
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1475
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1476
|
-
__kind: "
|
|
1477
|
-
value:
|
|
1476
|
+
__kind: "Polkadot";
|
|
1477
|
+
value: string;
|
|
1478
1478
|
}, {
|
|
1479
1479
|
__kind: "Dot";
|
|
1480
1480
|
value: string;
|
|
1481
1481
|
}>, z.ZodObject<{
|
|
1482
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1483
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1482
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1483
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1484
1484
|
}, "strip", z.ZodTypeAny, {
|
|
1485
|
-
__kind: "
|
|
1486
|
-
value:
|
|
1485
|
+
__kind: "Bitcoin";
|
|
1486
|
+
value: string;
|
|
1487
1487
|
}, {
|
|
1488
1488
|
__kind: "Btc";
|
|
1489
1489
|
value: string;
|
|
@@ -1493,14 +1493,14 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
1493
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1494
1494
|
__kind: "DepositChannel";
|
|
1495
1495
|
depositAddress: {
|
|
1496
|
-
__kind: "
|
|
1496
|
+
__kind: "Ethereum";
|
|
1497
1497
|
value: `0x${string}`;
|
|
1498
1498
|
} | {
|
|
1499
|
-
__kind: "
|
|
1500
|
-
value:
|
|
1499
|
+
__kind: "Polkadot";
|
|
1500
|
+
value: string;
|
|
1501
1501
|
} | {
|
|
1502
|
-
__kind: "
|
|
1503
|
-
value:
|
|
1502
|
+
__kind: "Bitcoin";
|
|
1503
|
+
value: string;
|
|
1504
1504
|
};
|
|
1505
1505
|
channelId: bigint;
|
|
1506
1506
|
depositBlockHeight: bigint;
|
package/dist/131/common.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// generated/131/common.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import
|
|
3
|
+
import * as ss58 from "@chainflip/utils/ss58";
|
|
4
4
|
var hexString = z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "Invalid hex string" });
|
|
5
5
|
var simpleEnum = (values) => z.object({ __kind: z.enum(values) }).transform(({ __kind }) => __kind);
|
|
6
6
|
var cfPrimitivesChainsAssetsEthAsset = simpleEnum(["Eth", "Flip", "Usdc", "Usdt"]);
|
|
@@ -111,7 +111,7 @@ var spRuntimeDispatchError = z.union([
|
|
|
111
111
|
var accountId = z.union([
|
|
112
112
|
hexString,
|
|
113
113
|
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
114
|
-
]).transform((value) => encode({ data: value, ss58Format: 2112 }));
|
|
114
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
115
115
|
var stateChainRuntimeChainflipOffencesOffence = simpleEnum([
|
|
116
116
|
"ParticipateSigningFailed",
|
|
117
117
|
"ParticipateKeygenFailed",
|
|
@@ -144,9 +144,18 @@ var cfChainsDotPolkadotTransactionId = z.object({
|
|
|
144
144
|
});
|
|
145
145
|
var cfChainsBtcBitcoinTransactionData = z.object({ encodedTransaction: hexString });
|
|
146
146
|
var cfChainsAddressEncodedAddress = z.union([
|
|
147
|
-
z.object({
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
z.object({
|
|
148
|
+
__kind: z.literal("Eth").transform(() => "Ethereum"),
|
|
149
|
+
value: hexString
|
|
150
|
+
}),
|
|
151
|
+
z.object({
|
|
152
|
+
__kind: z.literal("Dot").transform(() => "Polkadot"),
|
|
153
|
+
value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
|
|
154
|
+
}),
|
|
155
|
+
z.object({
|
|
156
|
+
__kind: z.literal("Btc").transform(() => "Bitcoin"),
|
|
157
|
+
value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
|
|
158
|
+
})
|
|
150
159
|
]);
|
|
151
160
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
152
161
|
"Eth",
|