@chainflip/processor 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
- package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
- package/dist/100/common.cjs +15 -6
- package/dist/100/common.d.cts +25 -25
- package/dist/100/common.d.ts +25 -25
- package/dist/100/common.mjs +14 -5
- package/dist/100/environment/runtimeSafeModeUpdated.d.cts +28 -28
- package/dist/100/environment/runtimeSafeModeUpdated.d.ts +28 -28
- package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
- package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
- package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
- package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
- package/dist/100/funding/funded.d.cts +2 -2
- package/dist/100/funding/funded.d.ts +2 -2
- package/dist/100/funding/redemptionRequested.d.cts +2 -2
- package/dist/100/funding/redemptionRequested.d.ts +2 -2
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
- package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
- package/dist/100/swapping/batchSwapFailed.d.ts +2 -2
- package/dist/100/swapping/ccmDepositReceived.d.cts +19 -19
- package/dist/100/swapping/ccmDepositReceived.d.ts +19 -19
- package/dist/100/swapping/ccmFailed.d.cts +15 -15
- package/dist/100/swapping/ccmFailed.d.ts +15 -15
- package/dist/100/swapping/swapAmountTooLow.d.cts +35 -35
- package/dist/100/swapping/swapAmountTooLow.d.ts +35 -35
- package/dist/100/swapping/swapDepositAddressReady.d.cts +36 -36
- package/dist/100/swapping/swapDepositAddressReady.d.ts +36 -36
- package/dist/100/swapping/swapScheduled.d.cts +37 -37
- package/dist/100/swapping/swapScheduled.d.ts +37 -37
- package/dist/100/swapping/withdrawalRequested.d.cts +15 -15
- package/dist/100/swapping/withdrawalRequested.d.ts +15 -15
- package/dist/102/common.cjs +3 -3
- package/dist/102/common.mjs +2 -2
- package/dist/111/common.cjs +3 -3
- package/dist/111/common.mjs +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +2 -2
- package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +2 -2
- package/dist/120/common.cjs +15 -6
- package/dist/120/common.d.cts +10 -10
- package/dist/120/common.d.ts +10 -10
- package/dist/120/common.mjs +14 -5
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/120/swapping/ccmFailed.d.cts +15 -15
- package/dist/120/swapping/ccmFailed.d.ts +15 -15
- package/dist/120/swapping/withdrawalRequested.d.cts +15 -15
- package/dist/120/swapping/withdrawalRequested.d.ts +15 -15
- package/dist/131/common.cjs +15 -6
- package/dist/131/common.d.cts +25 -25
- package/dist/131/common.d.ts +25 -25
- package/dist/131/common.mjs +14 -5
- package/dist/131/environment/runtimeSafeModeUpdated.d.cts +40 -40
- package/dist/131/environment/runtimeSafeModeUpdated.d.ts +40 -40
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +15 -15
- package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.ts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +15 -15
- package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.ts +15 -15
- package/dist/131/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/131/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/131/swapping/ccmFailed.d.cts +35 -35
- package/dist/131/swapping/ccmFailed.d.ts +35 -35
- package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/131/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
- package/dist/131/swapping/swapAmountConfiscated.d.ts +12 -12
- package/dist/131/swapping/swapDepositAddressReady.d.cts +48 -48
- package/dist/131/swapping/swapDepositAddressReady.d.ts +48 -48
- package/dist/131/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/131/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/131/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/131/swapping/swapExecuted.d.cts +12 -12
- package/dist/131/swapping/swapExecuted.d.ts +12 -12
- package/dist/131/swapping/swapScheduled.d.cts +49 -49
- package/dist/131/swapping/swapScheduled.d.ts +49 -49
- package/dist/131/swapping/withdrawalRequested.d.cts +21 -21
- package/dist/131/swapping/withdrawalRequested.d.ts +21 -21
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/bitcoinIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
- package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +4 -4
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
- package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
- package/dist/141/common.cjs +19 -7
- package/dist/141/common.d.cts +30 -30
- package/dist/141/common.d.ts +30 -30
- package/dist/141/common.mjs +18 -6
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/failureReportProcessed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.cts +2 -2
- package/dist/141/evmThresholdSigner/retryRequested.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
- package/dist/141/evmThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
- package/dist/141/liquidityPools/limitOrderUpdated.d.cts +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/liquidityProvider/liquidityDepositAddressReady.d.cts +18 -18
- package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.ts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +18 -18
- package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.ts +18 -18
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +2 -2
- package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +2 -2
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
- package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
- 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 +90 -90
- package/dist/141/swapping/ccmDepositReceived.d.ts +90 -90
- package/dist/141/swapping/ccmFailed.d.cts +126 -126
- package/dist/141/swapping/ccmFailed.d.ts +126 -126
- 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 +64 -64
- package/dist/141/swapping/swapDepositAddressReady.d.ts +64 -64
- 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 +11 -11
- package/dist/141/swapping/swapEgressScheduled.d.ts +11 -11
- package/dist/141/swapping/swapExecuted.d.cts +88 -88
- package/dist/141/swapping/swapExecuted.d.ts +88 -88
- package/dist/141/swapping/swapScheduled.d.cts +150 -150
- package/dist/141/swapping/swapScheduled.d.ts +150 -150
- package/dist/141/swapping/withdrawalRequested.d.cts +36 -36
- package/dist/141/swapping/withdrawalRequested.d.ts +36 -36
- 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 +50 -50
- package/dist/150/assetBalances/refundScheduled.d.ts +50 -50
- package/dist/150/assetBalances/refundSkipped.d.cts +70 -70
- package/dist/150/assetBalances/refundSkipped.d.ts +70 -70
- package/dist/150/common.cjs +25 -8
- package/dist/150/common.d.cts +64 -64
- package/dist/150/common.d.ts +64 -64
- package/dist/150/common.mjs +24 -7
- package/dist/150/liquidityPools/limitOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/limitOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +8 -8
- package/dist/150/liquidityPools/rangeOrderUpdated.d.ts +8 -8
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +24 -24
- package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.ts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
- package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
- package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.ts +4 -4
- 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 +104 -104
- package/dist/150/swapping/ccmDepositReceived.d.ts +104 -104
- package/dist/150/swapping/ccmFailed.d.cts +151 -151
- package/dist/150/swapping/ccmFailed.d.ts +151 -151
- 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.d.cts +127 -127
- package/dist/150/swapping/swapDepositAddressReady.d.ts +127 -127
- 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 +175 -175
- package/dist/150/swapping/swapScheduled.d.ts +175 -175
- package/dist/150/swapping/withdrawalRequested.d.cts +40 -40
- package/dist/150/swapping/withdrawalRequested.d.ts +40 -40
- 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 +25 -8
- package/dist/160/common.d.cts +88 -88
- package/dist/160/common.d.ts +88 -88
- package/dist/160/common.mjs +24 -7
- package/dist/160/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 +28 -28
- package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +28 -28
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.cts +2 -2
- package/dist/160/liquidityProvider/liquidityDepositCredited.d.ts +2 -2
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.cts +24 -24
- package/dist/160/liquidityProvider/withdrawalEgressScheduled.d.ts +24 -24
- package/dist/160/swapping/batchSwapFailed.d.cts +8 -8
- package/dist/160/swapping/batchSwapFailed.d.ts +8 -8
- package/dist/160/swapping/ccmFailed.d.cts +56 -56
- package/dist/160/swapping/ccmFailed.d.ts +56 -56
- package/dist/160/swapping/maximumSwapAmountSet.d.cts +6 -6
- package/dist/160/swapping/maximumSwapAmountSet.d.ts +6 -6
- package/dist/160/swapping/refundEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/refundEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/refundEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/refundEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapAmountConfiscated.d.cts +7 -7
- package/dist/160/swapping/swapAmountConfiscated.d.ts +7 -7
- package/dist/160/swapping/swapDepositAddressReady.d.cts +66 -66
- package/dist/160/swapping/swapDepositAddressReady.d.ts +66 -66
- package/dist/160/swapping/swapEgressIgnored.d.cts +12 -12
- package/dist/160/swapping/swapEgressIgnored.d.ts +12 -12
- package/dist/160/swapping/swapEgressScheduled.d.cts +8 -8
- package/dist/160/swapping/swapEgressScheduled.d.ts +8 -8
- package/dist/160/swapping/swapExecuted.d.cts +12 -12
- package/dist/160/swapping/swapExecuted.d.ts +12 -12
- package/dist/160/swapping/swapRequested.d.cts +110 -110
- package/dist/160/swapping/swapRequested.d.ts +110 -110
- package/dist/160/swapping/withdrawalRequested.d.cts +30 -30
- package/dist/160/swapping/withdrawalRequested.d.ts +30 -30
- package/dist/Processor.cjs +7 -1
- package/dist/Processor.mjs +7 -1
- package/package.json +1 -1
package/dist/160/common.d.ts
CHANGED
|
@@ -30,47 +30,47 @@ declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
|
|
|
30
30
|
__kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
|
|
31
31
|
}>;
|
|
32
32
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
33
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
33
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
34
34
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
value: `0x${string}`;
|
|
37
|
-
__kind: "
|
|
37
|
+
__kind: "Ethereum";
|
|
38
38
|
}, {
|
|
39
39
|
value: string;
|
|
40
40
|
__kind: "Eth";
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
43
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
42
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
43
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
value:
|
|
46
|
-
__kind: "
|
|
45
|
+
value: string;
|
|
46
|
+
__kind: "Polkadot";
|
|
47
47
|
}, {
|
|
48
48
|
value: string;
|
|
49
49
|
__kind: "Dot";
|
|
50
50
|
}>, z.ZodObject<{
|
|
51
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
52
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
51
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
52
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
value:
|
|
55
|
-
__kind: "
|
|
54
|
+
value: string;
|
|
55
|
+
__kind: "Bitcoin";
|
|
56
56
|
}, {
|
|
57
57
|
value: string;
|
|
58
58
|
__kind: "Btc";
|
|
59
59
|
}>, z.ZodObject<{
|
|
60
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
60
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
61
61
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
63
|
value: `0x${string}`;
|
|
64
|
-
__kind: "
|
|
64
|
+
__kind: "Arbitrum";
|
|
65
65
|
}, {
|
|
66
66
|
value: string;
|
|
67
67
|
__kind: "Arb";
|
|
68
68
|
}>, z.ZodObject<{
|
|
69
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
70
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
69
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
70
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
value:
|
|
73
|
-
__kind: "
|
|
72
|
+
value: string;
|
|
73
|
+
__kind: "Solana";
|
|
74
74
|
}, {
|
|
75
75
|
value: string;
|
|
76
76
|
__kind: "Sol";
|
|
@@ -78,47 +78,47 @@ declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
|
78
78
|
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
79
79
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
80
80
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
81
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
81
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
82
82
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
value: `0x${string}`;
|
|
85
|
-
__kind: "
|
|
85
|
+
__kind: "Ethereum";
|
|
86
86
|
}, {
|
|
87
87
|
value: string;
|
|
88
88
|
__kind: "Eth";
|
|
89
89
|
}>, z.ZodObject<{
|
|
90
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
91
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
90
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
91
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
value:
|
|
94
|
-
__kind: "
|
|
93
|
+
value: string;
|
|
94
|
+
__kind: "Polkadot";
|
|
95
95
|
}, {
|
|
96
96
|
value: string;
|
|
97
97
|
__kind: "Dot";
|
|
98
98
|
}>, z.ZodObject<{
|
|
99
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
100
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
99
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
100
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
value:
|
|
103
|
-
__kind: "
|
|
102
|
+
value: string;
|
|
103
|
+
__kind: "Bitcoin";
|
|
104
104
|
}, {
|
|
105
105
|
value: string;
|
|
106
106
|
__kind: "Btc";
|
|
107
107
|
}>, z.ZodObject<{
|
|
108
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
108
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
109
109
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
value: `0x${string}`;
|
|
112
|
-
__kind: "
|
|
112
|
+
__kind: "Arbitrum";
|
|
113
113
|
}, {
|
|
114
114
|
value: string;
|
|
115
115
|
__kind: "Arb";
|
|
116
116
|
}>, z.ZodObject<{
|
|
117
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
118
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
117
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
118
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
value:
|
|
121
|
-
__kind: "
|
|
120
|
+
value: string;
|
|
121
|
+
__kind: "Solana";
|
|
122
122
|
}, {
|
|
123
123
|
value: string;
|
|
124
124
|
__kind: "Sol";
|
|
@@ -129,19 +129,19 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
129
129
|
__kind: "DepositChannel";
|
|
130
130
|
depositAddress: {
|
|
131
131
|
value: `0x${string}`;
|
|
132
|
-
__kind: "
|
|
132
|
+
__kind: "Ethereum";
|
|
133
133
|
} | {
|
|
134
|
-
value:
|
|
135
|
-
__kind: "
|
|
134
|
+
value: string;
|
|
135
|
+
__kind: "Polkadot";
|
|
136
136
|
} | {
|
|
137
|
-
value:
|
|
138
|
-
__kind: "
|
|
137
|
+
value: string;
|
|
138
|
+
__kind: "Bitcoin";
|
|
139
139
|
} | {
|
|
140
140
|
value: `0x${string}`;
|
|
141
|
-
__kind: "
|
|
141
|
+
__kind: "Arbitrum";
|
|
142
142
|
} | {
|
|
143
|
-
value:
|
|
144
|
-
__kind: "
|
|
143
|
+
value: string;
|
|
144
|
+
__kind: "Solana";
|
|
145
145
|
};
|
|
146
146
|
channelId: bigint;
|
|
147
147
|
depositBlockHeight: bigint;
|
|
@@ -668,47 +668,47 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodUnion<[z.ZodObject<{
|
|
|
668
668
|
}>, z.ZodObject<{
|
|
669
669
|
__kind: z.ZodLiteral<"Regular">;
|
|
670
670
|
outputAddress: z.ZodUnion<[z.ZodObject<{
|
|
671
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
671
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
672
672
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
673
673
|
}, "strip", z.ZodTypeAny, {
|
|
674
674
|
value: `0x${string}`;
|
|
675
|
-
__kind: "
|
|
675
|
+
__kind: "Ethereum";
|
|
676
676
|
}, {
|
|
677
677
|
value: string;
|
|
678
678
|
__kind: "Eth";
|
|
679
679
|
}>, z.ZodObject<{
|
|
680
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
681
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
680
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
681
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
|
-
value:
|
|
684
|
-
__kind: "
|
|
683
|
+
value: string;
|
|
684
|
+
__kind: "Polkadot";
|
|
685
685
|
}, {
|
|
686
686
|
value: string;
|
|
687
687
|
__kind: "Dot";
|
|
688
688
|
}>, z.ZodObject<{
|
|
689
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
690
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
689
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
690
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
value:
|
|
693
|
-
__kind: "
|
|
692
|
+
value: string;
|
|
693
|
+
__kind: "Bitcoin";
|
|
694
694
|
}, {
|
|
695
695
|
value: string;
|
|
696
696
|
__kind: "Btc";
|
|
697
697
|
}>, z.ZodObject<{
|
|
698
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
698
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
699
699
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
701
|
value: `0x${string}`;
|
|
702
|
-
__kind: "
|
|
702
|
+
__kind: "Arbitrum";
|
|
703
703
|
}, {
|
|
704
704
|
value: string;
|
|
705
705
|
__kind: "Arb";
|
|
706
706
|
}>, z.ZodObject<{
|
|
707
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
708
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
707
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
708
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
709
709
|
}, "strip", z.ZodTypeAny, {
|
|
710
|
-
value:
|
|
711
|
-
__kind: "
|
|
710
|
+
value: string;
|
|
711
|
+
__kind: "Solana";
|
|
712
712
|
}, {
|
|
713
713
|
value: string;
|
|
714
714
|
__kind: "Sol";
|
|
@@ -717,19 +717,19 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodUnion<[z.ZodObject<{
|
|
|
717
717
|
__kind: "Regular";
|
|
718
718
|
outputAddress: {
|
|
719
719
|
value: `0x${string}`;
|
|
720
|
-
__kind: "
|
|
720
|
+
__kind: "Ethereum";
|
|
721
721
|
} | {
|
|
722
|
-
value:
|
|
723
|
-
__kind: "
|
|
722
|
+
value: string;
|
|
723
|
+
__kind: "Polkadot";
|
|
724
724
|
} | {
|
|
725
|
-
value:
|
|
726
|
-
__kind: "
|
|
725
|
+
value: string;
|
|
726
|
+
__kind: "Bitcoin";
|
|
727
727
|
} | {
|
|
728
728
|
value: `0x${string}`;
|
|
729
|
-
__kind: "
|
|
729
|
+
__kind: "Arbitrum";
|
|
730
730
|
} | {
|
|
731
|
-
value:
|
|
732
|
-
__kind: "
|
|
731
|
+
value: string;
|
|
732
|
+
__kind: "Solana";
|
|
733
733
|
};
|
|
734
734
|
}, {
|
|
735
735
|
__kind: "Regular";
|
|
@@ -752,47 +752,47 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodUnion<[z.ZodObject<{
|
|
|
752
752
|
}>, z.ZodObject<{
|
|
753
753
|
__kind: z.ZodLiteral<"Ccm">;
|
|
754
754
|
outputAddress: z.ZodUnion<[z.ZodObject<{
|
|
755
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
755
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
756
756
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
757
757
|
}, "strip", z.ZodTypeAny, {
|
|
758
758
|
value: `0x${string}`;
|
|
759
|
-
__kind: "
|
|
759
|
+
__kind: "Ethereum";
|
|
760
760
|
}, {
|
|
761
761
|
value: string;
|
|
762
762
|
__kind: "Eth";
|
|
763
763
|
}>, z.ZodObject<{
|
|
764
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
765
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
764
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
765
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
766
766
|
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
value:
|
|
768
|
-
__kind: "
|
|
767
|
+
value: string;
|
|
768
|
+
__kind: "Polkadot";
|
|
769
769
|
}, {
|
|
770
770
|
value: string;
|
|
771
771
|
__kind: "Dot";
|
|
772
772
|
}>, z.ZodObject<{
|
|
773
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
774
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
773
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
774
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
|
-
value:
|
|
777
|
-
__kind: "
|
|
776
|
+
value: string;
|
|
777
|
+
__kind: "Bitcoin";
|
|
778
778
|
}, {
|
|
779
779
|
value: string;
|
|
780
780
|
__kind: "Btc";
|
|
781
781
|
}>, z.ZodObject<{
|
|
782
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
782
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
783
783
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
785
|
value: `0x${string}`;
|
|
786
|
-
__kind: "
|
|
786
|
+
__kind: "Arbitrum";
|
|
787
787
|
}, {
|
|
788
788
|
value: string;
|
|
789
789
|
__kind: "Arb";
|
|
790
790
|
}>, z.ZodObject<{
|
|
791
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
792
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
791
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
792
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
793
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
value:
|
|
795
|
-
__kind: "
|
|
794
|
+
value: string;
|
|
795
|
+
__kind: "Solana";
|
|
796
796
|
}, {
|
|
797
797
|
value: string;
|
|
798
798
|
__kind: "Sol";
|
|
@@ -1052,19 +1052,19 @@ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodUnion<[z.ZodObject<{
|
|
|
1052
1052
|
__kind: "Ccm";
|
|
1053
1053
|
outputAddress: {
|
|
1054
1054
|
value: `0x${string}`;
|
|
1055
|
-
__kind: "
|
|
1055
|
+
__kind: "Ethereum";
|
|
1056
1056
|
} | {
|
|
1057
|
-
value:
|
|
1058
|
-
__kind: "
|
|
1057
|
+
value: string;
|
|
1058
|
+
__kind: "Polkadot";
|
|
1059
1059
|
} | {
|
|
1060
|
-
value:
|
|
1061
|
-
__kind: "
|
|
1060
|
+
value: string;
|
|
1061
|
+
__kind: "Bitcoin";
|
|
1062
1062
|
} | {
|
|
1063
1063
|
value: `0x${string}`;
|
|
1064
|
-
__kind: "
|
|
1064
|
+
__kind: "Arbitrum";
|
|
1065
1065
|
} | {
|
|
1066
|
-
value:
|
|
1067
|
-
__kind: "
|
|
1066
|
+
value: string;
|
|
1067
|
+
__kind: "Solana";
|
|
1068
1068
|
};
|
|
1069
1069
|
ccmDepositMetadata: {
|
|
1070
1070
|
sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
|
package/dist/160/common.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// generated/160/common.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import
|
|
3
|
+
import * as ss58 from "@chainflip/utils/ss58";
|
|
4
|
+
import * as base58 from "@chainflip/utils/base58";
|
|
5
|
+
import { hexToBytes } from "@chainflip/utils/bytes";
|
|
4
6
|
var hexString = z.string().refine((v) => /^0x[\da-f]*$/i.test(v), { message: "Invalid hex string" });
|
|
5
7
|
var numericString = z.string().refine((v) => /^\d+$/.test(v), { message: "Invalid numeric string" });
|
|
6
8
|
var numberOrHex = z.union([z.number(), hexString, numericString]).transform((n) => BigInt(n));
|
|
@@ -18,11 +20,26 @@ var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
|
18
20
|
"SolUsdc"
|
|
19
21
|
]);
|
|
20
22
|
var cfChainsAddressEncodedAddress = z.union([
|
|
21
|
-
z.object({
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
z.object({
|
|
23
|
+
z.object({
|
|
24
|
+
__kind: z.literal("Eth").transform(() => "Ethereum"),
|
|
25
|
+
value: hexString
|
|
26
|
+
}),
|
|
27
|
+
z.object({
|
|
28
|
+
__kind: z.literal("Dot").transform(() => "Polkadot"),
|
|
29
|
+
value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
|
|
30
|
+
}),
|
|
31
|
+
z.object({
|
|
32
|
+
__kind: z.literal("Btc").transform(() => "Bitcoin"),
|
|
33
|
+
value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
|
|
34
|
+
}),
|
|
35
|
+
z.object({
|
|
36
|
+
__kind: z.literal("Arb").transform(() => "Arbitrum"),
|
|
37
|
+
value: hexString
|
|
38
|
+
}),
|
|
39
|
+
z.object({
|
|
40
|
+
__kind: z.literal("Sol").transform(() => "Solana"),
|
|
41
|
+
value: hexString.transform((value) => base58.encode(hexToBytes(value)))
|
|
42
|
+
})
|
|
26
43
|
]);
|
|
27
44
|
var cfChainsSwapOrigin = z.union([
|
|
28
45
|
z.object({
|
|
@@ -79,7 +96,7 @@ var cfTraitsSwappingSwapRequestTypeGeneric = z.union([
|
|
|
79
96
|
var accountId = z.union([
|
|
80
97
|
hexString,
|
|
81
98
|
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
82
|
-
]).transform((value) => encode({ data: value, ss58Format: 2112 }));
|
|
99
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
83
100
|
var cfPrimitivesBeneficiary = z.object({ account: accountId, bps: z.number() });
|
|
84
101
|
var cfChainsChannelRefundParameters = z.object({
|
|
85
102
|
retryDuration: z.number(),
|
|
@@ -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
|
|
|
@@ -59,6 +59,7 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
59
59
|
};
|
|
60
60
|
}>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
__kind: "Increase";
|
|
62
63
|
value: {
|
|
63
64
|
liquidity: bigint;
|
|
64
65
|
amounts: {
|
|
@@ -66,8 +67,8 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
66
67
|
quote: bigint;
|
|
67
68
|
};
|
|
68
69
|
};
|
|
69
|
-
__kind: "Increase";
|
|
70
70
|
}, {
|
|
71
|
+
__kind: "Increase";
|
|
71
72
|
value: {
|
|
72
73
|
liquidity: string | number;
|
|
73
74
|
amounts: {
|
|
@@ -75,7 +76,6 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
75
76
|
quote: string | number;
|
|
76
77
|
};
|
|
77
78
|
};
|
|
78
|
-
__kind: "Increase";
|
|
79
79
|
}>, z.ZodObject<{
|
|
80
80
|
__kind: z.ZodLiteral<"Decrease">;
|
|
81
81
|
value: z.ZodObject<{
|
|
@@ -104,6 +104,7 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
104
104
|
};
|
|
105
105
|
}>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
__kind: "Decrease";
|
|
107
108
|
value: {
|
|
108
109
|
liquidity: bigint;
|
|
109
110
|
amounts: {
|
|
@@ -111,8 +112,8 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
111
112
|
quote: bigint;
|
|
112
113
|
};
|
|
113
114
|
};
|
|
114
|
-
__kind: "Decrease";
|
|
115
115
|
}, {
|
|
116
|
+
__kind: "Decrease";
|
|
116
117
|
value: {
|
|
117
118
|
liquidity: string | number;
|
|
118
119
|
amounts: {
|
|
@@ -120,7 +121,6 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
120
121
|
quote: string | number;
|
|
121
122
|
};
|
|
122
123
|
};
|
|
123
|
-
__kind: "Decrease";
|
|
124
124
|
}>]>>>;
|
|
125
125
|
liquidityTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
|
|
126
126
|
collectedFees: z.ZodObject<{
|
|
@@ -148,6 +148,7 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
148
148
|
};
|
|
149
149
|
liquidityTotal: bigint;
|
|
150
150
|
sizeChange?: {
|
|
151
|
+
__kind: "Increase";
|
|
151
152
|
value: {
|
|
152
153
|
liquidity: bigint;
|
|
153
154
|
amounts: {
|
|
@@ -155,8 +156,8 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
155
156
|
quote: bigint;
|
|
156
157
|
};
|
|
157
158
|
};
|
|
158
|
-
__kind: "Increase";
|
|
159
159
|
} | {
|
|
160
|
+
__kind: "Decrease";
|
|
160
161
|
value: {
|
|
161
162
|
liquidity: bigint;
|
|
162
163
|
amounts: {
|
|
@@ -164,7 +165,6 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
164
165
|
quote: bigint;
|
|
165
166
|
};
|
|
166
167
|
};
|
|
167
|
-
__kind: "Decrease";
|
|
168
168
|
} | null | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
lp: string;
|
|
@@ -185,6 +185,7 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
185
185
|
};
|
|
186
186
|
liquidityTotal: string | number;
|
|
187
187
|
sizeChange?: {
|
|
188
|
+
__kind: "Increase";
|
|
188
189
|
value: {
|
|
189
190
|
liquidity: string | number;
|
|
190
191
|
amounts: {
|
|
@@ -192,8 +193,8 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
192
193
|
quote: string | number;
|
|
193
194
|
};
|
|
194
195
|
};
|
|
195
|
-
__kind: "Increase";
|
|
196
196
|
} | {
|
|
197
|
+
__kind: "Decrease";
|
|
197
198
|
value: {
|
|
198
199
|
liquidity: string | number;
|
|
199
200
|
amounts: {
|
|
@@ -201,7 +202,6 @@ declare const liquidityPoolsRangeOrderUpdated: z.ZodObject<{
|
|
|
201
202
|
quote: string | number;
|
|
202
203
|
};
|
|
203
204
|
};
|
|
204
|
-
__kind: "Decrease";
|
|
205
205
|
} | null | undefined;
|
|
206
206
|
}>;
|
|
207
207
|
|