@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
|
@@ -12,29 +12,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
12
12
|
}>;
|
|
13
13
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
14
14
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
15
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
15
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
16
16
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
__kind: "
|
|
18
|
+
__kind: "Ethereum";
|
|
19
19
|
value: `0x${string}`;
|
|
20
20
|
}, {
|
|
21
21
|
__kind: "Eth";
|
|
22
22
|
value: string;
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
25
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
24
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
25
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
__kind: "
|
|
28
|
-
value:
|
|
27
|
+
__kind: "Polkadot";
|
|
28
|
+
value: string;
|
|
29
29
|
}, {
|
|
30
30
|
__kind: "Dot";
|
|
31
31
|
value: string;
|
|
32
32
|
}>, z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
34
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
34
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
__kind: "
|
|
37
|
-
value:
|
|
36
|
+
__kind: "Bitcoin";
|
|
37
|
+
value: string;
|
|
38
38
|
}, {
|
|
39
39
|
__kind: "Btc";
|
|
40
40
|
value: string;
|
|
@@ -42,29 +42,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
42
42
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
43
43
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
44
44
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
45
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
45
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
46
46
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
__kind: "
|
|
48
|
+
__kind: "Ethereum";
|
|
49
49
|
value: `0x${string}`;
|
|
50
50
|
}, {
|
|
51
51
|
__kind: "Eth";
|
|
52
52
|
value: string;
|
|
53
53
|
}>, z.ZodObject<{
|
|
54
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
55
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
55
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
__kind: "
|
|
58
|
-
value:
|
|
57
|
+
__kind: "Polkadot";
|
|
58
|
+
value: string;
|
|
59
59
|
}, {
|
|
60
60
|
__kind: "Dot";
|
|
61
61
|
value: string;
|
|
62
62
|
}>, z.ZodObject<{
|
|
63
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
64
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
63
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
64
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
__kind: "
|
|
67
|
-
value:
|
|
66
|
+
__kind: "Bitcoin";
|
|
67
|
+
value: string;
|
|
68
68
|
}, {
|
|
69
69
|
__kind: "Btc";
|
|
70
70
|
value: string;
|
|
@@ -74,14 +74,14 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
__kind: "DepositChannel";
|
|
76
76
|
depositAddress: {
|
|
77
|
-
__kind: "
|
|
77
|
+
__kind: "Ethereum";
|
|
78
78
|
value: `0x${string}`;
|
|
79
79
|
} | {
|
|
80
|
-
__kind: "
|
|
81
|
-
value:
|
|
80
|
+
__kind: "Polkadot";
|
|
81
|
+
value: string;
|
|
82
82
|
} | {
|
|
83
|
-
__kind: "
|
|
84
|
-
value:
|
|
83
|
+
__kind: "Bitcoin";
|
|
84
|
+
value: string;
|
|
85
85
|
};
|
|
86
86
|
channelId: bigint;
|
|
87
87
|
depositBlockHeight: bigint;
|
|
@@ -113,26 +113,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
113
113
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
114
114
|
amount: bigint;
|
|
115
115
|
destinationAddress: {
|
|
116
|
-
__kind: "
|
|
116
|
+
__kind: "Ethereum";
|
|
117
117
|
value: `0x${string}`;
|
|
118
118
|
} | {
|
|
119
|
-
__kind: "
|
|
120
|
-
value:
|
|
119
|
+
__kind: "Polkadot";
|
|
120
|
+
value: string;
|
|
121
121
|
} | {
|
|
122
|
-
__kind: "
|
|
123
|
-
value:
|
|
122
|
+
__kind: "Bitcoin";
|
|
123
|
+
value: string;
|
|
124
124
|
};
|
|
125
125
|
origin: {
|
|
126
126
|
__kind: "DepositChannel";
|
|
127
127
|
depositAddress: {
|
|
128
|
-
__kind: "
|
|
128
|
+
__kind: "Ethereum";
|
|
129
129
|
value: `0x${string}`;
|
|
130
130
|
} | {
|
|
131
|
-
__kind: "
|
|
132
|
-
value:
|
|
131
|
+
__kind: "Polkadot";
|
|
132
|
+
value: string;
|
|
133
133
|
} | {
|
|
134
|
-
__kind: "
|
|
135
|
-
value:
|
|
134
|
+
__kind: "Bitcoin";
|
|
135
|
+
value: string;
|
|
136
136
|
};
|
|
137
137
|
channelId: bigint;
|
|
138
138
|
depositBlockHeight: bigint;
|
|
@@ -12,29 +12,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
12
12
|
}>;
|
|
13
13
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
14
14
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
15
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
15
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
16
16
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
__kind: "
|
|
18
|
+
__kind: "Ethereum";
|
|
19
19
|
value: `0x${string}`;
|
|
20
20
|
}, {
|
|
21
21
|
__kind: "Eth";
|
|
22
22
|
value: string;
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
25
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
24
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
25
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
__kind: "
|
|
28
|
-
value:
|
|
27
|
+
__kind: "Polkadot";
|
|
28
|
+
value: string;
|
|
29
29
|
}, {
|
|
30
30
|
__kind: "Dot";
|
|
31
31
|
value: string;
|
|
32
32
|
}>, z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
34
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
34
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
__kind: "
|
|
37
|
-
value:
|
|
36
|
+
__kind: "Bitcoin";
|
|
37
|
+
value: string;
|
|
38
38
|
}, {
|
|
39
39
|
__kind: "Btc";
|
|
40
40
|
value: string;
|
|
@@ -42,29 +42,29 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
42
42
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
43
43
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
44
44
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
45
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
45
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
46
46
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
__kind: "
|
|
48
|
+
__kind: "Ethereum";
|
|
49
49
|
value: `0x${string}`;
|
|
50
50
|
}, {
|
|
51
51
|
__kind: "Eth";
|
|
52
52
|
value: string;
|
|
53
53
|
}>, z.ZodObject<{
|
|
54
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
55
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
55
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
__kind: "
|
|
58
|
-
value:
|
|
57
|
+
__kind: "Polkadot";
|
|
58
|
+
value: string;
|
|
59
59
|
}, {
|
|
60
60
|
__kind: "Dot";
|
|
61
61
|
value: string;
|
|
62
62
|
}>, z.ZodObject<{
|
|
63
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
64
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
63
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
64
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
__kind: "
|
|
67
|
-
value:
|
|
66
|
+
__kind: "Bitcoin";
|
|
67
|
+
value: string;
|
|
68
68
|
}, {
|
|
69
69
|
__kind: "Btc";
|
|
70
70
|
value: string;
|
|
@@ -74,14 +74,14 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
__kind: "DepositChannel";
|
|
76
76
|
depositAddress: {
|
|
77
|
-
__kind: "
|
|
77
|
+
__kind: "Ethereum";
|
|
78
78
|
value: `0x${string}`;
|
|
79
79
|
} | {
|
|
80
|
-
__kind: "
|
|
81
|
-
value:
|
|
80
|
+
__kind: "Polkadot";
|
|
81
|
+
value: string;
|
|
82
82
|
} | {
|
|
83
|
-
__kind: "
|
|
84
|
-
value:
|
|
83
|
+
__kind: "Bitcoin";
|
|
84
|
+
value: string;
|
|
85
85
|
};
|
|
86
86
|
channelId: bigint;
|
|
87
87
|
depositBlockHeight: bigint;
|
|
@@ -113,26 +113,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
113
113
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
114
114
|
amount: bigint;
|
|
115
115
|
destinationAddress: {
|
|
116
|
-
__kind: "
|
|
116
|
+
__kind: "Ethereum";
|
|
117
117
|
value: `0x${string}`;
|
|
118
118
|
} | {
|
|
119
|
-
__kind: "
|
|
120
|
-
value:
|
|
119
|
+
__kind: "Polkadot";
|
|
120
|
+
value: string;
|
|
121
121
|
} | {
|
|
122
|
-
__kind: "
|
|
123
|
-
value:
|
|
122
|
+
__kind: "Bitcoin";
|
|
123
|
+
value: string;
|
|
124
124
|
};
|
|
125
125
|
origin: {
|
|
126
126
|
__kind: "DepositChannel";
|
|
127
127
|
depositAddress: {
|
|
128
|
-
__kind: "
|
|
128
|
+
__kind: "Ethereum";
|
|
129
129
|
value: `0x${string}`;
|
|
130
130
|
} | {
|
|
131
|
-
__kind: "
|
|
132
|
-
value:
|
|
131
|
+
__kind: "Polkadot";
|
|
132
|
+
value: string;
|
|
133
133
|
} | {
|
|
134
|
-
__kind: "
|
|
135
|
-
value:
|
|
134
|
+
__kind: "Bitcoin";
|
|
135
|
+
value: string;
|
|
136
136
|
};
|
|
137
137
|
channelId: bigint;
|
|
138
138
|
depositBlockHeight: bigint;
|
|
@@ -2,57 +2,57 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
4
4
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
5
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
5
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "
|
|
8
|
+
__kind: "Ethereum";
|
|
9
9
|
value: `0x${string}`;
|
|
10
10
|
}, {
|
|
11
11
|
__kind: "Eth";
|
|
12
12
|
value: string;
|
|
13
13
|
}>, z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
15
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
15
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
18
|
-
value:
|
|
17
|
+
__kind: "Polkadot";
|
|
18
|
+
value: string;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Dot";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Bitcoin";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Btc";
|
|
30
30
|
value: string;
|
|
31
31
|
}>]>;
|
|
32
32
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
34
34
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
__kind: "
|
|
36
|
+
__kind: "Ethereum";
|
|
37
37
|
value: `0x${string}`;
|
|
38
38
|
}, {
|
|
39
39
|
__kind: "Eth";
|
|
40
40
|
value: string;
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
43
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
42
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
43
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
__kind: "
|
|
46
|
-
value:
|
|
45
|
+
__kind: "Polkadot";
|
|
46
|
+
value: string;
|
|
47
47
|
}, {
|
|
48
48
|
__kind: "Dot";
|
|
49
49
|
value: string;
|
|
50
50
|
}>, z.ZodObject<{
|
|
51
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
52
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
51
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
52
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
__kind: "
|
|
55
|
-
value:
|
|
54
|
+
__kind: "Bitcoin";
|
|
55
|
+
value: string;
|
|
56
56
|
}, {
|
|
57
57
|
__kind: "Btc";
|
|
58
58
|
value: string;
|
|
@@ -92,27 +92,27 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
92
92
|
}>>>;
|
|
93
93
|
sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
|
|
96
|
-
__kind: "
|
|
95
|
+
destinationAddress: {
|
|
96
|
+
__kind: "Ethereum";
|
|
97
97
|
value: `0x${string}`;
|
|
98
98
|
} | {
|
|
99
|
-
__kind: "
|
|
100
|
-
value:
|
|
99
|
+
__kind: "Polkadot";
|
|
100
|
+
value: string;
|
|
101
101
|
} | {
|
|
102
|
-
__kind: "
|
|
103
|
-
value:
|
|
102
|
+
__kind: "Bitcoin";
|
|
103
|
+
value: string;
|
|
104
104
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
__kind: "Eth";
|
|
105
|
+
depositAddress: {
|
|
106
|
+
__kind: "Ethereum";
|
|
108
107
|
value: `0x${string}`;
|
|
109
108
|
} | {
|
|
110
|
-
__kind: "
|
|
111
|
-
value:
|
|
109
|
+
__kind: "Polkadot";
|
|
110
|
+
value: string;
|
|
112
111
|
} | {
|
|
113
|
-
__kind: "
|
|
114
|
-
value:
|
|
112
|
+
__kind: "Bitcoin";
|
|
113
|
+
value: string;
|
|
115
114
|
};
|
|
115
|
+
channelId: bigint;
|
|
116
116
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
117
117
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
118
118
|
brokerCommissionRate: number;
|
|
@@ -123,7 +123,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
123
123
|
cfParameters: `0x${string}`;
|
|
124
124
|
} | null | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
|
|
126
|
+
destinationAddress: {
|
|
127
127
|
__kind: "Eth";
|
|
128
128
|
value: string;
|
|
129
129
|
} | {
|
|
@@ -133,8 +133,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
133
133
|
__kind: "Btc";
|
|
134
134
|
value: string;
|
|
135
135
|
};
|
|
136
|
-
|
|
137
|
-
destinationAddress: {
|
|
136
|
+
depositAddress: {
|
|
138
137
|
__kind: "Eth";
|
|
139
138
|
value: string;
|
|
140
139
|
} | {
|
|
@@ -144,6 +143,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
144
143
|
__kind: "Btc";
|
|
145
144
|
value: string;
|
|
146
145
|
};
|
|
146
|
+
channelId: string | number;
|
|
147
147
|
sourceAsset: {
|
|
148
148
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
149
149
|
};
|
|
@@ -2,57 +2,57 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
4
4
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
5
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
5
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "
|
|
8
|
+
__kind: "Ethereum";
|
|
9
9
|
value: `0x${string}`;
|
|
10
10
|
}, {
|
|
11
11
|
__kind: "Eth";
|
|
12
12
|
value: string;
|
|
13
13
|
}>, z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
15
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
15
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
18
|
-
value:
|
|
17
|
+
__kind: "Polkadot";
|
|
18
|
+
value: string;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Dot";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Bitcoin";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Btc";
|
|
30
30
|
value: string;
|
|
31
31
|
}>]>;
|
|
32
32
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
34
34
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
__kind: "
|
|
36
|
+
__kind: "Ethereum";
|
|
37
37
|
value: `0x${string}`;
|
|
38
38
|
}, {
|
|
39
39
|
__kind: "Eth";
|
|
40
40
|
value: string;
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
43
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
42
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
43
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
__kind: "
|
|
46
|
-
value:
|
|
45
|
+
__kind: "Polkadot";
|
|
46
|
+
value: string;
|
|
47
47
|
}, {
|
|
48
48
|
__kind: "Dot";
|
|
49
49
|
value: string;
|
|
50
50
|
}>, z.ZodObject<{
|
|
51
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
52
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
51
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
52
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
__kind: "
|
|
55
|
-
value:
|
|
54
|
+
__kind: "Bitcoin";
|
|
55
|
+
value: string;
|
|
56
56
|
}, {
|
|
57
57
|
__kind: "Btc";
|
|
58
58
|
value: string;
|
|
@@ -92,27 +92,27 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
92
92
|
}>>>;
|
|
93
93
|
sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
|
|
96
|
-
__kind: "
|
|
95
|
+
destinationAddress: {
|
|
96
|
+
__kind: "Ethereum";
|
|
97
97
|
value: `0x${string}`;
|
|
98
98
|
} | {
|
|
99
|
-
__kind: "
|
|
100
|
-
value:
|
|
99
|
+
__kind: "Polkadot";
|
|
100
|
+
value: string;
|
|
101
101
|
} | {
|
|
102
|
-
__kind: "
|
|
103
|
-
value:
|
|
102
|
+
__kind: "Bitcoin";
|
|
103
|
+
value: string;
|
|
104
104
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
__kind: "Eth";
|
|
105
|
+
depositAddress: {
|
|
106
|
+
__kind: "Ethereum";
|
|
108
107
|
value: `0x${string}`;
|
|
109
108
|
} | {
|
|
110
|
-
__kind: "
|
|
111
|
-
value:
|
|
109
|
+
__kind: "Polkadot";
|
|
110
|
+
value: string;
|
|
112
111
|
} | {
|
|
113
|
-
__kind: "
|
|
114
|
-
value:
|
|
112
|
+
__kind: "Bitcoin";
|
|
113
|
+
value: string;
|
|
115
114
|
};
|
|
115
|
+
channelId: bigint;
|
|
116
116
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
117
117
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
118
118
|
brokerCommissionRate: number;
|
|
@@ -123,7 +123,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
123
123
|
cfParameters: `0x${string}`;
|
|
124
124
|
} | null | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
|
|
126
|
+
destinationAddress: {
|
|
127
127
|
__kind: "Eth";
|
|
128
128
|
value: string;
|
|
129
129
|
} | {
|
|
@@ -133,8 +133,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
133
133
|
__kind: "Btc";
|
|
134
134
|
value: string;
|
|
135
135
|
};
|
|
136
|
-
|
|
137
|
-
destinationAddress: {
|
|
136
|
+
depositAddress: {
|
|
138
137
|
__kind: "Eth";
|
|
139
138
|
value: string;
|
|
140
139
|
} | {
|
|
@@ -144,6 +143,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
144
143
|
__kind: "Btc";
|
|
145
144
|
value: string;
|
|
146
145
|
};
|
|
146
|
+
channelId: string | number;
|
|
147
147
|
sourceAsset: {
|
|
148
148
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
149
149
|
};
|