@chainflip/processor 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/common.cjs +15 -6
- package/dist/100/common.d.cts +25 -25
- package/dist/100/common.d.ts +25 -25
- package/dist/100/common.mjs +14 -5
- package/dist/100/liquidityProvider/accountCredited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountCredited.d.ts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.ts +6 -6
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +23 -23
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +23 -23
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +21 -21
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +21 -21
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/swapping/ccmDepositReceived.d.cts +19 -19
- package/dist/100/swapping/ccmDepositReceived.d.ts +19 -19
- package/dist/100/swapping/ccmFailed.d.cts +15 -15
- package/dist/100/swapping/ccmFailed.d.ts +15 -15
- package/dist/100/swapping/swapAmountTooLow.d.cts +35 -35
- package/dist/100/swapping/swapAmountTooLow.d.ts +35 -35
- package/dist/100/swapping/swapDepositAddressReady.d.cts +36 -36
- package/dist/100/swapping/swapDepositAddressReady.d.ts +36 -36
- package/dist/100/swapping/swapScheduled.d.cts +37 -37
- package/dist/100/swapping/swapScheduled.d.ts +37 -37
- package/dist/100/swapping/withdrawalRequested.d.cts +15 -15
- package/dist/100/swapping/withdrawalRequested.d.ts +15 -15
- package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
- package/dist/102/common.cjs +3 -3
- package/dist/102/common.mjs +2 -2
- package/dist/111/common.cjs +3 -3
- package/dist/111/common.mjs +2 -2
- package/dist/120/common.cjs +15 -6
- package/dist/120/common.d.cts +10 -10
- package/dist/120/common.d.ts +10 -10
- package/dist/120/common.mjs +14 -5
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/120/swapping/ccmFailed.d.cts +79 -79
- package/dist/120/swapping/ccmFailed.d.ts +79 -79
- package/dist/120/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/120/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/120/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/120/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/120/swapping/swapExecuted.d.cts +12 -12
- package/dist/120/swapping/swapExecuted.d.ts +12 -12
- package/dist/120/swapping/withdrawalRequested.d.cts +23 -23
- package/dist/120/swapping/withdrawalRequested.d.ts +23 -23
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/common.cjs +15 -6
- package/dist/131/common.d.cts +25 -25
- package/dist/131/common.d.ts +25 -25
- package/dist/131/common.mjs +14 -5
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/ccmFailed.d.cts +35 -35
- package/dist/131/swapping/ccmFailed.d.ts +35 -35
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +48 -48
- package/dist/131/swapping/swapDepositAddressReady.d.ts +48 -48
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +49 -49
- package/dist/131/swapping/swapScheduled.d.ts +49 -49
- package/dist/131/swapping/withdrawalRequested.d.cts +21 -21
- package/dist/131/swapping/withdrawalRequested.d.ts +21 -21
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/common.cjs +19 -7
- package/dist/141/common.d.cts +30 -30
- package/dist/141/common.d.ts +30 -30
- package/dist/141/common.mjs +18 -6
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +18 -18
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +18 -18
- package/dist/141/swapping/ccmDepositReceived.d.cts +18 -18
- package/dist/141/swapping/ccmDepositReceived.d.ts +18 -18
- package/dist/141/swapping/ccmFailed.d.cts +42 -42
- package/dist/141/swapping/ccmFailed.d.ts +42 -42
- package/dist/141/swapping/swapDepositAddressReady.d.cts +36 -36
- package/dist/141/swapping/swapDepositAddressReady.d.ts +36 -36
- package/dist/141/swapping/swapScheduled.d.cts +42 -42
- package/dist/141/swapping/swapScheduled.d.ts +42 -42
- package/dist/141/swapping/withdrawalRequested.d.cts +18 -18
- package/dist/141/swapping/withdrawalRequested.d.ts +18 -18
- package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
- package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
- package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
- package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
- package/dist/150/common.cjs +40 -23
- package/dist/150/common.d.cts +205 -338
- package/dist/150/common.d.ts +205 -338
- package/dist/150/common.mjs +39 -22
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/ethereumIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +24 -24
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/150/swapping/ccmDepositReceived.d.cts +24 -24
- package/dist/150/swapping/ccmDepositReceived.d.ts +24 -24
- package/dist/150/swapping/ccmFailed.d.cts +56 -56
- package/dist/150/swapping/ccmFailed.d.ts +56 -56
- package/dist/150/swapping/swapDepositAddressReady.cjs +1 -1
- package/dist/150/swapping/swapDepositAddressReady.d.cts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.d.ts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.mjs +2 -2
- package/dist/150/swapping/swapScheduled.d.cts +56 -56
- package/dist/150/swapping/swapScheduled.d.ts +56 -56
- package/dist/150/swapping/withdrawalRequested.d.cts +24 -24
- package/dist/150/swapping/withdrawalRequested.d.ts +24 -24
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/common.cjs +25 -8
- package/dist/160/common.d.cts +88 -88
- package/dist/160/common.d.ts +88 -88
- package/dist/160/common.mjs +24 -7
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +2 -2
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +2 -2
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +2 -2
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +2 -2
- package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +28 -28
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +28 -28
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/ccmFailed.d.cts +56 -56
- package/dist/160/swapping/ccmFailed.d.ts +56 -56
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
- package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
- package/dist/160/swapping/swapDepositAddressReady.d.cts +66 -66
- package/dist/160/swapping/swapDepositAddressReady.d.ts +66 -66
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapExecuted.d.cts +12 -12
- package/dist/160/swapping/swapExecuted.d.ts +12 -12
- package/dist/160/swapping/swapRequested.d.cts +110 -110
- package/dist/160/swapping/swapRequested.d.ts +110 -110
- package/dist/160/swapping/withdrawalRequested.d.cts +30 -30
- package/dist/160/swapping/withdrawalRequested.d.ts +30 -30
- package/dist/Processor.cjs +7 -1
- package/dist/Processor.mjs +7 -1
- package/package.json +1 -1
|
@@ -32,17 +32,17 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
32
32
|
error: string;
|
|
33
33
|
}>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
__kind: "Module";
|
|
35
36
|
value: {
|
|
36
37
|
index: number;
|
|
37
38
|
error: `0x${string}`;
|
|
38
39
|
};
|
|
39
|
-
__kind: "Module";
|
|
40
40
|
}, {
|
|
41
|
+
__kind: "Module";
|
|
41
42
|
value: {
|
|
42
43
|
index: number;
|
|
43
44
|
error: string;
|
|
44
45
|
};
|
|
45
|
-
__kind: "Module";
|
|
46
46
|
}>, z.ZodObject<{
|
|
47
47
|
__kind: z.ZodLiteral<"ConsumerRemaining">;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -73,13 +73,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
73
73
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
74
74
|
}>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
77
76
|
__kind: "Token";
|
|
77
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
78
78
|
}, {
|
|
79
|
+
__kind: "Token";
|
|
79
80
|
value: {
|
|
80
81
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
81
82
|
};
|
|
82
|
-
__kind: "Token";
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
__kind: z.ZodLiteral<"Arithmetic">;
|
|
85
85
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -92,13 +92,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
92
92
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
93
93
|
}>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
96
95
|
__kind: "Arithmetic";
|
|
96
|
+
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
97
97
|
}, {
|
|
98
|
+
__kind: "Arithmetic";
|
|
98
99
|
value: {
|
|
99
100
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
100
101
|
};
|
|
101
|
-
__kind: "Arithmetic";
|
|
102
102
|
}>, z.ZodObject<{
|
|
103
103
|
__kind: z.ZodLiteral<"Transactional">;
|
|
104
104
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -111,13 +111,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
111
111
|
__kind: "LimitReached" | "NoLayer";
|
|
112
112
|
}>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
value: "LimitReached" | "NoLayer";
|
|
115
114
|
__kind: "Transactional";
|
|
115
|
+
value: "LimitReached" | "NoLayer";
|
|
116
116
|
}, {
|
|
117
|
+
__kind: "Transactional";
|
|
117
118
|
value: {
|
|
118
119
|
__kind: "LimitReached" | "NoLayer";
|
|
119
120
|
};
|
|
120
|
-
__kind: "Transactional";
|
|
121
121
|
}>, z.ZodObject<{
|
|
122
122
|
__kind: z.ZodLiteral<"Exhausted">;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -156,14 +156,14 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
156
156
|
}>;
|
|
157
157
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
depositAddress: `0x${string}`;
|
|
160
159
|
asset: "Dot";
|
|
160
|
+
depositAddress: `0x${string}`;
|
|
161
161
|
amount: bigint;
|
|
162
162
|
}, {
|
|
163
|
-
depositAddress: string;
|
|
164
163
|
asset: {
|
|
165
164
|
__kind: "Dot";
|
|
166
165
|
};
|
|
166
|
+
depositAddress: string;
|
|
167
167
|
amount: string | number;
|
|
168
168
|
}>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -174,11 +174,11 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
174
174
|
} | {
|
|
175
175
|
__kind: "BadOrigin";
|
|
176
176
|
} | {
|
|
177
|
+
__kind: "Module";
|
|
177
178
|
value: {
|
|
178
179
|
index: number;
|
|
179
180
|
error: `0x${string}`;
|
|
180
181
|
};
|
|
181
|
-
__kind: "Module";
|
|
182
182
|
} | {
|
|
183
183
|
__kind: "ConsumerRemaining";
|
|
184
184
|
} | {
|
|
@@ -186,14 +186,14 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
186
186
|
} | {
|
|
187
187
|
__kind: "TooManyConsumers";
|
|
188
188
|
} | {
|
|
189
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
190
189
|
__kind: "Token";
|
|
190
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
191
191
|
} | {
|
|
192
|
-
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
193
192
|
__kind: "Arithmetic";
|
|
193
|
+
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
194
194
|
} | {
|
|
195
|
-
value: "LimitReached" | "NoLayer";
|
|
196
195
|
__kind: "Transactional";
|
|
196
|
+
value: "LimitReached" | "NoLayer";
|
|
197
197
|
} | {
|
|
198
198
|
__kind: "Exhausted";
|
|
199
199
|
} | {
|
|
@@ -204,8 +204,8 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
204
204
|
__kind: "RootNotAllowed";
|
|
205
205
|
};
|
|
206
206
|
depositWitness: {
|
|
207
|
-
depositAddress: `0x${string}`;
|
|
208
207
|
asset: "Dot";
|
|
208
|
+
depositAddress: `0x${string}`;
|
|
209
209
|
amount: bigint;
|
|
210
210
|
};
|
|
211
211
|
}, {
|
|
@@ -216,11 +216,11 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
216
216
|
} | {
|
|
217
217
|
__kind: "BadOrigin";
|
|
218
218
|
} | {
|
|
219
|
+
__kind: "Module";
|
|
219
220
|
value: {
|
|
220
221
|
index: number;
|
|
221
222
|
error: string;
|
|
222
223
|
};
|
|
223
|
-
__kind: "Module";
|
|
224
224
|
} | {
|
|
225
225
|
__kind: "ConsumerRemaining";
|
|
226
226
|
} | {
|
|
@@ -228,20 +228,20 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
228
228
|
} | {
|
|
229
229
|
__kind: "TooManyConsumers";
|
|
230
230
|
} | {
|
|
231
|
+
__kind: "Token";
|
|
231
232
|
value: {
|
|
232
233
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
233
234
|
};
|
|
234
|
-
__kind: "Token";
|
|
235
235
|
} | {
|
|
236
|
+
__kind: "Arithmetic";
|
|
236
237
|
value: {
|
|
237
238
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
238
239
|
};
|
|
239
|
-
__kind: "Arithmetic";
|
|
240
240
|
} | {
|
|
241
|
+
__kind: "Transactional";
|
|
241
242
|
value: {
|
|
242
243
|
__kind: "LimitReached" | "NoLayer";
|
|
243
244
|
};
|
|
244
|
-
__kind: "Transactional";
|
|
245
245
|
} | {
|
|
246
246
|
__kind: "Exhausted";
|
|
247
247
|
} | {
|
|
@@ -252,10 +252,10 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
252
252
|
__kind: "RootNotAllowed";
|
|
253
253
|
};
|
|
254
254
|
depositWitness: {
|
|
255
|
-
depositAddress: string;
|
|
256
255
|
asset: {
|
|
257
256
|
__kind: "Dot";
|
|
258
257
|
};
|
|
258
|
+
depositAddress: string;
|
|
259
259
|
amount: string | number;
|
|
260
260
|
};
|
|
261
261
|
}>;
|
|
@@ -32,17 +32,17 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
32
32
|
error: string;
|
|
33
33
|
}>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
__kind: "Module";
|
|
35
36
|
value: {
|
|
36
37
|
index: number;
|
|
37
38
|
error: `0x${string}`;
|
|
38
39
|
};
|
|
39
|
-
__kind: "Module";
|
|
40
40
|
}, {
|
|
41
|
+
__kind: "Module";
|
|
41
42
|
value: {
|
|
42
43
|
index: number;
|
|
43
44
|
error: string;
|
|
44
45
|
};
|
|
45
|
-
__kind: "Module";
|
|
46
46
|
}>, z.ZodObject<{
|
|
47
47
|
__kind: z.ZodLiteral<"ConsumerRemaining">;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -73,13 +73,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
73
73
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
74
74
|
}>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
77
76
|
__kind: "Token";
|
|
77
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
78
78
|
}, {
|
|
79
|
+
__kind: "Token";
|
|
79
80
|
value: {
|
|
80
81
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
81
82
|
};
|
|
82
|
-
__kind: "Token";
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
__kind: z.ZodLiteral<"Arithmetic">;
|
|
85
85
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -92,13 +92,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
92
92
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
93
93
|
}>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
96
95
|
__kind: "Arithmetic";
|
|
96
|
+
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
97
97
|
}, {
|
|
98
|
+
__kind: "Arithmetic";
|
|
98
99
|
value: {
|
|
99
100
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
100
101
|
};
|
|
101
|
-
__kind: "Arithmetic";
|
|
102
102
|
}>, z.ZodObject<{
|
|
103
103
|
__kind: z.ZodLiteral<"Transactional">;
|
|
104
104
|
value: z.ZodEffects<z.ZodObject<{
|
|
@@ -111,13 +111,13 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
111
111
|
__kind: "LimitReached" | "NoLayer";
|
|
112
112
|
}>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
value: "LimitReached" | "NoLayer";
|
|
115
114
|
__kind: "Transactional";
|
|
115
|
+
value: "LimitReached" | "NoLayer";
|
|
116
116
|
}, {
|
|
117
|
+
__kind: "Transactional";
|
|
117
118
|
value: {
|
|
118
119
|
__kind: "LimitReached" | "NoLayer";
|
|
119
120
|
};
|
|
120
|
-
__kind: "Transactional";
|
|
121
121
|
}>, z.ZodObject<{
|
|
122
122
|
__kind: z.ZodLiteral<"Exhausted">;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -156,14 +156,14 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
156
156
|
}>;
|
|
157
157
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
depositAddress: `0x${string}`;
|
|
160
159
|
asset: "Dot";
|
|
160
|
+
depositAddress: `0x${string}`;
|
|
161
161
|
amount: bigint;
|
|
162
162
|
}, {
|
|
163
|
-
depositAddress: string;
|
|
164
163
|
asset: {
|
|
165
164
|
__kind: "Dot";
|
|
166
165
|
};
|
|
166
|
+
depositAddress: string;
|
|
167
167
|
amount: string | number;
|
|
168
168
|
}>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -174,11 +174,11 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
174
174
|
} | {
|
|
175
175
|
__kind: "BadOrigin";
|
|
176
176
|
} | {
|
|
177
|
+
__kind: "Module";
|
|
177
178
|
value: {
|
|
178
179
|
index: number;
|
|
179
180
|
error: `0x${string}`;
|
|
180
181
|
};
|
|
181
|
-
__kind: "Module";
|
|
182
182
|
} | {
|
|
183
183
|
__kind: "ConsumerRemaining";
|
|
184
184
|
} | {
|
|
@@ -186,14 +186,14 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
186
186
|
} | {
|
|
187
187
|
__kind: "TooManyConsumers";
|
|
188
188
|
} | {
|
|
189
|
-
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
190
189
|
__kind: "Token";
|
|
190
|
+
value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
191
191
|
} | {
|
|
192
|
-
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
193
192
|
__kind: "Arithmetic";
|
|
193
|
+
value: "Underflow" | "Overflow" | "DivisionByZero";
|
|
194
194
|
} | {
|
|
195
|
-
value: "LimitReached" | "NoLayer";
|
|
196
195
|
__kind: "Transactional";
|
|
196
|
+
value: "LimitReached" | "NoLayer";
|
|
197
197
|
} | {
|
|
198
198
|
__kind: "Exhausted";
|
|
199
199
|
} | {
|
|
@@ -204,8 +204,8 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
204
204
|
__kind: "RootNotAllowed";
|
|
205
205
|
};
|
|
206
206
|
depositWitness: {
|
|
207
|
-
depositAddress: `0x${string}`;
|
|
208
207
|
asset: "Dot";
|
|
208
|
+
depositAddress: `0x${string}`;
|
|
209
209
|
amount: bigint;
|
|
210
210
|
};
|
|
211
211
|
}, {
|
|
@@ -216,11 +216,11 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
216
216
|
} | {
|
|
217
217
|
__kind: "BadOrigin";
|
|
218
218
|
} | {
|
|
219
|
+
__kind: "Module";
|
|
219
220
|
value: {
|
|
220
221
|
index: number;
|
|
221
222
|
error: string;
|
|
222
223
|
};
|
|
223
|
-
__kind: "Module";
|
|
224
224
|
} | {
|
|
225
225
|
__kind: "ConsumerRemaining";
|
|
226
226
|
} | {
|
|
@@ -228,20 +228,20 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
228
228
|
} | {
|
|
229
229
|
__kind: "TooManyConsumers";
|
|
230
230
|
} | {
|
|
231
|
+
__kind: "Token";
|
|
231
232
|
value: {
|
|
232
233
|
__kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
|
|
233
234
|
};
|
|
234
|
-
__kind: "Token";
|
|
235
235
|
} | {
|
|
236
|
+
__kind: "Arithmetic";
|
|
236
237
|
value: {
|
|
237
238
|
__kind: "Underflow" | "Overflow" | "DivisionByZero";
|
|
238
239
|
};
|
|
239
|
-
__kind: "Arithmetic";
|
|
240
240
|
} | {
|
|
241
|
+
__kind: "Transactional";
|
|
241
242
|
value: {
|
|
242
243
|
__kind: "LimitReached" | "NoLayer";
|
|
243
244
|
};
|
|
244
|
-
__kind: "Transactional";
|
|
245
245
|
} | {
|
|
246
246
|
__kind: "Exhausted";
|
|
247
247
|
} | {
|
|
@@ -252,10 +252,10 @@ declare const polkadotIngressEgressDepositWitnessRejected: z.ZodObject<{
|
|
|
252
252
|
__kind: "RootNotAllowed";
|
|
253
253
|
};
|
|
254
254
|
depositWitness: {
|
|
255
|
-
depositAddress: string;
|
|
256
255
|
asset: {
|
|
257
256
|
__kind: "Dot";
|
|
258
257
|
};
|
|
258
|
+
depositAddress: string;
|
|
259
259
|
amount: string | number;
|
|
260
260
|
};
|
|
261
261
|
}>;
|
|
@@ -22,16 +22,16 @@ declare const swappingBatchSwapFailed: z.ZodObject<{
|
|
|
22
22
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
25
|
-
direction: "FromStable" | "ToStable";
|
|
26
25
|
amount: bigint;
|
|
26
|
+
direction: "FromStable" | "ToStable";
|
|
27
27
|
}, {
|
|
28
28
|
asset: {
|
|
29
29
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
30
30
|
};
|
|
31
|
+
amount: string | number;
|
|
31
32
|
direction: {
|
|
32
33
|
__kind: "FromStable" | "ToStable";
|
|
33
34
|
};
|
|
34
|
-
amount: string | number;
|
|
35
35
|
}>;
|
|
36
36
|
|
|
37
37
|
export { swappingBatchSwapFailed };
|
|
@@ -22,16 +22,16 @@ declare const swappingBatchSwapFailed: z.ZodObject<{
|
|
|
22
22
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
25
|
-
direction: "FromStable" | "ToStable";
|
|
26
25
|
amount: bigint;
|
|
26
|
+
direction: "FromStable" | "ToStable";
|
|
27
27
|
}, {
|
|
28
28
|
asset: {
|
|
29
29
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
30
30
|
};
|
|
31
|
+
amount: string | number;
|
|
31
32
|
direction: {
|
|
32
33
|
__kind: "FromStable" | "ToStable";
|
|
33
34
|
};
|
|
34
|
-
amount: string | number;
|
|
35
35
|
}>;
|
|
36
36
|
|
|
37
37
|
export { swappingBatchSwapFailed };
|
|
@@ -6,29 +6,29 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
6
6
|
gasSwapId: 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>>>;
|
|
7
7
|
depositAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
8
8
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
9
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
9
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
10
10
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
__kind: "
|
|
12
|
+
__kind: "Ethereum";
|
|
13
13
|
value: `0x${string}`;
|
|
14
14
|
}, {
|
|
15
15
|
__kind: "Eth";
|
|
16
16
|
value: string;
|
|
17
17
|
}>, z.ZodObject<{
|
|
18
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
19
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
19
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
__kind: "
|
|
22
|
-
value:
|
|
21
|
+
__kind: "Polkadot";
|
|
22
|
+
value: string;
|
|
23
23
|
}, {
|
|
24
24
|
__kind: "Dot";
|
|
25
25
|
value: string;
|
|
26
26
|
}>, z.ZodObject<{
|
|
27
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
28
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
28
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
__kind: "
|
|
31
|
-
value:
|
|
30
|
+
__kind: "Bitcoin";
|
|
31
|
+
value: string;
|
|
32
32
|
}, {
|
|
33
33
|
__kind: "Btc";
|
|
34
34
|
value: string;
|
|
@@ -255,18 +255,18 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
255
255
|
} | null | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
ccmId: bigint;
|
|
259
|
-
depositAmount: bigint;
|
|
260
258
|
destinationAddress: {
|
|
261
|
-
__kind: "
|
|
259
|
+
__kind: "Ethereum";
|
|
262
260
|
value: `0x${string}`;
|
|
263
261
|
} | {
|
|
264
|
-
__kind: "
|
|
265
|
-
value:
|
|
262
|
+
__kind: "Polkadot";
|
|
263
|
+
value: string;
|
|
266
264
|
} | {
|
|
267
|
-
__kind: "
|
|
268
|
-
value:
|
|
265
|
+
__kind: "Bitcoin";
|
|
266
|
+
value: string;
|
|
269
267
|
};
|
|
268
|
+
ccmId: bigint;
|
|
269
|
+
depositAmount: bigint;
|
|
270
270
|
depositMetadata: {
|
|
271
271
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
272
272
|
channelMetadata: {
|
|
@@ -307,8 +307,6 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
307
307
|
principalSwapId?: bigint | null | undefined;
|
|
308
308
|
gasSwapId?: bigint | null | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
ccmId: string | number;
|
|
311
|
-
depositAmount: string | number;
|
|
312
310
|
destinationAddress: {
|
|
313
311
|
__kind: "Eth";
|
|
314
312
|
value: string;
|
|
@@ -319,6 +317,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
319
317
|
__kind: "Btc";
|
|
320
318
|
value: string;
|
|
321
319
|
};
|
|
320
|
+
ccmId: string | number;
|
|
321
|
+
depositAmount: string | number;
|
|
322
322
|
depositMetadata: {
|
|
323
323
|
sourceChain: {
|
|
324
324
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -6,29 +6,29 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
6
6
|
gasSwapId: 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>>>;
|
|
7
7
|
depositAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
8
8
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
9
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
9
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
10
10
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
__kind: "
|
|
12
|
+
__kind: "Ethereum";
|
|
13
13
|
value: `0x${string}`;
|
|
14
14
|
}, {
|
|
15
15
|
__kind: "Eth";
|
|
16
16
|
value: string;
|
|
17
17
|
}>, z.ZodObject<{
|
|
18
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
19
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
19
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
__kind: "
|
|
22
|
-
value:
|
|
21
|
+
__kind: "Polkadot";
|
|
22
|
+
value: string;
|
|
23
23
|
}, {
|
|
24
24
|
__kind: "Dot";
|
|
25
25
|
value: string;
|
|
26
26
|
}>, z.ZodObject<{
|
|
27
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
28
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
28
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
__kind: "
|
|
31
|
-
value:
|
|
30
|
+
__kind: "Bitcoin";
|
|
31
|
+
value: string;
|
|
32
32
|
}, {
|
|
33
33
|
__kind: "Btc";
|
|
34
34
|
value: string;
|
|
@@ -255,18 +255,18 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
255
255
|
} | null | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
ccmId: bigint;
|
|
259
|
-
depositAmount: bigint;
|
|
260
258
|
destinationAddress: {
|
|
261
|
-
__kind: "
|
|
259
|
+
__kind: "Ethereum";
|
|
262
260
|
value: `0x${string}`;
|
|
263
261
|
} | {
|
|
264
|
-
__kind: "
|
|
265
|
-
value:
|
|
262
|
+
__kind: "Polkadot";
|
|
263
|
+
value: string;
|
|
266
264
|
} | {
|
|
267
|
-
__kind: "
|
|
268
|
-
value:
|
|
265
|
+
__kind: "Bitcoin";
|
|
266
|
+
value: string;
|
|
269
267
|
};
|
|
268
|
+
ccmId: bigint;
|
|
269
|
+
depositAmount: bigint;
|
|
270
270
|
depositMetadata: {
|
|
271
271
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
272
272
|
channelMetadata: {
|
|
@@ -307,8 +307,6 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
307
307
|
principalSwapId?: bigint | null | undefined;
|
|
308
308
|
gasSwapId?: bigint | null | undefined;
|
|
309
309
|
}, {
|
|
310
|
-
ccmId: string | number;
|
|
311
|
-
depositAmount: string | number;
|
|
312
310
|
destinationAddress: {
|
|
313
311
|
__kind: "Eth";
|
|
314
312
|
value: string;
|
|
@@ -319,6 +317,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
319
317
|
__kind: "Btc";
|
|
320
318
|
value: string;
|
|
321
319
|
};
|
|
320
|
+
ccmId: string | number;
|
|
321
|
+
depositAmount: string | number;
|
|
322
322
|
depositMetadata: {
|
|
323
323
|
sourceChain: {
|
|
324
324
|
__kind: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -11,29 +11,29 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
|
|
12
12
|
}>;
|
|
13
13
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Ethereum";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Polkadot";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Dot";
|
|
30
30
|
value: string;
|
|
31
31
|
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
33
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
32
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
33
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
36
|
-
value:
|
|
35
|
+
__kind: "Bitcoin";
|
|
36
|
+
value: string;
|
|
37
37
|
}, {
|
|
38
38
|
__kind: "Btc";
|
|
39
39
|
value: string;
|
|
@@ -261,14 +261,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
261
261
|
}>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
destinationAddress: {
|
|
264
|
-
__kind: "
|
|
264
|
+
__kind: "Ethereum";
|
|
265
265
|
value: `0x${string}`;
|
|
266
266
|
} | {
|
|
267
|
-
__kind: "
|
|
268
|
-
value:
|
|
267
|
+
__kind: "Polkadot";
|
|
268
|
+
value: string;
|
|
269
269
|
} | {
|
|
270
|
-
__kind: "
|
|
271
|
-
value:
|
|
270
|
+
__kind: "Bitcoin";
|
|
271
|
+
value: string;
|
|
272
272
|
};
|
|
273
273
|
depositMetadata: {
|
|
274
274
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -11,29 +11,29 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
|
|
12
12
|
}>;
|
|
13
13
|
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
14
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Ethereum";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
22
|
}>, z.ZodObject<{
|
|
23
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
24
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
23
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
24
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
27
|
-
value:
|
|
26
|
+
__kind: "Polkadot";
|
|
27
|
+
value: string;
|
|
28
28
|
}, {
|
|
29
29
|
__kind: "Dot";
|
|
30
30
|
value: string;
|
|
31
31
|
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
33
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
32
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
33
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
36
|
-
value:
|
|
35
|
+
__kind: "Bitcoin";
|
|
36
|
+
value: string;
|
|
37
37
|
}, {
|
|
38
38
|
__kind: "Btc";
|
|
39
39
|
value: string;
|
|
@@ -261,14 +261,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
261
261
|
}>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
destinationAddress: {
|
|
264
|
-
__kind: "
|
|
264
|
+
__kind: "Ethereum";
|
|
265
265
|
value: `0x${string}`;
|
|
266
266
|
} | {
|
|
267
|
-
__kind: "
|
|
268
|
-
value:
|
|
267
|
+
__kind: "Polkadot";
|
|
268
|
+
value: string;
|
|
269
269
|
} | {
|
|
270
|
-
__kind: "
|
|
271
|
-
value:
|
|
270
|
+
__kind: "Bitcoin";
|
|
271
|
+
value: string;
|
|
272
272
|
};
|
|
273
273
|
depositMetadata: {
|
|
274
274
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|