@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/150/common.d.cts
CHANGED
|
@@ -1841,47 +1841,47 @@ declare const palletCfTokenholderGovernanceProposal: z.ZodUnion<[z.ZodObject<{
|
|
|
1841
1841
|
__kind: "SetCommunityKey";
|
|
1842
1842
|
}>]>;
|
|
1843
1843
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
1844
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1844
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1845
1845
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1846
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1847
1847
|
value: `0x${string}`;
|
|
1848
|
-
__kind: "
|
|
1848
|
+
__kind: "Ethereum";
|
|
1849
1849
|
}, {
|
|
1850
1850
|
value: string;
|
|
1851
1851
|
__kind: "Eth";
|
|
1852
1852
|
}>, z.ZodObject<{
|
|
1853
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1854
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1853
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1854
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1855
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1856
|
-
value:
|
|
1857
|
-
__kind: "
|
|
1856
|
+
value: string;
|
|
1857
|
+
__kind: "Polkadot";
|
|
1858
1858
|
}, {
|
|
1859
1859
|
value: string;
|
|
1860
1860
|
__kind: "Dot";
|
|
1861
1861
|
}>, z.ZodObject<{
|
|
1862
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1863
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1862
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1863
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1864
1864
|
}, "strip", z.ZodTypeAny, {
|
|
1865
|
-
value:
|
|
1866
|
-
__kind: "
|
|
1865
|
+
value: string;
|
|
1866
|
+
__kind: "Bitcoin";
|
|
1867
1867
|
}, {
|
|
1868
1868
|
value: string;
|
|
1869
1869
|
__kind: "Btc";
|
|
1870
1870
|
}>, z.ZodObject<{
|
|
1871
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
1871
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
1872
1872
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1873
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1874
1874
|
value: `0x${string}`;
|
|
1875
|
-
__kind: "
|
|
1875
|
+
__kind: "Arbitrum";
|
|
1876
1876
|
}, {
|
|
1877
1877
|
value: string;
|
|
1878
1878
|
__kind: "Arb";
|
|
1879
1879
|
}>, z.ZodObject<{
|
|
1880
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
1881
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1880
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
1881
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1882
1882
|
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
value:
|
|
1884
|
-
__kind: "
|
|
1883
|
+
value: string;
|
|
1884
|
+
__kind: "Solana";
|
|
1885
1885
|
}, {
|
|
1886
1886
|
value: string;
|
|
1887
1887
|
__kind: "Sol";
|
|
@@ -1922,47 +1922,47 @@ declare const cfPrimitivesBeneficiary: z.ZodObject<{
|
|
|
1922
1922
|
declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
1923
1923
|
retryDuration: z.ZodNumber;
|
|
1924
1924
|
refundAddress: z.ZodUnion<[z.ZodObject<{
|
|
1925
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1925
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1926
1926
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1927
1927
|
}, "strip", z.ZodTypeAny, {
|
|
1928
1928
|
value: `0x${string}`;
|
|
1929
|
-
__kind: "
|
|
1929
|
+
__kind: "Ethereum";
|
|
1930
1930
|
}, {
|
|
1931
1931
|
value: string;
|
|
1932
1932
|
__kind: "Eth";
|
|
1933
1933
|
}>, z.ZodObject<{
|
|
1934
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1935
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1934
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1935
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1936
1936
|
}, "strip", z.ZodTypeAny, {
|
|
1937
|
-
value:
|
|
1938
|
-
__kind: "
|
|
1937
|
+
value: string;
|
|
1938
|
+
__kind: "Polkadot";
|
|
1939
1939
|
}, {
|
|
1940
1940
|
value: string;
|
|
1941
1941
|
__kind: "Dot";
|
|
1942
1942
|
}>, z.ZodObject<{
|
|
1943
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1944
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1943
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1944
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1945
1945
|
}, "strip", z.ZodTypeAny, {
|
|
1946
|
-
value:
|
|
1947
|
-
__kind: "
|
|
1946
|
+
value: string;
|
|
1947
|
+
__kind: "Bitcoin";
|
|
1948
1948
|
}, {
|
|
1949
1949
|
value: string;
|
|
1950
1950
|
__kind: "Btc";
|
|
1951
1951
|
}>, z.ZodObject<{
|
|
1952
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
1952
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
1953
1953
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1954
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1955
1955
|
value: `0x${string}`;
|
|
1956
|
-
__kind: "
|
|
1956
|
+
__kind: "Arbitrum";
|
|
1957
1957
|
}, {
|
|
1958
1958
|
value: string;
|
|
1959
1959
|
__kind: "Arb";
|
|
1960
1960
|
}>, z.ZodObject<{
|
|
1961
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
1962
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1961
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
1962
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1963
1963
|
}, "strip", z.ZodTypeAny, {
|
|
1964
|
-
value:
|
|
1965
|
-
__kind: "
|
|
1964
|
+
value: string;
|
|
1965
|
+
__kind: "Solana";
|
|
1966
1966
|
}, {
|
|
1967
1967
|
value: string;
|
|
1968
1968
|
__kind: "Sol";
|
|
@@ -1972,19 +1972,19 @@ declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
|
1972
1972
|
retryDuration: number;
|
|
1973
1973
|
refundAddress: {
|
|
1974
1974
|
value: `0x${string}`;
|
|
1975
|
-
__kind: "
|
|
1975
|
+
__kind: "Ethereum";
|
|
1976
1976
|
} | {
|
|
1977
|
-
value:
|
|
1978
|
-
__kind: "
|
|
1977
|
+
value: string;
|
|
1978
|
+
__kind: "Polkadot";
|
|
1979
1979
|
} | {
|
|
1980
|
-
value:
|
|
1981
|
-
__kind: "
|
|
1980
|
+
value: string;
|
|
1981
|
+
__kind: "Bitcoin";
|
|
1982
1982
|
} | {
|
|
1983
1983
|
value: `0x${string}`;
|
|
1984
|
-
__kind: "
|
|
1984
|
+
__kind: "Arbitrum";
|
|
1985
1985
|
} | {
|
|
1986
|
-
value:
|
|
1987
|
-
__kind: "
|
|
1986
|
+
value: string;
|
|
1987
|
+
__kind: "Solana";
|
|
1988
1988
|
};
|
|
1989
1989
|
minPrice: bigint;
|
|
1990
1990
|
}, {
|
|
@@ -2010,47 +2010,47 @@ declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
|
2010
2010
|
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
2011
2011
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
2012
2012
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2013
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
2013
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
2014
2014
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
2016
|
value: `0x${string}`;
|
|
2017
|
-
__kind: "
|
|
2017
|
+
__kind: "Ethereum";
|
|
2018
2018
|
}, {
|
|
2019
2019
|
value: string;
|
|
2020
2020
|
__kind: "Eth";
|
|
2021
2021
|
}>, z.ZodObject<{
|
|
2022
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
2023
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2022
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
2023
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2024
2024
|
}, "strip", z.ZodTypeAny, {
|
|
2025
|
-
value:
|
|
2026
|
-
__kind: "
|
|
2025
|
+
value: string;
|
|
2026
|
+
__kind: "Polkadot";
|
|
2027
2027
|
}, {
|
|
2028
2028
|
value: string;
|
|
2029
2029
|
__kind: "Dot";
|
|
2030
2030
|
}>, z.ZodObject<{
|
|
2031
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
2032
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2031
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
2032
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2033
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2034
|
-
value:
|
|
2035
|
-
__kind: "
|
|
2034
|
+
value: string;
|
|
2035
|
+
__kind: "Bitcoin";
|
|
2036
2036
|
}, {
|
|
2037
2037
|
value: string;
|
|
2038
2038
|
__kind: "Btc";
|
|
2039
2039
|
}>, z.ZodObject<{
|
|
2040
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
2040
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
2041
2041
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2042
2042
|
}, "strip", z.ZodTypeAny, {
|
|
2043
2043
|
value: `0x${string}`;
|
|
2044
|
-
__kind: "
|
|
2044
|
+
__kind: "Arbitrum";
|
|
2045
2045
|
}, {
|
|
2046
2046
|
value: string;
|
|
2047
2047
|
__kind: "Arb";
|
|
2048
2048
|
}>, z.ZodObject<{
|
|
2049
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
2050
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2049
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
2050
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
|
-
value:
|
|
2053
|
-
__kind: "
|
|
2052
|
+
value: string;
|
|
2053
|
+
__kind: "Solana";
|
|
2054
2054
|
}, {
|
|
2055
2055
|
value: string;
|
|
2056
2056
|
__kind: "Sol";
|
|
@@ -2061,19 +2061,19 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
2061
2061
|
__kind: "DepositChannel";
|
|
2062
2062
|
depositAddress: {
|
|
2063
2063
|
value: `0x${string}`;
|
|
2064
|
-
__kind: "
|
|
2064
|
+
__kind: "Ethereum";
|
|
2065
2065
|
} | {
|
|
2066
|
-
value:
|
|
2067
|
-
__kind: "
|
|
2066
|
+
value: string;
|
|
2067
|
+
__kind: "Polkadot";
|
|
2068
2068
|
} | {
|
|
2069
|
-
value:
|
|
2070
|
-
__kind: "
|
|
2069
|
+
value: string;
|
|
2070
|
+
__kind: "Bitcoin";
|
|
2071
2071
|
} | {
|
|
2072
2072
|
value: `0x${string}`;
|
|
2073
|
-
__kind: "
|
|
2073
|
+
__kind: "Arbitrum";
|
|
2074
2074
|
} | {
|
|
2075
|
-
value:
|
|
2076
|
-
__kind: "
|
|
2075
|
+
value: string;
|
|
2076
|
+
__kind: "Solana";
|
|
2077
2077
|
};
|
|
2078
2078
|
channelId: bigint;
|
|
2079
2079
|
depositBlockHeight: bigint;
|
package/dist/150/common.d.ts
CHANGED
|
@@ -1841,47 +1841,47 @@ declare const palletCfTokenholderGovernanceProposal: z.ZodUnion<[z.ZodObject<{
|
|
|
1841
1841
|
__kind: "SetCommunityKey";
|
|
1842
1842
|
}>]>;
|
|
1843
1843
|
declare const cfChainsAddressEncodedAddress: z.ZodUnion<[z.ZodObject<{
|
|
1844
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1844
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1845
1845
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1846
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1847
1847
|
value: `0x${string}`;
|
|
1848
|
-
__kind: "
|
|
1848
|
+
__kind: "Ethereum";
|
|
1849
1849
|
}, {
|
|
1850
1850
|
value: string;
|
|
1851
1851
|
__kind: "Eth";
|
|
1852
1852
|
}>, z.ZodObject<{
|
|
1853
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1854
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1853
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1854
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1855
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1856
|
-
value:
|
|
1857
|
-
__kind: "
|
|
1856
|
+
value: string;
|
|
1857
|
+
__kind: "Polkadot";
|
|
1858
1858
|
}, {
|
|
1859
1859
|
value: string;
|
|
1860
1860
|
__kind: "Dot";
|
|
1861
1861
|
}>, z.ZodObject<{
|
|
1862
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1863
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1862
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1863
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1864
1864
|
}, "strip", z.ZodTypeAny, {
|
|
1865
|
-
value:
|
|
1866
|
-
__kind: "
|
|
1865
|
+
value: string;
|
|
1866
|
+
__kind: "Bitcoin";
|
|
1867
1867
|
}, {
|
|
1868
1868
|
value: string;
|
|
1869
1869
|
__kind: "Btc";
|
|
1870
1870
|
}>, z.ZodObject<{
|
|
1871
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
1871
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
1872
1872
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1873
1873
|
}, "strip", z.ZodTypeAny, {
|
|
1874
1874
|
value: `0x${string}`;
|
|
1875
|
-
__kind: "
|
|
1875
|
+
__kind: "Arbitrum";
|
|
1876
1876
|
}, {
|
|
1877
1877
|
value: string;
|
|
1878
1878
|
__kind: "Arb";
|
|
1879
1879
|
}>, z.ZodObject<{
|
|
1880
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
1881
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1880
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
1881
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1882
1882
|
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
value:
|
|
1884
|
-
__kind: "
|
|
1883
|
+
value: string;
|
|
1884
|
+
__kind: "Solana";
|
|
1885
1885
|
}, {
|
|
1886
1886
|
value: string;
|
|
1887
1887
|
__kind: "Sol";
|
|
@@ -1922,47 +1922,47 @@ declare const cfPrimitivesBeneficiary: z.ZodObject<{
|
|
|
1922
1922
|
declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
1923
1923
|
retryDuration: z.ZodNumber;
|
|
1924
1924
|
refundAddress: z.ZodUnion<[z.ZodObject<{
|
|
1925
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
1925
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
1926
1926
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1927
1927
|
}, "strip", z.ZodTypeAny, {
|
|
1928
1928
|
value: `0x${string}`;
|
|
1929
|
-
__kind: "
|
|
1929
|
+
__kind: "Ethereum";
|
|
1930
1930
|
}, {
|
|
1931
1931
|
value: string;
|
|
1932
1932
|
__kind: "Eth";
|
|
1933
1933
|
}>, z.ZodObject<{
|
|
1934
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
1935
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1934
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
1935
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1936
1936
|
}, "strip", z.ZodTypeAny, {
|
|
1937
|
-
value:
|
|
1938
|
-
__kind: "
|
|
1937
|
+
value: string;
|
|
1938
|
+
__kind: "Polkadot";
|
|
1939
1939
|
}, {
|
|
1940
1940
|
value: string;
|
|
1941
1941
|
__kind: "Dot";
|
|
1942
1942
|
}>, z.ZodObject<{
|
|
1943
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
1944
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1943
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
1944
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1945
1945
|
}, "strip", z.ZodTypeAny, {
|
|
1946
|
-
value:
|
|
1947
|
-
__kind: "
|
|
1946
|
+
value: string;
|
|
1947
|
+
__kind: "Bitcoin";
|
|
1948
1948
|
}, {
|
|
1949
1949
|
value: string;
|
|
1950
1950
|
__kind: "Btc";
|
|
1951
1951
|
}>, z.ZodObject<{
|
|
1952
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
1952
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
1953
1953
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1954
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1955
1955
|
value: `0x${string}`;
|
|
1956
|
-
__kind: "
|
|
1956
|
+
__kind: "Arbitrum";
|
|
1957
1957
|
}, {
|
|
1958
1958
|
value: string;
|
|
1959
1959
|
__kind: "Arb";
|
|
1960
1960
|
}>, z.ZodObject<{
|
|
1961
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
1962
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1961
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
1962
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
1963
1963
|
}, "strip", z.ZodTypeAny, {
|
|
1964
|
-
value:
|
|
1965
|
-
__kind: "
|
|
1964
|
+
value: string;
|
|
1965
|
+
__kind: "Solana";
|
|
1966
1966
|
}, {
|
|
1967
1967
|
value: string;
|
|
1968
1968
|
__kind: "Sol";
|
|
@@ -1972,19 +1972,19 @@ declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
|
1972
1972
|
retryDuration: number;
|
|
1973
1973
|
refundAddress: {
|
|
1974
1974
|
value: `0x${string}`;
|
|
1975
|
-
__kind: "
|
|
1975
|
+
__kind: "Ethereum";
|
|
1976
1976
|
} | {
|
|
1977
|
-
value:
|
|
1978
|
-
__kind: "
|
|
1977
|
+
value: string;
|
|
1978
|
+
__kind: "Polkadot";
|
|
1979
1979
|
} | {
|
|
1980
|
-
value:
|
|
1981
|
-
__kind: "
|
|
1980
|
+
value: string;
|
|
1981
|
+
__kind: "Bitcoin";
|
|
1982
1982
|
} | {
|
|
1983
1983
|
value: `0x${string}`;
|
|
1984
|
-
__kind: "
|
|
1984
|
+
__kind: "Arbitrum";
|
|
1985
1985
|
} | {
|
|
1986
|
-
value:
|
|
1987
|
-
__kind: "
|
|
1986
|
+
value: string;
|
|
1987
|
+
__kind: "Solana";
|
|
1988
1988
|
};
|
|
1989
1989
|
minPrice: bigint;
|
|
1990
1990
|
}, {
|
|
@@ -2010,47 +2010,47 @@ declare const cfChainsChannelRefundParametersEncodedAddress: z.ZodObject<{
|
|
|
2010
2010
|
declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
2011
2011
|
__kind: z.ZodLiteral<"DepositChannel">;
|
|
2012
2012
|
depositAddress: z.ZodUnion<[z.ZodObject<{
|
|
2013
|
-
__kind: z.ZodLiteral<"Eth">;
|
|
2013
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Eth">, "Ethereum", "Eth">;
|
|
2014
2014
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
2016
|
value: `0x${string}`;
|
|
2017
|
-
__kind: "
|
|
2017
|
+
__kind: "Ethereum";
|
|
2018
2018
|
}, {
|
|
2019
2019
|
value: string;
|
|
2020
2020
|
__kind: "Eth";
|
|
2021
2021
|
}>, z.ZodObject<{
|
|
2022
|
-
__kind: z.ZodLiteral<"Dot">;
|
|
2023
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2022
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Dot">, "Polkadot", "Dot">;
|
|
2023
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2024
2024
|
}, "strip", z.ZodTypeAny, {
|
|
2025
|
-
value:
|
|
2026
|
-
__kind: "
|
|
2025
|
+
value: string;
|
|
2026
|
+
__kind: "Polkadot";
|
|
2027
2027
|
}, {
|
|
2028
2028
|
value: string;
|
|
2029
2029
|
__kind: "Dot";
|
|
2030
2030
|
}>, z.ZodObject<{
|
|
2031
|
-
__kind: z.ZodLiteral<"Btc">;
|
|
2032
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2031
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Btc">, "Bitcoin", "Btc">;
|
|
2032
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2033
2033
|
}, "strip", z.ZodTypeAny, {
|
|
2034
|
-
value:
|
|
2035
|
-
__kind: "
|
|
2034
|
+
value: string;
|
|
2035
|
+
__kind: "Bitcoin";
|
|
2036
2036
|
}, {
|
|
2037
2037
|
value: string;
|
|
2038
2038
|
__kind: "Btc";
|
|
2039
2039
|
}>, z.ZodObject<{
|
|
2040
|
-
__kind: z.ZodLiteral<"Arb">;
|
|
2040
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Arb">, "Arbitrum", "Arb">;
|
|
2041
2041
|
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2042
2042
|
}, "strip", z.ZodTypeAny, {
|
|
2043
2043
|
value: `0x${string}`;
|
|
2044
|
-
__kind: "
|
|
2044
|
+
__kind: "Arbitrum";
|
|
2045
2045
|
}, {
|
|
2046
2046
|
value: string;
|
|
2047
2047
|
__kind: "Arb";
|
|
2048
2048
|
}>, z.ZodObject<{
|
|
2049
|
-
__kind: z.ZodLiteral<"Sol">;
|
|
2050
|
-
value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2049
|
+
__kind: z.ZodEffects<z.ZodLiteral<"Sol">, "Solana", "Sol">;
|
|
2050
|
+
value: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, string, string>;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
|
-
value:
|
|
2053
|
-
__kind: "
|
|
2052
|
+
value: string;
|
|
2053
|
+
__kind: "Solana";
|
|
2054
2054
|
}, {
|
|
2055
2055
|
value: string;
|
|
2056
2056
|
__kind: "Sol";
|
|
@@ -2061,19 +2061,19 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
|
|
|
2061
2061
|
__kind: "DepositChannel";
|
|
2062
2062
|
depositAddress: {
|
|
2063
2063
|
value: `0x${string}`;
|
|
2064
|
-
__kind: "
|
|
2064
|
+
__kind: "Ethereum";
|
|
2065
2065
|
} | {
|
|
2066
|
-
value:
|
|
2067
|
-
__kind: "
|
|
2066
|
+
value: string;
|
|
2067
|
+
__kind: "Polkadot";
|
|
2068
2068
|
} | {
|
|
2069
|
-
value:
|
|
2070
|
-
__kind: "
|
|
2069
|
+
value: string;
|
|
2070
|
+
__kind: "Bitcoin";
|
|
2071
2071
|
} | {
|
|
2072
2072
|
value: `0x${string}`;
|
|
2073
|
-
__kind: "
|
|
2073
|
+
__kind: "Arbitrum";
|
|
2074
2074
|
} | {
|
|
2075
|
-
value:
|
|
2076
|
-
__kind: "
|
|
2075
|
+
value: string;
|
|
2076
|
+
__kind: "Solana";
|
|
2077
2077
|
};
|
|
2078
2078
|
channelId: bigint;
|
|
2079
2079
|
depositBlockHeight: bigint;
|
package/dist/150/common.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// generated/150/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 palletCfEmissionsPalletSafeMode = z.object({ emissionsSyncEnabled: z.boolean() });
|
|
5
7
|
var palletCfFundingPalletSafeMode = z.object({ redeemEnabled: z.boolean() });
|
|
6
8
|
var palletCfSwappingPalletSafeMode = z.object({
|
|
@@ -116,11 +118,26 @@ var palletCfTokenholderGovernanceProposal = z.union([
|
|
|
116
118
|
z.object({ __kind: z.literal("SetCommunityKey"), value: hexString })
|
|
117
119
|
]);
|
|
118
120
|
var cfChainsAddressEncodedAddress = z.union([
|
|
119
|
-
z.object({
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
z.object({
|
|
121
|
+
z.object({
|
|
122
|
+
__kind: z.literal("Eth").transform(() => "Ethereum"),
|
|
123
|
+
value: hexString
|
|
124
|
+
}),
|
|
125
|
+
z.object({
|
|
126
|
+
__kind: z.literal("Dot").transform(() => "Polkadot"),
|
|
127
|
+
value: hexString.transform((value) => ss58.encode({ data: value, ss58Format: 0 }))
|
|
128
|
+
}),
|
|
129
|
+
z.object({
|
|
130
|
+
__kind: z.literal("Btc").transform(() => "Bitcoin"),
|
|
131
|
+
value: hexString.transform((value) => Buffer.from(value.slice(2), "hex").toString("utf8"))
|
|
132
|
+
}),
|
|
133
|
+
z.object({
|
|
134
|
+
__kind: z.literal("Arb").transform(() => "Arbitrum"),
|
|
135
|
+
value: hexString
|
|
136
|
+
}),
|
|
137
|
+
z.object({
|
|
138
|
+
__kind: z.literal("Sol").transform(() => "Solana"),
|
|
139
|
+
value: hexString.transform((value) => base58.encode(hexToBytes(value)))
|
|
140
|
+
})
|
|
124
141
|
]);
|
|
125
142
|
var cfPrimitivesChainsAssetsAnyAsset = simpleEnum([
|
|
126
143
|
"Eth",
|
|
@@ -141,7 +158,7 @@ var cfChainsCcmChannelMetadata = z.object({
|
|
|
141
158
|
var accountId = z.union([
|
|
142
159
|
hexString,
|
|
143
160
|
z.string().regex(/^[0-9a-f]+$/).transform((v) => `0x${v}`)
|
|
144
|
-
]).transform((value) => encode({ data: value, ss58Format: 2112 }));
|
|
161
|
+
]).transform((value) => ss58.encode({ data: value, ss58Format: 2112 }));
|
|
145
162
|
var cfPrimitivesBeneficiary = z.object({ account: accountId, bps: z.number() });
|
|
146
163
|
var cfChainsChannelRefundParametersEncodedAddress = z.object({
|
|
147
164
|
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
|
-
__kind: "Increase";
|
|
39
38
|
value: bigint;
|
|
40
|
-
}, {
|
|
41
39
|
__kind: "Increase";
|
|
40
|
+
}, {
|
|
42
41
|
value: string | number;
|
|
42
|
+
__kind: "Increase";
|
|
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
|
-
__kind: "Decrease";
|
|
48
47
|
value: bigint;
|
|
49
|
-
}, {
|
|
50
48
|
__kind: "Decrease";
|
|
49
|
+
}, {
|
|
51
50
|
value: string | number;
|
|
51
|
+
__kind: "Decrease";
|
|
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
|
-
__kind: "Increase";
|
|
68
67
|
value: bigint;
|
|
68
|
+
__kind: "Increase";
|
|
69
69
|
} | {
|
|
70
|
-
__kind: "Decrease";
|
|
71
70
|
value: bigint;
|
|
71
|
+
__kind: "Decrease";
|
|
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
|
-
__kind: "Increase";
|
|
91
90
|
value: string | number;
|
|
91
|
+
__kind: "Increase";
|
|
92
92
|
} | {
|
|
93
|
-
__kind: "Decrease";
|
|
94
93
|
value: string | number;
|
|
94
|
+
__kind: "Decrease";
|
|
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
|
-
__kind: "Increase";
|
|
39
38
|
value: bigint;
|
|
40
|
-
}, {
|
|
41
39
|
__kind: "Increase";
|
|
40
|
+
}, {
|
|
42
41
|
value: string | number;
|
|
42
|
+
__kind: "Increase";
|
|
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
|
-
__kind: "Decrease";
|
|
48
47
|
value: bigint;
|
|
49
|
-
}, {
|
|
50
48
|
__kind: "Decrease";
|
|
49
|
+
}, {
|
|
51
50
|
value: string | number;
|
|
51
|
+
__kind: "Decrease";
|
|
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
|
-
__kind: "Increase";
|
|
68
67
|
value: bigint;
|
|
68
|
+
__kind: "Increase";
|
|
69
69
|
} | {
|
|
70
|
-
__kind: "Decrease";
|
|
71
70
|
value: bigint;
|
|
71
|
+
__kind: "Decrease";
|
|
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
|
-
__kind: "Increase";
|
|
91
90
|
value: string | number;
|
|
91
|
+
__kind: "Increase";
|
|
92
92
|
} | {
|
|
93
|
-
__kind: "Decrease";
|
|
94
93
|
value: string | number;
|
|
94
|
+
__kind: "Decrease";
|
|
95
95
|
} | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
|