@chainflip/processor 1.8.4 → 1.8.6
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/README.MD +13 -1
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
- package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
- package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/100/flip/remainingImbalance.d.cts +22 -22
- package/dist/100/flip/remainingImbalance.d.ts +22 -22
- package/dist/100/witnesser/witnessExecutionFailed.d.cts +18 -18
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +18 -18
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- 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 +18 -18
- package/dist/131/swapping/swapDepositAddressReady.d.ts +18 -18
- 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 +14 -14
- package/dist/131/swapping/swapScheduled.d.ts +14 -14
- package/dist/131/swapping/withdrawalRequested.d.cts +6 -6
- package/dist/131/swapping/withdrawalRequested.d.ts +6 -6
- 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/liquidityPools/limitOrderUpdated.d.cts +10 -10
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -10
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +10 -10
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +10 -10
- 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/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +68 -68
- package/dist/141/swapping/ccmDepositReceived.d.ts +68 -68
- package/dist/141/swapping/ccmFailed.d.cts +73 -73
- package/dist/141/swapping/ccmFailed.d.ts +73 -73
- 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 +26 -26
- package/dist/141/swapping/swapDepositAddressReady.d.ts +26 -26
- 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 +8 -8
- package/dist/141/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/141/swapping/swapExecuted.d.cts +90 -90
- package/dist/141/swapping/swapExecuted.d.ts +90 -90
- package/dist/141/swapping/swapScheduled.d.cts +99 -99
- package/dist/141/swapping/swapScheduled.d.ts +99 -99
- package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
- package/dist/141/swapping/withdrawalRequested.d.ts +10 -10
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/150/solanaIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +3 -3
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +3 -3
- 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/solanaIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
- package/dist/150/solanaIngressEgress/transferFallbackRequested.d.ts +2 -2
- 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/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +9 -421
- package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +9 -421
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +110 -313
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +110 -313
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/common.cjs +56 -9
- package/dist/180/common.d.cts +1127 -3872
- package/dist/180/common.d.ts +1127 -3872
- package/dist/180/common.mjs +56 -9
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/ethereumIngressEgress/depositFailed.d.cts +9 -421
- package/dist/180/ethereumIngressEgress/depositFailed.d.ts +9 -421
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/polkadotIngressEgress/depositFailed.d.cts +9 -421
- package/dist/180/polkadotIngressEgress/depositFailed.d.ts +9 -421
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/solanaElections/unknownElection.cjs +13 -0
- package/dist/180/solanaElections/unknownElection.d.cts +47 -0
- package/dist/180/solanaElections/unknownElection.d.ts +47 -0
- package/dist/180/solanaElections/unknownElection.mjs +13 -0
- package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +11 -11
- package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.ts +11 -11
- package/dist/180/solanaIngressEgress/depositFailed.d.cts +9 -421
- package/dist/180/solanaIngressEgress/depositFailed.d.ts +9 -421
- package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +11 -11
- package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +11 -11
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.cjs +19 -0
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.d.cts +107 -0
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.d.ts +107 -0
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.mjs +19 -0
- package/dist/180/swapping/affiliateRegistration.cjs +12 -0
- package/dist/180/swapping/affiliateRegistration.d.cts +20 -0
- package/dist/180/swapping/affiliateRegistration.d.ts +20 -0
- package/dist/180/swapping/affiliateRegistration.mjs +12 -0
- package/dist/180/swapping/withdrawalRequested.cjs +20 -0
- package/dist/180/swapping/withdrawalRequested.d.cts +91 -0
- package/dist/180/swapping/withdrawalRequested.d.ts +91 -0
- package/dist/180/swapping/withdrawalRequested.mjs +20 -0
- package/package.json +1 -1
- package/dist/180/swapping/affiliateRegistrationUpdated.cjs +0 -12
- package/dist/180/swapping/affiliateRegistrationUpdated.d.cts +0 -20
- package/dist/180/swapping/affiliateRegistrationUpdated.d.ts +0 -20
- package/dist/180/swapping/affiliateRegistrationUpdated.mjs +0 -12
|
@@ -5,31 +5,31 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
5
5
|
sourceAsset: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
__kind: "Eth" | "
|
|
8
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
9
9
|
}, {
|
|
10
|
-
__kind: "Eth" | "
|
|
11
|
-
}>, "Eth" | "
|
|
12
|
-
__kind: "Eth" | "
|
|
10
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
11
|
+
}>, "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt", {
|
|
12
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
13
13
|
}>;
|
|
14
14
|
depositAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
15
15
|
destinationAsset: z.ZodEffects<z.ZodObject<{
|
|
16
16
|
__kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt"]>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
__kind: "Eth" | "
|
|
18
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
19
19
|
}, {
|
|
20
|
-
__kind: "Eth" | "
|
|
21
|
-
}>, "Eth" | "
|
|
22
|
-
__kind: "Eth" | "
|
|
20
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
21
|
+
}>, "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt", {
|
|
22
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
23
23
|
}>;
|
|
24
24
|
destinationAddress: z.ZodEffects<z.ZodObject<{
|
|
25
25
|
__kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb"]>;
|
|
26
26
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
29
28
|
value: `0x${string}`;
|
|
30
|
-
}, {
|
|
31
29
|
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
30
|
+
}, {
|
|
32
31
|
value: string;
|
|
32
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
33
33
|
}>, {
|
|
34
34
|
readonly chain: "Ethereum";
|
|
35
35
|
readonly address: `0x${string}`;
|
|
@@ -43,8 +43,8 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
43
43
|
readonly chain: "Arbitrum";
|
|
44
44
|
readonly address: `0x${string}`;
|
|
45
45
|
}, {
|
|
46
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
47
46
|
value: string;
|
|
47
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
48
48
|
}>;
|
|
49
49
|
origin: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
50
50
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
@@ -52,11 +52,11 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
52
52
|
__kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb"]>;
|
|
53
53
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
56
55
|
value: `0x${string}`;
|
|
57
|
-
}, {
|
|
58
56
|
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
57
|
+
}, {
|
|
59
58
|
value: string;
|
|
59
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
60
60
|
}>, {
|
|
61
61
|
readonly chain: "Ethereum";
|
|
62
62
|
readonly address: `0x${string}`;
|
|
@@ -70,8 +70,8 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
70
70
|
readonly chain: "Arbitrum";
|
|
71
71
|
readonly address: `0x${string}`;
|
|
72
72
|
}, {
|
|
73
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
74
73
|
value: string;
|
|
74
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
75
75
|
}>;
|
|
76
76
|
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
77
77
|
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -95,8 +95,8 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
95
95
|
}, {
|
|
96
96
|
__kind: "DepositChannel";
|
|
97
97
|
depositAddress: {
|
|
98
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
99
98
|
value: string;
|
|
99
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
100
100
|
};
|
|
101
101
|
channelId: string | number;
|
|
102
102
|
depositBlockHeight: string | number;
|
|
@@ -116,67 +116,67 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
116
116
|
__kind: z.ZodLiteral<"Eth">;
|
|
117
117
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
__kind: "Eth";
|
|
120
119
|
value: `0x${string}`;
|
|
121
|
-
}, {
|
|
122
120
|
__kind: "Eth";
|
|
121
|
+
}, {
|
|
123
122
|
value: string;
|
|
123
|
+
__kind: "Eth";
|
|
124
124
|
}>, z.ZodObject<{
|
|
125
125
|
__kind: z.ZodLiteral<"Dot">;
|
|
126
126
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
__kind: "Dot";
|
|
129
128
|
value: `0x${string}`;
|
|
130
|
-
}, {
|
|
131
129
|
__kind: "Dot";
|
|
130
|
+
}, {
|
|
132
131
|
value: string;
|
|
132
|
+
__kind: "Dot";
|
|
133
133
|
}>, z.ZodObject<{
|
|
134
134
|
__kind: z.ZodLiteral<"Btc">;
|
|
135
135
|
value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
136
136
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
137
137
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
__kind: "P2PKH";
|
|
140
139
|
value: `0x${string}`;
|
|
141
|
-
}, {
|
|
142
140
|
__kind: "P2PKH";
|
|
141
|
+
}, {
|
|
143
142
|
value: string;
|
|
143
|
+
__kind: "P2PKH";
|
|
144
144
|
}>, z.ZodObject<{
|
|
145
145
|
__kind: z.ZodLiteral<"P2SH">;
|
|
146
146
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
__kind: "P2SH";
|
|
149
148
|
value: `0x${string}`;
|
|
150
|
-
}, {
|
|
151
149
|
__kind: "P2SH";
|
|
150
|
+
}, {
|
|
152
151
|
value: string;
|
|
152
|
+
__kind: "P2SH";
|
|
153
153
|
}>, z.ZodObject<{
|
|
154
154
|
__kind: z.ZodLiteral<"P2WPKH">;
|
|
155
155
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
__kind: "P2WPKH";
|
|
158
157
|
value: `0x${string}`;
|
|
159
|
-
}, {
|
|
160
158
|
__kind: "P2WPKH";
|
|
159
|
+
}, {
|
|
161
160
|
value: string;
|
|
161
|
+
__kind: "P2WPKH";
|
|
162
162
|
}>, z.ZodObject<{
|
|
163
163
|
__kind: z.ZodLiteral<"P2WSH">;
|
|
164
164
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
__kind: "P2WSH";
|
|
167
166
|
value: `0x${string}`;
|
|
168
|
-
}, {
|
|
169
167
|
__kind: "P2WSH";
|
|
168
|
+
}, {
|
|
170
169
|
value: string;
|
|
170
|
+
__kind: "P2WSH";
|
|
171
171
|
}>, z.ZodObject<{
|
|
172
172
|
__kind: z.ZodLiteral<"Taproot">;
|
|
173
173
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
__kind: "Taproot";
|
|
176
175
|
value: `0x${string}`;
|
|
177
|
-
}, {
|
|
178
176
|
__kind: "Taproot";
|
|
177
|
+
}, {
|
|
179
178
|
value: string;
|
|
179
|
+
__kind: "Taproot";
|
|
180
180
|
}>, z.ZodObject<{
|
|
181
181
|
__kind: z.ZodLiteral<"OtherSegwit">;
|
|
182
182
|
version: z.ZodNumber;
|
|
@@ -191,145 +191,145 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
191
191
|
program: string;
|
|
192
192
|
}>]>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
__kind: "Btc";
|
|
195
194
|
value: {
|
|
196
|
-
__kind: "P2PKH";
|
|
197
195
|
value: `0x${string}`;
|
|
196
|
+
__kind: "P2PKH";
|
|
198
197
|
} | {
|
|
199
|
-
__kind: "P2SH";
|
|
200
198
|
value: `0x${string}`;
|
|
199
|
+
__kind: "P2SH";
|
|
201
200
|
} | {
|
|
202
|
-
__kind: "P2WPKH";
|
|
203
201
|
value: `0x${string}`;
|
|
202
|
+
__kind: "P2WPKH";
|
|
204
203
|
} | {
|
|
205
|
-
__kind: "P2WSH";
|
|
206
204
|
value: `0x${string}`;
|
|
205
|
+
__kind: "P2WSH";
|
|
207
206
|
} | {
|
|
208
|
-
__kind: "Taproot";
|
|
209
207
|
value: `0x${string}`;
|
|
208
|
+
__kind: "Taproot";
|
|
210
209
|
} | {
|
|
211
210
|
__kind: "OtherSegwit";
|
|
212
211
|
version: number;
|
|
213
212
|
program: `0x${string}`;
|
|
214
213
|
};
|
|
215
|
-
}, {
|
|
216
214
|
__kind: "Btc";
|
|
215
|
+
}, {
|
|
217
216
|
value: {
|
|
218
|
-
__kind: "P2PKH";
|
|
219
217
|
value: string;
|
|
218
|
+
__kind: "P2PKH";
|
|
220
219
|
} | {
|
|
221
|
-
__kind: "P2SH";
|
|
222
220
|
value: string;
|
|
221
|
+
__kind: "P2SH";
|
|
223
222
|
} | {
|
|
224
|
-
__kind: "P2WPKH";
|
|
225
223
|
value: string;
|
|
224
|
+
__kind: "P2WPKH";
|
|
226
225
|
} | {
|
|
227
|
-
__kind: "P2WSH";
|
|
228
226
|
value: string;
|
|
227
|
+
__kind: "P2WSH";
|
|
229
228
|
} | {
|
|
230
|
-
__kind: "Taproot";
|
|
231
229
|
value: string;
|
|
230
|
+
__kind: "Taproot";
|
|
232
231
|
} | {
|
|
233
232
|
__kind: "OtherSegwit";
|
|
234
233
|
version: number;
|
|
235
234
|
program: string;
|
|
236
235
|
};
|
|
236
|
+
__kind: "Btc";
|
|
237
237
|
}>, z.ZodObject<{
|
|
238
238
|
__kind: z.ZodLiteral<"Arb">;
|
|
239
239
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
__kind: "Arb";
|
|
242
241
|
value: `0x${string}`;
|
|
243
|
-
}, {
|
|
244
242
|
__kind: "Arb";
|
|
243
|
+
}, {
|
|
245
244
|
value: string;
|
|
245
|
+
__kind: "Arb";
|
|
246
246
|
}>]>;
|
|
247
247
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
__kind: "Swap";
|
|
249
248
|
value: {
|
|
250
|
-
__kind: "Eth";
|
|
251
249
|
value: `0x${string}`;
|
|
250
|
+
__kind: "Eth";
|
|
252
251
|
} | {
|
|
253
|
-
__kind: "Dot";
|
|
254
252
|
value: `0x${string}`;
|
|
253
|
+
__kind: "Dot";
|
|
255
254
|
} | {
|
|
256
|
-
__kind: "Btc";
|
|
257
255
|
value: {
|
|
258
|
-
__kind: "P2PKH";
|
|
259
256
|
value: `0x${string}`;
|
|
257
|
+
__kind: "P2PKH";
|
|
260
258
|
} | {
|
|
261
|
-
__kind: "P2SH";
|
|
262
259
|
value: `0x${string}`;
|
|
260
|
+
__kind: "P2SH";
|
|
263
261
|
} | {
|
|
264
|
-
__kind: "P2WPKH";
|
|
265
262
|
value: `0x${string}`;
|
|
263
|
+
__kind: "P2WPKH";
|
|
266
264
|
} | {
|
|
267
|
-
__kind: "P2WSH";
|
|
268
265
|
value: `0x${string}`;
|
|
266
|
+
__kind: "P2WSH";
|
|
269
267
|
} | {
|
|
270
|
-
__kind: "Taproot";
|
|
271
268
|
value: `0x${string}`;
|
|
269
|
+
__kind: "Taproot";
|
|
272
270
|
} | {
|
|
273
271
|
__kind: "OtherSegwit";
|
|
274
272
|
version: number;
|
|
275
273
|
program: `0x${string}`;
|
|
276
274
|
};
|
|
275
|
+
__kind: "Btc";
|
|
277
276
|
} | {
|
|
278
|
-
__kind: "Arb";
|
|
279
277
|
value: `0x${string}`;
|
|
278
|
+
__kind: "Arb";
|
|
280
279
|
};
|
|
281
|
-
}, {
|
|
282
280
|
__kind: "Swap";
|
|
281
|
+
}, {
|
|
283
282
|
value: {
|
|
284
|
-
__kind: "Eth";
|
|
285
283
|
value: string;
|
|
284
|
+
__kind: "Eth";
|
|
286
285
|
} | {
|
|
287
|
-
__kind: "Dot";
|
|
288
286
|
value: string;
|
|
287
|
+
__kind: "Dot";
|
|
289
288
|
} | {
|
|
290
|
-
__kind: "Btc";
|
|
291
289
|
value: {
|
|
292
|
-
__kind: "P2PKH";
|
|
293
290
|
value: string;
|
|
291
|
+
__kind: "P2PKH";
|
|
294
292
|
} | {
|
|
295
|
-
__kind: "P2SH";
|
|
296
293
|
value: string;
|
|
294
|
+
__kind: "P2SH";
|
|
297
295
|
} | {
|
|
298
|
-
__kind: "P2WPKH";
|
|
299
296
|
value: string;
|
|
297
|
+
__kind: "P2WPKH";
|
|
300
298
|
} | {
|
|
301
|
-
__kind: "P2WSH";
|
|
302
299
|
value: string;
|
|
300
|
+
__kind: "P2WSH";
|
|
303
301
|
} | {
|
|
304
|
-
__kind: "Taproot";
|
|
305
302
|
value: string;
|
|
303
|
+
__kind: "Taproot";
|
|
306
304
|
} | {
|
|
307
305
|
__kind: "OtherSegwit";
|
|
308
306
|
version: number;
|
|
309
307
|
program: string;
|
|
310
308
|
};
|
|
309
|
+
__kind: "Btc";
|
|
311
310
|
} | {
|
|
312
|
-
__kind: "Arb";
|
|
313
311
|
value: string;
|
|
312
|
+
__kind: "Arb";
|
|
314
313
|
};
|
|
314
|
+
__kind: "Swap";
|
|
315
315
|
}>, z.ZodObject<{
|
|
316
316
|
__kind: z.ZodLiteral<"CcmPrincipal">;
|
|
317
317
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
__kind: "CcmPrincipal";
|
|
320
319
|
value: bigint;
|
|
321
|
-
}, {
|
|
322
320
|
__kind: "CcmPrincipal";
|
|
321
|
+
}, {
|
|
323
322
|
value: string | number;
|
|
323
|
+
__kind: "CcmPrincipal";
|
|
324
324
|
}>, z.ZodObject<{
|
|
325
325
|
__kind: z.ZodLiteral<"CcmGas">;
|
|
326
326
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
__kind: "CcmGas";
|
|
329
328
|
value: bigint;
|
|
330
|
-
}, {
|
|
331
329
|
__kind: "CcmGas";
|
|
330
|
+
}, {
|
|
332
331
|
value: string | number;
|
|
332
|
+
__kind: "CcmGas";
|
|
333
333
|
}>, z.ZodObject<{
|
|
334
334
|
__kind: z.ZodLiteral<"NetworkFee">;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -347,7 +347,6 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
347
347
|
brokerFee: 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>>>;
|
|
348
348
|
executeAt: z.ZodNumber;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
swapId: bigint;
|
|
351
350
|
depositAmount: bigint;
|
|
352
351
|
destinationAddress: {
|
|
353
352
|
readonly chain: "Ethereum";
|
|
@@ -362,6 +361,7 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
362
361
|
readonly chain: "Arbitrum";
|
|
363
362
|
readonly address: `0x${string}`;
|
|
364
363
|
};
|
|
364
|
+
swapId: bigint;
|
|
365
365
|
origin: {
|
|
366
366
|
__kind: "DepositChannel";
|
|
367
367
|
depositAddress: {
|
|
@@ -383,48 +383,48 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
383
383
|
__kind: "Vault";
|
|
384
384
|
txHash: `0x${string}`;
|
|
385
385
|
};
|
|
386
|
-
sourceAsset: "Eth" | "
|
|
387
|
-
destinationAsset: "Eth" | "
|
|
386
|
+
sourceAsset: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
387
|
+
destinationAsset: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
388
388
|
swapType: {
|
|
389
|
-
__kind: "Swap";
|
|
390
389
|
value: {
|
|
391
|
-
__kind: "Eth";
|
|
392
390
|
value: `0x${string}`;
|
|
391
|
+
__kind: "Eth";
|
|
393
392
|
} | {
|
|
394
|
-
__kind: "Dot";
|
|
395
393
|
value: `0x${string}`;
|
|
394
|
+
__kind: "Dot";
|
|
396
395
|
} | {
|
|
397
|
-
__kind: "Btc";
|
|
398
396
|
value: {
|
|
399
|
-
__kind: "P2PKH";
|
|
400
397
|
value: `0x${string}`;
|
|
398
|
+
__kind: "P2PKH";
|
|
401
399
|
} | {
|
|
402
|
-
__kind: "P2SH";
|
|
403
400
|
value: `0x${string}`;
|
|
401
|
+
__kind: "P2SH";
|
|
404
402
|
} | {
|
|
405
|
-
__kind: "P2WPKH";
|
|
406
403
|
value: `0x${string}`;
|
|
404
|
+
__kind: "P2WPKH";
|
|
407
405
|
} | {
|
|
408
|
-
__kind: "P2WSH";
|
|
409
406
|
value: `0x${string}`;
|
|
407
|
+
__kind: "P2WSH";
|
|
410
408
|
} | {
|
|
411
|
-
__kind: "Taproot";
|
|
412
409
|
value: `0x${string}`;
|
|
410
|
+
__kind: "Taproot";
|
|
413
411
|
} | {
|
|
414
412
|
__kind: "OtherSegwit";
|
|
415
413
|
version: number;
|
|
416
414
|
program: `0x${string}`;
|
|
417
415
|
};
|
|
416
|
+
__kind: "Btc";
|
|
418
417
|
} | {
|
|
419
|
-
__kind: "Arb";
|
|
420
418
|
value: `0x${string}`;
|
|
419
|
+
__kind: "Arb";
|
|
421
420
|
};
|
|
421
|
+
__kind: "Swap";
|
|
422
422
|
} | {
|
|
423
|
-
__kind: "CcmPrincipal";
|
|
424
423
|
value: bigint;
|
|
424
|
+
__kind: "CcmPrincipal";
|
|
425
425
|
} | {
|
|
426
|
-
__kind: "CcmGas";
|
|
427
426
|
value: bigint;
|
|
427
|
+
__kind: "CcmGas";
|
|
428
428
|
} | {
|
|
429
429
|
__kind: "NetworkFee";
|
|
430
430
|
} | {
|
|
@@ -434,17 +434,17 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
434
434
|
brokerCommission?: bigint | null | undefined;
|
|
435
435
|
brokerFee?: bigint | null | undefined;
|
|
436
436
|
}, {
|
|
437
|
-
swapId: string | number;
|
|
438
437
|
depositAmount: string | number;
|
|
439
438
|
destinationAddress: {
|
|
440
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
441
439
|
value: string;
|
|
440
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
442
441
|
};
|
|
442
|
+
swapId: string | number;
|
|
443
443
|
origin: {
|
|
444
444
|
__kind: "DepositChannel";
|
|
445
445
|
depositAddress: {
|
|
446
|
-
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
447
446
|
value: string;
|
|
447
|
+
__kind: "Eth" | "Dot" | "Btc" | "Arb";
|
|
448
448
|
};
|
|
449
449
|
channelId: string | number;
|
|
450
450
|
depositBlockHeight: string | number;
|
|
@@ -453,51 +453,51 @@ declare const swappingSwapScheduled: z.ZodObject<{
|
|
|
453
453
|
txHash: string;
|
|
454
454
|
};
|
|
455
455
|
sourceAsset: {
|
|
456
|
-
__kind: "Eth" | "
|
|
456
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
457
457
|
};
|
|
458
458
|
destinationAsset: {
|
|
459
|
-
__kind: "Eth" | "
|
|
459
|
+
__kind: "Eth" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Flip" | "Usdc" | "Usdt";
|
|
460
460
|
};
|
|
461
461
|
swapType: {
|
|
462
|
-
__kind: "Swap";
|
|
463
462
|
value: {
|
|
464
|
-
__kind: "Eth";
|
|
465
463
|
value: string;
|
|
464
|
+
__kind: "Eth";
|
|
466
465
|
} | {
|
|
467
|
-
__kind: "Dot";
|
|
468
466
|
value: string;
|
|
467
|
+
__kind: "Dot";
|
|
469
468
|
} | {
|
|
470
|
-
__kind: "Btc";
|
|
471
469
|
value: {
|
|
472
|
-
__kind: "P2PKH";
|
|
473
470
|
value: string;
|
|
471
|
+
__kind: "P2PKH";
|
|
474
472
|
} | {
|
|
475
|
-
__kind: "P2SH";
|
|
476
473
|
value: string;
|
|
474
|
+
__kind: "P2SH";
|
|
477
475
|
} | {
|
|
478
|
-
__kind: "P2WPKH";
|
|
479
476
|
value: string;
|
|
477
|
+
__kind: "P2WPKH";
|
|
480
478
|
} | {
|
|
481
|
-
__kind: "P2WSH";
|
|
482
479
|
value: string;
|
|
480
|
+
__kind: "P2WSH";
|
|
483
481
|
} | {
|
|
484
|
-
__kind: "Taproot";
|
|
485
482
|
value: string;
|
|
483
|
+
__kind: "Taproot";
|
|
486
484
|
} | {
|
|
487
485
|
__kind: "OtherSegwit";
|
|
488
486
|
version: number;
|
|
489
487
|
program: string;
|
|
490
488
|
};
|
|
489
|
+
__kind: "Btc";
|
|
491
490
|
} | {
|
|
492
|
-
__kind: "Arb";
|
|
493
491
|
value: string;
|
|
492
|
+
__kind: "Arb";
|
|
494
493
|
};
|
|
494
|
+
__kind: "Swap";
|
|
495
495
|
} | {
|
|
496
|
-
__kind: "CcmPrincipal";
|
|
497
496
|
value: string | number;
|
|
497
|
+
__kind: "CcmPrincipal";
|
|
498
498
|
} | {
|
|
499
|
-
__kind: "CcmGas";
|
|
500
499
|
value: string | number;
|
|
500
|
+
__kind: "CcmGas";
|
|
501
501
|
} | {
|
|
502
502
|
__kind: "NetworkFee";
|
|
503
503
|
} | {
|