@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
package/dist/120/common.d.ts
CHANGED
|
@@ -336,29 +336,29 @@ declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
|
|
|
336
336
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
337
337
|
}>;
|
|
338
338
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
339
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
339
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
340
340
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
342
|
value: `0x${string}`;
|
|
343
|
-
__kind: "
|
|
343
|
+
__kind: "Ethereum";
|
|
344
344
|
}, {
|
|
345
345
|
value: string;
|
|
346
346
|
__kind: "Eth";
|
|
347
347
|
}>, z.ZodObject<{
|
|
348
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
349
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
348
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
349
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
value:
|
|
352
|
-
__kind: "
|
|
351
|
+
value: string;
|
|
352
|
+
__kind: "Polkadot";
|
|
353
353
|
}, {
|
|
354
354
|
value: string;
|
|
355
355
|
__kind: "Dot";
|
|
356
356
|
}>, z.ZodObject<{
|
|
357
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
358
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
357
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
358
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
value:
|
|
361
|
-
__kind: "
|
|
360
|
+
value: string;
|
|
361
|
+
__kind: "Bitcoin";
|
|
362
362
|
}, {
|
|
363
363
|
value: string;
|
|
364
364
|
__kind: "Btc";
|
package/dist/120/common.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// generated/120/common.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import
|
|
3
|
+
import * as ss58 from "@chainflip/utils/ss58";
|
|
4
4
|
var cfChainsBtcConsolidationParameters = z.object({
|
|
5
5
|
consolidationThreshold: z.number(),
|
|
6
6
|
consolidationSize: z.number()
|
|
@@ -9,7 +9,7 @@ var hexString = z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "In
|
|
|
9
9
|
var accountId = z.union([
|
|
10
10
|
hexString,
|
|
11
11
|
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
12
|
-
]).transform((value) => encode({ data: value, ss58Format: 2112 }));
|
|
12
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
13
13
|
var numericString = z.string().refine((v) => /^\d+$/.test(v), { message: "Invalid numeric string" });
|
|
14
14
|
var numberOrHex = z.union([z.number(), hexString, numericString]).transform((n) => BigInt(n));
|
|
15
15
|
var simpleEnum = (values) => z.object({ __kind: z.enum(values) }).transform(({ __kind }) => __kind);
|
|
@@ -68,9 +68,18 @@ var cfChainsDotPolkadotTransactionData = z.object({ encodedExtrinsic: hexString
|
|
|
68
68
|
var cfChainsBtcBitcoinTransactionData = z.object({ encodedTransaction: hexString });
|
|
69
69
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum(["Eth", "Flip", "Usdc", "Dot", "Btc"]);
|
|
70
70
|
var cfChainsAddressEncodedAddress = z.union([
|
|
71
|
-
z.object({
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
z.object({
|
|
72
|
+
__kind: z.literal("Eth").transform(() => "Ethereum"),
|
|
73
|
+
value: hexString
|
|
74
|
+
}),
|
|
75
|
+
z.object({
|
|
76
|
+
__kind: z.literal("Dot").transform(() => "Polkadot"),
|
|
77
|
+
value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
|
|
78
|
+
}),
|
|
79
|
+
z.object({
|
|
80
|
+
__kind: z.literal("Btc").transform(() => "Bitcoin"),
|
|
81
|
+
value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
|
|
82
|
+
})
|
|
74
83
|
]);
|
|
75
84
|
var palletCfSwappingCcmFailReason = simpleEnum([
|
|
76
85
|
"UnsupportedForTargetChain",
|
|
@@ -21,29 +21,29 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
21
21
|
}>;
|
|
22
22
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
24
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
24
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
value: `0x${string}`;
|
|
28
|
-
__kind: "
|
|
28
|
+
__kind: "Ethereum";
|
|
29
29
|
}, {
|
|
30
30
|
value: string;
|
|
31
31
|
__kind: "Eth";
|
|
32
32
|
}>, z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
34
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
34
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
value:
|
|
37
|
-
__kind: "
|
|
36
|
+
value: string;
|
|
37
|
+
__kind: "Polkadot";
|
|
38
38
|
}, {
|
|
39
39
|
value: string;
|
|
40
40
|
__kind: "Dot";
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
43
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
42
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
43
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value:
|
|
46
|
-
__kind: "
|
|
45
|
+
value: string;
|
|
46
|
+
__kind: "Bitcoin";
|
|
47
47
|
}, {
|
|
48
48
|
value: string;
|
|
49
49
|
__kind: "Btc";
|
|
@@ -55,13 +55,13 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
55
55
|
amount: bigint;
|
|
56
56
|
destinationAddress: {
|
|
57
57
|
value: `0x${string}`;
|
|
58
|
-
__kind: "
|
|
58
|
+
__kind: "Ethereum";
|
|
59
59
|
} | {
|
|
60
|
-
value:
|
|
61
|
-
__kind: "
|
|
60
|
+
value: string;
|
|
61
|
+
__kind: "Polkadot";
|
|
62
62
|
} | {
|
|
63
|
-
value:
|
|
64
|
-
__kind: "
|
|
63
|
+
value: string;
|
|
64
|
+
__kind: "Bitcoin";
|
|
65
65
|
};
|
|
66
66
|
fee: bigint;
|
|
67
67
|
}, {
|
|
@@ -21,29 +21,29 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
21
21
|
}>;
|
|
22
22
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
24
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
24
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
value: `0x${string}`;
|
|
28
|
-
__kind: "
|
|
28
|
+
__kind: "Ethereum";
|
|
29
29
|
}, {
|
|
30
30
|
value: string;
|
|
31
31
|
__kind: "Eth";
|
|
32
32
|
}>, z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
34
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
34
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
value:
|
|
37
|
-
__kind: "
|
|
36
|
+
value: string;
|
|
37
|
+
__kind: "Polkadot";
|
|
38
38
|
}, {
|
|
39
39
|
value: string;
|
|
40
40
|
__kind: "Dot";
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
43
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
42
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
43
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value:
|
|
46
|
-
__kind: "
|
|
45
|
+
value: string;
|
|
46
|
+
__kind: "Bitcoin";
|
|
47
47
|
}, {
|
|
48
48
|
value: string;
|
|
49
49
|
__kind: "Btc";
|
|
@@ -55,13 +55,13 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
55
55
|
amount: bigint;
|
|
56
56
|
destinationAddress: {
|
|
57
57
|
value: `0x${string}`;
|
|
58
|
-
__kind: "
|
|
58
|
+
__kind: "Ethereum";
|
|
59
59
|
} | {
|
|
60
|
-
value:
|
|
61
|
-
__kind: "
|
|
60
|
+
value: string;
|
|
61
|
+
__kind: "Polkadot";
|
|
62
62
|
} | {
|
|
63
|
-
value:
|
|
64
|
-
__kind: "
|
|
63
|
+
value: string;
|
|
64
|
+
__kind: "Bitcoin";
|
|
65
65
|
};
|
|
66
66
|
fee: bigint;
|
|
67
67
|
}, {
|
|
@@ -11,32 +11,32 @@ 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: "Ethereum";
|
|
17
18
|
value: `0x${string}`;
|
|
18
|
-
__kind: "Eth";
|
|
19
19
|
}, {
|
|
20
|
-
value: string;
|
|
21
20
|
__kind: "Eth";
|
|
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
|
-
|
|
27
|
-
__kind: "Dot";
|
|
28
|
-
}, {
|
|
26
|
+
__kind: "Polkadot";
|
|
29
27
|
value: string;
|
|
28
|
+
}, {
|
|
30
29
|
__kind: "Dot";
|
|
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
|
-
|
|
36
|
-
__kind: "Btc";
|
|
37
|
-
}, {
|
|
35
|
+
__kind: "Bitcoin";
|
|
38
36
|
value: string;
|
|
37
|
+
}, {
|
|
39
38
|
__kind: "Btc";
|
|
39
|
+
value: string;
|
|
40
40
|
}>]>;
|
|
41
41
|
depositMetadata: z.ZodObject<{
|
|
42
42
|
sourceChain: z.ZodEffects<z.ZodObject<{
|
|
@@ -52,67 +52,67 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
52
52
|
__kind: z.ZodLiteral<"Eth">;
|
|
53
53
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
value: `0x${string}`;
|
|
56
55
|
__kind: "Eth";
|
|
56
|
+
value: `0x${string}`;
|
|
57
57
|
}, {
|
|
58
|
-
value: string;
|
|
59
58
|
__kind: "Eth";
|
|
59
|
+
value: string;
|
|
60
60
|
}>, z.ZodObject<{
|
|
61
61
|
__kind: z.ZodLiteral<"Dot">;
|
|
62
62
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
value: `0x${string}`;
|
|
65
64
|
__kind: "Dot";
|
|
65
|
+
value: `0x${string}`;
|
|
66
66
|
}, {
|
|
67
|
-
value: string;
|
|
68
67
|
__kind: "Dot";
|
|
68
|
+
value: string;
|
|
69
69
|
}>, z.ZodObject<{
|
|
70
70
|
__kind: z.ZodLiteral<"Btc">;
|
|
71
71
|
value: z.ZodUnion<[z.ZodObject<{
|
|
72
72
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
73
73
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
value: `0x${string}`;
|
|
76
75
|
__kind: "P2PKH";
|
|
76
|
+
value: `0x${string}`;
|
|
77
77
|
}, {
|
|
78
|
-
value: string;
|
|
79
78
|
__kind: "P2PKH";
|
|
79
|
+
value: string;
|
|
80
80
|
}>, z.ZodObject<{
|
|
81
81
|
__kind: z.ZodLiteral<"P2SH">;
|
|
82
82
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
value: `0x${string}`;
|
|
85
84
|
__kind: "P2SH";
|
|
85
|
+
value: `0x${string}`;
|
|
86
86
|
}, {
|
|
87
|
-
value: string;
|
|
88
87
|
__kind: "P2SH";
|
|
88
|
+
value: string;
|
|
89
89
|
}>, z.ZodObject<{
|
|
90
90
|
__kind: z.ZodLiteral<"P2WPKH">;
|
|
91
91
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
value: `0x${string}`;
|
|
94
93
|
__kind: "P2WPKH";
|
|
94
|
+
value: `0x${string}`;
|
|
95
95
|
}, {
|
|
96
|
-
value: string;
|
|
97
96
|
__kind: "P2WPKH";
|
|
97
|
+
value: string;
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
99
|
__kind: z.ZodLiteral<"P2WSH">;
|
|
100
100
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
value: `0x${string}`;
|
|
103
102
|
__kind: "P2WSH";
|
|
103
|
+
value: `0x${string}`;
|
|
104
104
|
}, {
|
|
105
|
-
value: string;
|
|
106
105
|
__kind: "P2WSH";
|
|
106
|
+
value: string;
|
|
107
107
|
}>, z.ZodObject<{
|
|
108
108
|
__kind: z.ZodLiteral<"Taproot">;
|
|
109
109
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
value: `0x${string}`;
|
|
112
111
|
__kind: "Taproot";
|
|
112
|
+
value: `0x${string}`;
|
|
113
113
|
}, {
|
|
114
|
-
value: string;
|
|
115
114
|
__kind: "Taproot";
|
|
115
|
+
value: string;
|
|
116
116
|
}>, z.ZodObject<{
|
|
117
117
|
__kind: z.ZodLiteral<"OtherSegwit">;
|
|
118
118
|
version: z.ZodNumber;
|
|
@@ -127,49 +127,49 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
127
127
|
program: string;
|
|
128
128
|
}>]>;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
__kind: "Btc";
|
|
130
131
|
value: {
|
|
131
|
-
value: `0x${string}`;
|
|
132
132
|
__kind: "P2PKH";
|
|
133
|
-
} | {
|
|
134
133
|
value: `0x${string}`;
|
|
135
|
-
__kind: "P2SH";
|
|
136
134
|
} | {
|
|
135
|
+
__kind: "P2SH";
|
|
137
136
|
value: `0x${string}`;
|
|
138
|
-
__kind: "P2WPKH";
|
|
139
137
|
} | {
|
|
138
|
+
__kind: "P2WPKH";
|
|
140
139
|
value: `0x${string}`;
|
|
141
|
-
__kind: "P2WSH";
|
|
142
140
|
} | {
|
|
141
|
+
__kind: "P2WSH";
|
|
143
142
|
value: `0x${string}`;
|
|
143
|
+
} | {
|
|
144
144
|
__kind: "Taproot";
|
|
145
|
+
value: `0x${string}`;
|
|
145
146
|
} | {
|
|
146
147
|
__kind: "OtherSegwit";
|
|
147
148
|
version: number;
|
|
148
149
|
program: `0x${string}`;
|
|
149
150
|
};
|
|
150
|
-
__kind: "Btc";
|
|
151
151
|
}, {
|
|
152
|
+
__kind: "Btc";
|
|
152
153
|
value: {
|
|
153
|
-
value: string;
|
|
154
154
|
__kind: "P2PKH";
|
|
155
|
-
} | {
|
|
156
155
|
value: string;
|
|
157
|
-
__kind: "P2SH";
|
|
158
156
|
} | {
|
|
157
|
+
__kind: "P2SH";
|
|
159
158
|
value: string;
|
|
160
|
-
__kind: "P2WPKH";
|
|
161
159
|
} | {
|
|
160
|
+
__kind: "P2WPKH";
|
|
162
161
|
value: string;
|
|
163
|
-
__kind: "P2WSH";
|
|
164
162
|
} | {
|
|
163
|
+
__kind: "P2WSH";
|
|
165
164
|
value: string;
|
|
165
|
+
} | {
|
|
166
166
|
__kind: "Taproot";
|
|
167
|
+
value: string;
|
|
167
168
|
} | {
|
|
168
169
|
__kind: "OtherSegwit";
|
|
169
170
|
version: number;
|
|
170
171
|
program: string;
|
|
171
172
|
};
|
|
172
|
-
__kind: "Btc";
|
|
173
173
|
}>]>>>;
|
|
174
174
|
channelMetadata: z.ZodObject<{
|
|
175
175
|
message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -192,33 +192,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
192
192
|
cfParameters: `0x${string}`;
|
|
193
193
|
};
|
|
194
194
|
sourceAddress?: {
|
|
195
|
-
value: `0x${string}`;
|
|
196
195
|
__kind: "Eth";
|
|
197
|
-
} | {
|
|
198
196
|
value: `0x${string}`;
|
|
197
|
+
} | {
|
|
199
198
|
__kind: "Dot";
|
|
199
|
+
value: `0x${string}`;
|
|
200
200
|
} | {
|
|
201
|
+
__kind: "Btc";
|
|
201
202
|
value: {
|
|
202
|
-
value: `0x${string}`;
|
|
203
203
|
__kind: "P2PKH";
|
|
204
|
-
} | {
|
|
205
204
|
value: `0x${string}`;
|
|
206
|
-
__kind: "P2SH";
|
|
207
205
|
} | {
|
|
206
|
+
__kind: "P2SH";
|
|
208
207
|
value: `0x${string}`;
|
|
209
|
-
__kind: "P2WPKH";
|
|
210
208
|
} | {
|
|
209
|
+
__kind: "P2WPKH";
|
|
211
210
|
value: `0x${string}`;
|
|
212
|
-
__kind: "P2WSH";
|
|
213
211
|
} | {
|
|
212
|
+
__kind: "P2WSH";
|
|
214
213
|
value: `0x${string}`;
|
|
214
|
+
} | {
|
|
215
215
|
__kind: "Taproot";
|
|
216
|
+
value: `0x${string}`;
|
|
216
217
|
} | {
|
|
217
218
|
__kind: "OtherSegwit";
|
|
218
219
|
version: number;
|
|
219
220
|
program: `0x${string}`;
|
|
220
221
|
};
|
|
221
|
-
__kind: "Btc";
|
|
222
222
|
} | null | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
sourceChain: {
|
|
@@ -230,46 +230,46 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
230
230
|
cfParameters: string;
|
|
231
231
|
};
|
|
232
232
|
sourceAddress?: {
|
|
233
|
-
value: string;
|
|
234
233
|
__kind: "Eth";
|
|
235
|
-
} | {
|
|
236
234
|
value: string;
|
|
235
|
+
} | {
|
|
237
236
|
__kind: "Dot";
|
|
237
|
+
value: string;
|
|
238
238
|
} | {
|
|
239
|
+
__kind: "Btc";
|
|
239
240
|
value: {
|
|
240
|
-
value: string;
|
|
241
241
|
__kind: "P2PKH";
|
|
242
|
-
} | {
|
|
243
242
|
value: string;
|
|
244
|
-
__kind: "P2SH";
|
|
245
243
|
} | {
|
|
244
|
+
__kind: "P2SH";
|
|
246
245
|
value: string;
|
|
247
|
-
__kind: "P2WPKH";
|
|
248
246
|
} | {
|
|
247
|
+
__kind: "P2WPKH";
|
|
249
248
|
value: string;
|
|
250
|
-
__kind: "P2WSH";
|
|
251
249
|
} | {
|
|
250
|
+
__kind: "P2WSH";
|
|
252
251
|
value: string;
|
|
252
|
+
} | {
|
|
253
253
|
__kind: "Taproot";
|
|
254
|
+
value: string;
|
|
254
255
|
} | {
|
|
255
256
|
__kind: "OtherSegwit";
|
|
256
257
|
version: number;
|
|
257
258
|
program: string;
|
|
258
259
|
};
|
|
259
|
-
__kind: "Btc";
|
|
260
260
|
} | null | undefined;
|
|
261
261
|
}>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
264
264
|
destinationAddress: {
|
|
265
|
+
__kind: "Ethereum";
|
|
265
266
|
value: `0x${string}`;
|
|
266
|
-
__kind: "Eth";
|
|
267
267
|
} | {
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
__kind: "Polkadot";
|
|
269
|
+
value: string;
|
|
270
270
|
} | {
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
__kind: "Bitcoin";
|
|
272
|
+
value: string;
|
|
273
273
|
};
|
|
274
274
|
depositMetadata: {
|
|
275
275
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -279,33 +279,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
279
279
|
cfParameters: `0x${string}`;
|
|
280
280
|
};
|
|
281
281
|
sourceAddress?: {
|
|
282
|
-
value: `0x${string}`;
|
|
283
282
|
__kind: "Eth";
|
|
284
|
-
} | {
|
|
285
283
|
value: `0x${string}`;
|
|
284
|
+
} | {
|
|
286
285
|
__kind: "Dot";
|
|
286
|
+
value: `0x${string}`;
|
|
287
287
|
} | {
|
|
288
|
+
__kind: "Btc";
|
|
288
289
|
value: {
|
|
289
|
-
value: `0x${string}`;
|
|
290
290
|
__kind: "P2PKH";
|
|
291
|
-
} | {
|
|
292
291
|
value: `0x${string}`;
|
|
293
|
-
__kind: "P2SH";
|
|
294
292
|
} | {
|
|
293
|
+
__kind: "P2SH";
|
|
295
294
|
value: `0x${string}`;
|
|
296
|
-
__kind: "P2WPKH";
|
|
297
295
|
} | {
|
|
296
|
+
__kind: "P2WPKH";
|
|
298
297
|
value: `0x${string}`;
|
|
299
|
-
__kind: "P2WSH";
|
|
300
298
|
} | {
|
|
299
|
+
__kind: "P2WSH";
|
|
301
300
|
value: `0x${string}`;
|
|
301
|
+
} | {
|
|
302
302
|
__kind: "Taproot";
|
|
303
|
+
value: `0x${string}`;
|
|
303
304
|
} | {
|
|
304
305
|
__kind: "OtherSegwit";
|
|
305
306
|
version: number;
|
|
306
307
|
program: `0x${string}`;
|
|
307
308
|
};
|
|
308
|
-
__kind: "Btc";
|
|
309
309
|
} | null | undefined;
|
|
310
310
|
};
|
|
311
311
|
}, {
|
|
@@ -313,14 +313,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
313
313
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
314
314
|
};
|
|
315
315
|
destinationAddress: {
|
|
316
|
-
value: string;
|
|
317
316
|
__kind: "Eth";
|
|
318
|
-
} | {
|
|
319
317
|
value: string;
|
|
320
|
-
__kind: "Dot";
|
|
321
318
|
} | {
|
|
319
|
+
__kind: "Dot";
|
|
322
320
|
value: string;
|
|
321
|
+
} | {
|
|
323
322
|
__kind: "Btc";
|
|
323
|
+
value: string;
|
|
324
324
|
};
|
|
325
325
|
depositMetadata: {
|
|
326
326
|
sourceChain: {
|
|
@@ -332,33 +332,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
332
332
|
cfParameters: string;
|
|
333
333
|
};
|
|
334
334
|
sourceAddress?: {
|
|
335
|
-
value: string;
|
|
336
335
|
__kind: "Eth";
|
|
337
|
-
} | {
|
|
338
336
|
value: string;
|
|
337
|
+
} | {
|
|
339
338
|
__kind: "Dot";
|
|
339
|
+
value: string;
|
|
340
340
|
} | {
|
|
341
|
+
__kind: "Btc";
|
|
341
342
|
value: {
|
|
342
|
-
value: string;
|
|
343
343
|
__kind: "P2PKH";
|
|
344
|
-
} | {
|
|
345
344
|
value: string;
|
|
346
|
-
__kind: "P2SH";
|
|
347
345
|
} | {
|
|
346
|
+
__kind: "P2SH";
|
|
348
347
|
value: string;
|
|
349
|
-
__kind: "P2WPKH";
|
|
350
348
|
} | {
|
|
349
|
+
__kind: "P2WPKH";
|
|
351
350
|
value: string;
|
|
352
|
-
__kind: "P2WSH";
|
|
353
351
|
} | {
|
|
352
|
+
__kind: "P2WSH";
|
|
354
353
|
value: string;
|
|
354
|
+
} | {
|
|
355
355
|
__kind: "Taproot";
|
|
356
|
+
value: string;
|
|
356
357
|
} | {
|
|
357
358
|
__kind: "OtherSegwit";
|
|
358
359
|
version: number;
|
|
359
360
|
program: string;
|
|
360
361
|
};
|
|
361
|
-
__kind: "Btc";
|
|
362
362
|
} | null | undefined;
|
|
363
363
|
};
|
|
364
364
|
}>;
|