@chainflip/processor 1.4.9 → 1.5.1
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/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- 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/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +40 -40
- 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/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/100/liquidityProvider/accountCredited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountCredited.d.ts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.cts +6 -6
- package/dist/100/liquidityProvider/accountDebited.d.ts +6 -6
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +8 -8
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +8 -8
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +6 -6
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +6 -6
- 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 +4 -4
- package/dist/100/swapping/ccmDepositReceived.d.ts +4 -4
- package/dist/100/swapping/ccmFailed.d.cts +4 -4
- package/dist/100/swapping/ccmFailed.d.ts +4 -4
- 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 +10 -10
- package/dist/100/swapping/swapAmountTooLow.d.ts +10 -10
- package/dist/100/swapping/swapDepositAddressReady.d.cts +18 -18
- package/dist/100/swapping/swapDepositAddressReady.d.ts +18 -18
- 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 +14 -14
- package/dist/100/swapping/swapScheduled.d.ts +14 -14
- package/dist/100/tokenholderGovernance/proposalEnacted.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalEnacted.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalPassed.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalPassed.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalRejected.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalRejected.d.ts +8 -8
- package/dist/100/tokenholderGovernance/proposalSubmitted.d.cts +8 -8
- package/dist/100/tokenholderGovernance/proposalSubmitted.d.ts +8 -8
- package/dist/100/witnesser/witnessExecutionFailed.d.cts +2 -2
- package/dist/100/witnesser/witnessExecutionFailed.d.ts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/131/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
- package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.ts +2 -2
- package/dist/131/ethereumIngressEgress/depositIgnored.d.cts +2 -2
- package/dist/131/ethereumIngressEgress/depositIgnored.d.ts +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.d.cts +2 -2
- package/dist/131/ethereumIngressEgress/depositReceived.d.ts +2 -2
- package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.cts +20 -20
- package/dist/131/ethereumIngressEgress/depositWitnessRejected.d.ts +20 -20
- package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +28 -28
- package/dist/131/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +28 -28
- 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/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.cts +2 -2
- package/dist/141/ethereumIngressEgress/stoppedBoosting.d.ts +2 -2
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/limitOrderUpdated.d.ts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +4 -4
- package/dist/141/liquidityPools/rangeOrderUpdated.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
- package/dist/141/polkadotIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +20 -20
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +20 -20
- 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/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
- package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.ts +2 -2
- package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
- package/dist/150/assetBalances/refundScheduled.d.ts +2 -2
- package/dist/150/common.cjs +15 -15
- package/dist/150/common.d.cts +189 -322
- package/dist/150/common.d.ts +189 -322
- package/dist/150/common.mjs +15 -15
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/150/solanaIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.ts +16 -16
- package/dist/150/solanaIngressEgress/depositFinalised.d.cts +2 -2
- package/dist/150/solanaIngressEgress/depositFinalised.d.ts +2 -2
- 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/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/batchSwapFailed.d.cts +8 -8
- package/dist/150/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/150/swapping/ccmDepositReceived.d.cts +90 -90
- package/dist/150/swapping/ccmDepositReceived.d.ts +90 -90
- package/dist/150/swapping/ccmFailed.d.cts +120 -120
- package/dist/150/swapping/ccmFailed.d.ts +120 -120
- package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/150/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/150/swapping/refundEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/refundEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/150/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/150/swapping/swapDepositAddressReady.cjs +1 -1
- package/dist/150/swapping/swapDepositAddressReady.d.cts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.d.ts +83 -254
- package/dist/150/swapping/swapDepositAddressReady.mjs +2 -2
- package/dist/150/swapping/swapEgressIgnored.d.cts +24 -24
- package/dist/150/swapping/swapEgressIgnored.d.ts +24 -24
- package/dist/150/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/150/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/150/swapping/swapExecuted.d.cts +94 -94
- package/dist/150/swapping/swapExecuted.d.ts +94 -94
- package/dist/150/swapping/swapScheduled.d.cts +144 -144
- package/dist/150/swapping/swapScheduled.d.ts +144 -144
- package/dist/150/swapping/withdrawalRequested.d.cts +26 -26
- package/dist/150/swapping/withdrawalRequested.d.ts +26 -26
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/bitcoinIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/bitcoinIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/ethereumIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/ethereumIngressEgress/depositBoosted.d.cts +8 -8
- package/dist/160/ethereumIngressEgress/depositBoosted.d.ts +8 -8
- package/dist/160/ethereumIngressEgress/depositFinalised.d.cts +6 -6
- package/dist/160/ethereumIngressEgress/depositFinalised.d.ts +6 -6
- package/dist/160/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/160/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- 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 +4 -4
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +4 -4
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
- package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
- package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +10 -10
- package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +10 -10
- package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/160/solanaBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- 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/package.json +1 -1
package/dist/150/common.d.ts
CHANGED
|
@@ -1919,6 +1919,194 @@ declare const cfPrimitivesBeneficiary: z.ZodObject<{
|
|
|
1919
1919
|
account: string;
|
|
1920
1920
|
bps: number;
|
|
1921
1921
|
}>;
|
|
1922
|
+
declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
1923
|
+
retryDuration: z.ZodNumber;
|
|
1924
|
+
refundAddress: z.ZodUnion<[z.ZodObject<{
|
|
1925
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
1926
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1927
|
+
}, "strip", z.ZodTypeAny, {
|
|
1928
|
+
value: `0x${string}`;
|
|
1929
|
+
__kind: "Eth";
|
|
1930
|
+
}, {
|
|
1931
|
+
value: string;
|
|
1932
|
+
__kind: "Eth";
|
|
1933
|
+
}>, z.ZodObject<{
|
|
1934
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
1935
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
value: `0x${string}`;
|
|
1938
|
+
__kind: "Dot";
|
|
1939
|
+
}, {
|
|
1940
|
+
value: string;
|
|
1941
|
+
__kind: "Dot";
|
|
1942
|
+
}>, z.ZodObject<{
|
|
1943
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
1944
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1945
|
+
}, "strip", z.ZodTypeAny, {
|
|
1946
|
+
value: `0x${string}`;
|
|
1947
|
+
__kind: "Btc";
|
|
1948
|
+
}, {
|
|
1949
|
+
value: string;
|
|
1950
|
+
__kind: "Btc";
|
|
1951
|
+
}>, z.ZodObject<{
|
|
1952
|
+
__kind: z.ZodLiteral<"Arb">;
|
|
1953
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1954
|
+
}, "strip", z.ZodTypeAny, {
|
|
1955
|
+
value: `0x${string}`;
|
|
1956
|
+
__kind: "Arb";
|
|
1957
|
+
}, {
|
|
1958
|
+
value: string;
|
|
1959
|
+
__kind: "Arb";
|
|
1960
|
+
}>, z.ZodObject<{
|
|
1961
|
+
__kind: z.ZodLiteral<"Sol">;
|
|
1962
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1963
|
+
}, "strip", z.ZodTypeAny, {
|
|
1964
|
+
value: `0x${string}`;
|
|
1965
|
+
__kind: "Sol";
|
|
1966
|
+
}, {
|
|
1967
|
+
value: string;
|
|
1968
|
+
__kind: "Sol";
|
|
1969
|
+
}>]>;
|
|
1970
|
+
minPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
1971
|
+
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
retryDuration: number;
|
|
1973
|
+
refundAddress: {
|
|
1974
|
+
value: `0x${string}`;
|
|
1975
|
+
__kind: "Eth";
|
|
1976
|
+
} | {
|
|
1977
|
+
value: `0x${string}`;
|
|
1978
|
+
__kind: "Dot";
|
|
1979
|
+
} | {
|
|
1980
|
+
value: `0x${string}`;
|
|
1981
|
+
__kind: "Btc";
|
|
1982
|
+
} | {
|
|
1983
|
+
value: `0x${string}`;
|
|
1984
|
+
__kind: "Arb";
|
|
1985
|
+
} | {
|
|
1986
|
+
value: `0x${string}`;
|
|
1987
|
+
__kind: "Sol";
|
|
1988
|
+
};
|
|
1989
|
+
minPrice: bigint;
|
|
1990
|
+
}, {
|
|
1991
|
+
retryDuration: number;
|
|
1992
|
+
refundAddress: {
|
|
1993
|
+
value: string;
|
|
1994
|
+
__kind: "Eth";
|
|
1995
|
+
} | {
|
|
1996
|
+
value: string;
|
|
1997
|
+
__kind: "Dot";
|
|
1998
|
+
} | {
|
|
1999
|
+
value: string;
|
|
2000
|
+
__kind: "Btc";
|
|
2001
|
+
} | {
|
|
2002
|
+
value: string;
|
|
2003
|
+
__kind: "Arb";
|
|
2004
|
+
} | {
|
|
2005
|
+
value: string;
|
|
2006
|
+
__kind: "Sol";
|
|
2007
|
+
};
|
|
2008
|
+
minPrice: string | number;
|
|
2009
|
+
}>;
|
|
2010
|
+
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
2011
|
+
__kind: z.ZodLiteral<"DepositChannel">;
|
|
2012
|
+
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2013
|
+
__kind: z.ZodLiteral<"Eth">;
|
|
2014
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2015
|
+
}, "strip", z.ZodTypeAny, {
|
|
2016
|
+
value: `0x${string}`;
|
|
2017
|
+
__kind: "Eth";
|
|
2018
|
+
}, {
|
|
2019
|
+
value: string;
|
|
2020
|
+
__kind: "Eth";
|
|
2021
|
+
}>, z.ZodObject<{
|
|
2022
|
+
__kind: z.ZodLiteral<"Dot">;
|
|
2023
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2024
|
+
}, "strip", z.ZodTypeAny, {
|
|
2025
|
+
value: `0x${string}`;
|
|
2026
|
+
__kind: "Dot";
|
|
2027
|
+
}, {
|
|
2028
|
+
value: string;
|
|
2029
|
+
__kind: "Dot";
|
|
2030
|
+
}>, z.ZodObject<{
|
|
2031
|
+
__kind: z.ZodLiteral<"Btc">;
|
|
2032
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2033
|
+
}, "strip", z.ZodTypeAny, {
|
|
2034
|
+
value: `0x${string}`;
|
|
2035
|
+
__kind: "Btc";
|
|
2036
|
+
}, {
|
|
2037
|
+
value: string;
|
|
2038
|
+
__kind: "Btc";
|
|
2039
|
+
}>, z.ZodObject<{
|
|
2040
|
+
__kind: z.ZodLiteral<"Arb">;
|
|
2041
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2042
|
+
}, "strip", z.ZodTypeAny, {
|
|
2043
|
+
value: `0x${string}`;
|
|
2044
|
+
__kind: "Arb";
|
|
2045
|
+
}, {
|
|
2046
|
+
value: string;
|
|
2047
|
+
__kind: "Arb";
|
|
2048
|
+
}>, z.ZodObject<{
|
|
2049
|
+
__kind: z.ZodLiteral<"Sol">;
|
|
2050
|
+
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2051
|
+
}, "strip", z.ZodTypeAny, {
|
|
2052
|
+
value: `0x${string}`;
|
|
2053
|
+
__kind: "Sol";
|
|
2054
|
+
}, {
|
|
2055
|
+
value: string;
|
|
2056
|
+
__kind: "Sol";
|
|
2057
|
+
}>]>;
|
|
2058
|
+
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2059
|
+
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
__kind: "DepositChannel";
|
|
2062
|
+
depositAddress: {
|
|
2063
|
+
value: `0x${string}`;
|
|
2064
|
+
__kind: "Eth";
|
|
2065
|
+
} | {
|
|
2066
|
+
value: `0x${string}`;
|
|
2067
|
+
__kind: "Dot";
|
|
2068
|
+
} | {
|
|
2069
|
+
value: `0x${string}`;
|
|
2070
|
+
__kind: "Btc";
|
|
2071
|
+
} | {
|
|
2072
|
+
value: `0x${string}`;
|
|
2073
|
+
__kind: "Arb";
|
|
2074
|
+
} | {
|
|
2075
|
+
value: `0x${string}`;
|
|
2076
|
+
__kind: "Sol";
|
|
2077
|
+
};
|
|
2078
|
+
channelId: bigint;
|
|
2079
|
+
depositBlockHeight: bigint;
|
|
2080
|
+
}, {
|
|
2081
|
+
__kind: "DepositChannel";
|
|
2082
|
+
depositAddress: {
|
|
2083
|
+
value: string;
|
|
2084
|
+
__kind: "Eth";
|
|
2085
|
+
} | {
|
|
2086
|
+
value: string;
|
|
2087
|
+
__kind: "Dot";
|
|
2088
|
+
} | {
|
|
2089
|
+
value: string;
|
|
2090
|
+
__kind: "Btc";
|
|
2091
|
+
} | {
|
|
2092
|
+
value: string;
|
|
2093
|
+
__kind: "Arb";
|
|
2094
|
+
} | {
|
|
2095
|
+
value: string;
|
|
2096
|
+
__kind: "Sol";
|
|
2097
|
+
};
|
|
2098
|
+
channelId: string | number;
|
|
2099
|
+
depositBlockHeight: string | number;
|
|
2100
|
+
}>, z.ZodObject<{
|
|
2101
|
+
__kind: z.ZodLiteral<"Vault">;
|
|
2102
|
+
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2103
|
+
}, "strip", z.ZodTypeAny, {
|
|
2104
|
+
__kind: "Vault";
|
|
2105
|
+
txHash: `0x${string}`;
|
|
2106
|
+
}, {
|
|
2107
|
+
__kind: "Vault";
|
|
2108
|
+
txHash: string;
|
|
2109
|
+
}>]>;
|
|
1922
2110
|
declare const cfChainsBtcScriptPubkey: z.ZodUnion<[z.ZodObject<{
|
|
1923
2111
|
__kind: z.ZodLiteral<"P2PKH">;
|
|
1924
2112
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -2118,327 +2306,6 @@ declare const cfChainsAddressForeignChainAddress: z.ZodUnion<[z.ZodObject<{
|
|
|
2118
2306
|
value: string;
|
|
2119
2307
|
__kind: "Sol";
|
|
2120
2308
|
}>]>;
|
|
2121
|
-
declare const cfChainsChannelRefundParameters: z.ZodObject<{
|
|
2122
|
-
retryDuration: z.ZodNumber;
|
|
2123
|
-
refundAddress: z.ZodUnion<[z.ZodObject<{
|
|
2124
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
2125
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2126
|
-
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
value: `0x${string}`;
|
|
2128
|
-
__kind: "Eth";
|
|
2129
|
-
}, {
|
|
2130
|
-
value: string;
|
|
2131
|
-
__kind: "Eth";
|
|
2132
|
-
}>, z.ZodObject<{
|
|
2133
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
2134
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2135
|
-
}, "strip", z.ZodTypeAny, {
|
|
2136
|
-
value: `0x${string}`;
|
|
2137
|
-
__kind: "Dot";
|
|
2138
|
-
}, {
|
|
2139
|
-
value: string;
|
|
2140
|
-
__kind: "Dot";
|
|
2141
|
-
}>, z.ZodObject<{
|
|
2142
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
2143
|
-
value: z.ZodUnion<[z.ZodObject<{
|
|
2144
|
-
__kind: z.ZodLiteral<"P2PKH">;
|
|
2145
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2146
|
-
}, "strip", z.ZodTypeAny, {
|
|
2147
|
-
value: `0x${string}`;
|
|
2148
|
-
__kind: "P2PKH";
|
|
2149
|
-
}, {
|
|
2150
|
-
value: string;
|
|
2151
|
-
__kind: "P2PKH";
|
|
2152
|
-
}>, z.ZodObject<{
|
|
2153
|
-
__kind: z.ZodLiteral<"P2SH">;
|
|
2154
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2155
|
-
}, "strip", z.ZodTypeAny, {
|
|
2156
|
-
value: `0x${string}`;
|
|
2157
|
-
__kind: "P2SH";
|
|
2158
|
-
}, {
|
|
2159
|
-
value: string;
|
|
2160
|
-
__kind: "P2SH";
|
|
2161
|
-
}>, z.ZodObject<{
|
|
2162
|
-
__kind: z.ZodLiteral<"P2WPKH">;
|
|
2163
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2164
|
-
}, "strip", z.ZodTypeAny, {
|
|
2165
|
-
value: `0x${string}`;
|
|
2166
|
-
__kind: "P2WPKH";
|
|
2167
|
-
}, {
|
|
2168
|
-
value: string;
|
|
2169
|
-
__kind: "P2WPKH";
|
|
2170
|
-
}>, z.ZodObject<{
|
|
2171
|
-
__kind: z.ZodLiteral<"P2WSH">;
|
|
2172
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2173
|
-
}, "strip", z.ZodTypeAny, {
|
|
2174
|
-
value: `0x${string}`;
|
|
2175
|
-
__kind: "P2WSH";
|
|
2176
|
-
}, {
|
|
2177
|
-
value: string;
|
|
2178
|
-
__kind: "P2WSH";
|
|
2179
|
-
}>, z.ZodObject<{
|
|
2180
|
-
__kind: z.ZodLiteral<"Taproot">;
|
|
2181
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2182
|
-
}, "strip", z.ZodTypeAny, {
|
|
2183
|
-
value: `0x${string}`;
|
|
2184
|
-
__kind: "Taproot";
|
|
2185
|
-
}, {
|
|
2186
|
-
value: string;
|
|
2187
|
-
__kind: "Taproot";
|
|
2188
|
-
}>, z.ZodObject<{
|
|
2189
|
-
__kind: z.ZodLiteral<"OtherSegwit">;
|
|
2190
|
-
version: z.ZodNumber;
|
|
2191
|
-
program: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2192
|
-
}, "strip", z.ZodTypeAny, {
|
|
2193
|
-
__kind: "OtherSegwit";
|
|
2194
|
-
version: number;
|
|
2195
|
-
program: `0x${string}`;
|
|
2196
|
-
}, {
|
|
2197
|
-
__kind: "OtherSegwit";
|
|
2198
|
-
version: number;
|
|
2199
|
-
program: string;
|
|
2200
|
-
}>]>;
|
|
2201
|
-
}, "strip", z.ZodTypeAny, {
|
|
2202
|
-
value: {
|
|
2203
|
-
value: `0x${string}`;
|
|
2204
|
-
__kind: "P2PKH";
|
|
2205
|
-
} | {
|
|
2206
|
-
value: `0x${string}`;
|
|
2207
|
-
__kind: "P2SH";
|
|
2208
|
-
} | {
|
|
2209
|
-
value: `0x${string}`;
|
|
2210
|
-
__kind: "P2WPKH";
|
|
2211
|
-
} | {
|
|
2212
|
-
value: `0x${string}`;
|
|
2213
|
-
__kind: "P2WSH";
|
|
2214
|
-
} | {
|
|
2215
|
-
value: `0x${string}`;
|
|
2216
|
-
__kind: "Taproot";
|
|
2217
|
-
} | {
|
|
2218
|
-
__kind: "OtherSegwit";
|
|
2219
|
-
version: number;
|
|
2220
|
-
program: `0x${string}`;
|
|
2221
|
-
};
|
|
2222
|
-
__kind: "Btc";
|
|
2223
|
-
}, {
|
|
2224
|
-
value: {
|
|
2225
|
-
value: string;
|
|
2226
|
-
__kind: "P2PKH";
|
|
2227
|
-
} | {
|
|
2228
|
-
value: string;
|
|
2229
|
-
__kind: "P2SH";
|
|
2230
|
-
} | {
|
|
2231
|
-
value: string;
|
|
2232
|
-
__kind: "P2WPKH";
|
|
2233
|
-
} | {
|
|
2234
|
-
value: string;
|
|
2235
|
-
__kind: "P2WSH";
|
|
2236
|
-
} | {
|
|
2237
|
-
value: string;
|
|
2238
|
-
__kind: "Taproot";
|
|
2239
|
-
} | {
|
|
2240
|
-
__kind: "OtherSegwit";
|
|
2241
|
-
version: number;
|
|
2242
|
-
program: string;
|
|
2243
|
-
};
|
|
2244
|
-
__kind: "Btc";
|
|
2245
|
-
}>, z.ZodObject<{
|
|
2246
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
2247
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2248
|
-
}, "strip", z.ZodTypeAny, {
|
|
2249
|
-
value: `0x${string}`;
|
|
2250
|
-
__kind: "Arb";
|
|
2251
|
-
}, {
|
|
2252
|
-
value: string;
|
|
2253
|
-
__kind: "Arb";
|
|
2254
|
-
}>, z.ZodObject<{
|
|
2255
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
2256
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2257
|
-
}, "strip", z.ZodTypeAny, {
|
|
2258
|
-
value: `0x${string}`;
|
|
2259
|
-
__kind: "Sol";
|
|
2260
|
-
}, {
|
|
2261
|
-
value: string;
|
|
2262
|
-
__kind: "Sol";
|
|
2263
|
-
}>]>;
|
|
2264
|
-
minPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2265
|
-
}, "strip", z.ZodTypeAny, {
|
|
2266
|
-
retryDuration: number;
|
|
2267
|
-
refundAddress: {
|
|
2268
|
-
value: `0x${string}`;
|
|
2269
|
-
__kind: "Eth";
|
|
2270
|
-
} | {
|
|
2271
|
-
value: `0x${string}`;
|
|
2272
|
-
__kind: "Dot";
|
|
2273
|
-
} | {
|
|
2274
|
-
value: {
|
|
2275
|
-
value: `0x${string}`;
|
|
2276
|
-
__kind: "P2PKH";
|
|
2277
|
-
} | {
|
|
2278
|
-
value: `0x${string}`;
|
|
2279
|
-
__kind: "P2SH";
|
|
2280
|
-
} | {
|
|
2281
|
-
value: `0x${string}`;
|
|
2282
|
-
__kind: "P2WPKH";
|
|
2283
|
-
} | {
|
|
2284
|
-
value: `0x${string}`;
|
|
2285
|
-
__kind: "P2WSH";
|
|
2286
|
-
} | {
|
|
2287
|
-
value: `0x${string}`;
|
|
2288
|
-
__kind: "Taproot";
|
|
2289
|
-
} | {
|
|
2290
|
-
__kind: "OtherSegwit";
|
|
2291
|
-
version: number;
|
|
2292
|
-
program: `0x${string}`;
|
|
2293
|
-
};
|
|
2294
|
-
__kind: "Btc";
|
|
2295
|
-
} | {
|
|
2296
|
-
value: `0x${string}`;
|
|
2297
|
-
__kind: "Arb";
|
|
2298
|
-
} | {
|
|
2299
|
-
value: `0x${string}`;
|
|
2300
|
-
__kind: "Sol";
|
|
2301
|
-
};
|
|
2302
|
-
minPrice: bigint;
|
|
2303
|
-
}, {
|
|
2304
|
-
retryDuration: number;
|
|
2305
|
-
refundAddress: {
|
|
2306
|
-
value: string;
|
|
2307
|
-
__kind: "Eth";
|
|
2308
|
-
} | {
|
|
2309
|
-
value: string;
|
|
2310
|
-
__kind: "Dot";
|
|
2311
|
-
} | {
|
|
2312
|
-
value: {
|
|
2313
|
-
value: string;
|
|
2314
|
-
__kind: "P2PKH";
|
|
2315
|
-
} | {
|
|
2316
|
-
value: string;
|
|
2317
|
-
__kind: "P2SH";
|
|
2318
|
-
} | {
|
|
2319
|
-
value: string;
|
|
2320
|
-
__kind: "P2WPKH";
|
|
2321
|
-
} | {
|
|
2322
|
-
value: string;
|
|
2323
|
-
__kind: "P2WSH";
|
|
2324
|
-
} | {
|
|
2325
|
-
value: string;
|
|
2326
|
-
__kind: "Taproot";
|
|
2327
|
-
} | {
|
|
2328
|
-
__kind: "OtherSegwit";
|
|
2329
|
-
version: number;
|
|
2330
|
-
program: string;
|
|
2331
|
-
};
|
|
2332
|
-
__kind: "Btc";
|
|
2333
|
-
} | {
|
|
2334
|
-
value: string;
|
|
2335
|
-
__kind: "Arb";
|
|
2336
|
-
} | {
|
|
2337
|
-
value: string;
|
|
2338
|
-
__kind: "Sol";
|
|
2339
|
-
};
|
|
2340
|
-
minPrice: string | number;
|
|
2341
|
-
}>;
|
|
2342
|
-
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
2343
|
-
__kind: z.ZodLiteral<"DepositChannel">;
|
|
2344
|
-
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2345
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
2346
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2347
|
-
}, "strip", z.ZodTypeAny, {
|
|
2348
|
-
value: `0x${string}`;
|
|
2349
|
-
__kind: "Eth";
|
|
2350
|
-
}, {
|
|
2351
|
-
value: string;
|
|
2352
|
-
__kind: "Eth";
|
|
2353
|
-
}>, z.ZodObject<{
|
|
2354
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
2355
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2356
|
-
}, "strip", z.ZodTypeAny, {
|
|
2357
|
-
value: `0x${string}`;
|
|
2358
|
-
__kind: "Dot";
|
|
2359
|
-
}, {
|
|
2360
|
-
value: string;
|
|
2361
|
-
__kind: "Dot";
|
|
2362
|
-
}>, z.ZodObject<{
|
|
2363
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
2364
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2365
|
-
}, "strip", z.ZodTypeAny, {
|
|
2366
|
-
value: `0x${string}`;
|
|
2367
|
-
__kind: "Btc";
|
|
2368
|
-
}, {
|
|
2369
|
-
value: string;
|
|
2370
|
-
__kind: "Btc";
|
|
2371
|
-
}>, z.ZodObject<{
|
|
2372
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
2373
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2374
|
-
}, "strip", z.ZodTypeAny, {
|
|
2375
|
-
value: `0x${string}`;
|
|
2376
|
-
__kind: "Arb";
|
|
2377
|
-
}, {
|
|
2378
|
-
value: string;
|
|
2379
|
-
__kind: "Arb";
|
|
2380
|
-
}>, z.ZodObject<{
|
|
2381
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
2382
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2383
|
-
}, "strip", z.ZodTypeAny, {
|
|
2384
|
-
value: `0x${string}`;
|
|
2385
|
-
__kind: "Sol";
|
|
2386
|
-
}, {
|
|
2387
|
-
value: string;
|
|
2388
|
-
__kind: "Sol";
|
|
2389
|
-
}>]>;
|
|
2390
|
-
channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2391
|
-
depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
2392
|
-
}, "strip", z.ZodTypeAny, {
|
|
2393
|
-
__kind: "DepositChannel";
|
|
2394
|
-
depositAddress: {
|
|
2395
|
-
value: `0x${string}`;
|
|
2396
|
-
__kind: "Eth";
|
|
2397
|
-
} | {
|
|
2398
|
-
value: `0x${string}`;
|
|
2399
|
-
__kind: "Dot";
|
|
2400
|
-
} | {
|
|
2401
|
-
value: `0x${string}`;
|
|
2402
|
-
__kind: "Btc";
|
|
2403
|
-
} | {
|
|
2404
|
-
value: `0x${string}`;
|
|
2405
|
-
__kind: "Arb";
|
|
2406
|
-
} | {
|
|
2407
|
-
value: `0x${string}`;
|
|
2408
|
-
__kind: "Sol";
|
|
2409
|
-
};
|
|
2410
|
-
channelId: bigint;
|
|
2411
|
-
depositBlockHeight: bigint;
|
|
2412
|
-
}, {
|
|
2413
|
-
__kind: "DepositChannel";
|
|
2414
|
-
depositAddress: {
|
|
2415
|
-
value: string;
|
|
2416
|
-
__kind: "Eth";
|
|
2417
|
-
} | {
|
|
2418
|
-
value: string;
|
|
2419
|
-
__kind: "Dot";
|
|
2420
|
-
} | {
|
|
2421
|
-
value: string;
|
|
2422
|
-
__kind: "Btc";
|
|
2423
|
-
} | {
|
|
2424
|
-
value: string;
|
|
2425
|
-
__kind: "Arb";
|
|
2426
|
-
} | {
|
|
2427
|
-
value: string;
|
|
2428
|
-
__kind: "Sol";
|
|
2429
|
-
};
|
|
2430
|
-
channelId: string | number;
|
|
2431
|
-
depositBlockHeight: string | number;
|
|
2432
|
-
}>, z.ZodObject<{
|
|
2433
|
-
__kind: z.ZodLiteral<"Vault">;
|
|
2434
|
-
txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2435
|
-
}, "strip", z.ZodTypeAny, {
|
|
2436
|
-
__kind: "Vault";
|
|
2437
|
-
txHash: `0x${string}`;
|
|
2438
|
-
}, {
|
|
2439
|
-
__kind: "Vault";
|
|
2440
|
-
txHash: string;
|
|
2441
|
-
}>]>;
|
|
2442
2309
|
declare const cfTraitsLiquiditySwapType: z.ZodUnion<[z.ZodObject<{
|
|
2443
2310
|
__kind: z.ZodLiteral<"Swap">;
|
|
2444
2311
|
value: z.ZodUnion<[z.ZodObject<{
|
|
@@ -4087,4 +3954,4 @@ declare const palletCfIngressEgressBoostPoolIdSolana: z.ZodObject<{
|
|
|
4087
3954
|
tier: number;
|
|
4088
3955
|
}>;
|
|
4089
3956
|
|
|
4090
|
-
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateSolana,
|
|
3957
|
+
export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsAllBatchError, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateSolana, cfChainsChannelRefundParametersEncodedAddress, cfChainsEvmDepositDetails, cfChainsSolSolTrackedData, cfChainsSwapOrigin, cfPrimitivesBeneficiary, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsArbAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsAssetsSolAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSwapLeg, cfTraitsLiquiditySwapType, dispatchResult, hexString, numberOrHex, numericString, palletCfAssetBalancesPalletSafeMode, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFundingPalletSafeMode, palletCfIngressEgressBoostPoolIdSolana, palletCfIngressEgressDepositAction, palletCfIngressEgressDepositIgnoredReason, palletCfIngressEgressDepositWitnessArbitrum, palletCfIngressEgressDepositWitnessEthereum, palletCfIngressEgressDepositWitnessPolkadot, palletCfIngressEgressDepositWitnessSolana, palletCfIngressEgressPalletSafeMode, palletCfLpPalletSafeMode, palletCfPoolsAssetPair, palletCfPoolsIncreaseOrDecreaseRangeOrderChange, palletCfPoolsIncreaseOrDecreaseU128, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfThresholdSignaturePalletSafeMode, palletCfTokenholderGovernanceProposal, palletCfValidatorPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
|
package/dist/150/common.mjs
CHANGED
|
@@ -143,6 +143,20 @@ var accountId = z.union([
|
|
|
143
143
|
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
144
144
|
]).transform((value) => encode({ data: value, ss58Format: 2112 }));
|
|
145
145
|
var cfPrimitivesBeneficiary = z.object({ account: accountId, bps: z.number() });
|
|
146
|
+
var cfChainsChannelRefundParametersEncodedAddress = z.object({
|
|
147
|
+
retryDuration: z.number(),
|
|
148
|
+
refundAddress: cfChainsAddressEncodedAddress,
|
|
149
|
+
minPrice: numberOrHex
|
|
150
|
+
});
|
|
151
|
+
var cfChainsSwapOrigin = z.union([
|
|
152
|
+
z.object({
|
|
153
|
+
__kind: z.literal("DepositChannel"),
|
|
154
|
+
depositAddress: cfChainsAddressEncodedAddress,
|
|
155
|
+
channelId: numberOrHex,
|
|
156
|
+
depositBlockHeight: numberOrHex
|
|
157
|
+
}),
|
|
158
|
+
z.object({ __kind: z.literal("Vault"), txHash: hexString })
|
|
159
|
+
]);
|
|
146
160
|
var cfChainsBtcScriptPubkey = z.union([
|
|
147
161
|
z.object({ __kind: z.literal("P2PKH"), value: hexString }),
|
|
148
162
|
z.object({ __kind: z.literal("P2SH"), value: hexString }),
|
|
@@ -158,20 +172,6 @@ var cfChainsAddressForeignChainAddress = z.union([
|
|
|
158
172
|
z.object({ __kind: z.literal("Arb"), value: hexString }),
|
|
159
173
|
z.object({ __kind: z.literal("Sol"), value: hexString })
|
|
160
174
|
]);
|
|
161
|
-
var cfChainsChannelRefundParameters = z.object({
|
|
162
|
-
retryDuration: z.number(),
|
|
163
|
-
refundAddress: cfChainsAddressForeignChainAddress,
|
|
164
|
-
minPrice: numberOrHex
|
|
165
|
-
});
|
|
166
|
-
var cfChainsSwapOrigin = z.union([
|
|
167
|
-
z.object({
|
|
168
|
-
__kind: z.literal("DepositChannel"),
|
|
169
|
-
depositAddress: cfChainsAddressEncodedAddress,
|
|
170
|
-
channelId: numberOrHex,
|
|
171
|
-
depositBlockHeight: numberOrHex
|
|
172
|
-
}),
|
|
173
|
-
z.object({ __kind: z.literal("Vault"), txHash: hexString })
|
|
174
|
-
]);
|
|
175
175
|
var cfTraitsLiquiditySwapType = z.union([
|
|
176
176
|
z.object({ __kind: z.literal("Swap"), value: cfChainsAddressForeignChainAddress }),
|
|
177
177
|
z.object({ __kind: z.literal("CcmPrincipal"), value: numberOrHex }),
|
|
@@ -313,7 +313,7 @@ export {
|
|
|
313
313
|
cfChainsCcmChannelMetadata,
|
|
314
314
|
cfChainsCcmDepositMetadata,
|
|
315
315
|
cfChainsChainStateSolana,
|
|
316
|
-
|
|
316
|
+
cfChainsChannelRefundParametersEncodedAddress,
|
|
317
317
|
cfChainsEvmDepositDetails,
|
|
318
318
|
cfChainsSolSolTrackedData,
|
|
319
319
|
cfChainsSwapOrigin,
|
|
@@ -35,20 +35,20 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
35
35
|
__kind: z.ZodLiteral<"Increase">;
|
|
36
36
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
value: bigint;
|
|
39
38
|
__kind: "Increase";
|
|
39
|
+
value: bigint;
|
|
40
40
|
}, {
|
|
41
|
-
value: string | number;
|
|
42
41
|
__kind: "Increase";
|
|
42
|
+
value: string | number;
|
|
43
43
|
}>, z.ZodObject<{
|
|
44
44
|
__kind: z.ZodLiteral<"Decrease">;
|
|
45
45
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
value: bigint;
|
|
48
47
|
__kind: "Decrease";
|
|
48
|
+
value: bigint;
|
|
49
49
|
}, {
|
|
50
|
-
value: string | number;
|
|
51
50
|
__kind: "Decrease";
|
|
51
|
+
value: string | number;
|
|
52
52
|
}>]>>>;
|
|
53
53
|
sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
54
54
|
collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -64,11 +64,11 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
64
64
|
collectedFees: bigint;
|
|
65
65
|
boughtAmount: bigint;
|
|
66
66
|
sellAmountChange?: {
|
|
67
|
-
value: bigint;
|
|
68
67
|
__kind: "Increase";
|
|
69
|
-
} | {
|
|
70
68
|
value: bigint;
|
|
69
|
+
} | {
|
|
71
70
|
__kind: "Decrease";
|
|
71
|
+
value: bigint;
|
|
72
72
|
} | null | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
lp: string;
|
|
@@ -87,11 +87,11 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
87
87
|
collectedFees: string | number;
|
|
88
88
|
boughtAmount: string | number;
|
|
89
89
|
sellAmountChange?: {
|
|
90
|
-
value: string | number;
|
|
91
90
|
__kind: "Increase";
|
|
92
|
-
} | {
|
|
93
91
|
value: string | number;
|
|
92
|
+
} | {
|
|
94
93
|
__kind: "Decrease";
|
|
94
|
+
value: string | number;
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
|
|
@@ -35,20 +35,20 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
35
35
|
__kind: z.ZodLiteral<"Increase">;
|
|
36
36
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
value: bigint;
|
|
39
38
|
__kind: "Increase";
|
|
39
|
+
value: bigint;
|
|
40
40
|
}, {
|
|
41
|
-
value: string | number;
|
|
42
41
|
__kind: "Increase";
|
|
42
|
+
value: string | number;
|
|
43
43
|
}>, z.ZodObject<{
|
|
44
44
|
__kind: z.ZodLiteral<"Decrease">;
|
|
45
45
|
value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
value: bigint;
|
|
48
47
|
__kind: "Decrease";
|
|
48
|
+
value: bigint;
|
|
49
49
|
}, {
|
|
50
|
-
value: string | number;
|
|
51
50
|
__kind: "Decrease";
|
|
51
|
+
value: string | number;
|
|
52
52
|
}>]>>>;
|
|
53
53
|
sellAmountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
54
54
|
collectedFees: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
@@ -64,11 +64,11 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
64
64
|
collectedFees: bigint;
|
|
65
65
|
boughtAmount: bigint;
|
|
66
66
|
sellAmountChange?: {
|
|
67
|
-
value: bigint;
|
|
68
67
|
__kind: "Increase";
|
|
69
|
-
} | {
|
|
70
68
|
value: bigint;
|
|
69
|
+
} | {
|
|
71
70
|
__kind: "Decrease";
|
|
71
|
+
value: bigint;
|
|
72
72
|
} | null | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
lp: string;
|
|
@@ -87,11 +87,11 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
|
|
|
87
87
|
collectedFees: string | number;
|
|
88
88
|
boughtAmount: string | number;
|
|
89
89
|
sellAmountChange?: {
|
|
90
|
-
value: string | number;
|
|
91
90
|
__kind: "Increase";
|
|
92
|
-
} | {
|
|
93
91
|
value: string | number;
|
|
92
|
+
} | {
|
|
94
93
|
__kind: "Decrease";
|
|
94
|
+
value: string | number;
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
|