@chainflip/processor 1.5.2 → 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/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 +12 -12
- package/dist/100/common.d.cts +64 -28
- package/dist/100/common.d.ts +64 -28
- package/dist/100/common.mjs +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- 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 +35 -17
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- 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 +39 -21
- package/dist/100/swapping/ccmDepositReceived.d.ts +39 -21
- package/dist/100/swapping/ccmFailed.d.cts +35 -17
- package/dist/100/swapping/ccmFailed.d.ts +35 -17
- package/dist/100/swapping/swapAmountTooLow.d.cts +76 -40
- package/dist/100/swapping/swapAmountTooLow.d.ts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.cts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.ts +76 -40
- package/dist/100/swapping/swapScheduled.d.cts +78 -42
- package/dist/100/swapping/swapScheduled.d.ts +78 -42
- package/dist/100/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/100/swapping/withdrawalRequested.d.ts +35 -17
- 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/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/common.cjs +12 -12
- package/dist/120/common.d.cts +29 -11
- package/dist/120/common.d.ts +29 -11
- package/dist/120/common.mjs +12 -12
- 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 +35 -17
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/120/swapping/ccmFailed.d.cts +35 -17
- package/dist/120/swapping/ccmFailed.d.ts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.ts +35 -17
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/common.cjs +12 -12
- package/dist/131/common.d.cts +64 -28
- package/dist/131/common.d.ts +64 -28
- package/dist/131/common.mjs +12 -12
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- 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 +76 -40
- package/dist/131/swapping/ccmFailed.d.ts +76 -40
- 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 +88 -52
- package/dist/131/swapping/swapDepositAddressReady.d.ts +88 -52
- 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 +90 -54
- package/dist/131/swapping/swapScheduled.d.ts +90 -54
- package/dist/131/swapping/withdrawalRequested.d.cts +41 -23
- package/dist/131/swapping/withdrawalRequested.d.ts +41 -23
- 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/common.cjs +16 -16
- package/dist/141/common.d.cts +84 -36
- package/dist/141/common.d.ts +84 -36
- package/dist/141/common.mjs +16 -16
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +46 -22
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +46 -22
- 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 +46 -22
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +46 -22
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- 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/swapping/ccmDepositReceived.d.cts +46 -22
- package/dist/141/swapping/ccmDepositReceived.d.ts +46 -22
- package/dist/141/swapping/ccmFailed.d.cts +100 -52
- package/dist/141/swapping/ccmFailed.d.ts +100 -52
- package/dist/141/swapping/swapDepositAddressReady.d.cts +92 -44
- package/dist/141/swapping/swapDepositAddressReady.d.ts +92 -44
- package/dist/141/swapping/swapScheduled.d.cts +100 -52
- package/dist/141/swapping/swapScheduled.d.ts +100 -52
- package/dist/141/swapping/withdrawalRequested.d.cts +46 -22
- package/dist/141/swapping/withdrawalRequested.d.ts +46 -22
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- 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 +93 -93
- package/dist/150/assetBalances/refundSkipped.d.ts +93 -93
- package/dist/150/common.cjs +20 -20
- package/dist/150/common.d.cts +164 -74
- package/dist/150/common.d.ts +164 -74
- package/dist/150/common.mjs +20 -20
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +58 -28
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +58 -28
- 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 +58 -28
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- 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/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 +58 -28
- package/dist/150/swapping/ccmDepositReceived.d.ts +58 -28
- package/dist/150/swapping/ccmFailed.d.cts +126 -66
- package/dist/150/swapping/ccmFailed.d.ts +126 -66
- package/dist/150/swapping/swapDepositAddressReady.d.cts +184 -94
- package/dist/150/swapping/swapDepositAddressReady.d.ts +184 -94
- package/dist/150/swapping/swapScheduled.d.cts +126 -66
- package/dist/150/swapping/swapScheduled.d.ts +126 -66
- package/dist/150/swapping/withdrawalRequested.d.cts +58 -28
- package/dist/150/swapping/withdrawalRequested.d.ts +58 -28
- 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 +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- 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 +8 -8
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/common.cjs +20 -20
- package/dist/160/common.d.cts +222 -102
- package/dist/160/common.d.ts +222 -102
- package/dist/160/common.mjs +20 -20
- 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 +62 -32
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +62 -32
- 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 +58 -28
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- 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/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/ccmFailed.d.cts +126 -66
- package/dist/160/swapping/ccmFailed.d.ts +126 -66
- 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 +134 -74
- package/dist/160/swapping/swapDepositAddressReady.d.ts +134 -74
- 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 +218 -128
- package/dist/160/swapping/swapRequested.d.ts +218 -128
- package/dist/160/swapping/withdrawalRequested.d.cts +64 -34
- package/dist/160/swapping/withdrawalRequested.d.ts +64 -34
- package/package.json +1 -1
|
@@ -10,30 +10,48 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
10
10
|
}>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.
|
|
13
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Eth";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
|
-
}>,
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
}>, {
|
|
23
|
+
chain: "Ethereum";
|
|
24
|
+
address: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Eth";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
29
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
30
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
31
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
32
|
+
__kind: "Dot";
|
|
33
|
+
value: `0x${string}`;
|
|
34
|
+
}, {
|
|
35
|
+
__kind: "Dot";
|
|
27
36
|
value: string;
|
|
37
|
+
}>, {
|
|
38
|
+
chain: "Polkadot";
|
|
39
|
+
address: string;
|
|
28
40
|
}, {
|
|
29
41
|
__kind: "Dot";
|
|
30
42
|
value: string;
|
|
31
|
-
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.
|
|
33
|
-
value: z.ZodEffects<z.
|
|
43
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
45
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
46
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
47
|
+
__kind: "Btc";
|
|
48
|
+
value: `0x${string}`;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "Btc";
|
|
36
51
|
value: string;
|
|
52
|
+
}>, {
|
|
53
|
+
chain: "Bitcoin";
|
|
54
|
+
address: string;
|
|
37
55
|
}, {
|
|
38
56
|
__kind: "Btc";
|
|
39
57
|
value: string;
|
|
@@ -261,30 +279,48 @@ 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<{
|
|
265
|
-
__kind: z.
|
|
282
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
283
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
266
284
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
267
285
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
__kind: "
|
|
286
|
+
__kind: "Eth";
|
|
269
287
|
value: `0x${string}`;
|
|
270
288
|
}, {
|
|
271
289
|
__kind: "Eth";
|
|
272
290
|
value: string;
|
|
273
|
-
}>,
|
|
274
|
-
|
|
275
|
-
|
|
291
|
+
}>, {
|
|
292
|
+
chain: "Ethereum";
|
|
293
|
+
address: `0x${string}`;
|
|
294
|
+
}, {
|
|
295
|
+
__kind: "Eth";
|
|
296
|
+
value: string;
|
|
297
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
298
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
299
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
276
300
|
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
__kind: "
|
|
301
|
+
__kind: "Dot";
|
|
302
|
+
value: `0x${string}`;
|
|
303
|
+
}, {
|
|
304
|
+
__kind: "Dot";
|
|
278
305
|
value: string;
|
|
306
|
+
}>, {
|
|
307
|
+
chain: "Polkadot";
|
|
308
|
+
address: string;
|
|
279
309
|
}, {
|
|
280
310
|
__kind: "Dot";
|
|
281
311
|
value: string;
|
|
282
|
-
}>, z.ZodObject<{
|
|
283
|
-
__kind: z.
|
|
284
|
-
value: z.ZodEffects<z.
|
|
312
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
313
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
314
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
285
315
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
__kind: "
|
|
316
|
+
__kind: "Btc";
|
|
317
|
+
value: `0x${string}`;
|
|
318
|
+
}, {
|
|
319
|
+
__kind: "Btc";
|
|
287
320
|
value: string;
|
|
321
|
+
}>, {
|
|
322
|
+
chain: "Bitcoin";
|
|
323
|
+
address: string;
|
|
288
324
|
}, {
|
|
289
325
|
__kind: "Btc";
|
|
290
326
|
value: string;
|
|
@@ -294,14 +330,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
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;
|
|
@@ -4,19 +4,19 @@ declare const swappingMaximumSwapAmountSet: z.ZodObject<{
|
|
|
4
4
|
asset: z.ZodEffects<z.ZodObject<{
|
|
5
5
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
__kind: "Eth" | "
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
8
8
|
}, {
|
|
9
|
-
__kind: "Eth" | "
|
|
10
|
-
}>, "Eth" | "
|
|
11
|
-
__kind: "Eth" | "
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
12
12
|
}>;
|
|
13
13
|
amount: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
asset: "Eth" | "
|
|
15
|
+
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
16
16
|
amount?: bigint | null | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
asset: {
|
|
19
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
20
20
|
};
|
|
21
21
|
amount?: string | number | null | undefined;
|
|
22
22
|
}>;
|
|
@@ -4,19 +4,19 @@ declare const swappingMaximumSwapAmountSet: z.ZodObject<{
|
|
|
4
4
|
asset: z.ZodEffects<z.ZodObject<{
|
|
5
5
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
__kind: "Eth" | "
|
|
7
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
8
8
|
}, {
|
|
9
|
-
__kind: "Eth" | "
|
|
10
|
-
}>, "Eth" | "
|
|
11
|
-
__kind: "Eth" | "
|
|
9
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
10
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
11
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
12
12
|
}>;
|
|
13
13
|
amount: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
asset: "Eth" | "
|
|
15
|
+
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
16
16
|
amount?: bigint | null | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
asset: {
|
|
19
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
20
20
|
};
|
|
21
21
|
amount?: string | number | null | undefined;
|
|
22
22
|
}>;
|
|
@@ -5,36 +5,36 @@ declare const swappingSwapAmountConfiscated: z.ZodObject<{
|
|
|
5
5
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
13
13
|
}>;
|
|
14
14
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "Eth" | "
|
|
17
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
18
18
|
}, {
|
|
19
|
-
__kind: "Eth" | "
|
|
20
|
-
}>, "Eth" | "
|
|
21
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
20
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
21
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
22
22
|
}>;
|
|
23
23
|
totalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
confiscatedAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
swapId: bigint;
|
|
27
|
-
sourceAsset: "Eth" | "
|
|
28
|
-
destinationAsset: "Eth" | "
|
|
27
|
+
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
28
|
+
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
29
29
|
totalAmount: bigint;
|
|
30
30
|
confiscatedAmount: bigint;
|
|
31
31
|
}, {
|
|
32
32
|
swapId: string | number;
|
|
33
33
|
sourceAsset: {
|
|
34
|
-
__kind: "Eth" | "
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
35
35
|
};
|
|
36
36
|
destinationAsset: {
|
|
37
|
-
__kind: "Eth" | "
|
|
37
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
38
38
|
};
|
|
39
39
|
totalAmount: string | number;
|
|
40
40
|
confiscatedAmount: string | number;
|
|
@@ -5,36 +5,36 @@ declare const swappingSwapAmountConfiscated: z.ZodObject<{
|
|
|
5
5
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
11
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
12
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
13
13
|
}>;
|
|
14
14
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
15
15
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "Eth" | "
|
|
17
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
18
18
|
}, {
|
|
19
|
-
__kind: "Eth" | "
|
|
20
|
-
}>, "Eth" | "
|
|
21
|
-
__kind: "Eth" | "
|
|
19
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
20
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
21
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
22
22
|
}>;
|
|
23
23
|
totalAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
24
24
|
confiscatedAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
swapId: bigint;
|
|
27
|
-
sourceAsset: "Eth" | "
|
|
28
|
-
destinationAsset: "Eth" | "
|
|
27
|
+
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
28
|
+
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
29
29
|
totalAmount: bigint;
|
|
30
30
|
confiscatedAmount: bigint;
|
|
31
31
|
}, {
|
|
32
32
|
swapId: string | number;
|
|
33
33
|
sourceAsset: {
|
|
34
|
-
__kind: "Eth" | "
|
|
34
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
35
35
|
};
|
|
36
36
|
destinationAsset: {
|
|
37
|
-
__kind: "Eth" | "
|
|
37
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
38
38
|
};
|
|
39
39
|
totalAmount: string | number;
|
|
40
40
|
confiscatedAmount: string | number;
|
|
@@ -1,58 +1,94 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
4
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
5
|
-
__kind: z.
|
|
4
|
+
depositAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
5
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "
|
|
8
|
+
__kind: "Eth";
|
|
9
9
|
value: `0x${string}`;
|
|
10
10
|
}, {
|
|
11
11
|
__kind: "Eth";
|
|
12
12
|
value: string;
|
|
13
|
-
}>,
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
}>, {
|
|
14
|
+
chain: "Ethereum";
|
|
15
|
+
address: `0x${string}`;
|
|
16
|
+
}, {
|
|
17
|
+
__kind: "Eth";
|
|
18
|
+
value: string;
|
|
19
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
20
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
21
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
22
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
23
|
+
__kind: "Dot";
|
|
24
|
+
value: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Dot";
|
|
18
27
|
value: string;
|
|
28
|
+
}>, {
|
|
29
|
+
chain: "Polkadot";
|
|
30
|
+
address: string;
|
|
19
31
|
}, {
|
|
20
32
|
__kind: "Dot";
|
|
21
33
|
value: string;
|
|
22
|
-
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.
|
|
24
|
-
value: z.ZodEffects<z.
|
|
34
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
35
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
36
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
37
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
38
|
+
__kind: "Btc";
|
|
39
|
+
value: `0x${string}`;
|
|
40
|
+
}, {
|
|
41
|
+
__kind: "Btc";
|
|
27
42
|
value: string;
|
|
43
|
+
}>, {
|
|
44
|
+
chain: "Bitcoin";
|
|
45
|
+
address: string;
|
|
28
46
|
}, {
|
|
29
47
|
__kind: "Btc";
|
|
30
48
|
value: string;
|
|
31
49
|
}>]>;
|
|
32
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
33
|
-
__kind: z.
|
|
50
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
51
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
34
52
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
53
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
__kind: "
|
|
54
|
+
__kind: "Eth";
|
|
37
55
|
value: `0x${string}`;
|
|
38
56
|
}, {
|
|
39
57
|
__kind: "Eth";
|
|
40
58
|
value: string;
|
|
41
|
-
}>,
|
|
42
|
-
|
|
43
|
-
|
|
59
|
+
}>, {
|
|
60
|
+
chain: "Ethereum";
|
|
61
|
+
address: `0x${string}`;
|
|
62
|
+
}, {
|
|
63
|
+
__kind: "Eth";
|
|
64
|
+
value: string;
|
|
65
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
66
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
67
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
44
68
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
__kind: "
|
|
69
|
+
__kind: "Dot";
|
|
70
|
+
value: `0x${string}`;
|
|
71
|
+
}, {
|
|
72
|
+
__kind: "Dot";
|
|
46
73
|
value: string;
|
|
74
|
+
}>, {
|
|
75
|
+
chain: "Polkadot";
|
|
76
|
+
address: string;
|
|
47
77
|
}, {
|
|
48
78
|
__kind: "Dot";
|
|
49
79
|
value: string;
|
|
50
|
-
}>, z.ZodObject<{
|
|
51
|
-
__kind: z.
|
|
52
|
-
value: z.ZodEffects<z.
|
|
80
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
81
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
82
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
53
83
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
__kind: "
|
|
84
|
+
__kind: "Btc";
|
|
85
|
+
value: `0x${string}`;
|
|
86
|
+
}, {
|
|
87
|
+
__kind: "Btc";
|
|
55
88
|
value: string;
|
|
89
|
+
}>, {
|
|
90
|
+
chain: "Bitcoin";
|
|
91
|
+
address: string;
|
|
56
92
|
}, {
|
|
57
93
|
__kind: "Btc";
|
|
58
94
|
value: string;
|
|
@@ -60,20 +96,20 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
60
96
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
61
97
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
62
98
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
__kind: "Eth" | "
|
|
99
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
64
100
|
}, {
|
|
65
|
-
__kind: "Eth" | "
|
|
66
|
-
}>, "Eth" | "
|
|
67
|
-
__kind: "Eth" | "
|
|
101
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
102
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
103
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
68
104
|
}>;
|
|
69
105
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
70
106
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "Usdt"]>;
|
|
71
107
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
__kind: "Eth" | "
|
|
108
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
73
109
|
}, {
|
|
74
|
-
__kind: "Eth" | "
|
|
75
|
-
}>, "Eth" | "
|
|
76
|
-
__kind: "Eth" | "
|
|
110
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
111
|
+
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt", {
|
|
112
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
77
113
|
}>;
|
|
78
114
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
79
115
|
brokerCommissionRate: z.ZodNumber;
|
|
@@ -94,29 +130,29 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
94
130
|
boostFee: z.ZodNumber;
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
133
|
+
depositAddress: {
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
143
|
+
channelId: bigint;
|
|
144
|
+
destinationAddress: {
|
|
145
|
+
chain: "Ethereum";
|
|
146
|
+
address: `0x${string}`;
|
|
110
147
|
} | {
|
|
111
|
-
|
|
112
|
-
|
|
148
|
+
chain: "Polkadot";
|
|
149
|
+
address: string;
|
|
113
150
|
} | {
|
|
114
|
-
|
|
115
|
-
|
|
151
|
+
chain: "Bitcoin";
|
|
152
|
+
address: string;
|
|
116
153
|
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
destinationAsset: "Eth" | "Dot" | "Btc" | "Flip" | "Usdc" | "Usdt";
|
|
154
|
+
sourceAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
155
|
+
destinationAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
120
156
|
brokerCommissionRate: number;
|
|
121
157
|
sourceChainExpiryBlock: bigint;
|
|
122
158
|
boostFee: number;
|
|
@@ -127,7 +163,7 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
127
163
|
cfParameters: `0x${string}`;
|
|
128
164
|
} | null | undefined;
|
|
129
165
|
}, {
|
|
130
|
-
|
|
166
|
+
depositAddress: {
|
|
131
167
|
__kind: "Eth";
|
|
132
168
|
value: string;
|
|
133
169
|
} | {
|
|
@@ -137,7 +173,8 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
137
173
|
__kind: "Btc";
|
|
138
174
|
value: string;
|
|
139
175
|
};
|
|
140
|
-
|
|
176
|
+
channelId: string | number;
|
|
177
|
+
destinationAddress: {
|
|
141
178
|
__kind: "Eth";
|
|
142
179
|
value: string;
|
|
143
180
|
} | {
|
|
@@ -147,12 +184,11 @@ declare const swappingSwapDepositAddressReady: z.ZodObject<{
|
|
|
147
184
|
__kind: "Btc";
|
|
148
185
|
value: string;
|
|
149
186
|
};
|
|
150
|
-
channelId: string | number;
|
|
151
187
|
sourceAsset: {
|
|
152
|
-
__kind: "Eth" | "
|
|
188
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
153
189
|
};
|
|
154
190
|
destinationAsset: {
|
|
155
|
-
__kind: "Eth" | "
|
|
191
|
+
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "Usdt";
|
|
156
192
|
};
|
|
157
193
|
brokerCommissionRate: number;
|
|
158
194
|
sourceChainExpiryBlock: string | number;
|