@chainflip/processor 1.5.0 → 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/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/liquidityProvider/accountCredited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountCredited.d.ts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.ts +6 -6
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +23 -23
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +23 -23
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +21 -21
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +21 -21
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
- 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/100/witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
- 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/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 +79 -79
- package/dist/120/swapping/ccmFailed.d.ts +79 -79
- package/dist/120/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/120/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/120/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/120/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/120/swapping/swapExecuted.d.cts +12 -12
- package/dist/120/swapping/swapExecuted.d.ts +12 -12
- package/dist/120/swapping/withdrawalRequested.d.cts +23 -23
- package/dist/120/swapping/withdrawalRequested.d.ts +23 -23
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- 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/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- 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/ethereumIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.ts +2 -2
- 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/swapping/ccmDepositReceived.d.cts +18 -18
- package/dist/141/swapping/ccmDepositReceived.d.ts +18 -18
- package/dist/141/swapping/ccmFailed.d.cts +42 -42
- package/dist/141/swapping/ccmFailed.d.ts +42 -42
- package/dist/141/swapping/swapDepositAddressReady.d.cts +36 -36
- package/dist/141/swapping/swapDepositAddressReady.d.ts +36 -36
- package/dist/141/swapping/swapScheduled.d.cts +42 -42
- package/dist/141/swapping/swapScheduled.d.ts +42 -42
- package/dist/141/swapping/withdrawalRequested.d.cts +18 -18
- package/dist/141/swapping/withdrawalRequested.d.ts +18 -18
- 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/common.cjs +40 -23
- package/dist/150/common.d.cts +205 -338
- package/dist/150/common.d.ts +205 -338
- package/dist/150/common.mjs +39 -22
- 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 +4 -4
- package/dist/150/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.ts +16 -16
- 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/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- 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 +24 -24
- package/dist/150/swapping/ccmDepositReceived.d.ts +24 -24
- package/dist/150/swapping/ccmFailed.d.cts +56 -56
- package/dist/150/swapping/ccmFailed.d.ts +56 -56
- package/dist/150/swapping/swapDepositAddressReady.cjs +1 -1
- package/dist/150/swapping/swapDepositAddressReady.d.cts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.d.ts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.mjs +2 -2
- package/dist/150/swapping/swapScheduled.d.cts +56 -56
- package/dist/150/swapping/swapScheduled.d.ts +56 -56
- package/dist/150/swapping/withdrawalRequested.d.cts +24 -24
- package/dist/150/swapping/withdrawalRequested.d.ts +24 -24
- 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 +10 -10
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
- 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 +10 -10
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- 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/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +2 -2
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +2 -2
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +2 -2
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +2 -2
- 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/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/160/solanaBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- 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
|
@@ -11,47 +11,47 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
13
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Ethereum";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Polkadot";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Dot";
|
|
30
30
|
value: string;
|
|
31
31
|
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
33
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
32
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
33
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
36
|
-
value:
|
|
35
|
+
__kind: "Bitcoin";
|
|
36
|
+
value: string;
|
|
37
37
|
}, {
|
|
38
38
|
__kind: "Btc";
|
|
39
39
|
value: string;
|
|
40
40
|
}>, z.ZodObject<{
|
|
41
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
41
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
42
42
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
__kind: "
|
|
44
|
+
__kind: "Arbitrum";
|
|
45
45
|
value: `0x${string}`;
|
|
46
46
|
}, {
|
|
47
47
|
__kind: "Arb";
|
|
48
48
|
value: string;
|
|
49
49
|
}>, z.ZodObject<{
|
|
50
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
51
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
50
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
51
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
__kind: "
|
|
54
|
-
value:
|
|
53
|
+
__kind: "Solana";
|
|
54
|
+
value: string;
|
|
55
55
|
}, {
|
|
56
56
|
__kind: "Sol";
|
|
57
57
|
value: string;
|
|
@@ -310,47 +310,47 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
310
310
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
311
311
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
312
312
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
313
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
313
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
314
314
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
__kind: "
|
|
316
|
+
__kind: "Ethereum";
|
|
317
317
|
value: `0x${string}`;
|
|
318
318
|
}, {
|
|
319
319
|
__kind: "Eth";
|
|
320
320
|
value: string;
|
|
321
321
|
}>, z.ZodObject<{
|
|
322
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
323
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
322
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
323
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
__kind: "
|
|
326
|
-
value:
|
|
325
|
+
__kind: "Polkadot";
|
|
326
|
+
value: string;
|
|
327
327
|
}, {
|
|
328
328
|
__kind: "Dot";
|
|
329
329
|
value: string;
|
|
330
330
|
}>, z.ZodObject<{
|
|
331
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
332
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
331
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
332
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
__kind: "
|
|
335
|
-
value:
|
|
334
|
+
__kind: "Bitcoin";
|
|
335
|
+
value: string;
|
|
336
336
|
}, {
|
|
337
337
|
__kind: "Btc";
|
|
338
338
|
value: string;
|
|
339
339
|
}>, z.ZodObject<{
|
|
340
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
340
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
341
341
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
342
342
|
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
__kind: "
|
|
343
|
+
__kind: "Arbitrum";
|
|
344
344
|
value: `0x${string}`;
|
|
345
345
|
}, {
|
|
346
346
|
__kind: "Arb";
|
|
347
347
|
value: string;
|
|
348
348
|
}>, z.ZodObject<{
|
|
349
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
350
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
349
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
350
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
__kind: "
|
|
353
|
-
value:
|
|
352
|
+
__kind: "Solana";
|
|
353
|
+
value: string;
|
|
354
354
|
}, {
|
|
355
355
|
__kind: "Sol";
|
|
356
356
|
value: string;
|
|
@@ -360,20 +360,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
__kind: "DepositChannel";
|
|
362
362
|
depositAddress: {
|
|
363
|
-
__kind: "
|
|
363
|
+
__kind: "Ethereum";
|
|
364
364
|
value: `0x${string}`;
|
|
365
365
|
} | {
|
|
366
|
-
__kind: "
|
|
367
|
-
value:
|
|
366
|
+
__kind: "Polkadot";
|
|
367
|
+
value: string;
|
|
368
368
|
} | {
|
|
369
|
-
__kind: "
|
|
370
|
-
value:
|
|
369
|
+
__kind: "Bitcoin";
|
|
370
|
+
value: string;
|
|
371
371
|
} | {
|
|
372
|
-
__kind: "
|
|
372
|
+
__kind: "Arbitrum";
|
|
373
373
|
value: `0x${string}`;
|
|
374
374
|
} | {
|
|
375
|
-
__kind: "
|
|
376
|
-
value:
|
|
375
|
+
__kind: "Solana";
|
|
376
|
+
value: string;
|
|
377
377
|
};
|
|
378
378
|
channelId: bigint;
|
|
379
379
|
depositBlockHeight: bigint;
|
|
@@ -409,20 +409,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
409
409
|
}>]>;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
411
|
destinationAddress: {
|
|
412
|
-
__kind: "
|
|
412
|
+
__kind: "Ethereum";
|
|
413
413
|
value: `0x${string}`;
|
|
414
414
|
} | {
|
|
415
|
-
__kind: "
|
|
416
|
-
value:
|
|
415
|
+
__kind: "Polkadot";
|
|
416
|
+
value: string;
|
|
417
417
|
} | {
|
|
418
|
-
__kind: "
|
|
419
|
-
value:
|
|
418
|
+
__kind: "Bitcoin";
|
|
419
|
+
value: string;
|
|
420
420
|
} | {
|
|
421
|
-
__kind: "
|
|
421
|
+
__kind: "Arbitrum";
|
|
422
422
|
value: `0x${string}`;
|
|
423
423
|
} | {
|
|
424
|
-
__kind: "
|
|
425
|
-
value:
|
|
424
|
+
__kind: "Solana";
|
|
425
|
+
value: string;
|
|
426
426
|
};
|
|
427
427
|
depositMetadata: {
|
|
428
428
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
@@ -471,20 +471,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
471
471
|
origin: {
|
|
472
472
|
__kind: "DepositChannel";
|
|
473
473
|
depositAddress: {
|
|
474
|
-
__kind: "
|
|
474
|
+
__kind: "Ethereum";
|
|
475
475
|
value: `0x${string}`;
|
|
476
476
|
} | {
|
|
477
|
-
__kind: "
|
|
478
|
-
value:
|
|
477
|
+
__kind: "Polkadot";
|
|
478
|
+
value: string;
|
|
479
479
|
} | {
|
|
480
|
-
__kind: "
|
|
481
|
-
value:
|
|
480
|
+
__kind: "Bitcoin";
|
|
481
|
+
value: string;
|
|
482
482
|
} | {
|
|
483
|
-
__kind: "
|
|
483
|
+
__kind: "Arbitrum";
|
|
484
484
|
value: `0x${string}`;
|
|
485
485
|
} | {
|
|
486
|
-
__kind: "
|
|
487
|
-
value:
|
|
486
|
+
__kind: "Solana";
|
|
487
|
+
value: string;
|
|
488
488
|
};
|
|
489
489
|
channelId: bigint;
|
|
490
490
|
depositBlockHeight: bigint;
|
|
@@ -11,47 +11,47 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
13
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Ethereum";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Polkadot";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Dot";
|
|
30
30
|
value: string;
|
|
31
31
|
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
33
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
32
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
33
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
36
|
-
value:
|
|
35
|
+
__kind: "Bitcoin";
|
|
36
|
+
value: string;
|
|
37
37
|
}, {
|
|
38
38
|
__kind: "Btc";
|
|
39
39
|
value: string;
|
|
40
40
|
}>, z.ZodObject<{
|
|
41
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
41
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
42
42
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
__kind: "
|
|
44
|
+
__kind: "Arbitrum";
|
|
45
45
|
value: `0x${string}`;
|
|
46
46
|
}, {
|
|
47
47
|
__kind: "Arb";
|
|
48
48
|
value: string;
|
|
49
49
|
}>, z.ZodObject<{
|
|
50
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
51
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
50
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
51
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
__kind: "
|
|
54
|
-
value:
|
|
53
|
+
__kind: "Solana";
|
|
54
|
+
value: string;
|
|
55
55
|
}, {
|
|
56
56
|
__kind: "Sol";
|
|
57
57
|
value: string;
|
|
@@ -310,47 +310,47 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
310
310
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
311
311
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
312
312
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
313
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
313
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
314
314
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
__kind: "
|
|
316
|
+
__kind: "Ethereum";
|
|
317
317
|
value: `0x${string}`;
|
|
318
318
|
}, {
|
|
319
319
|
__kind: "Eth";
|
|
320
320
|
value: string;
|
|
321
321
|
}>, z.ZodObject<{
|
|
322
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
323
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
322
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
323
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
__kind: "
|
|
326
|
-
value:
|
|
325
|
+
__kind: "Polkadot";
|
|
326
|
+
value: string;
|
|
327
327
|
}, {
|
|
328
328
|
__kind: "Dot";
|
|
329
329
|
value: string;
|
|
330
330
|
}>, z.ZodObject<{
|
|
331
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
332
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
331
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
332
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
__kind: "
|
|
335
|
-
value:
|
|
334
|
+
__kind: "Bitcoin";
|
|
335
|
+
value: string;
|
|
336
336
|
}, {
|
|
337
337
|
__kind: "Btc";
|
|
338
338
|
value: string;
|
|
339
339
|
}>, z.ZodObject<{
|
|
340
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
340
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
341
341
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
342
342
|
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
__kind: "
|
|
343
|
+
__kind: "Arbitrum";
|
|
344
344
|
value: `0x${string}`;
|
|
345
345
|
}, {
|
|
346
346
|
__kind: "Arb";
|
|
347
347
|
value: string;
|
|
348
348
|
}>, z.ZodObject<{
|
|
349
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
350
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
349
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
350
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
__kind: "
|
|
353
|
-
value:
|
|
352
|
+
__kind: "Solana";
|
|
353
|
+
value: string;
|
|
354
354
|
}, {
|
|
355
355
|
__kind: "Sol";
|
|
356
356
|
value: string;
|
|
@@ -360,20 +360,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
__kind: "DepositChannel";
|
|
362
362
|
depositAddress: {
|
|
363
|
-
__kind: "
|
|
363
|
+
__kind: "Ethereum";
|
|
364
364
|
value: `0x${string}`;
|
|
365
365
|
} | {
|
|
366
|
-
__kind: "
|
|
367
|
-
value:
|
|
366
|
+
__kind: "Polkadot";
|
|
367
|
+
value: string;
|
|
368
368
|
} | {
|
|
369
|
-
__kind: "
|
|
370
|
-
value:
|
|
369
|
+
__kind: "Bitcoin";
|
|
370
|
+
value: string;
|
|
371
371
|
} | {
|
|
372
|
-
__kind: "
|
|
372
|
+
__kind: "Arbitrum";
|
|
373
373
|
value: `0x${string}`;
|
|
374
374
|
} | {
|
|
375
|
-
__kind: "
|
|
376
|
-
value:
|
|
375
|
+
__kind: "Solana";
|
|
376
|
+
value: string;
|
|
377
377
|
};
|
|
378
378
|
channelId: bigint;
|
|
379
379
|
depositBlockHeight: bigint;
|
|
@@ -409,20 +409,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
409
409
|
}>]>;
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
411
|
destinationAddress: {
|
|
412
|
-
__kind: "
|
|
412
|
+
__kind: "Ethereum";
|
|
413
413
|
value: `0x${string}`;
|
|
414
414
|
} | {
|
|
415
|
-
__kind: "
|
|
416
|
-
value:
|
|
415
|
+
__kind: "Polkadot";
|
|
416
|
+
value: string;
|
|
417
417
|
} | {
|
|
418
|
-
__kind: "
|
|
419
|
-
value:
|
|
418
|
+
__kind: "Bitcoin";
|
|
419
|
+
value: string;
|
|
420
420
|
} | {
|
|
421
|
-
__kind: "
|
|
421
|
+
__kind: "Arbitrum";
|
|
422
422
|
value: `0x${string}`;
|
|
423
423
|
} | {
|
|
424
|
-
__kind: "
|
|
425
|
-
value:
|
|
424
|
+
__kind: "Solana";
|
|
425
|
+
value: string;
|
|
426
426
|
};
|
|
427
427
|
depositMetadata: {
|
|
428
428
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
|
@@ -471,20 +471,20 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
471
471
|
origin: {
|
|
472
472
|
__kind: "DepositChannel";
|
|
473
473
|
depositAddress: {
|
|
474
|
-
__kind: "
|
|
474
|
+
__kind: "Ethereum";
|
|
475
475
|
value: `0x${string}`;
|
|
476
476
|
} | {
|
|
477
|
-
__kind: "
|
|
478
|
-
value:
|
|
477
|
+
__kind: "Polkadot";
|
|
478
|
+
value: string;
|
|
479
479
|
} | {
|
|
480
|
-
__kind: "
|
|
481
|
-
value:
|
|
480
|
+
__kind: "Bitcoin";
|
|
481
|
+
value: string;
|
|
482
482
|
} | {
|
|
483
|
-
__kind: "
|
|
483
|
+
__kind: "Arbitrum";
|
|
484
484
|
value: `0x${string}`;
|
|
485
485
|
} | {
|
|
486
|
-
__kind: "
|
|
487
|
-
value:
|
|
486
|
+
__kind: "Solana";
|
|
487
|
+
value: string;
|
|
488
488
|
};
|
|
489
489
|
channelId: bigint;
|
|
490
490
|
depositBlockHeight: bigint;
|
|
@@ -20,7 +20,7 @@ var swappingSwapDepositAddressReady = _zod.z.object({
|
|
|
20
20
|
boostFee: _zod.z.number(),
|
|
21
21
|
channelOpeningFee: _commoncjs.numberOrHex,
|
|
22
22
|
affiliateFees: _zod.z.array(_commoncjs.cfPrimitivesBeneficiary),
|
|
23
|
-
refundParameters: _commoncjs.
|
|
23
|
+
refundParameters: _commoncjs.cfChainsChannelRefundParametersEncodedAddress.nullish()
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
|