@chainflip/processor 1.5.1 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/common.cjs +15 -6
- package/dist/100/common.d.cts +48 -12
- package/dist/100/common.d.ts +48 -12
- package/dist/100/common.mjs +14 -5
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/100/swapping/ccmDepositReceived.d.cts +27 -9
- package/dist/100/swapping/ccmDepositReceived.d.ts +27 -9
- package/dist/100/swapping/ccmFailed.d.cts +27 -9
- package/dist/100/swapping/ccmFailed.d.ts +27 -9
- package/dist/100/swapping/swapAmountTooLow.d.cts +60 -24
- package/dist/100/swapping/swapAmountTooLow.d.ts +60 -24
- package/dist/100/swapping/swapDepositAddressReady.d.cts +54 -18
- package/dist/100/swapping/swapDepositAddressReady.d.ts +54 -18
- package/dist/100/swapping/swapScheduled.d.cts +60 -24
- package/dist/100/swapping/swapScheduled.d.ts +60 -24
- package/dist/100/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/100/swapping/withdrawalRequested.d.ts +27 -9
- package/dist/102/common.cjs +3 -3
- package/dist/102/common.mjs +2 -2
- package/dist/111/common.cjs +3 -3
- package/dist/111/common.mjs +2 -2
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/120/common.cjs +15 -6
- package/dist/120/common.d.cts +21 -3
- package/dist/120/common.d.ts +21 -3
- package/dist/120/common.mjs +14 -5
- package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
- package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/120/swapping/ccmFailed.d.cts +27 -9
- package/dist/120/swapping/ccmFailed.d.ts +27 -9
- package/dist/120/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/120/swapping/withdrawalRequested.d.ts +27 -9
- 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 +48 -12
- package/dist/131/common.d.ts +48 -12
- package/dist/131/common.mjs +14 -5
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +27 -9
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +27 -9
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +27 -9
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +27 -9
- package/dist/131/swapping/ccmFailed.d.cts +60 -24
- package/dist/131/swapping/ccmFailed.d.ts +60 -24
- package/dist/131/swapping/swapDepositAddressReady.d.cts +54 -18
- package/dist/131/swapping/swapDepositAddressReady.d.ts +54 -18
- package/dist/131/swapping/swapScheduled.d.cts +60 -24
- package/dist/131/swapping/swapScheduled.d.ts +60 -24
- package/dist/131/swapping/withdrawalRequested.d.cts +27 -9
- package/dist/131/swapping/withdrawalRequested.d.ts +27 -9
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/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 +64 -16
- package/dist/141/common.d.ts +64 -16
- package/dist/141/common.mjs +18 -6
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +36 -12
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +36 -12
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +36 -12
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +36 -12
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +108 -84
- package/dist/141/swapping/ccmDepositReceived.d.ts +108 -84
- package/dist/141/swapping/ccmFailed.d.cts +164 -116
- package/dist/141/swapping/ccmFailed.d.ts +164 -116
- package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/141/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/141/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/141/swapping/swapDepositAddressReady.d.cts +100 -52
- package/dist/141/swapping/swapDepositAddressReady.d.ts +100 -52
- package/dist/141/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/141/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/141/swapping/swapEgressScheduled.d.cts +11 -11
- package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/141/swapping/swapExecuted.d.cts +88 -88
- package/dist/141/swapping/swapExecuted.d.ts +88 -88
- package/dist/141/swapping/swapScheduled.d.cts +188 -140
- package/dist/141/swapping/swapScheduled.d.ts +188 -140
- package/dist/141/swapping/withdrawalRequested.d.cts +54 -30
- package/dist/141/swapping/withdrawalRequested.d.ts +54 -30
- package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
- package/dist/150/assetBalances/refundScheduled.d.ts +2 -2
- package/dist/150/assetBalances/refundSkipped.d.cts +50 -50
- package/dist/150/assetBalances/refundSkipped.d.ts +50 -50
- package/dist/150/common.cjs +25 -8
- package/dist/150/common.d.cts +125 -35
- package/dist/150/common.d.ts +125 -35
- package/dist/150/common.mjs +24 -7
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +20 -20
- package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/150/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/150/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/150/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/150/swapping/ccmDepositReceived.d.cts +125 -95
- package/dist/150/swapping/ccmDepositReceived.d.ts +125 -95
- package/dist/150/swapping/ccmFailed.d.cts +195 -135
- package/dist/150/swapping/ccmFailed.d.ts +195 -135
- package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/150/swapping/swapDepositAddressReady.d.cts +192 -102
- package/dist/150/swapping/swapDepositAddressReady.d.ts +192 -102
- package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapExecuted.d.cts +94 -94
- package/dist/150/swapping/swapExecuted.d.ts +94 -94
- package/dist/150/swapping/swapScheduled.d.cts +219 -159
- package/dist/150/swapping/swapScheduled.d.ts +219 -159
- package/dist/150/swapping/withdrawalRequested.d.cts +61 -31
- package/dist/150/swapping/withdrawalRequested.d.ts +61 -31
- package/dist/160/common.cjs +25 -8
- package/dist/160/common.d.cts +170 -50
- package/dist/160/common.d.ts +170 -50
- package/dist/160/common.mjs +24 -7
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +45 -15
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +45 -15
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +45 -15
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +45 -15
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/160/swapping/ccmFailed.d.cts +100 -40
- package/dist/160/swapping/ccmFailed.d.ts +100 -40
- package/dist/160/swapping/swapDepositAddressReady.d.cts +90 -30
- package/dist/160/swapping/swapDepositAddressReady.d.ts +90 -30
- package/dist/160/swapping/swapRequested.d.cts +165 -75
- package/dist/160/swapping/swapRequested.d.ts +165 -75
- package/dist/160/swapping/withdrawalRequested.d.cts +45 -15
- package/dist/160/swapping/withdrawalRequested.d.ts +45 -15
- package/dist/Processor.cjs +7 -1
- package/dist/Processor.mjs +7 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
10
10
|
}>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
13
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
14
14
|
__kind: z.ZodLiteral<"Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,7 +19,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
|
-
}>,
|
|
22
|
+
}>, {
|
|
23
|
+
chain: "Ethereum";
|
|
24
|
+
address: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Eth";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
23
29
|
__kind: z.ZodLiteral<"Dot">;
|
|
24
30
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
31
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28,7 +34,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
28
34
|
}, {
|
|
29
35
|
__kind: "Dot";
|
|
30
36
|
value: string;
|
|
31
|
-
}>,
|
|
37
|
+
}>, {
|
|
38
|
+
chain: "Polkadot";
|
|
39
|
+
address: string;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "Dot";
|
|
42
|
+
value: string;
|
|
43
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
32
44
|
__kind: z.ZodLiteral<"Btc">;
|
|
33
45
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
46
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37,6 +49,12 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
37
49
|
}, {
|
|
38
50
|
__kind: "Btc";
|
|
39
51
|
value: string;
|
|
52
|
+
}>, {
|
|
53
|
+
chain: "Bitcoin";
|
|
54
|
+
address: string;
|
|
55
|
+
}, {
|
|
56
|
+
__kind: "Btc";
|
|
57
|
+
value: string;
|
|
40
58
|
}>]>;
|
|
41
59
|
depositMetadata: z.ZodObject<{
|
|
42
60
|
sourceChain: z.ZodEffects<z.ZodObject<{
|
|
@@ -261,7 +279,7 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
261
279
|
}>;
|
|
262
280
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
263
281
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
264
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
282
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
265
283
|
__kind: z.ZodLiteral<"Eth">;
|
|
266
284
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
267
285
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -270,7 +288,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
270
288
|
}, {
|
|
271
289
|
__kind: "Eth";
|
|
272
290
|
value: string;
|
|
273
|
-
}>,
|
|
291
|
+
}>, {
|
|
292
|
+
chain: "Ethereum";
|
|
293
|
+
address: `0x${string}`;
|
|
294
|
+
}, {
|
|
295
|
+
__kind: "Eth";
|
|
296
|
+
value: string;
|
|
297
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
274
298
|
__kind: z.ZodLiteral<"Dot">;
|
|
275
299
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
276
300
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -279,7 +303,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
279
303
|
}, {
|
|
280
304
|
__kind: "Dot";
|
|
281
305
|
value: string;
|
|
282
|
-
}>,
|
|
306
|
+
}>, {
|
|
307
|
+
chain: "Polkadot";
|
|
308
|
+
address: string;
|
|
309
|
+
}, {
|
|
310
|
+
__kind: "Dot";
|
|
311
|
+
value: string;
|
|
312
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
283
313
|
__kind: z.ZodLiteral<"Btc">;
|
|
284
314
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
285
315
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -288,20 +318,26 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
288
318
|
}, {
|
|
289
319
|
__kind: "Btc";
|
|
290
320
|
value: string;
|
|
321
|
+
}>, {
|
|
322
|
+
chain: "Bitcoin";
|
|
323
|
+
address: string;
|
|
324
|
+
}, {
|
|
325
|
+
__kind: "Btc";
|
|
326
|
+
value: string;
|
|
291
327
|
}>]>;
|
|
292
328
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
293
329
|
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
294
330
|
}, "strip", z.ZodTypeAny, {
|
|
295
331
|
__kind: "DepositChannel";
|
|
296
332
|
depositAddress: {
|
|
297
|
-
|
|
298
|
-
|
|
333
|
+
chain: "Ethereum";
|
|
334
|
+
address: `0x${string}`;
|
|
299
335
|
} | {
|
|
300
|
-
|
|
301
|
-
|
|
336
|
+
chain: "Polkadot";
|
|
337
|
+
address: string;
|
|
302
338
|
} | {
|
|
303
|
-
|
|
304
|
-
|
|
339
|
+
chain: "Bitcoin";
|
|
340
|
+
address: string;
|
|
305
341
|
};
|
|
306
342
|
channelId: bigint;
|
|
307
343
|
depositBlockHeight: bigint;
|
|
@@ -332,14 +368,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
332
368
|
}, "strip", z.ZodTypeAny, {
|
|
333
369
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
334
370
|
destinationAddress: {
|
|
335
|
-
|
|
336
|
-
|
|
371
|
+
chain: "Ethereum";
|
|
372
|
+
address: `0x${string}`;
|
|
337
373
|
} | {
|
|
338
|
-
|
|
339
|
-
|
|
374
|
+
chain: "Polkadot";
|
|
375
|
+
address: string;
|
|
340
376
|
} | {
|
|
341
|
-
|
|
342
|
-
|
|
377
|
+
chain: "Bitcoin";
|
|
378
|
+
address: string;
|
|
343
379
|
};
|
|
344
380
|
depositMetadata: {
|
|
345
381
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -381,14 +417,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
381
417
|
origin: {
|
|
382
418
|
__kind: "DepositChannel";
|
|
383
419
|
depositAddress: {
|
|
384
|
-
|
|
385
|
-
|
|
420
|
+
chain: "Ethereum";
|
|
421
|
+
address: `0x${string}`;
|
|
386
422
|
} | {
|
|
387
|
-
|
|
388
|
-
|
|
423
|
+
chain: "Polkadot";
|
|
424
|
+
address: string;
|
|
389
425
|
} | {
|
|
390
|
-
|
|
391
|
-
|
|
426
|
+
chain: "Bitcoin";
|
|
427
|
+
address: string;
|
|
392
428
|
};
|
|
393
429
|
channelId: bigint;
|
|
394
430
|
depositBlockHeight: bigint;
|
|
@@ -10,7 +10,7 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
10
10
|
}>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
13
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
14
14
|
__kind: z.ZodLiteral<"Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,7 +19,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
|
-
}>,
|
|
22
|
+
}>, {
|
|
23
|
+
chain: "Ethereum";
|
|
24
|
+
address: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Eth";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
23
29
|
__kind: z.ZodLiteral<"Dot">;
|
|
24
30
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
31
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28,7 +34,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
28
34
|
}, {
|
|
29
35
|
__kind: "Dot";
|
|
30
36
|
value: string;
|
|
31
|
-
}>,
|
|
37
|
+
}>, {
|
|
38
|
+
chain: "Polkadot";
|
|
39
|
+
address: string;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "Dot";
|
|
42
|
+
value: string;
|
|
43
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
32
44
|
__kind: z.ZodLiteral<"Btc">;
|
|
33
45
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
46
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37,6 +49,12 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
37
49
|
}, {
|
|
38
50
|
__kind: "Btc";
|
|
39
51
|
value: string;
|
|
52
|
+
}>, {
|
|
53
|
+
chain: "Bitcoin";
|
|
54
|
+
address: string;
|
|
55
|
+
}, {
|
|
56
|
+
__kind: "Btc";
|
|
57
|
+
value: string;
|
|
40
58
|
}>]>;
|
|
41
59
|
depositMetadata: z.ZodObject<{
|
|
42
60
|
sourceChain: z.ZodEffects<z.ZodObject<{
|
|
@@ -261,7 +279,7 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
261
279
|
}>;
|
|
262
280
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
263
281
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
264
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
282
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
265
283
|
__kind: z.ZodLiteral<"Eth">;
|
|
266
284
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
267
285
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -270,7 +288,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
270
288
|
}, {
|
|
271
289
|
__kind: "Eth";
|
|
272
290
|
value: string;
|
|
273
|
-
}>,
|
|
291
|
+
}>, {
|
|
292
|
+
chain: "Ethereum";
|
|
293
|
+
address: `0x${string}`;
|
|
294
|
+
}, {
|
|
295
|
+
__kind: "Eth";
|
|
296
|
+
value: string;
|
|
297
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
274
298
|
__kind: z.ZodLiteral<"Dot">;
|
|
275
299
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
276
300
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -279,7 +303,13 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
279
303
|
}, {
|
|
280
304
|
__kind: "Dot";
|
|
281
305
|
value: string;
|
|
282
|
-
}>,
|
|
306
|
+
}>, {
|
|
307
|
+
chain: "Polkadot";
|
|
308
|
+
address: string;
|
|
309
|
+
}, {
|
|
310
|
+
__kind: "Dot";
|
|
311
|
+
value: string;
|
|
312
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
283
313
|
__kind: z.ZodLiteral<"Btc">;
|
|
284
314
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
285
315
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -288,20 +318,26 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
288
318
|
}, {
|
|
289
319
|
__kind: "Btc";
|
|
290
320
|
value: string;
|
|
321
|
+
}>, {
|
|
322
|
+
chain: "Bitcoin";
|
|
323
|
+
address: string;
|
|
324
|
+
}, {
|
|
325
|
+
__kind: "Btc";
|
|
326
|
+
value: string;
|
|
291
327
|
}>]>;
|
|
292
328
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
293
329
|
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
294
330
|
}, "strip", z.ZodTypeAny, {
|
|
295
331
|
__kind: "DepositChannel";
|
|
296
332
|
depositAddress: {
|
|
297
|
-
|
|
298
|
-
|
|
333
|
+
chain: "Ethereum";
|
|
334
|
+
address: `0x${string}`;
|
|
299
335
|
} | {
|
|
300
|
-
|
|
301
|
-
|
|
336
|
+
chain: "Polkadot";
|
|
337
|
+
address: string;
|
|
302
338
|
} | {
|
|
303
|
-
|
|
304
|
-
|
|
339
|
+
chain: "Bitcoin";
|
|
340
|
+
address: string;
|
|
305
341
|
};
|
|
306
342
|
channelId: bigint;
|
|
307
343
|
depositBlockHeight: bigint;
|
|
@@ -332,14 +368,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
332
368
|
}, "strip", z.ZodTypeAny, {
|
|
333
369
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
334
370
|
destinationAddress: {
|
|
335
|
-
|
|
336
|
-
|
|
371
|
+
chain: "Ethereum";
|
|
372
|
+
address: `0x${string}`;
|
|
337
373
|
} | {
|
|
338
|
-
|
|
339
|
-
|
|
374
|
+
chain: "Polkadot";
|
|
375
|
+
address: string;
|
|
340
376
|
} | {
|
|
341
|
-
|
|
342
|
-
|
|
377
|
+
chain: "Bitcoin";
|
|
378
|
+
address: string;
|
|
343
379
|
};
|
|
344
380
|
depositMetadata: {
|
|
345
381
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -381,14 +417,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
381
417
|
origin: {
|
|
382
418
|
__kind: "DepositChannel";
|
|
383
419
|
depositAddress: {
|
|
384
|
-
|
|
385
|
-
|
|
420
|
+
chain: "Ethereum";
|
|
421
|
+
address: `0x${string}`;
|
|
386
422
|
} | {
|
|
387
|
-
|
|
388
|
-
|
|
423
|
+
chain: "Polkadot";
|
|
424
|
+
address: string;
|
|
389
425
|
} | {
|
|
390
|
-
|
|
391
|
-
|
|
426
|
+
chain: "Bitcoin";
|
|
427
|
+
address: string;
|
|
392
428
|
};
|
|
393
429
|
channelId: bigint;
|
|
394
430
|
depositBlockHeight: bigint;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
4
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
4
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
5
5
|
__kind: z.ZodLiteral<"Eth">;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10,7 +10,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
10
10
|
}, {
|
|
11
11
|
__kind: "Eth";
|
|
12
12
|
value: string;
|
|
13
|
-
}>,
|
|
13
|
+
}>, {
|
|
14
|
+
chain: "Ethereum";
|
|
15
|
+
address: `0x${string}`;
|
|
16
|
+
}, {
|
|
17
|
+
__kind: "Eth";
|
|
18
|
+
value: string;
|
|
19
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
14
20
|
__kind: z.ZodLiteral<"Dot">;
|
|
15
21
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
22
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,7 +25,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
19
25
|
}, {
|
|
20
26
|
__kind: "Dot";
|
|
21
27
|
value: string;
|
|
22
|
-
}>,
|
|
28
|
+
}>, {
|
|
29
|
+
chain: "Polkadot";
|
|
30
|
+
address: string;
|
|
31
|
+
}, {
|
|
32
|
+
__kind: "Dot";
|
|
33
|
+
value: string;
|
|
34
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
23
35
|
__kind: z.ZodLiteral<"Btc">;
|
|
24
36
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
37
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28,8 +40,14 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
28
40
|
}, {
|
|
29
41
|
__kind: "Btc";
|
|
30
42
|
value: string;
|
|
43
|
+
}>, {
|
|
44
|
+
chain: "Bitcoin";
|
|
45
|
+
address: string;
|
|
46
|
+
}, {
|
|
47
|
+
__kind: "Btc";
|
|
48
|
+
value: string;
|
|
31
49
|
}>]>;
|
|
32
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
50
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
33
51
|
__kind: z.ZodLiteral<"Eth">;
|
|
34
52
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
53
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,7 +56,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
38
56
|
}, {
|
|
39
57
|
__kind: "Eth";
|
|
40
58
|
value: string;
|
|
41
|
-
}>,
|
|
59
|
+
}>, {
|
|
60
|
+
chain: "Ethereum";
|
|
61
|
+
address: `0x${string}`;
|
|
62
|
+
}, {
|
|
63
|
+
__kind: "Eth";
|
|
64
|
+
value: string;
|
|
65
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
42
66
|
__kind: z.ZodLiteral<"Dot">;
|
|
43
67
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
44
68
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -47,7 +71,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
47
71
|
}, {
|
|
48
72
|
__kind: "Dot";
|
|
49
73
|
value: string;
|
|
50
|
-
}>,
|
|
74
|
+
}>, {
|
|
75
|
+
chain: "Polkadot";
|
|
76
|
+
address: string;
|
|
77
|
+
}, {
|
|
78
|
+
__kind: "Dot";
|
|
79
|
+
value: string;
|
|
80
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
51
81
|
__kind: z.ZodLiteral<"Btc">;
|
|
52
82
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
53
83
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -56,6 +86,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
56
86
|
}, {
|
|
57
87
|
__kind: "Btc";
|
|
58
88
|
value: string;
|
|
89
|
+
}>, {
|
|
90
|
+
chain: "Bitcoin";
|
|
91
|
+
address: string;
|
|
92
|
+
}, {
|
|
93
|
+
__kind: "Btc";
|
|
94
|
+
value: string;
|
|
59
95
|
}>]>;
|
|
60
96
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
61
97
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
@@ -95,25 +131,25 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
95
131
|
channelOpeningFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
96
132
|
}, "strip", z.ZodTypeAny, {
|
|
97
133
|
depositAddress: {
|
|
98
|
-
|
|
99
|
-
|
|
134
|
+
chain: "Ethereum";
|
|
135
|
+
address: `0x${string}`;
|
|
100
136
|
} | {
|
|
101
|
-
|
|
102
|
-
|
|
137
|
+
chain: "Polkadot";
|
|
138
|
+
address: string;
|
|
103
139
|
} | {
|
|
104
|
-
|
|
105
|
-
|
|
140
|
+
chain: "Bitcoin";
|
|
141
|
+
address: string;
|
|
106
142
|
};
|
|
107
143
|
channelId: bigint;
|
|
108
144
|
destinationAddress: {
|
|
109
|
-
|
|
110
|
-
|
|
145
|
+
chain: "Ethereum";
|
|
146
|
+
address: `0x${string}`;
|
|
111
147
|
} | {
|
|
112
|
-
|
|
113
|
-
|
|
148
|
+
chain: "Polkadot";
|
|
149
|
+
address: string;
|
|
114
150
|
} | {
|
|
115
|
-
|
|
116
|
-
|
|
151
|
+
chain: "Bitcoin";
|
|
152
|
+
address: string;
|
|
117
153
|
};
|
|
118
154
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
119
155
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
4
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
4
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
5
5
|
__kind: z.ZodLiteral<"Eth">;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10,7 +10,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
10
10
|
}, {
|
|
11
11
|
__kind: "Eth";
|
|
12
12
|
value: string;
|
|
13
|
-
}>,
|
|
13
|
+
}>, {
|
|
14
|
+
chain: "Ethereum";
|
|
15
|
+
address: `0x${string}`;
|
|
16
|
+
}, {
|
|
17
|
+
__kind: "Eth";
|
|
18
|
+
value: string;
|
|
19
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
14
20
|
__kind: z.ZodLiteral<"Dot">;
|
|
15
21
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
22
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,7 +25,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
19
25
|
}, {
|
|
20
26
|
__kind: "Dot";
|
|
21
27
|
value: string;
|
|
22
|
-
}>,
|
|
28
|
+
}>, {
|
|
29
|
+
chain: "Polkadot";
|
|
30
|
+
address: string;
|
|
31
|
+
}, {
|
|
32
|
+
__kind: "Dot";
|
|
33
|
+
value: string;
|
|
34
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
23
35
|
__kind: z.ZodLiteral<"Btc">;
|
|
24
36
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
37
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28,8 +40,14 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
28
40
|
}, {
|
|
29
41
|
__kind: "Btc";
|
|
30
42
|
value: string;
|
|
43
|
+
}>, {
|
|
44
|
+
chain: "Bitcoin";
|
|
45
|
+
address: string;
|
|
46
|
+
}, {
|
|
47
|
+
__kind: "Btc";
|
|
48
|
+
value: string;
|
|
31
49
|
}>]>;
|
|
32
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
50
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
33
51
|
__kind: z.ZodLiteral<"Eth">;
|
|
34
52
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
53
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,7 +56,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
38
56
|
}, {
|
|
39
57
|
__kind: "Eth";
|
|
40
58
|
value: string;
|
|
41
|
-
}>,
|
|
59
|
+
}>, {
|
|
60
|
+
chain: "Ethereum";
|
|
61
|
+
address: `0x${string}`;
|
|
62
|
+
}, {
|
|
63
|
+
__kind: "Eth";
|
|
64
|
+
value: string;
|
|
65
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
42
66
|
__kind: z.ZodLiteral<"Dot">;
|
|
43
67
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
44
68
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -47,7 +71,13 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
47
71
|
}, {
|
|
48
72
|
__kind: "Dot";
|
|
49
73
|
value: string;
|
|
50
|
-
}>,
|
|
74
|
+
}>, {
|
|
75
|
+
chain: "Polkadot";
|
|
76
|
+
address: string;
|
|
77
|
+
}, {
|
|
78
|
+
__kind: "Dot";
|
|
79
|
+
value: string;
|
|
80
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
51
81
|
__kind: z.ZodLiteral<"Btc">;
|
|
52
82
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
53
83
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -56,6 +86,12 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
56
86
|
}, {
|
|
57
87
|
__kind: "Btc";
|
|
58
88
|
value: string;
|
|
89
|
+
}>, {
|
|
90
|
+
chain: "Bitcoin";
|
|
91
|
+
address: string;
|
|
92
|
+
}, {
|
|
93
|
+
__kind: "Btc";
|
|
94
|
+
value: string;
|
|
59
95
|
}>]>;
|
|
60
96
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
61
97
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
@@ -95,25 +131,25 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
95
131
|
channelOpeningFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
96
132
|
}, "strip", z.ZodTypeAny, {
|
|
97
133
|
depositAddress: {
|
|
98
|
-
|
|
99
|
-
|
|
134
|
+
chain: "Ethereum";
|
|
135
|
+
address: `0x${string}`;
|
|
100
136
|
} | {
|
|
101
|
-
|
|
102
|
-
|
|
137
|
+
chain: "Polkadot";
|
|
138
|
+
address: string;
|
|
103
139
|
} | {
|
|
104
|
-
|
|
105
|
-
|
|
140
|
+
chain: "Bitcoin";
|
|
141
|
+
address: string;
|
|
106
142
|
};
|
|
107
143
|
channelId: bigint;
|
|
108
144
|
destinationAddress: {
|
|
109
|
-
|
|
110
|
-
|
|
145
|
+
chain: "Ethereum";
|
|
146
|
+
address: `0x${string}`;
|
|
111
147
|
} | {
|
|
112
|
-
|
|
113
|
-
|
|
148
|
+
chain: "Polkadot";
|
|
149
|
+
address: string;
|
|
114
150
|
} | {
|
|
115
|
-
|
|
116
|
-
|
|
151
|
+
chain: "Bitcoin";
|
|
152
|
+
address: string;
|
|
117
153
|
};
|
|
118
154
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
119
155
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|