@chainflip/processor 1.8.5 → 1.8.7
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/flip/remainingImbalance.d.cts +22 -22
- package/dist/100/flip/remainingImbalance.d.ts +22 -22
- package/dist/100/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/100/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/100/swapping/ccmDepositReceived.d.cts +62 -62
- package/dist/100/swapping/ccmDepositReceived.d.ts +62 -62
- package/dist/100/swapping/ccmFailed.d.cts +62 -62
- package/dist/100/swapping/ccmFailed.d.ts +62 -62
- package/dist/100/swapping/minimumSwapAmountSet.d.cts +6 -6
- package/dist/100/swapping/minimumSwapAmountSet.d.ts +6 -6
- package/dist/100/swapping/swapAmountTooLow.d.cts +19 -19
- package/dist/100/swapping/swapAmountTooLow.d.ts +19 -19
- package/dist/100/swapping/swapDepositAddressReady.d.cts +26 -26
- package/dist/100/swapping/swapDepositAddressReady.d.ts +26 -26
- package/dist/100/swapping/swapEgressScheduled.d.cts +6 -6
- package/dist/100/swapping/swapEgressScheduled.d.ts +6 -6
- package/dist/100/swapping/swapExecuted.d.cts +12 -12
- package/dist/100/swapping/swapExecuted.d.ts +12 -12
- package/dist/100/swapping/swapScheduled.d.cts +91 -91
- package/dist/100/swapping/swapScheduled.d.ts +91 -91
- package/dist/100/swapping/withdrawalRequested.d.cts +4 -4
- package/dist/100/swapping/withdrawalRequested.d.ts +4 -4
- package/dist/141/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/141/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/141/liquidityProvider/assetTransferred.d.cts +3 -3
- package/dist/141/liquidityProvider/assetTransferred.d.ts +3 -3
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/141/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/141/swapping/ccmDepositReceived.d.cts +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/170/solanaIngressEgress/boostedDepositLost.d.cts +2 -2
- package/dist/170/solanaIngressEgress/boostedDepositLost.d.ts +2 -2
- package/dist/170/solanaIngressEgress/ccmFailed.d.cts +37 -37
- package/dist/170/solanaIngressEgress/ccmFailed.d.ts +37 -37
- package/dist/170/solanaIngressEgress/depositIgnored.d.cts +6 -6
- package/dist/170/solanaIngressEgress/depositIgnored.d.ts +6 -6
- package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
- package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +50 -50
- package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +32 -32
- package/dist/180/arbitrumIngressEgress/depositFailed.d.ts +32 -32
- package/dist/180/arbitrumIngressEgress/witnessSafetyMarginSet.cjs +7 -0
- package/dist/180/arbitrumIngressEgress/witnessSafetyMarginSet.d.cts +11 -0
- package/dist/180/arbitrumIngressEgress/witnessSafetyMarginSet.d.ts +11 -0
- package/dist/180/arbitrumIngressEgress/witnessSafetyMarginSet.mjs +7 -0
- package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +146 -146
- package/dist/180/bitcoinIngressEgress/depositFailed.d.ts +146 -146
- package/dist/180/bitcoinIngressEgress/witnessSafetyMarginSet.cjs +7 -0
- package/dist/180/bitcoinIngressEgress/witnessSafetyMarginSet.d.cts +11 -0
- package/dist/180/bitcoinIngressEgress/witnessSafetyMarginSet.d.ts +11 -0
- package/dist/180/bitcoinIngressEgress/witnessSafetyMarginSet.mjs +7 -0
- package/dist/180/common.cjs +7 -7
- package/dist/180/common.d.cts +286 -286
- package/dist/180/common.d.ts +286 -286
- package/dist/180/common.mjs +7 -7
- package/dist/180/ethereumIngressEgress/depositFailed.d.cts +32 -32
- package/dist/180/ethereumIngressEgress/depositFailed.d.ts +32 -32
- package/dist/180/ethereumIngressEgress/witnessSafetyMarginSet.cjs +7 -0
- package/dist/180/ethereumIngressEgress/witnessSafetyMarginSet.d.cts +11 -0
- package/dist/180/ethereumIngressEgress/witnessSafetyMarginSet.d.ts +11 -0
- package/dist/180/ethereumIngressEgress/witnessSafetyMarginSet.mjs +7 -0
- package/dist/180/polkadotIngressEgress/depositFailed.d.cts +32 -32
- package/dist/180/polkadotIngressEgress/depositFailed.d.ts +32 -32
- package/dist/180/polkadotIngressEgress/witnessSafetyMarginSet.cjs +6 -0
- package/dist/180/polkadotIngressEgress/witnessSafetyMarginSet.d.cts +11 -0
- package/dist/180/polkadotIngressEgress/witnessSafetyMarginSet.d.ts +11 -0
- package/dist/180/polkadotIngressEgress/witnessSafetyMarginSet.mjs +6 -0
- package/dist/180/solanaIngressEgress/depositFailed.d.cts +32 -32
- package/dist/180/solanaIngressEgress/depositFailed.d.ts +32 -32
- package/dist/180/solanaIngressEgress/witnessSafetyMarginSet.cjs +7 -0
- package/dist/180/solanaIngressEgress/witnessSafetyMarginSet.d.cts +11 -0
- package/dist/180/solanaIngressEgress/witnessSafetyMarginSet.d.ts +11 -0
- package/dist/180/solanaIngressEgress/witnessSafetyMarginSet.mjs +7 -0
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.cjs +1 -1
- package/dist/180/solanaThresholdSigner/thresholdSignatureRequest.mjs +3 -3
- package/dist/180/swapping/affiliateRegistration.cjs +1 -0
- package/dist/180/swapping/affiliateRegistration.d.cts +3 -0
- package/dist/180/swapping/affiliateRegistration.d.ts +3 -0
- package/dist/180/swapping/affiliateRegistration.mjs +2 -1
- package/dist/180/swapping/swapDepositAddressReady.cjs +1 -1
- package/dist/180/swapping/swapDepositAddressReady.d.cts +14 -14
- package/dist/180/swapping/swapDepositAddressReady.d.ts +14 -14
- package/dist/180/swapping/swapDepositAddressReady.mjs +1 -1
- 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 +4 -4
|
@@ -9,11 +9,11 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
9
9
|
__kind: z.ZodEnum<["Eth", "Dot", "Btc"]>;
|
|
10
10
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
value: `0x${string}`;
|
|
13
12
|
__kind: "Eth" | "Dot" | "Btc";
|
|
13
|
+
value: `0x${string}`;
|
|
14
14
|
}, {
|
|
15
|
-
value: string;
|
|
16
15
|
__kind: "Eth" | "Dot" | "Btc";
|
|
16
|
+
value: string;
|
|
17
17
|
}>, {
|
|
18
18
|
readonly chain: "Ethereum";
|
|
19
19
|
readonly address: `0x${string}`;
|
|
@@ -24,8 +24,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
24
24
|
readonly chain: "Bitcoin";
|
|
25
25
|
readonly address: string;
|
|
26
26
|
}, {
|
|
27
|
-
value: string;
|
|
28
27
|
__kind: "Eth" | "Dot" | "Btc";
|
|
28
|
+
value: string;
|
|
29
29
|
}>;
|
|
30
30
|
depositMetadata: z.ZodObject<{
|
|
31
31
|
sourceChain: z.ZodEffects<z.ZodObject<{
|
|
@@ -41,67 +41,67 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
41
41
|
__kind: z.ZodLiteral<"Eth">;
|
|
42
42
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
value: `0x${string}`;
|
|
45
44
|
__kind: "Eth";
|
|
45
|
+
value: `0x${string}`;
|
|
46
46
|
}, {
|
|
47
|
-
value: string;
|
|
48
47
|
__kind: "Eth";
|
|
48
|
+
value: string;
|
|
49
49
|
}>, z.ZodObject<{
|
|
50
50
|
__kind: z.ZodLiteral<"Dot">;
|
|
51
51
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
value: `0x${string}`;
|
|
54
53
|
__kind: "Dot";
|
|
54
|
+
value: `0x${string}`;
|
|
55
55
|
}, {
|
|
56
|
-
value: string;
|
|
57
56
|
__kind: "Dot";
|
|
57
|
+
value: string;
|
|
58
58
|
}>, z.ZodObject<{
|
|
59
59
|
__kind: z.ZodLiteral<"Btc">;
|
|
60
60
|
value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
61
61
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
62
62
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
value: `0x${string}`;
|
|
65
64
|
__kind: "P2PKH";
|
|
65
|
+
value: `0x${string}`;
|
|
66
66
|
}, {
|
|
67
|
-
value: string;
|
|
68
67
|
__kind: "P2PKH";
|
|
68
|
+
value: string;
|
|
69
69
|
}>, z.ZodObject<{
|
|
70
70
|
__kind: z.ZodLiteral<"P2SH">;
|
|
71
71
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
value: `0x${string}`;
|
|
74
73
|
__kind: "P2SH";
|
|
74
|
+
value: `0x${string}`;
|
|
75
75
|
}, {
|
|
76
|
-
value: string;
|
|
77
76
|
__kind: "P2SH";
|
|
77
|
+
value: string;
|
|
78
78
|
}>, z.ZodObject<{
|
|
79
79
|
__kind: z.ZodLiteral<"P2WPKH">;
|
|
80
80
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
value: `0x${string}`;
|
|
83
82
|
__kind: "P2WPKH";
|
|
83
|
+
value: `0x${string}`;
|
|
84
84
|
}, {
|
|
85
|
-
value: string;
|
|
86
85
|
__kind: "P2WPKH";
|
|
86
|
+
value: string;
|
|
87
87
|
}>, z.ZodObject<{
|
|
88
88
|
__kind: z.ZodLiteral<"P2WSH">;
|
|
89
89
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
value: `0x${string}`;
|
|
92
91
|
__kind: "P2WSH";
|
|
92
|
+
value: `0x${string}`;
|
|
93
93
|
}, {
|
|
94
|
-
value: string;
|
|
95
94
|
__kind: "P2WSH";
|
|
95
|
+
value: string;
|
|
96
96
|
}>, z.ZodObject<{
|
|
97
97
|
__kind: z.ZodLiteral<"Taproot">;
|
|
98
98
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
value: `0x${string}`;
|
|
101
100
|
__kind: "Taproot";
|
|
101
|
+
value: `0x${string}`;
|
|
102
102
|
}, {
|
|
103
|
-
value: string;
|
|
104
103
|
__kind: "Taproot";
|
|
104
|
+
value: string;
|
|
105
105
|
}>, z.ZodObject<{
|
|
106
106
|
__kind: z.ZodLiteral<"OtherSegwit">;
|
|
107
107
|
version: z.ZodNumber;
|
|
@@ -116,49 +116,49 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
116
116
|
program: string;
|
|
117
117
|
}>]>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
__kind: "Btc";
|
|
119
120
|
value: {
|
|
120
|
-
value: `0x${string}`;
|
|
121
121
|
__kind: "P2PKH";
|
|
122
|
-
} | {
|
|
123
122
|
value: `0x${string}`;
|
|
124
|
-
__kind: "P2SH";
|
|
125
123
|
} | {
|
|
124
|
+
__kind: "P2SH";
|
|
126
125
|
value: `0x${string}`;
|
|
127
|
-
__kind: "P2WPKH";
|
|
128
126
|
} | {
|
|
127
|
+
__kind: "P2WPKH";
|
|
129
128
|
value: `0x${string}`;
|
|
130
|
-
__kind: "P2WSH";
|
|
131
129
|
} | {
|
|
130
|
+
__kind: "P2WSH";
|
|
132
131
|
value: `0x${string}`;
|
|
132
|
+
} | {
|
|
133
133
|
__kind: "Taproot";
|
|
134
|
+
value: `0x${string}`;
|
|
134
135
|
} | {
|
|
135
136
|
__kind: "OtherSegwit";
|
|
136
137
|
version: number;
|
|
137
138
|
program: `0x${string}`;
|
|
138
139
|
};
|
|
139
|
-
__kind: "Btc";
|
|
140
140
|
}, {
|
|
141
|
+
__kind: "Btc";
|
|
141
142
|
value: {
|
|
142
|
-
value: string;
|
|
143
143
|
__kind: "P2PKH";
|
|
144
|
-
} | {
|
|
145
144
|
value: string;
|
|
146
|
-
__kind: "P2SH";
|
|
147
145
|
} | {
|
|
146
|
+
__kind: "P2SH";
|
|
148
147
|
value: string;
|
|
149
|
-
__kind: "P2WPKH";
|
|
150
148
|
} | {
|
|
149
|
+
__kind: "P2WPKH";
|
|
151
150
|
value: string;
|
|
152
|
-
__kind: "P2WSH";
|
|
153
151
|
} | {
|
|
152
|
+
__kind: "P2WSH";
|
|
154
153
|
value: string;
|
|
154
|
+
} | {
|
|
155
155
|
__kind: "Taproot";
|
|
156
|
+
value: string;
|
|
156
157
|
} | {
|
|
157
158
|
__kind: "OtherSegwit";
|
|
158
159
|
version: number;
|
|
159
160
|
program: string;
|
|
160
161
|
};
|
|
161
|
-
__kind: "Btc";
|
|
162
162
|
}>]>>>;
|
|
163
163
|
channelMetadata: z.ZodObject<{
|
|
164
164
|
message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -181,33 +181,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
181
181
|
cfParameters: `0x${string}`;
|
|
182
182
|
};
|
|
183
183
|
sourceAddress?: {
|
|
184
|
-
value: `0x${string}`;
|
|
185
184
|
__kind: "Eth";
|
|
186
|
-
} | {
|
|
187
185
|
value: `0x${string}`;
|
|
186
|
+
} | {
|
|
188
187
|
__kind: "Dot";
|
|
188
|
+
value: `0x${string}`;
|
|
189
189
|
} | {
|
|
190
|
+
__kind: "Btc";
|
|
190
191
|
value: {
|
|
191
|
-
value: `0x${string}`;
|
|
192
192
|
__kind: "P2PKH";
|
|
193
|
-
} | {
|
|
194
193
|
value: `0x${string}`;
|
|
195
|
-
__kind: "P2SH";
|
|
196
194
|
} | {
|
|
195
|
+
__kind: "P2SH";
|
|
197
196
|
value: `0x${string}`;
|
|
198
|
-
__kind: "P2WPKH";
|
|
199
197
|
} | {
|
|
198
|
+
__kind: "P2WPKH";
|
|
200
199
|
value: `0x${string}`;
|
|
201
|
-
__kind: "P2WSH";
|
|
202
200
|
} | {
|
|
201
|
+
__kind: "P2WSH";
|
|
203
202
|
value: `0x${string}`;
|
|
203
|
+
} | {
|
|
204
204
|
__kind: "Taproot";
|
|
205
|
+
value: `0x${string}`;
|
|
205
206
|
} | {
|
|
206
207
|
__kind: "OtherSegwit";
|
|
207
208
|
version: number;
|
|
208
209
|
program: `0x${string}`;
|
|
209
210
|
};
|
|
210
|
-
__kind: "Btc";
|
|
211
211
|
} | null | undefined;
|
|
212
212
|
}, {
|
|
213
213
|
sourceChain: {
|
|
@@ -219,33 +219,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
219
219
|
cfParameters: string;
|
|
220
220
|
};
|
|
221
221
|
sourceAddress?: {
|
|
222
|
-
value: string;
|
|
223
222
|
__kind: "Eth";
|
|
224
|
-
} | {
|
|
225
223
|
value: string;
|
|
224
|
+
} | {
|
|
226
225
|
__kind: "Dot";
|
|
226
|
+
value: string;
|
|
227
227
|
} | {
|
|
228
|
+
__kind: "Btc";
|
|
228
229
|
value: {
|
|
229
|
-
value: string;
|
|
230
230
|
__kind: "P2PKH";
|
|
231
|
-
} | {
|
|
232
231
|
value: string;
|
|
233
|
-
__kind: "P2SH";
|
|
234
232
|
} | {
|
|
233
|
+
__kind: "P2SH";
|
|
235
234
|
value: string;
|
|
236
|
-
__kind: "P2WPKH";
|
|
237
235
|
} | {
|
|
236
|
+
__kind: "P2WPKH";
|
|
238
237
|
value: string;
|
|
239
|
-
__kind: "P2WSH";
|
|
240
238
|
} | {
|
|
239
|
+
__kind: "P2WSH";
|
|
241
240
|
value: string;
|
|
241
|
+
} | {
|
|
242
242
|
__kind: "Taproot";
|
|
243
|
+
value: string;
|
|
243
244
|
} | {
|
|
244
245
|
__kind: "OtherSegwit";
|
|
245
246
|
version: number;
|
|
246
247
|
program: string;
|
|
247
248
|
};
|
|
248
|
-
__kind: "Btc";
|
|
249
249
|
} | null | undefined;
|
|
250
250
|
}>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -269,33 +269,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
269
269
|
cfParameters: `0x${string}`;
|
|
270
270
|
};
|
|
271
271
|
sourceAddress?: {
|
|
272
|
-
value: `0x${string}`;
|
|
273
272
|
__kind: "Eth";
|
|
274
|
-
} | {
|
|
275
273
|
value: `0x${string}`;
|
|
274
|
+
} | {
|
|
276
275
|
__kind: "Dot";
|
|
276
|
+
value: `0x${string}`;
|
|
277
277
|
} | {
|
|
278
|
+
__kind: "Btc";
|
|
278
279
|
value: {
|
|
279
|
-
value: `0x${string}`;
|
|
280
280
|
__kind: "P2PKH";
|
|
281
|
-
} | {
|
|
282
281
|
value: `0x${string}`;
|
|
283
|
-
__kind: "P2SH";
|
|
284
282
|
} | {
|
|
283
|
+
__kind: "P2SH";
|
|
285
284
|
value: `0x${string}`;
|
|
286
|
-
__kind: "P2WPKH";
|
|
287
285
|
} | {
|
|
286
|
+
__kind: "P2WPKH";
|
|
288
287
|
value: `0x${string}`;
|
|
289
|
-
__kind: "P2WSH";
|
|
290
288
|
} | {
|
|
289
|
+
__kind: "P2WSH";
|
|
291
290
|
value: `0x${string}`;
|
|
291
|
+
} | {
|
|
292
292
|
__kind: "Taproot";
|
|
293
|
+
value: `0x${string}`;
|
|
293
294
|
} | {
|
|
294
295
|
__kind: "OtherSegwit";
|
|
295
296
|
version: number;
|
|
296
297
|
program: `0x${string}`;
|
|
297
298
|
};
|
|
298
|
-
__kind: "Btc";
|
|
299
299
|
} | null | undefined;
|
|
300
300
|
};
|
|
301
301
|
principalSwapId?: bigint | null | undefined;
|
|
@@ -304,8 +304,8 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
304
304
|
ccmId: string | number;
|
|
305
305
|
depositAmount: string | number;
|
|
306
306
|
destinationAddress: {
|
|
307
|
-
value: string;
|
|
308
307
|
__kind: "Eth" | "Dot" | "Btc";
|
|
308
|
+
value: string;
|
|
309
309
|
};
|
|
310
310
|
depositMetadata: {
|
|
311
311
|
sourceChain: {
|
|
@@ -317,33 +317,33 @@ declare const swappingCcmDepositReceived: z.ZodObject<{
|
|
|
317
317
|
cfParameters: string;
|
|
318
318
|
};
|
|
319
319
|
sourceAddress?: {
|
|
320
|
-
value: string;
|
|
321
320
|
__kind: "Eth";
|
|
322
|
-
} | {
|
|
323
321
|
value: string;
|
|
322
|
+
} | {
|
|
324
323
|
__kind: "Dot";
|
|
324
|
+
value: string;
|
|
325
325
|
} | {
|
|
326
|
+
__kind: "Btc";
|
|
326
327
|
value: {
|
|
327
|
-
value: string;
|
|
328
328
|
__kind: "P2PKH";
|
|
329
|
-
} | {
|
|
330
329
|
value: string;
|
|
331
|
-
__kind: "P2SH";
|
|
332
330
|
} | {
|
|
331
|
+
__kind: "P2SH";
|
|
333
332
|
value: string;
|
|
334
|
-
__kind: "P2WPKH";
|
|
335
333
|
} | {
|
|
334
|
+
__kind: "P2WPKH";
|
|
336
335
|
value: string;
|
|
337
|
-
__kind: "P2WSH";
|
|
338
336
|
} | {
|
|
337
|
+
__kind: "P2WSH";
|
|
339
338
|
value: string;
|
|
339
|
+
} | {
|
|
340
340
|
__kind: "Taproot";
|
|
341
|
+
value: string;
|
|
341
342
|
} | {
|
|
342
343
|
__kind: "OtherSegwit";
|
|
343
344
|
version: number;
|
|
344
345
|
program: string;
|
|
345
346
|
};
|
|
346
|
-
__kind: "Btc";
|
|
347
347
|
} | null | undefined;
|
|
348
348
|
};
|
|
349
349
|
principalSwapId?: string | number | null | undefined;
|
|
@@ -14,11 +14,11 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
14
14
|
__kind: z.ZodEnum<["Eth", "Dot", "Btc"]>;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
value: `0x${string}`;
|
|
18
17
|
__kind: "Eth" | "Dot" | "Btc";
|
|
18
|
+
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
|
-
value: string;
|
|
21
20
|
__kind: "Eth" | "Dot" | "Btc";
|
|
21
|
+
value: string;
|
|
22
22
|
}>, {
|
|
23
23
|
readonly chain: "Ethereum";
|
|
24
24
|
readonly address: `0x${string}`;
|
|
@@ -29,8 +29,8 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
29
29
|
readonly chain: "Bitcoin";
|
|
30
30
|
readonly address: string;
|
|
31
31
|
}, {
|
|
32
|
-
value: string;
|
|
33
32
|
__kind: "Eth" | "Dot" | "Btc";
|
|
33
|
+
value: string;
|
|
34
34
|
}>;
|
|
35
35
|
depositMetadata: z.ZodObject<{
|
|
36
36
|
sourceChain: z.ZodEffects<z.ZodObject<{
|
|
@@ -46,67 +46,67 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
46
46
|
__kind: z.ZodLiteral<"Eth">;
|
|
47
47
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
value: `0x${string}`;
|
|
50
49
|
__kind: "Eth";
|
|
50
|
+
value: `0x${string}`;
|
|
51
51
|
}, {
|
|
52
|
-
value: string;
|
|
53
52
|
__kind: "Eth";
|
|
53
|
+
value: string;
|
|
54
54
|
}>, z.ZodObject<{
|
|
55
55
|
__kind: z.ZodLiteral<"Dot">;
|
|
56
56
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
value: `0x${string}`;
|
|
59
58
|
__kind: "Dot";
|
|
59
|
+
value: `0x${string}`;
|
|
60
60
|
}, {
|
|
61
|
-
value: string;
|
|
62
61
|
__kind: "Dot";
|
|
62
|
+
value: string;
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
__kind: z.ZodLiteral<"Btc">;
|
|
65
65
|
value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
|
|
66
66
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
67
67
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
value: `0x${string}`;
|
|
70
69
|
__kind: "P2PKH";
|
|
70
|
+
value: `0x${string}`;
|
|
71
71
|
}, {
|
|
72
|
-
value: string;
|
|
73
72
|
__kind: "P2PKH";
|
|
73
|
+
value: string;
|
|
74
74
|
}>, z.ZodObject<{
|
|
75
75
|
__kind: z.ZodLiteral<"P2SH">;
|
|
76
76
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
value: `0x${string}`;
|
|
79
78
|
__kind: "P2SH";
|
|
79
|
+
value: `0x${string}`;
|
|
80
80
|
}, {
|
|
81
|
-
value: string;
|
|
82
81
|
__kind: "P2SH";
|
|
82
|
+
value: string;
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
__kind: z.ZodLiteral<"P2WPKH">;
|
|
85
85
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
value: `0x${string}`;
|
|
88
87
|
__kind: "P2WPKH";
|
|
88
|
+
value: `0x${string}`;
|
|
89
89
|
}, {
|
|
90
|
-
value: string;
|
|
91
90
|
__kind: "P2WPKH";
|
|
91
|
+
value: string;
|
|
92
92
|
}>, z.ZodObject<{
|
|
93
93
|
__kind: z.ZodLiteral<"P2WSH">;
|
|
94
94
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
value: `0x${string}`;
|
|
97
96
|
__kind: "P2WSH";
|
|
97
|
+
value: `0x${string}`;
|
|
98
98
|
}, {
|
|
99
|
-
value: string;
|
|
100
99
|
__kind: "P2WSH";
|
|
100
|
+
value: string;
|
|
101
101
|
}>, z.ZodObject<{
|
|
102
102
|
__kind: z.ZodLiteral<"Taproot">;
|
|
103
103
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
value: `0x${string}`;
|
|
106
105
|
__kind: "Taproot";
|
|
106
|
+
value: `0x${string}`;
|
|
107
107
|
}, {
|
|
108
|
-
value: string;
|
|
109
108
|
__kind: "Taproot";
|
|
109
|
+
value: string;
|
|
110
110
|
}>, z.ZodObject<{
|
|
111
111
|
__kind: z.ZodLiteral<"OtherSegwit">;
|
|
112
112
|
version: z.ZodNumber;
|
|
@@ -121,49 +121,49 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
121
121
|
program: string;
|
|
122
122
|
}>]>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
__kind: "Btc";
|
|
124
125
|
value: {
|
|
125
|
-
value: `0x${string}`;
|
|
126
126
|
__kind: "P2PKH";
|
|
127
|
-
} | {
|
|
128
127
|
value: `0x${string}`;
|
|
129
|
-
__kind: "P2SH";
|
|
130
128
|
} | {
|
|
129
|
+
__kind: "P2SH";
|
|
131
130
|
value: `0x${string}`;
|
|
132
|
-
__kind: "P2WPKH";
|
|
133
131
|
} | {
|
|
132
|
+
__kind: "P2WPKH";
|
|
134
133
|
value: `0x${string}`;
|
|
135
|
-
__kind: "P2WSH";
|
|
136
134
|
} | {
|
|
135
|
+
__kind: "P2WSH";
|
|
137
136
|
value: `0x${string}`;
|
|
137
|
+
} | {
|
|
138
138
|
__kind: "Taproot";
|
|
139
|
+
value: `0x${string}`;
|
|
139
140
|
} | {
|
|
140
141
|
__kind: "OtherSegwit";
|
|
141
142
|
version: number;
|
|
142
143
|
program: `0x${string}`;
|
|
143
144
|
};
|
|
144
|
-
__kind: "Btc";
|
|
145
145
|
}, {
|
|
146
|
+
__kind: "Btc";
|
|
146
147
|
value: {
|
|
147
|
-
value: string;
|
|
148
148
|
__kind: "P2PKH";
|
|
149
|
-
} | {
|
|
150
149
|
value: string;
|
|
151
|
-
__kind: "P2SH";
|
|
152
150
|
} | {
|
|
151
|
+
__kind: "P2SH";
|
|
153
152
|
value: string;
|
|
154
|
-
__kind: "P2WPKH";
|
|
155
153
|
} | {
|
|
154
|
+
__kind: "P2WPKH";
|
|
156
155
|
value: string;
|
|
157
|
-
__kind: "P2WSH";
|
|
158
156
|
} | {
|
|
157
|
+
__kind: "P2WSH";
|
|
159
158
|
value: string;
|
|
159
|
+
} | {
|
|
160
160
|
__kind: "Taproot";
|
|
161
|
+
value: string;
|
|
161
162
|
} | {
|
|
162
163
|
__kind: "OtherSegwit";
|
|
163
164
|
version: number;
|
|
164
165
|
program: string;
|
|
165
166
|
};
|
|
166
|
-
__kind: "Btc";
|
|
167
167
|
}>]>>>;
|
|
168
168
|
channelMetadata: z.ZodObject<{
|
|
169
169
|
message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -186,33 +186,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
186
186
|
cfParameters: `0x${string}`;
|
|
187
187
|
};
|
|
188
188
|
sourceAddress?: {
|
|
189
|
-
value: `0x${string}`;
|
|
190
189
|
__kind: "Eth";
|
|
191
|
-
} | {
|
|
192
190
|
value: `0x${string}`;
|
|
191
|
+
} | {
|
|
193
192
|
__kind: "Dot";
|
|
193
|
+
value: `0x${string}`;
|
|
194
194
|
} | {
|
|
195
|
+
__kind: "Btc";
|
|
195
196
|
value: {
|
|
196
|
-
value: `0x${string}`;
|
|
197
197
|
__kind: "P2PKH";
|
|
198
|
-
} | {
|
|
199
198
|
value: `0x${string}`;
|
|
200
|
-
__kind: "P2SH";
|
|
201
199
|
} | {
|
|
200
|
+
__kind: "P2SH";
|
|
202
201
|
value: `0x${string}`;
|
|
203
|
-
__kind: "P2WPKH";
|
|
204
202
|
} | {
|
|
203
|
+
__kind: "P2WPKH";
|
|
205
204
|
value: `0x${string}`;
|
|
206
|
-
__kind: "P2WSH";
|
|
207
205
|
} | {
|
|
206
|
+
__kind: "P2WSH";
|
|
208
207
|
value: `0x${string}`;
|
|
208
|
+
} | {
|
|
209
209
|
__kind: "Taproot";
|
|
210
|
+
value: `0x${string}`;
|
|
210
211
|
} | {
|
|
211
212
|
__kind: "OtherSegwit";
|
|
212
213
|
version: number;
|
|
213
214
|
program: `0x${string}`;
|
|
214
215
|
};
|
|
215
|
-
__kind: "Btc";
|
|
216
216
|
} | null | undefined;
|
|
217
217
|
}, {
|
|
218
218
|
sourceChain: {
|
|
@@ -224,33 +224,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
224
224
|
cfParameters: string;
|
|
225
225
|
};
|
|
226
226
|
sourceAddress?: {
|
|
227
|
-
value: string;
|
|
228
227
|
__kind: "Eth";
|
|
229
|
-
} | {
|
|
230
228
|
value: string;
|
|
229
|
+
} | {
|
|
231
230
|
__kind: "Dot";
|
|
231
|
+
value: string;
|
|
232
232
|
} | {
|
|
233
|
+
__kind: "Btc";
|
|
233
234
|
value: {
|
|
234
|
-
value: string;
|
|
235
235
|
__kind: "P2PKH";
|
|
236
|
-
} | {
|
|
237
236
|
value: string;
|
|
238
|
-
__kind: "P2SH";
|
|
239
237
|
} | {
|
|
238
|
+
__kind: "P2SH";
|
|
240
239
|
value: string;
|
|
241
|
-
__kind: "P2WPKH";
|
|
242
240
|
} | {
|
|
241
|
+
__kind: "P2WPKH";
|
|
243
242
|
value: string;
|
|
244
|
-
__kind: "P2WSH";
|
|
245
243
|
} | {
|
|
244
|
+
__kind: "P2WSH";
|
|
246
245
|
value: string;
|
|
246
|
+
} | {
|
|
247
247
|
__kind: "Taproot";
|
|
248
|
+
value: string;
|
|
248
249
|
} | {
|
|
249
250
|
__kind: "OtherSegwit";
|
|
250
251
|
version: number;
|
|
251
252
|
program: string;
|
|
252
253
|
};
|
|
253
|
-
__kind: "Btc";
|
|
254
254
|
} | null | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -272,40 +272,40 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
272
272
|
cfParameters: `0x${string}`;
|
|
273
273
|
};
|
|
274
274
|
sourceAddress?: {
|
|
275
|
-
value: `0x${string}`;
|
|
276
275
|
__kind: "Eth";
|
|
277
|
-
} | {
|
|
278
276
|
value: `0x${string}`;
|
|
277
|
+
} | {
|
|
279
278
|
__kind: "Dot";
|
|
279
|
+
value: `0x${string}`;
|
|
280
280
|
} | {
|
|
281
|
+
__kind: "Btc";
|
|
281
282
|
value: {
|
|
282
|
-
value: `0x${string}`;
|
|
283
283
|
__kind: "P2PKH";
|
|
284
|
-
} | {
|
|
285
284
|
value: `0x${string}`;
|
|
286
|
-
__kind: "P2SH";
|
|
287
285
|
} | {
|
|
286
|
+
__kind: "P2SH";
|
|
288
287
|
value: `0x${string}`;
|
|
289
|
-
__kind: "P2WPKH";
|
|
290
288
|
} | {
|
|
289
|
+
__kind: "P2WPKH";
|
|
291
290
|
value: `0x${string}`;
|
|
292
|
-
__kind: "P2WSH";
|
|
293
291
|
} | {
|
|
292
|
+
__kind: "P2WSH";
|
|
294
293
|
value: `0x${string}`;
|
|
294
|
+
} | {
|
|
295
295
|
__kind: "Taproot";
|
|
296
|
+
value: `0x${string}`;
|
|
296
297
|
} | {
|
|
297
298
|
__kind: "OtherSegwit";
|
|
298
299
|
version: number;
|
|
299
300
|
program: `0x${string}`;
|
|
300
301
|
};
|
|
301
|
-
__kind: "Btc";
|
|
302
302
|
} | null | undefined;
|
|
303
303
|
};
|
|
304
304
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount" | "PrincipalSwapAmountTooLow";
|
|
305
305
|
}, {
|
|
306
306
|
destinationAddress: {
|
|
307
|
-
value: string;
|
|
308
307
|
__kind: "Eth" | "Dot" | "Btc";
|
|
308
|
+
value: string;
|
|
309
309
|
};
|
|
310
310
|
depositMetadata: {
|
|
311
311
|
sourceChain: {
|
|
@@ -317,33 +317,33 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
317
317
|
cfParameters: string;
|
|
318
318
|
};
|
|
319
319
|
sourceAddress?: {
|
|
320
|
-
value: string;
|
|
321
320
|
__kind: "Eth";
|
|
322
|
-
} | {
|
|
323
321
|
value: string;
|
|
322
|
+
} | {
|
|
324
323
|
__kind: "Dot";
|
|
324
|
+
value: string;
|
|
325
325
|
} | {
|
|
326
|
+
__kind: "Btc";
|
|
326
327
|
value: {
|
|
327
|
-
value: string;
|
|
328
328
|
__kind: "P2PKH";
|
|
329
|
-
} | {
|
|
330
329
|
value: string;
|
|
331
|
-
__kind: "P2SH";
|
|
332
330
|
} | {
|
|
331
|
+
__kind: "P2SH";
|
|
333
332
|
value: string;
|
|
334
|
-
__kind: "P2WPKH";
|
|
335
333
|
} | {
|
|
334
|
+
__kind: "P2WPKH";
|
|
336
335
|
value: string;
|
|
337
|
-
__kind: "P2WSH";
|
|
338
336
|
} | {
|
|
337
|
+
__kind: "P2WSH";
|
|
339
338
|
value: string;
|
|
339
|
+
} | {
|
|
340
340
|
__kind: "Taproot";
|
|
341
|
+
value: string;
|
|
341
342
|
} | {
|
|
342
343
|
__kind: "OtherSegwit";
|
|
343
344
|
version: number;
|
|
344
345
|
program: string;
|
|
345
346
|
};
|
|
346
|
-
__kind: "Btc";
|
|
347
347
|
} | null | undefined;
|
|
348
348
|
};
|
|
349
349
|
reason: {
|