@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" | "PrincipalSwapAmountTooLow", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
|
|
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,14 +279,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
261
279
|
}>;
|
|
262
280
|
}, "strip", z.ZodTypeAny, {
|
|
263
281
|
destinationAddress: {
|
|
264
|
-
|
|
265
|
-
|
|
282
|
+
chain: "Ethereum";
|
|
283
|
+
address: `0x${string}`;
|
|
266
284
|
} | {
|
|
267
|
-
|
|
268
|
-
|
|
285
|
+
chain: "Polkadot";
|
|
286
|
+
address: string;
|
|
269
287
|
} | {
|
|
270
|
-
|
|
271
|
-
|
|
288
|
+
chain: "Bitcoin";
|
|
289
|
+
address: string;
|
|
272
290
|
};
|
|
273
291
|
depositMetadata: {
|
|
274
292
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -11,7 +11,7 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
11
11
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
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
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodLiteral<"Eth">;
|
|
16
16
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20,7 +20,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
20
20
|
}, {
|
|
21
21
|
__kind: "Eth";
|
|
22
22
|
value: string;
|
|
23
|
-
}>,
|
|
23
|
+
}>, {
|
|
24
|
+
chain: "Ethereum";
|
|
25
|
+
address: `0x${string}`;
|
|
26
|
+
}, {
|
|
27
|
+
__kind: "Eth";
|
|
28
|
+
value: string;
|
|
29
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
24
30
|
__kind: z.ZodLiteral<"Dot">;
|
|
25
31
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
32
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29,7 +35,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
29
35
|
}, {
|
|
30
36
|
__kind: "Dot";
|
|
31
37
|
value: string;
|
|
32
|
-
}>,
|
|
38
|
+
}>, {
|
|
39
|
+
chain: "Polkadot";
|
|
40
|
+
address: string;
|
|
41
|
+
}, {
|
|
42
|
+
__kind: "Dot";
|
|
43
|
+
value: string;
|
|
44
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
33
45
|
__kind: z.ZodLiteral<"Btc">;
|
|
34
46
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
47
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,10 +50,16 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
38
50
|
}, {
|
|
39
51
|
__kind: "Btc";
|
|
40
52
|
value: string;
|
|
53
|
+
}>, {
|
|
54
|
+
chain: "Bitcoin";
|
|
55
|
+
address: string;
|
|
56
|
+
}, {
|
|
57
|
+
__kind: "Btc";
|
|
58
|
+
value: string;
|
|
41
59
|
}>]>;
|
|
42
60
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
43
61
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
44
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
62
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
45
63
|
__kind: z.ZodLiteral<"Eth">;
|
|
46
64
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
47
65
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,7 +68,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
50
68
|
}, {
|
|
51
69
|
__kind: "Eth";
|
|
52
70
|
value: string;
|
|
53
|
-
}>,
|
|
71
|
+
}>, {
|
|
72
|
+
chain: "Ethereum";
|
|
73
|
+
address: `0x${string}`;
|
|
74
|
+
}, {
|
|
75
|
+
__kind: "Eth";
|
|
76
|
+
value: string;
|
|
77
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
54
78
|
__kind: z.ZodLiteral<"Dot">;
|
|
55
79
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
56
80
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -59,7 +83,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
59
83
|
}, {
|
|
60
84
|
__kind: "Dot";
|
|
61
85
|
value: string;
|
|
62
|
-
}>,
|
|
86
|
+
}>, {
|
|
87
|
+
chain: "Polkadot";
|
|
88
|
+
address: string;
|
|
89
|
+
}, {
|
|
90
|
+
__kind: "Dot";
|
|
91
|
+
value: string;
|
|
92
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
63
93
|
__kind: z.ZodLiteral<"Btc">;
|
|
64
94
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
65
95
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -68,20 +98,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
68
98
|
}, {
|
|
69
99
|
__kind: "Btc";
|
|
70
100
|
value: string;
|
|
101
|
+
}>, {
|
|
102
|
+
chain: "Bitcoin";
|
|
103
|
+
address: string;
|
|
104
|
+
}, {
|
|
105
|
+
__kind: "Btc";
|
|
106
|
+
value: string;
|
|
71
107
|
}>]>;
|
|
72
108
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
73
109
|
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
74
110
|
}, "strip", z.ZodTypeAny, {
|
|
75
111
|
__kind: "DepositChannel";
|
|
76
112
|
depositAddress: {
|
|
77
|
-
|
|
78
|
-
|
|
113
|
+
chain: "Ethereum";
|
|
114
|
+
address: `0x${string}`;
|
|
79
115
|
} | {
|
|
80
|
-
|
|
81
|
-
|
|
116
|
+
chain: "Polkadot";
|
|
117
|
+
address: string;
|
|
82
118
|
} | {
|
|
83
|
-
|
|
84
|
-
|
|
119
|
+
chain: "Bitcoin";
|
|
120
|
+
address: string;
|
|
85
121
|
};
|
|
86
122
|
channelId: bigint;
|
|
87
123
|
depositBlockHeight: bigint;
|
|
@@ -113,26 +149,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
113
149
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
114
150
|
amount: bigint;
|
|
115
151
|
destinationAddress: {
|
|
116
|
-
|
|
117
|
-
|
|
152
|
+
chain: "Ethereum";
|
|
153
|
+
address: `0x${string}`;
|
|
118
154
|
} | {
|
|
119
|
-
|
|
120
|
-
|
|
155
|
+
chain: "Polkadot";
|
|
156
|
+
address: string;
|
|
121
157
|
} | {
|
|
122
|
-
|
|
123
|
-
|
|
158
|
+
chain: "Bitcoin";
|
|
159
|
+
address: string;
|
|
124
160
|
};
|
|
125
161
|
origin: {
|
|
126
162
|
__kind: "DepositChannel";
|
|
127
163
|
depositAddress: {
|
|
128
|
-
|
|
129
|
-
|
|
164
|
+
chain: "Ethereum";
|
|
165
|
+
address: `0x${string}`;
|
|
130
166
|
} | {
|
|
131
|
-
|
|
132
|
-
|
|
167
|
+
chain: "Polkadot";
|
|
168
|
+
address: string;
|
|
133
169
|
} | {
|
|
134
|
-
|
|
135
|
-
|
|
170
|
+
chain: "Bitcoin";
|
|
171
|
+
address: string;
|
|
136
172
|
};
|
|
137
173
|
channelId: bigint;
|
|
138
174
|
depositBlockHeight: bigint;
|
|
@@ -11,7 +11,7 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
11
11
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
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
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodLiteral<"Eth">;
|
|
16
16
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20,7 +20,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
20
20
|
}, {
|
|
21
21
|
__kind: "Eth";
|
|
22
22
|
value: string;
|
|
23
|
-
}>,
|
|
23
|
+
}>, {
|
|
24
|
+
chain: "Ethereum";
|
|
25
|
+
address: `0x${string}`;
|
|
26
|
+
}, {
|
|
27
|
+
__kind: "Eth";
|
|
28
|
+
value: string;
|
|
29
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
24
30
|
__kind: z.ZodLiteral<"Dot">;
|
|
25
31
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
32
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29,7 +35,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
29
35
|
}, {
|
|
30
36
|
__kind: "Dot";
|
|
31
37
|
value: string;
|
|
32
|
-
}>,
|
|
38
|
+
}>, {
|
|
39
|
+
chain: "Polkadot";
|
|
40
|
+
address: string;
|
|
41
|
+
}, {
|
|
42
|
+
__kind: "Dot";
|
|
43
|
+
value: string;
|
|
44
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
33
45
|
__kind: z.ZodLiteral<"Btc">;
|
|
34
46
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
47
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38,10 +50,16 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
38
50
|
}, {
|
|
39
51
|
__kind: "Btc";
|
|
40
52
|
value: string;
|
|
53
|
+
}>, {
|
|
54
|
+
chain: "Bitcoin";
|
|
55
|
+
address: string;
|
|
56
|
+
}, {
|
|
57
|
+
__kind: "Btc";
|
|
58
|
+
value: string;
|
|
41
59
|
}>]>;
|
|
42
60
|
origin: z.ZodUnion<[z.ZodObject<{
|
|
43
61
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
44
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
62
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
45
63
|
__kind: z.ZodLiteral<"Eth">;
|
|
46
64
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
47
65
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,7 +68,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
50
68
|
}, {
|
|
51
69
|
__kind: "Eth";
|
|
52
70
|
value: string;
|
|
53
|
-
}>,
|
|
71
|
+
}>, {
|
|
72
|
+
chain: "Ethereum";
|
|
73
|
+
address: `0x${string}`;
|
|
74
|
+
}, {
|
|
75
|
+
__kind: "Eth";
|
|
76
|
+
value: string;
|
|
77
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
54
78
|
__kind: z.ZodLiteral<"Dot">;
|
|
55
79
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
56
80
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -59,7 +83,13 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
59
83
|
}, {
|
|
60
84
|
__kind: "Dot";
|
|
61
85
|
value: string;
|
|
62
|
-
}>,
|
|
86
|
+
}>, {
|
|
87
|
+
chain: "Polkadot";
|
|
88
|
+
address: string;
|
|
89
|
+
}, {
|
|
90
|
+
__kind: "Dot";
|
|
91
|
+
value: string;
|
|
92
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
63
93
|
__kind: z.ZodLiteral<"Btc">;
|
|
64
94
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
65
95
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -68,20 +98,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
68
98
|
}, {
|
|
69
99
|
__kind: "Btc";
|
|
70
100
|
value: string;
|
|
101
|
+
}>, {
|
|
102
|
+
chain: "Bitcoin";
|
|
103
|
+
address: string;
|
|
104
|
+
}, {
|
|
105
|
+
__kind: "Btc";
|
|
106
|
+
value: string;
|
|
71
107
|
}>]>;
|
|
72
108
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
73
109
|
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
74
110
|
}, "strip", z.ZodTypeAny, {
|
|
75
111
|
__kind: "DepositChannel";
|
|
76
112
|
depositAddress: {
|
|
77
|
-
|
|
78
|
-
|
|
113
|
+
chain: "Ethereum";
|
|
114
|
+
address: `0x${string}`;
|
|
79
115
|
} | {
|
|
80
|
-
|
|
81
|
-
|
|
116
|
+
chain: "Polkadot";
|
|
117
|
+
address: string;
|
|
82
118
|
} | {
|
|
83
|
-
|
|
84
|
-
|
|
119
|
+
chain: "Bitcoin";
|
|
120
|
+
address: string;
|
|
85
121
|
};
|
|
86
122
|
channelId: bigint;
|
|
87
123
|
depositBlockHeight: bigint;
|
|
@@ -113,26 +149,26 @@ declare const swappingSwapAmountTooLow: z.ZodObject<{
|
|
|
113
149
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
114
150
|
amount: bigint;
|
|
115
151
|
destinationAddress: {
|
|
116
|
-
|
|
117
|
-
|
|
152
|
+
chain: "Ethereum";
|
|
153
|
+
address: `0x${string}`;
|
|
118
154
|
} | {
|
|
119
|
-
|
|
120
|
-
|
|
155
|
+
chain: "Polkadot";
|
|
156
|
+
address: string;
|
|
121
157
|
} | {
|
|
122
|
-
|
|
123
|
-
|
|
158
|
+
chain: "Bitcoin";
|
|
159
|
+
address: string;
|
|
124
160
|
};
|
|
125
161
|
origin: {
|
|
126
162
|
__kind: "DepositChannel";
|
|
127
163
|
depositAddress: {
|
|
128
|
-
|
|
129
|
-
|
|
164
|
+
chain: "Ethereum";
|
|
165
|
+
address: `0x${string}`;
|
|
130
166
|
} | {
|
|
131
|
-
|
|
132
|
-
|
|
167
|
+
chain: "Polkadot";
|
|
168
|
+
address: string;
|
|
133
169
|
} | {
|
|
134
|
-
|
|
135
|
-
|
|
170
|
+
chain: "Bitcoin";
|
|
171
|
+
address: string;
|
|
136
172
|
};
|
|
137
173
|
channelId: bigint;
|
|
138
174
|
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"]>;
|
|
@@ -93,25 +129,25 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
93
129
|
sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
94
130
|
}, "strip", z.ZodTypeAny, {
|
|
95
131
|
depositAddress: {
|
|
96
|
-
|
|
97
|
-
|
|
132
|
+
chain: "Ethereum";
|
|
133
|
+
address: `0x${string}`;
|
|
98
134
|
} | {
|
|
99
|
-
|
|
100
|
-
|
|
135
|
+
chain: "Polkadot";
|
|
136
|
+
address: string;
|
|
101
137
|
} | {
|
|
102
|
-
|
|
103
|
-
|
|
138
|
+
chain: "Bitcoin";
|
|
139
|
+
address: string;
|
|
104
140
|
};
|
|
105
141
|
channelId: bigint;
|
|
106
142
|
destinationAddress: {
|
|
107
|
-
|
|
108
|
-
|
|
143
|
+
chain: "Ethereum";
|
|
144
|
+
address: `0x${string}`;
|
|
109
145
|
} | {
|
|
110
|
-
|
|
111
|
-
|
|
146
|
+
chain: "Polkadot";
|
|
147
|
+
address: string;
|
|
112
148
|
} | {
|
|
113
|
-
|
|
114
|
-
|
|
149
|
+
chain: "Bitcoin";
|
|
150
|
+
address: string;
|
|
115
151
|
};
|
|
116
152
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
117
153
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
@@ -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"]>;
|
|
@@ -93,25 +129,25 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
93
129
|
sourceChainExpiryBlock: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
94
130
|
}, "strip", z.ZodTypeAny, {
|
|
95
131
|
depositAddress: {
|
|
96
|
-
|
|
97
|
-
|
|
132
|
+
chain: "Ethereum";
|
|
133
|
+
address: `0x${string}`;
|
|
98
134
|
} | {
|
|
99
|
-
|
|
100
|
-
|
|
135
|
+
chain: "Polkadot";
|
|
136
|
+
address: string;
|
|
101
137
|
} | {
|
|
102
|
-
|
|
103
|
-
|
|
138
|
+
chain: "Bitcoin";
|
|
139
|
+
address: string;
|
|
104
140
|
};
|
|
105
141
|
channelId: bigint;
|
|
106
142
|
destinationAddress: {
|
|
107
|
-
|
|
108
|
-
|
|
143
|
+
chain: "Ethereum";
|
|
144
|
+
address: `0x${string}`;
|
|
109
145
|
} | {
|
|
110
|
-
|
|
111
|
-
|
|
146
|
+
chain: "Polkadot";
|
|
147
|
+
address: string;
|
|
112
148
|
} | {
|
|
113
|
-
|
|
114
|
-
|
|
149
|
+
chain: "Bitcoin";
|
|
150
|
+
address: string;
|
|
115
151
|
};
|
|
116
152
|
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
117
153
|
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|