@chainflip/processor 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
- package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
- package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
- package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
- package/dist/100/common.cjs +12 -12
- package/dist/100/common.d.cts +64 -28
- package/dist/100/common.d.ts +64 -28
- package/dist/100/common.mjs +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +12 -12
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +12 -12
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/swapping/ccmDepositReceived.d.cts +39 -21
- package/dist/100/swapping/ccmDepositReceived.d.ts +39 -21
- package/dist/100/swapping/ccmFailed.d.cts +35 -17
- package/dist/100/swapping/ccmFailed.d.ts +35 -17
- package/dist/100/swapping/swapAmountTooLow.d.cts +76 -40
- package/dist/100/swapping/swapAmountTooLow.d.ts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.cts +76 -40
- package/dist/100/swapping/swapDepositAddressReady.d.ts +76 -40
- package/dist/100/swapping/swapScheduled.d.cts +78 -42
- package/dist/100/swapping/swapScheduled.d.ts +78 -42
- package/dist/100/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/100/swapping/withdrawalRequested.d.ts +35 -17
- package/dist/111/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/111/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/111/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/111/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/common.cjs +12 -12
- package/dist/120/common.d.cts +29 -11
- package/dist/120/common.d.ts +29 -11
- package/dist/120/common.mjs +12 -12
- package/dist/120/emissions/backupRewardsDistributed.d.cts +2 -2
- package/dist/120/emissions/backupRewardsDistributed.d.ts +2 -2
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/120/swapping/ccmFailed.d.cts +35 -17
- package/dist/120/swapping/ccmFailed.d.ts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.cts +35 -17
- package/dist/120/swapping/withdrawalRequested.d.ts +35 -17
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/common.cjs +12 -12
- package/dist/131/common.d.cts +64 -28
- package/dist/131/common.d.ts +64 -28
- package/dist/131/common.mjs +12 -12
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +35 -17
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +35 -17
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +35 -17
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/ccmFailed.d.cts +76 -40
- package/dist/131/swapping/ccmFailed.d.ts +76 -40
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +88 -52
- package/dist/131/swapping/swapDepositAddressReady.d.ts +88 -52
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +90 -54
- package/dist/131/swapping/swapScheduled.d.ts +90 -54
- package/dist/131/swapping/withdrawalRequested.d.cts +41 -23
- package/dist/131/swapping/withdrawalRequested.d.ts +41 -23
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/arbitrumIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/141/arbitrumIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/141/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- package/dist/141/common.cjs +16 -16
- package/dist/141/common.d.cts +84 -36
- package/dist/141/common.d.ts +84 -36
- package/dist/141/common.mjs +16 -16
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +46 -22
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +46 -22
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/141/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +46 -22
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +46 -22
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/swapping/ccmDepositReceived.d.cts +46 -22
- package/dist/141/swapping/ccmDepositReceived.d.ts +46 -22
- package/dist/141/swapping/ccmFailed.d.cts +100 -52
- package/dist/141/swapping/ccmFailed.d.ts +100 -52
- package/dist/141/swapping/swapDepositAddressReady.d.cts +92 -44
- package/dist/141/swapping/swapDepositAddressReady.d.ts +92 -44
- package/dist/141/swapping/swapScheduled.d.cts +100 -52
- package/dist/141/swapping/swapScheduled.d.ts +100 -52
- package/dist/141/swapping/withdrawalRequested.d.cts +46 -22
- package/dist/141/swapping/withdrawalRequested.d.ts +46 -22
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.ts +4 -4
- package/dist/150/assetBalances/refundScheduled.d.cts +52 -52
- package/dist/150/assetBalances/refundScheduled.d.ts +52 -52
- package/dist/150/assetBalances/refundSkipped.d.cts +93 -93
- package/dist/150/assetBalances/refundSkipped.d.ts +93 -93
- package/dist/150/common.cjs +20 -20
- package/dist/150/common.d.cts +164 -74
- package/dist/150/common.d.ts +164 -74
- package/dist/150/common.mjs +20 -20
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +58 -28
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +58 -28
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.cts +4 -4
- package/dist/150/liquidityProvider/liquidityRefundAddressRegistered.d.ts +4 -4
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/150/polkadotIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +16 -16
- package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.ts +16 -16
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/150/swapping/ccmDepositReceived.d.cts +58 -28
- package/dist/150/swapping/ccmDepositReceived.d.ts +58 -28
- package/dist/150/swapping/ccmFailed.d.cts +126 -66
- package/dist/150/swapping/ccmFailed.d.ts +126 -66
- package/dist/150/swapping/swapDepositAddressReady.d.cts +184 -94
- package/dist/150/swapping/swapDepositAddressReady.d.ts +184 -94
- package/dist/150/swapping/swapScheduled.d.cts +126 -66
- package/dist/150/swapping/swapScheduled.d.ts +126 -66
- package/dist/150/swapping/withdrawalRequested.d.cts +58 -28
- package/dist/150/swapping/withdrawalRequested.d.ts +58 -28
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/arbitrumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/arbitrumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/arbitrumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.cts +14 -14
- package/dist/160/bitcoinIngressEgress/ccmEgressInvalid.d.ts +14 -14
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/common.cjs +20 -20
- package/dist/160/common.d.cts +222 -102
- package/dist/160/common.d.ts +222 -102
- package/dist/160/common.mjs +20 -20
- package/dist/160/liquidityProvider/accountCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.cts +2 -2
- package/dist/160/liquidityProvider/accountDebited.d.ts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +62 -32
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +62 -32
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +58 -28
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +58 -28
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/160/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.cts +50 -50
- package/dist/160/solanaIngressEgress/ccmEgressInvalid.d.ts +50 -50
- package/dist/160/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositFinalised.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/160/solanaIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/160/solanaIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/ccmFailed.d.cts +126 -66
- package/dist/160/swapping/ccmFailed.d.ts +126 -66
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
- package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
- package/dist/160/swapping/swapDepositAddressReady.d.cts +134 -74
- package/dist/160/swapping/swapDepositAddressReady.d.ts +134 -74
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapExecuted.d.cts +12 -12
- package/dist/160/swapping/swapExecuted.d.ts +12 -12
- package/dist/160/swapping/swapRequested.d.cts +218 -128
- package/dist/160/swapping/swapRequested.d.ts +218 -128
- package/dist/160/swapping/withdrawalRequested.d.cts +64 -34
- package/dist/160/swapping/withdrawalRequested.d.ts +64 -34
- package/package.json +1 -1
|
@@ -138,15 +138,15 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
138
138
|
baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
139
139
|
quoteAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
140
140
|
id: bigint;
|
|
141
|
-
collectedFees: {
|
|
142
|
-
base: bigint;
|
|
143
|
-
quote: bigint;
|
|
144
|
-
};
|
|
145
141
|
tickRange: {
|
|
146
142
|
start: number;
|
|
147
143
|
end: number;
|
|
148
144
|
};
|
|
149
145
|
liquidityTotal: bigint;
|
|
146
|
+
collectedFees: {
|
|
147
|
+
base: bigint;
|
|
148
|
+
quote: bigint;
|
|
149
|
+
};
|
|
150
150
|
sizeChange?: {
|
|
151
151
|
value: {
|
|
152
152
|
liquidity: bigint;
|
|
@@ -175,15 +175,15 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
175
175
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
176
176
|
};
|
|
177
177
|
id: string | number;
|
|
178
|
-
collectedFees: {
|
|
179
|
-
base: string | number;
|
|
180
|
-
quote: string | number;
|
|
181
|
-
};
|
|
182
178
|
tickRange: {
|
|
183
179
|
start: number;
|
|
184
180
|
end: number;
|
|
185
181
|
};
|
|
186
182
|
liquidityTotal: string | number;
|
|
183
|
+
collectedFees: {
|
|
184
|
+
base: string | number;
|
|
185
|
+
quote: string | number;
|
|
186
|
+
};
|
|
187
187
|
sizeChange?: {
|
|
188
188
|
value: {
|
|
189
189
|
liquidity: string | number;
|
|
@@ -147,7 +147,6 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
147
147
|
}>]>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
lp: string;
|
|
150
|
-
orderId: bigint;
|
|
151
150
|
error: {
|
|
152
151
|
__kind: "Other";
|
|
153
152
|
} | {
|
|
@@ -184,9 +183,9 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
184
183
|
} | {
|
|
185
184
|
__kind: "RootNotAllowed";
|
|
186
185
|
};
|
|
186
|
+
orderId: bigint;
|
|
187
187
|
}, {
|
|
188
188
|
lp: string;
|
|
189
|
-
orderId: string | number;
|
|
190
189
|
error: {
|
|
191
190
|
__kind: "Other";
|
|
192
191
|
} | {
|
|
@@ -229,6 +228,7 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
229
228
|
} | {
|
|
230
229
|
__kind: "RootNotAllowed";
|
|
231
230
|
};
|
|
231
|
+
orderId: string | number;
|
|
232
232
|
}>;
|
|
233
233
|
|
|
234
234
|
export { liquidityPoolsScheduledLimitOrderUpdateDispatchFailure };
|
|
@@ -147,7 +147,6 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
147
147
|
}>]>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
lp: string;
|
|
150
|
-
orderId: bigint;
|
|
151
150
|
error: {
|
|
152
151
|
__kind: "Other";
|
|
153
152
|
} | {
|
|
@@ -184,9 +183,9 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
184
183
|
} | {
|
|
185
184
|
__kind: "RootNotAllowed";
|
|
186
185
|
};
|
|
186
|
+
orderId: bigint;
|
|
187
187
|
}, {
|
|
188
188
|
lp: string;
|
|
189
|
-
orderId: string | number;
|
|
190
189
|
error: {
|
|
191
190
|
__kind: "Other";
|
|
192
191
|
} | {
|
|
@@ -229,6 +228,7 @@ declare const liquidityPoolsScheduledLimitOrderUpdateDispatchFailure: z.ZodObjec
|
|
|
229
228
|
} | {
|
|
230
229
|
__kind: "RootNotAllowed";
|
|
231
230
|
};
|
|
231
|
+
orderId: string | number;
|
|
232
232
|
}>;
|
|
233
233
|
|
|
234
234
|
export { liquidityPoolsScheduledLimitOrderUpdateDispatchFailure };
|
package/dist/120/common.cjs
CHANGED
|
@@ -68,18 +68,18 @@ var cfChainsDotPolkadotTransactionData = _zod.z.object({ encodedExtrinsic: hexSt
|
|
|
68
68
|
var cfChainsBtcBitcoinTransactionData = _zod.z.object({ encodedTransaction: hexString });
|
|
69
69
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum(["Eth", "Flip", "Usdc", "Dot", "Btc"]);
|
|
70
70
|
var cfChainsAddressEncodedAddress = _zod.z.union([
|
|
71
|
-
_zod.z.object({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
_zod.z.object({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}),
|
|
79
|
-
_zod.z.object({
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
})
|
|
71
|
+
_zod.z.object({ __kind: _zod.z.literal("Eth"), value: hexString }).transform(({ value }) => ({
|
|
72
|
+
chain: "Ethereum",
|
|
73
|
+
address: value
|
|
74
|
+
})),
|
|
75
|
+
_zod.z.object({ __kind: _zod.z.literal("Dot"), value: hexString }).transform(({ value }) => ({
|
|
76
|
+
chain: "Polkadot",
|
|
77
|
+
address: ss58.encode({ data: value, ss58Format: 0 })
|
|
78
|
+
})),
|
|
79
|
+
_zod.z.object({ __kind: _zod.z.literal("Btc"), value: hexString }).transform(({ value }) => ({
|
|
80
|
+
chain: "Bitcoin",
|
|
81
|
+
address: Buffer.from(value.slice(2), "hex").toString("utf8")
|
|
82
|
+
}))
|
|
83
83
|
]);
|
|
84
84
|
var palletCfSwappingCcmFailReason = simpleEnum([
|
|
85
85
|
"UnsupportedForTargetChain",
|
package/dist/120/common.d.cts
CHANGED
|
@@ -335,30 +335,48 @@ declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
|
|
|
335
335
|
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc", {
|
|
336
336
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
337
337
|
}>;
|
|
338
|
-
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
339
|
-
__kind: z.
|
|
338
|
+
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
339
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
340
340
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
342
|
value: `0x${string}`;
|
|
343
|
-
__kind: "
|
|
343
|
+
__kind: "Eth";
|
|
344
344
|
}, {
|
|
345
345
|
value: string;
|
|
346
346
|
__kind: "Eth";
|
|
347
|
-
}>,
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
}>, {
|
|
348
|
+
chain: "Ethereum";
|
|
349
|
+
address: `0x${string}`;
|
|
350
|
+
}, {
|
|
351
|
+
value: string;
|
|
352
|
+
__kind: "Eth";
|
|
353
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
354
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
355
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
350
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
value: `0x${string}`;
|
|
358
|
+
__kind: "Dot";
|
|
359
|
+
}, {
|
|
351
360
|
value: string;
|
|
352
|
-
__kind: "
|
|
361
|
+
__kind: "Dot";
|
|
362
|
+
}>, {
|
|
363
|
+
chain: "Polkadot";
|
|
364
|
+
address: string;
|
|
353
365
|
}, {
|
|
354
366
|
value: string;
|
|
355
367
|
__kind: "Dot";
|
|
356
|
-
}>, z.ZodObject<{
|
|
357
|
-
__kind: z.
|
|
358
|
-
value: z.ZodEffects<z.
|
|
368
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
369
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
370
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
359
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
value: `0x${string}`;
|
|
373
|
+
__kind: "Btc";
|
|
374
|
+
}, {
|
|
360
375
|
value: string;
|
|
361
|
-
__kind: "
|
|
376
|
+
__kind: "Btc";
|
|
377
|
+
}>, {
|
|
378
|
+
chain: "Bitcoin";
|
|
379
|
+
address: string;
|
|
362
380
|
}, {
|
|
363
381
|
value: string;
|
|
364
382
|
__kind: "Btc";
|
package/dist/120/common.d.ts
CHANGED
|
@@ -335,30 +335,48 @@ declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
|
|
|
335
335
|
}>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc", {
|
|
336
336
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
337
337
|
}>;
|
|
338
|
-
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
339
|
-
__kind: z.
|
|
338
|
+
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
339
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
340
340
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
342
|
value: `0x${string}`;
|
|
343
|
-
__kind: "
|
|
343
|
+
__kind: "Eth";
|
|
344
344
|
}, {
|
|
345
345
|
value: string;
|
|
346
346
|
__kind: "Eth";
|
|
347
|
-
}>,
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
}>, {
|
|
348
|
+
chain: "Ethereum";
|
|
349
|
+
address: `0x${string}`;
|
|
350
|
+
}, {
|
|
351
|
+
value: string;
|
|
352
|
+
__kind: "Eth";
|
|
353
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
354
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
355
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
350
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
value: `0x${string}`;
|
|
358
|
+
__kind: "Dot";
|
|
359
|
+
}, {
|
|
351
360
|
value: string;
|
|
352
|
-
__kind: "
|
|
361
|
+
__kind: "Dot";
|
|
362
|
+
}>, {
|
|
363
|
+
chain: "Polkadot";
|
|
364
|
+
address: string;
|
|
353
365
|
}, {
|
|
354
366
|
value: string;
|
|
355
367
|
__kind: "Dot";
|
|
356
|
-
}>, z.ZodObject<{
|
|
357
|
-
__kind: z.
|
|
358
|
-
value: z.ZodEffects<z.
|
|
368
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
369
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
370
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
359
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
value: `0x${string}`;
|
|
373
|
+
__kind: "Btc";
|
|
374
|
+
}, {
|
|
360
375
|
value: string;
|
|
361
|
-
__kind: "
|
|
376
|
+
__kind: "Btc";
|
|
377
|
+
}>, {
|
|
378
|
+
chain: "Bitcoin";
|
|
379
|
+
address: string;
|
|
362
380
|
}, {
|
|
363
381
|
value: string;
|
|
364
382
|
__kind: "Btc";
|
package/dist/120/common.mjs
CHANGED
|
@@ -68,18 +68,18 @@ var cfChainsDotPolkadotTransactionData = z.object({ encodedExtrinsic: hexString
|
|
|
68
68
|
var cfChainsBtcBitcoinTransactionData = z.object({ encodedTransaction: hexString });
|
|
69
69
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum(["Eth", "Flip", "Usdc", "Dot", "Btc"]);
|
|
70
70
|
var cfChainsAddressEncodedAddress = z.union([
|
|
71
|
-
z.object({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
z.object({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}),
|
|
79
|
-
z.object({
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
})
|
|
71
|
+
z.object({ __kind: z.literal("Eth"), value: hexString }).transform(({ value }) => ({
|
|
72
|
+
chain: "Ethereum",
|
|
73
|
+
address: value
|
|
74
|
+
})),
|
|
75
|
+
z.object({ __kind: z.literal("Dot"), value: hexString }).transform(({ value }) => ({
|
|
76
|
+
chain: "Polkadot",
|
|
77
|
+
address: ss58.encode({ data: value, ss58Format: 0 })
|
|
78
|
+
})),
|
|
79
|
+
z.object({ __kind: z.literal("Btc"), value: hexString }).transform(({ value }) => ({
|
|
80
|
+
chain: "Bitcoin",
|
|
81
|
+
address: Buffer.from(value.slice(2), "hex").toString("utf8")
|
|
82
|
+
}))
|
|
83
83
|
]);
|
|
84
84
|
var palletCfSwappingCcmFailReason = simpleEnum([
|
|
85
85
|
"UnsupportedForTargetChain",
|
|
@@ -4,11 +4,11 @@ declare const emissionsBackupRewardsDistributed: z.ZodObject<{
|
|
|
4
4
|
accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
5
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
accountId: string;
|
|
8
7
|
amount: bigint;
|
|
9
|
-
}, {
|
|
10
8
|
accountId: string;
|
|
9
|
+
}, {
|
|
11
10
|
amount: string | number;
|
|
11
|
+
accountId: string;
|
|
12
12
|
}>;
|
|
13
13
|
|
|
14
14
|
export { emissionsBackupRewardsDistributed };
|
|
@@ -4,11 +4,11 @@ declare const emissionsBackupRewardsDistributed: z.ZodObject<{
|
|
|
4
4
|
accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
|
|
5
5
|
amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
accountId: string;
|
|
8
7
|
amount: bigint;
|
|
9
|
-
}, {
|
|
10
8
|
accountId: string;
|
|
9
|
+
}, {
|
|
11
10
|
amount: string | number;
|
|
11
|
+
accountId: string;
|
|
12
12
|
}>;
|
|
13
13
|
|
|
14
14
|
export { emissionsBackupRewardsDistributed };
|
|
@@ -20,30 +20,48 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
20
20
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
21
21
|
}>;
|
|
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
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
24
|
-
__kind: z.
|
|
23
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
24
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
value: `0x${string}`;
|
|
28
|
-
__kind: "
|
|
28
|
+
__kind: "Eth";
|
|
29
29
|
}, {
|
|
30
30
|
value: string;
|
|
31
31
|
__kind: "Eth";
|
|
32
|
-
}>,
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
}>, {
|
|
33
|
+
chain: "Ethereum";
|
|
34
|
+
address: `0x${string}`;
|
|
35
|
+
}, {
|
|
36
|
+
value: string;
|
|
37
|
+
__kind: "Eth";
|
|
38
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
39
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
40
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
value: `0x${string}`;
|
|
43
|
+
__kind: "Dot";
|
|
44
|
+
}, {
|
|
36
45
|
value: string;
|
|
37
|
-
__kind: "
|
|
46
|
+
__kind: "Dot";
|
|
47
|
+
}>, {
|
|
48
|
+
chain: "Polkadot";
|
|
49
|
+
address: string;
|
|
38
50
|
}, {
|
|
39
51
|
value: string;
|
|
40
52
|
__kind: "Dot";
|
|
41
|
-
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.
|
|
43
|
-
value: z.ZodEffects<z.
|
|
53
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
54
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
55
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
44
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
value: `0x${string}`;
|
|
58
|
+
__kind: "Btc";
|
|
59
|
+
}, {
|
|
45
60
|
value: string;
|
|
46
|
-
__kind: "
|
|
61
|
+
__kind: "Btc";
|
|
62
|
+
}>, {
|
|
63
|
+
chain: "Bitcoin";
|
|
64
|
+
address: string;
|
|
47
65
|
}, {
|
|
48
66
|
value: string;
|
|
49
67
|
__kind: "Btc";
|
|
@@ -54,14 +72,14 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
54
72
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
55
73
|
amount: bigint;
|
|
56
74
|
destinationAddress: {
|
|
57
|
-
|
|
58
|
-
|
|
75
|
+
chain: "Ethereum";
|
|
76
|
+
address: `0x${string}`;
|
|
59
77
|
} | {
|
|
60
|
-
|
|
61
|
-
|
|
78
|
+
chain: "Polkadot";
|
|
79
|
+
address: string;
|
|
62
80
|
} | {
|
|
63
|
-
|
|
64
|
-
|
|
81
|
+
chain: "Bitcoin";
|
|
82
|
+
address: string;
|
|
65
83
|
};
|
|
66
84
|
fee: bigint;
|
|
67
85
|
}, {
|
|
@@ -20,30 +20,48 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
20
20
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
21
21
|
}>;
|
|
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
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
24
|
-
__kind: z.
|
|
23
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
24
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
25
25
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
value: `0x${string}`;
|
|
28
|
-
__kind: "
|
|
28
|
+
__kind: "Eth";
|
|
29
29
|
}, {
|
|
30
30
|
value: string;
|
|
31
31
|
__kind: "Eth";
|
|
32
|
-
}>,
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
}>, {
|
|
33
|
+
chain: "Ethereum";
|
|
34
|
+
address: `0x${string}`;
|
|
35
|
+
}, {
|
|
36
|
+
value: string;
|
|
37
|
+
__kind: "Eth";
|
|
38
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
39
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
40
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
value: `0x${string}`;
|
|
43
|
+
__kind: "Dot";
|
|
44
|
+
}, {
|
|
36
45
|
value: string;
|
|
37
|
-
__kind: "
|
|
46
|
+
__kind: "Dot";
|
|
47
|
+
}>, {
|
|
48
|
+
chain: "Polkadot";
|
|
49
|
+
address: string;
|
|
38
50
|
}, {
|
|
39
51
|
value: string;
|
|
40
52
|
__kind: "Dot";
|
|
41
|
-
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.
|
|
43
|
-
value: z.ZodEffects<z.
|
|
53
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
54
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
55
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
44
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
value: `0x${string}`;
|
|
58
|
+
__kind: "Btc";
|
|
59
|
+
}, {
|
|
45
60
|
value: string;
|
|
46
|
-
__kind: "
|
|
61
|
+
__kind: "Btc";
|
|
62
|
+
}>, {
|
|
63
|
+
chain: "Bitcoin";
|
|
64
|
+
address: string;
|
|
47
65
|
}, {
|
|
48
66
|
value: string;
|
|
49
67
|
__kind: "Btc";
|
|
@@ -54,14 +72,14 @@ declare const liquidityProviderWithdrawalEgressScheduled: z.ZodObject<{
|
|
|
54
72
|
asset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc";
|
|
55
73
|
amount: bigint;
|
|
56
74
|
destinationAddress: {
|
|
57
|
-
|
|
58
|
-
|
|
75
|
+
chain: "Ethereum";
|
|
76
|
+
address: `0x${string}`;
|
|
59
77
|
} | {
|
|
60
|
-
|
|
61
|
-
|
|
78
|
+
chain: "Polkadot";
|
|
79
|
+
address: string;
|
|
62
80
|
} | {
|
|
63
|
-
|
|
64
|
-
|
|
81
|
+
chain: "Bitcoin";
|
|
82
|
+
address: string;
|
|
65
83
|
};
|
|
66
84
|
fee: bigint;
|
|
67
85
|
}, {
|
|
@@ -10,30 +10,48 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
10
10
|
}>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.
|
|
13
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Eth";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
|
-
}>,
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
}>, {
|
|
23
|
+
chain: "Ethereum";
|
|
24
|
+
address: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Eth";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
29
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
30
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
31
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
32
|
+
__kind: "Dot";
|
|
33
|
+
value: `0x${string}`;
|
|
34
|
+
}, {
|
|
35
|
+
__kind: "Dot";
|
|
27
36
|
value: string;
|
|
37
|
+
}>, {
|
|
38
|
+
chain: "Polkadot";
|
|
39
|
+
address: string;
|
|
28
40
|
}, {
|
|
29
41
|
__kind: "Dot";
|
|
30
42
|
value: string;
|
|
31
|
-
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.
|
|
33
|
-
value: z.ZodEffects<z.
|
|
43
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
45
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
46
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
47
|
+
__kind: "Btc";
|
|
48
|
+
value: `0x${string}`;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "Btc";
|
|
36
51
|
value: string;
|
|
52
|
+
}>, {
|
|
53
|
+
chain: "Bitcoin";
|
|
54
|
+
address: string;
|
|
37
55
|
}, {
|
|
38
56
|
__kind: "Btc";
|
|
39
57
|
value: string;
|
|
@@ -262,14 +280,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
262
280
|
}, "strip", z.ZodTypeAny, {
|
|
263
281
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
264
282
|
destinationAddress: {
|
|
265
|
-
|
|
266
|
-
|
|
283
|
+
chain: "Ethereum";
|
|
284
|
+
address: `0x${string}`;
|
|
267
285
|
} | {
|
|
268
|
-
|
|
269
|
-
|
|
286
|
+
chain: "Polkadot";
|
|
287
|
+
address: string;
|
|
270
288
|
} | {
|
|
271
|
-
|
|
272
|
-
|
|
289
|
+
chain: "Bitcoin";
|
|
290
|
+
address: string;
|
|
273
291
|
};
|
|
274
292
|
depositMetadata: {
|
|
275
293
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|
|
@@ -10,30 +10,48 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
10
10
|
}>, "UnsupportedForTargetChain" | "InsufficientDepositAmount", {
|
|
11
11
|
__kind: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
12
12
|
}>;
|
|
13
|
-
destinationAddress: z.ZodUnion<[z.ZodObject<{
|
|
14
|
-
__kind: z.
|
|
13
|
+
destinationAddress: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
14
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
15
15
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
__kind: "
|
|
17
|
+
__kind: "Eth";
|
|
18
18
|
value: `0x${string}`;
|
|
19
19
|
}, {
|
|
20
20
|
__kind: "Eth";
|
|
21
21
|
value: string;
|
|
22
|
-
}>,
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
}>, {
|
|
23
|
+
chain: "Ethereum";
|
|
24
|
+
address: `0x${string}`;
|
|
25
|
+
}, {
|
|
26
|
+
__kind: "Eth";
|
|
27
|
+
value: string;
|
|
28
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
29
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
30
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
25
31
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
__kind: "
|
|
32
|
+
__kind: "Dot";
|
|
33
|
+
value: `0x${string}`;
|
|
34
|
+
}, {
|
|
35
|
+
__kind: "Dot";
|
|
27
36
|
value: string;
|
|
37
|
+
}>, {
|
|
38
|
+
chain: "Polkadot";
|
|
39
|
+
address: string;
|
|
28
40
|
}, {
|
|
29
41
|
__kind: "Dot";
|
|
30
42
|
value: string;
|
|
31
|
-
}>, z.ZodObject<{
|
|
32
|
-
__kind: z.
|
|
33
|
-
value: z.ZodEffects<z.
|
|
43
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
44
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
45
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
34
46
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
__kind: "
|
|
47
|
+
__kind: "Btc";
|
|
48
|
+
value: `0x${string}`;
|
|
49
|
+
}, {
|
|
50
|
+
__kind: "Btc";
|
|
36
51
|
value: string;
|
|
52
|
+
}>, {
|
|
53
|
+
chain: "Bitcoin";
|
|
54
|
+
address: string;
|
|
37
55
|
}, {
|
|
38
56
|
__kind: "Btc";
|
|
39
57
|
value: string;
|
|
@@ -262,14 +280,14 @@ declare const swappingCcmFailed: z.ZodObject<{
|
|
|
262
280
|
}, "strip", z.ZodTypeAny, {
|
|
263
281
|
reason: "UnsupportedForTargetChain" | "InsufficientDepositAmount";
|
|
264
282
|
destinationAddress: {
|
|
265
|
-
|
|
266
|
-
|
|
283
|
+
chain: "Ethereum";
|
|
284
|
+
address: `0x${string}`;
|
|
267
285
|
} | {
|
|
268
|
-
|
|
269
|
-
|
|
286
|
+
chain: "Polkadot";
|
|
287
|
+
address: string;
|
|
270
288
|
} | {
|
|
271
|
-
|
|
272
|
-
|
|
289
|
+
chain: "Bitcoin";
|
|
290
|
+
address: string;
|
|
273
291
|
};
|
|
274
292
|
depositMetadata: {
|
|
275
293
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin";
|