@chainflip/processor 1.8.7 → 1.9.0

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.
Files changed (181) hide show
  1. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  2. package/dist/100/bitcoinBroadcaster/transactionBroadcastRequest.d.ts +2 -2
  3. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.cts +16 -16
  4. package/dist/100/bitcoinIngressEgress/ccmEgressInvalid.d.ts +16 -16
  5. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  6. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.ts +2 -2
  7. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +24 -24
  8. package/dist/100/bitcoinIngressEgress/depositIgnored.d.ts +24 -24
  9. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +24 -24
  10. package/dist/100/bitcoinIngressEgress/depositReceived.d.ts +24 -24
  11. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +54 -54
  12. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.ts +54 -54
  13. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +20 -20
  14. package/dist/100/bitcoinIngressEgress/egressScheduled.d.ts +20 -20
  15. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +20 -20
  16. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.ts +20 -20
  17. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  18. package/dist/100/ethereumIngressEgress/depositIgnored.d.ts +2 -2
  19. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +2 -2
  20. package/dist/100/ethereumIngressEgress/depositReceived.d.ts +2 -2
  21. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +4 -4
  22. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.ts +4 -4
  23. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  24. package/dist/100/funding/boundExecutorAddress.d.ts +2 -2
  25. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  26. package/dist/100/funding/boundRedeemAddress.d.ts +2 -2
  27. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  28. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  29. package/dist/100/funding/funded.d.cts +2 -2
  30. package/dist/100/funding/funded.d.ts +2 -2
  31. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  32. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  33. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +8 -8
  34. package/dist/100/liquidityPools/rangeOrderUpdated.d.ts +8 -8
  35. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  36. package/dist/100/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  37. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
  38. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.ts +2 -2
  39. package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  40. package/dist/100/polkadotIngressEgress/depositIgnored.d.ts +2 -2
  41. package/dist/100/polkadotIngressEgress/depositReceived.d.cts +2 -2
  42. package/dist/100/polkadotIngressEgress/depositReceived.d.ts +2 -2
  43. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +20 -20
  44. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.ts +20 -20
  45. package/dist/131/environment/runtimeSafeModeUpdated.d.cts +28 -28
  46. package/dist/131/environment/runtimeSafeModeUpdated.d.ts +28 -28
  47. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +2 -2
  48. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +2 -2
  49. package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +2 -2
  50. package/dist/131/liquidityPools/rangeOrderUpdated.d.ts +2 -2
  51. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.cts +4 -4
  52. package/dist/141/polkadotIngressEgress/boostFundsAdded.d.ts +4 -4
  53. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +16 -16
  54. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.ts +16 -16
  55. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +4 -4
  56. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +4 -4
  57. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  58. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +4 -4
  59. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +3 -3
  60. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.ts +3 -3
  61. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.cts +2 -2
  62. package/dist/141/polkadotIngressEgress/stoppedBoosting.d.ts +2 -2
  63. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.cts +2 -2
  64. package/dist/150/solanaThresholdSigner/failureReportProcessed.d.ts +2 -2
  65. package/dist/150/solanaThresholdSigner/retryRequested.d.cts +2 -2
  66. package/dist/150/solanaThresholdSigner/retryRequested.d.ts +2 -2
  67. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  68. package/dist/150/solanaThresholdSigner/thresholdDispatchComplete.d.ts +2 -2
  69. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  70. package/dist/150/solanaThresholdSigner/thresholdSignatureFailed.d.ts +2 -2
  71. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  72. package/dist/150/solanaThresholdSigner/thresholdSignatureRequest.d.ts +2 -2
  73. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  74. package/dist/150/solanaThresholdSigner/thresholdSignatureSuccess.d.ts +2 -2
  75. package/dist/160/liquidityProvider/assetTransferred.d.cts +3 -3
  76. package/dist/160/liquidityProvider/assetTransferred.d.ts +3 -3
  77. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  78. package/dist/160/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  79. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.cts +61 -61
  80. package/dist/160/polkadotIngressEgress/ccmEgressInvalid.d.ts +61 -61
  81. package/dist/160/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  82. package/dist/160/polkadotIngressEgress/depositBoosted.d.ts +8 -8
  83. package/dist/160/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  84. package/dist/160/polkadotIngressEgress/depositFinalised.d.ts +2 -2
  85. package/dist/170/reputation/offencePenalty.d.cts +6 -6
  86. package/dist/170/reputation/offencePenalty.d.ts +6 -6
  87. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  88. package/dist/170/reputation/penaltyUpdated.d.ts +4 -4
  89. package/dist/170/swapping/minimumChunkSizeSet.d.cts +2 -2
  90. package/dist/170/swapping/minimumChunkSizeSet.d.ts +2 -2
  91. package/dist/170/swapping/swapRequested.d.cts +27 -27
  92. package/dist/170/swapping/swapRequested.d.ts +27 -27
  93. package/dist/180/swapping/privateBrokerChannelClosed.d.cts +2 -2
  94. package/dist/180/swapping/privateBrokerChannelClosed.d.ts +2 -2
  95. package/dist/180/swapping/privateBrokerChannelOpened.d.cts +2 -2
  96. package/dist/180/swapping/privateBrokerChannelOpened.d.ts +2 -2
  97. package/dist/180/swapping/swapDepositAddressReady.d.cts +2 -2
  98. package/dist/180/swapping/swapDepositAddressReady.d.ts +2 -2
  99. package/dist/180/swapping/swapRequested.d.cts +4 -4
  100. package/dist/180/swapping/swapRequested.d.ts +4 -4
  101. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.cjs +14 -0
  102. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.cts +532 -0
  103. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.d.ts +532 -0
  104. package/dist/190/arbitrumIngressEgress/ccmEgressInvalid.mjs +14 -0
  105. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  106. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  107. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  108. package/dist/190/arbitrumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  109. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.cjs +14 -0
  110. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.cts +532 -0
  111. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.d.ts +532 -0
  112. package/dist/190/bitcoinIngressEgress/ccmEgressInvalid.mjs +14 -0
  113. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  114. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  115. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  116. package/dist/190/bitcoinIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  117. package/dist/190/common.cjs +289 -0
  118. package/dist/190/common.d.cts +2696 -0
  119. package/dist/190/common.d.ts +2696 -0
  120. package/dist/190/common.mjs +289 -0
  121. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.cjs +14 -0
  122. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.cts +532 -0
  123. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.d.ts +532 -0
  124. package/dist/190/ethereumIngressEgress/ccmEgressInvalid.mjs +14 -0
  125. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  126. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  127. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  128. package/dist/190/ethereumIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  129. package/dist/190/liquidityPools/limitOrderUpdated.cjs +24 -0
  130. package/dist/190/liquidityPools/limitOrderUpdated.d.cts +98 -0
  131. package/dist/190/liquidityPools/limitOrderUpdated.d.ts +98 -0
  132. package/dist/190/liquidityPools/limitOrderUpdated.mjs +24 -0
  133. package/dist/190/liquidityPools/rangeOrderUpdated.cjs +22 -0
  134. package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +208 -0
  135. package/dist/190/liquidityPools/rangeOrderUpdated.d.ts +208 -0
  136. package/dist/190/liquidityPools/rangeOrderUpdated.mjs +22 -0
  137. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.cjs +14 -0
  138. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.cts +532 -0
  139. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.d.ts +532 -0
  140. package/dist/190/polkadotIngressEgress/ccmEgressInvalid.mjs +14 -0
  141. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  142. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  143. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  144. package/dist/190/polkadotIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  145. package/dist/190/solanaIngressEgress/ccmEgressInvalid.cjs +14 -0
  146. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.cts +532 -0
  147. package/dist/190/solanaIngressEgress/ccmEgressInvalid.d.ts +532 -0
  148. package/dist/190/solanaIngressEgress/ccmEgressInvalid.mjs +14 -0
  149. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.cjs +9 -0
  150. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +559 -0
  151. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.d.ts +559 -0
  152. package/dist/190/solanaIngressEgress/failedToBuildAllBatchCall.mjs +9 -0
  153. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.cjs +14 -0
  154. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.cts +313 -0
  155. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.d.ts +313 -0
  156. package/dist/190/solanaThresholdSigner/thresholdSignatureRequest.mjs +14 -0
  157. package/dist/190/swapping/creditedOnChain.cjs +12 -0
  158. package/dist/190/swapping/creditedOnChain.d.cts +30 -0
  159. package/dist/190/swapping/creditedOnChain.d.ts +30 -0
  160. package/dist/190/swapping/creditedOnChain.mjs +12 -0
  161. package/dist/190/swapping/refundedOnChain.cjs +12 -0
  162. package/dist/190/swapping/refundedOnChain.d.cts +30 -0
  163. package/dist/190/swapping/refundedOnChain.d.ts +30 -0
  164. package/dist/190/swapping/refundedOnChain.mjs +12 -0
  165. package/dist/190/swapping/swapRequested.cjs +25 -0
  166. package/dist/190/swapping/swapRequested.d.cts +851 -0
  167. package/dist/190/swapping/swapRequested.d.ts +851 -0
  168. package/dist/190/swapping/swapRequested.mjs +25 -0
  169. package/dist/190/tradingStrategy/fundsAddedToStrategy.cjs +10 -0
  170. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.cts +24 -0
  171. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.ts +24 -0
  172. package/dist/190/tradingStrategy/fundsAddedToStrategy.mjs +10 -0
  173. package/dist/190/tradingStrategy/strategyClosed.cjs +7 -0
  174. package/dist/190/tradingStrategy/strategyClosed.d.cts +11 -0
  175. package/dist/190/tradingStrategy/strategyClosed.d.ts +11 -0
  176. package/dist/190/tradingStrategy/strategyClosed.mjs +7 -0
  177. package/dist/190/tradingStrategy/strategyDeployed.cjs +11 -0
  178. package/dist/190/tradingStrategy/strategyDeployed.d.cts +54 -0
  179. package/dist/190/tradingStrategy/strategyDeployed.d.ts +54 -0
  180. package/dist/190/tradingStrategy/strategyDeployed.mjs +11 -0
  181. package/package.json +2 -2
@@ -0,0 +1,2696 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const numericString: z.ZodEffects<z.ZodString, string, string>;
4
+ declare const hexString: z.ZodEffects<z.ZodString, `0x${string}`, string>;
5
+ declare const numberOrHex: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
6
+ declare const simpleEnum: <U extends string, T extends readonly [U, ...U[]]>(values: T) => z.ZodEffects<z.ZodObject<{
7
+ __kind: z.ZodEnum<z.Writeable<T>>;
8
+ }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
9
+ __kind: z.ZodEnum<z.Writeable<T>>;
10
+ }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
11
+ __kind: z.ZodEnum<z.Writeable<T>>;
12
+ }>, any>[k]; } : never, z.baseObjectInputType<{
13
+ __kind: z.ZodEnum<z.Writeable<T>>;
14
+ }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
15
+ __kind: z.ZodEnum<z.Writeable<T>>;
16
+ }>[k_1]; } : never>, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
17
+ __kind: z.ZodEnum<z.Writeable<T>>;
18
+ }>, any>["__kind"], z.baseObjectInputType<{
19
+ __kind: z.ZodEnum<z.Writeable<T>>;
20
+ }> extends infer T_3 ? { [k_1 in keyof T_3]: z.baseObjectInputType<{
21
+ __kind: z.ZodEnum<z.Writeable<T>>;
22
+ }>[k_1]; } : never>;
23
+ declare const cfPrimitivesChainsAssetsAnyAsset: z.ZodEffects<z.ZodObject<{
24
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
27
+ }, {
28
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
29
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
30
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
31
+ }>;
32
+ declare const cfChainsAddressEncodedAddress: z.ZodEffects<z.ZodObject<{
33
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
34
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ value: `0x${string}`;
37
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
38
+ }, {
39
+ value: string;
40
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
41
+ }>, {
42
+ readonly chain: "Ethereum";
43
+ readonly address: `0x${string}`;
44
+ } | {
45
+ readonly chain: "Polkadot";
46
+ readonly address: string;
47
+ } | {
48
+ readonly chain: "Bitcoin";
49
+ readonly address: string;
50
+ } | {
51
+ readonly chain: "Arbitrum";
52
+ readonly address: `0x${string}`;
53
+ } | {
54
+ readonly chain: "Solana";
55
+ readonly address: string;
56
+ }, {
57
+ value: string;
58
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
59
+ }>;
60
+ declare const accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
61
+ declare const cfPrimitivesTxId: z.ZodObject<{
62
+ blockNumber: z.ZodNumber;
63
+ extrinsicIndex: z.ZodNumber;
64
+ }, "strip", z.ZodTypeAny, {
65
+ blockNumber: number;
66
+ extrinsicIndex: number;
67
+ }, {
68
+ blockNumber: number;
69
+ extrinsicIndex: number;
70
+ }>;
71
+ declare const cfChainsTransactionInIdForAnyChain: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
72
+ __kind: z.ZodLiteral<"Evm">;
73
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ value: `0x${string}`;
76
+ __kind: "Evm";
77
+ }, {
78
+ value: string;
79
+ __kind: "Evm";
80
+ }>, z.ZodObject<{
81
+ __kind: z.ZodLiteral<"Bitcoin">;
82
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ value: `0x${string}`;
85
+ __kind: "Bitcoin";
86
+ }, {
87
+ value: string;
88
+ __kind: "Bitcoin";
89
+ }>, z.ZodObject<{
90
+ __kind: z.ZodLiteral<"Polkadot">;
91
+ value: z.ZodObject<{
92
+ blockNumber: z.ZodNumber;
93
+ extrinsicIndex: z.ZodNumber;
94
+ }, "strip", z.ZodTypeAny, {
95
+ blockNumber: number;
96
+ extrinsicIndex: number;
97
+ }, {
98
+ blockNumber: number;
99
+ extrinsicIndex: number;
100
+ }>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ value: {
103
+ blockNumber: number;
104
+ extrinsicIndex: number;
105
+ };
106
+ __kind: "Polkadot";
107
+ }, {
108
+ value: {
109
+ blockNumber: number;
110
+ extrinsicIndex: number;
111
+ };
112
+ __kind: "Polkadot";
113
+ }>, z.ZodObject<{
114
+ __kind: z.ZodLiteral<"Solana">;
115
+ value: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ value: [`0x${string}`, bigint];
118
+ __kind: "Solana";
119
+ }, {
120
+ value: [string, string | number];
121
+ __kind: "Solana";
122
+ }>, z.ZodObject<{
123
+ __kind: z.ZodLiteral<"None">;
124
+ }, "strip", z.ZodTypeAny, {
125
+ __kind: "None";
126
+ }, {
127
+ __kind: "None";
128
+ }>]>;
129
+ declare const cfChainsSwapOrigin: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
130
+ __kind: z.ZodLiteral<"DepositChannel">;
131
+ depositAddress: z.ZodEffects<z.ZodObject<{
132
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
133
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ value: `0x${string}`;
136
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
137
+ }, {
138
+ value: string;
139
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
140
+ }>, {
141
+ readonly chain: "Ethereum";
142
+ readonly address: `0x${string}`;
143
+ } | {
144
+ readonly chain: "Polkadot";
145
+ readonly address: string;
146
+ } | {
147
+ readonly chain: "Bitcoin";
148
+ readonly address: string;
149
+ } | {
150
+ readonly chain: "Arbitrum";
151
+ readonly address: `0x${string}`;
152
+ } | {
153
+ readonly chain: "Solana";
154
+ readonly address: string;
155
+ }, {
156
+ value: string;
157
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
158
+ }>;
159
+ channelId: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
160
+ depositBlockHeight: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
161
+ brokerId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ __kind: "DepositChannel";
164
+ depositAddress: {
165
+ readonly chain: "Ethereum";
166
+ readonly address: `0x${string}`;
167
+ } | {
168
+ readonly chain: "Polkadot";
169
+ readonly address: string;
170
+ } | {
171
+ readonly chain: "Bitcoin";
172
+ readonly address: string;
173
+ } | {
174
+ readonly chain: "Arbitrum";
175
+ readonly address: `0x${string}`;
176
+ } | {
177
+ readonly chain: "Solana";
178
+ readonly address: string;
179
+ };
180
+ channelId: bigint;
181
+ depositBlockHeight: bigint;
182
+ brokerId: string;
183
+ }, {
184
+ __kind: "DepositChannel";
185
+ depositAddress: {
186
+ value: string;
187
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
188
+ };
189
+ channelId: string | number;
190
+ depositBlockHeight: string | number;
191
+ brokerId: string;
192
+ }>, z.ZodObject<{
193
+ __kind: z.ZodLiteral<"Vault">;
194
+ txId: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
195
+ __kind: z.ZodLiteral<"Evm">;
196
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ value: `0x${string}`;
199
+ __kind: "Evm";
200
+ }, {
201
+ value: string;
202
+ __kind: "Evm";
203
+ }>, z.ZodObject<{
204
+ __kind: z.ZodLiteral<"Bitcoin">;
205
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ value: `0x${string}`;
208
+ __kind: "Bitcoin";
209
+ }, {
210
+ value: string;
211
+ __kind: "Bitcoin";
212
+ }>, z.ZodObject<{
213
+ __kind: z.ZodLiteral<"Polkadot">;
214
+ value: z.ZodObject<{
215
+ blockNumber: z.ZodNumber;
216
+ extrinsicIndex: z.ZodNumber;
217
+ }, "strip", z.ZodTypeAny, {
218
+ blockNumber: number;
219
+ extrinsicIndex: number;
220
+ }, {
221
+ blockNumber: number;
222
+ extrinsicIndex: number;
223
+ }>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ value: {
226
+ blockNumber: number;
227
+ extrinsicIndex: number;
228
+ };
229
+ __kind: "Polkadot";
230
+ }, {
231
+ value: {
232
+ blockNumber: number;
233
+ extrinsicIndex: number;
234
+ };
235
+ __kind: "Polkadot";
236
+ }>, z.ZodObject<{
237
+ __kind: z.ZodLiteral<"Solana">;
238
+ value: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>], null>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ value: [`0x${string}`, bigint];
241
+ __kind: "Solana";
242
+ }, {
243
+ value: [string, string | number];
244
+ __kind: "Solana";
245
+ }>, z.ZodObject<{
246
+ __kind: z.ZodLiteral<"None">;
247
+ }, "strip", z.ZodTypeAny, {
248
+ __kind: "None";
249
+ }, {
250
+ __kind: "None";
251
+ }>]>;
252
+ brokerId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ __kind: "Vault";
255
+ txId: {
256
+ value: `0x${string}`;
257
+ __kind: "Evm";
258
+ } | {
259
+ value: `0x${string}`;
260
+ __kind: "Bitcoin";
261
+ } | {
262
+ value: {
263
+ blockNumber: number;
264
+ extrinsicIndex: number;
265
+ };
266
+ __kind: "Polkadot";
267
+ } | {
268
+ value: [`0x${string}`, bigint];
269
+ __kind: "Solana";
270
+ } | {
271
+ __kind: "None";
272
+ };
273
+ brokerId?: string | null | undefined;
274
+ }, {
275
+ __kind: "Vault";
276
+ txId: {
277
+ value: string;
278
+ __kind: "Evm";
279
+ } | {
280
+ value: string;
281
+ __kind: "Bitcoin";
282
+ } | {
283
+ value: {
284
+ blockNumber: number;
285
+ extrinsicIndex: number;
286
+ };
287
+ __kind: "Polkadot";
288
+ } | {
289
+ value: [string, string | number];
290
+ __kind: "Solana";
291
+ } | {
292
+ __kind: "None";
293
+ };
294
+ brokerId?: string | null | undefined;
295
+ }>, z.ZodObject<{
296
+ __kind: z.ZodLiteral<"Internal">;
297
+ }, "strip", z.ZodTypeAny, {
298
+ __kind: "Internal";
299
+ }, {
300
+ __kind: "Internal";
301
+ }>, z.ZodObject<{
302
+ __kind: z.ZodLiteral<"OnChainAccount">;
303
+ value: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ value: string;
306
+ __kind: "OnChainAccount";
307
+ }, {
308
+ value: string;
309
+ __kind: "OnChainAccount";
310
+ }>]>;
311
+ declare const cfChainsCcmChannelMetadata: z.ZodObject<{
312
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
313
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
314
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ message: `0x${string}`;
317
+ gasBudget: bigint;
318
+ ccmAdditionalData: `0x${string}`;
319
+ }, {
320
+ message: string;
321
+ gasBudget: string | number;
322
+ ccmAdditionalData: string;
323
+ }>;
324
+ declare const cfPrimitivesChainsForeignChain: z.ZodEffects<z.ZodObject<{
325
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
328
+ }, {
329
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
330
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
331
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
332
+ }>;
333
+ declare const cfChainsCcmDepositMetadataGenericEncodedAddress: z.ZodObject<{
334
+ channelMetadata: z.ZodObject<{
335
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
336
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
337
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ message: `0x${string}`;
340
+ gasBudget: bigint;
341
+ ccmAdditionalData: `0x${string}`;
342
+ }, {
343
+ message: string;
344
+ gasBudget: string | number;
345
+ ccmAdditionalData: string;
346
+ }>;
347
+ sourceChain: z.ZodEffects<z.ZodObject<{
348
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
351
+ }, {
352
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
353
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
354
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
355
+ }>;
356
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
357
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
358
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ value: `0x${string}`;
361
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
362
+ }, {
363
+ value: string;
364
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
365
+ }>, {
366
+ readonly chain: "Ethereum";
367
+ readonly address: `0x${string}`;
368
+ } | {
369
+ readonly chain: "Polkadot";
370
+ readonly address: string;
371
+ } | {
372
+ readonly chain: "Bitcoin";
373
+ readonly address: string;
374
+ } | {
375
+ readonly chain: "Arbitrum";
376
+ readonly address: `0x${string}`;
377
+ } | {
378
+ readonly chain: "Solana";
379
+ readonly address: string;
380
+ }, {
381
+ value: string;
382
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
383
+ }>>>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ channelMetadata: {
386
+ message: `0x${string}`;
387
+ gasBudget: bigint;
388
+ ccmAdditionalData: `0x${string}`;
389
+ };
390
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
391
+ sourceAddress?: {
392
+ readonly chain: "Ethereum";
393
+ readonly address: `0x${string}`;
394
+ } | {
395
+ readonly chain: "Polkadot";
396
+ readonly address: string;
397
+ } | {
398
+ readonly chain: "Bitcoin";
399
+ readonly address: string;
400
+ } | {
401
+ readonly chain: "Arbitrum";
402
+ readonly address: `0x${string}`;
403
+ } | {
404
+ readonly chain: "Solana";
405
+ readonly address: string;
406
+ } | null | undefined;
407
+ }, {
408
+ channelMetadata: {
409
+ message: string;
410
+ gasBudget: string | number;
411
+ ccmAdditionalData: string;
412
+ };
413
+ sourceChain: {
414
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
415
+ };
416
+ sourceAddress?: {
417
+ value: string;
418
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
419
+ } | null | undefined;
420
+ }>;
421
+ declare const cfTraitsSwappingSwapOutputActionGenericEncodedAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
422
+ __kind: z.ZodLiteral<"Egress">;
423
+ ccmDepositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
424
+ channelMetadata: z.ZodObject<{
425
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
426
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
427
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ message: `0x${string}`;
430
+ gasBudget: bigint;
431
+ ccmAdditionalData: `0x${string}`;
432
+ }, {
433
+ message: string;
434
+ gasBudget: string | number;
435
+ ccmAdditionalData: string;
436
+ }>;
437
+ sourceChain: z.ZodEffects<z.ZodObject<{
438
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
441
+ }, {
442
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
443
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
444
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
445
+ }>;
446
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
447
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
448
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ value: `0x${string}`;
451
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
452
+ }, {
453
+ value: string;
454
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
455
+ }>, {
456
+ readonly chain: "Ethereum";
457
+ readonly address: `0x${string}`;
458
+ } | {
459
+ readonly chain: "Polkadot";
460
+ readonly address: string;
461
+ } | {
462
+ readonly chain: "Bitcoin";
463
+ readonly address: string;
464
+ } | {
465
+ readonly chain: "Arbitrum";
466
+ readonly address: `0x${string}`;
467
+ } | {
468
+ readonly chain: "Solana";
469
+ readonly address: string;
470
+ }, {
471
+ value: string;
472
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
473
+ }>>>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ channelMetadata: {
476
+ message: `0x${string}`;
477
+ gasBudget: bigint;
478
+ ccmAdditionalData: `0x${string}`;
479
+ };
480
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
481
+ sourceAddress?: {
482
+ readonly chain: "Ethereum";
483
+ readonly address: `0x${string}`;
484
+ } | {
485
+ readonly chain: "Polkadot";
486
+ readonly address: string;
487
+ } | {
488
+ readonly chain: "Bitcoin";
489
+ readonly address: string;
490
+ } | {
491
+ readonly chain: "Arbitrum";
492
+ readonly address: `0x${string}`;
493
+ } | {
494
+ readonly chain: "Solana";
495
+ readonly address: string;
496
+ } | null | undefined;
497
+ }, {
498
+ channelMetadata: {
499
+ message: string;
500
+ gasBudget: string | number;
501
+ ccmAdditionalData: string;
502
+ };
503
+ sourceChain: {
504
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
505
+ };
506
+ sourceAddress?: {
507
+ value: string;
508
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
509
+ } | null | undefined;
510
+ }>>>;
511
+ outputAddress: z.ZodEffects<z.ZodObject<{
512
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
513
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ value: `0x${string}`;
516
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
517
+ }, {
518
+ value: string;
519
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
520
+ }>, {
521
+ readonly chain: "Ethereum";
522
+ readonly address: `0x${string}`;
523
+ } | {
524
+ readonly chain: "Polkadot";
525
+ readonly address: string;
526
+ } | {
527
+ readonly chain: "Bitcoin";
528
+ readonly address: string;
529
+ } | {
530
+ readonly chain: "Arbitrum";
531
+ readonly address: `0x${string}`;
532
+ } | {
533
+ readonly chain: "Solana";
534
+ readonly address: string;
535
+ }, {
536
+ value: string;
537
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
538
+ }>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ __kind: "Egress";
541
+ outputAddress: {
542
+ readonly chain: "Ethereum";
543
+ readonly address: `0x${string}`;
544
+ } | {
545
+ readonly chain: "Polkadot";
546
+ readonly address: string;
547
+ } | {
548
+ readonly chain: "Bitcoin";
549
+ readonly address: string;
550
+ } | {
551
+ readonly chain: "Arbitrum";
552
+ readonly address: `0x${string}`;
553
+ } | {
554
+ readonly chain: "Solana";
555
+ readonly address: string;
556
+ };
557
+ ccmDepositMetadata?: {
558
+ channelMetadata: {
559
+ message: `0x${string}`;
560
+ gasBudget: bigint;
561
+ ccmAdditionalData: `0x${string}`;
562
+ };
563
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
564
+ sourceAddress?: {
565
+ readonly chain: "Ethereum";
566
+ readonly address: `0x${string}`;
567
+ } | {
568
+ readonly chain: "Polkadot";
569
+ readonly address: string;
570
+ } | {
571
+ readonly chain: "Bitcoin";
572
+ readonly address: string;
573
+ } | {
574
+ readonly chain: "Arbitrum";
575
+ readonly address: `0x${string}`;
576
+ } | {
577
+ readonly chain: "Solana";
578
+ readonly address: string;
579
+ } | null | undefined;
580
+ } | null | undefined;
581
+ }, {
582
+ __kind: "Egress";
583
+ outputAddress: {
584
+ value: string;
585
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
586
+ };
587
+ ccmDepositMetadata?: {
588
+ channelMetadata: {
589
+ message: string;
590
+ gasBudget: string | number;
591
+ ccmAdditionalData: string;
592
+ };
593
+ sourceChain: {
594
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
595
+ };
596
+ sourceAddress?: {
597
+ value: string;
598
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
599
+ } | null | undefined;
600
+ } | null | undefined;
601
+ }>, z.ZodObject<{
602
+ __kind: z.ZodLiteral<"CreditOnChain">;
603
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ __kind: "CreditOnChain";
606
+ accountId: string;
607
+ }, {
608
+ __kind: "CreditOnChain";
609
+ accountId: string;
610
+ }>]>;
611
+ declare const cfTraitsSwappingSwapRequestTypeGeneric: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
612
+ __kind: z.ZodLiteral<"NetworkFee">;
613
+ }, "strip", z.ZodTypeAny, {
614
+ __kind: "NetworkFee";
615
+ }, {
616
+ __kind: "NetworkFee";
617
+ }>, z.ZodObject<{
618
+ __kind: z.ZodLiteral<"IngressEgressFee">;
619
+ }, "strip", z.ZodTypeAny, {
620
+ __kind: "IngressEgressFee";
621
+ }, {
622
+ __kind: "IngressEgressFee";
623
+ }>, z.ZodObject<{
624
+ __kind: z.ZodLiteral<"Regular">;
625
+ outputAction: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
626
+ __kind: z.ZodLiteral<"Egress">;
627
+ ccmDepositMetadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
628
+ channelMetadata: z.ZodObject<{
629
+ message: z.ZodEffects<z.ZodString, `0x${string}`, string>;
630
+ gasBudget: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
631
+ ccmAdditionalData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ message: `0x${string}`;
634
+ gasBudget: bigint;
635
+ ccmAdditionalData: `0x${string}`;
636
+ }, {
637
+ message: string;
638
+ gasBudget: string | number;
639
+ ccmAdditionalData: string;
640
+ }>;
641
+ sourceChain: z.ZodEffects<z.ZodObject<{
642
+ __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin", "Arbitrum", "Solana"]>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
645
+ }, {
646
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
647
+ }>, "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana", {
648
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
649
+ }>;
650
+ sourceAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
651
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
652
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ value: `0x${string}`;
655
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
656
+ }, {
657
+ value: string;
658
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
659
+ }>, {
660
+ readonly chain: "Ethereum";
661
+ readonly address: `0x${string}`;
662
+ } | {
663
+ readonly chain: "Polkadot";
664
+ readonly address: string;
665
+ } | {
666
+ readonly chain: "Bitcoin";
667
+ readonly address: string;
668
+ } | {
669
+ readonly chain: "Arbitrum";
670
+ readonly address: `0x${string}`;
671
+ } | {
672
+ readonly chain: "Solana";
673
+ readonly address: string;
674
+ }, {
675
+ value: string;
676
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
677
+ }>>>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ channelMetadata: {
680
+ message: `0x${string}`;
681
+ gasBudget: bigint;
682
+ ccmAdditionalData: `0x${string}`;
683
+ };
684
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
685
+ sourceAddress?: {
686
+ readonly chain: "Ethereum";
687
+ readonly address: `0x${string}`;
688
+ } | {
689
+ readonly chain: "Polkadot";
690
+ readonly address: string;
691
+ } | {
692
+ readonly chain: "Bitcoin";
693
+ readonly address: string;
694
+ } | {
695
+ readonly chain: "Arbitrum";
696
+ readonly address: `0x${string}`;
697
+ } | {
698
+ readonly chain: "Solana";
699
+ readonly address: string;
700
+ } | null | undefined;
701
+ }, {
702
+ channelMetadata: {
703
+ message: string;
704
+ gasBudget: string | number;
705
+ ccmAdditionalData: string;
706
+ };
707
+ sourceChain: {
708
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
709
+ };
710
+ sourceAddress?: {
711
+ value: string;
712
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
713
+ } | null | undefined;
714
+ }>>>;
715
+ outputAddress: z.ZodEffects<z.ZodObject<{
716
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
717
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ value: `0x${string}`;
720
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
721
+ }, {
722
+ value: string;
723
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
724
+ }>, {
725
+ readonly chain: "Ethereum";
726
+ readonly address: `0x${string}`;
727
+ } | {
728
+ readonly chain: "Polkadot";
729
+ readonly address: string;
730
+ } | {
731
+ readonly chain: "Bitcoin";
732
+ readonly address: string;
733
+ } | {
734
+ readonly chain: "Arbitrum";
735
+ readonly address: `0x${string}`;
736
+ } | {
737
+ readonly chain: "Solana";
738
+ readonly address: string;
739
+ }, {
740
+ value: string;
741
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
742
+ }>;
743
+ }, "strip", z.ZodTypeAny, {
744
+ __kind: "Egress";
745
+ outputAddress: {
746
+ readonly chain: "Ethereum";
747
+ readonly address: `0x${string}`;
748
+ } | {
749
+ readonly chain: "Polkadot";
750
+ readonly address: string;
751
+ } | {
752
+ readonly chain: "Bitcoin";
753
+ readonly address: string;
754
+ } | {
755
+ readonly chain: "Arbitrum";
756
+ readonly address: `0x${string}`;
757
+ } | {
758
+ readonly chain: "Solana";
759
+ readonly address: string;
760
+ };
761
+ ccmDepositMetadata?: {
762
+ channelMetadata: {
763
+ message: `0x${string}`;
764
+ gasBudget: bigint;
765
+ ccmAdditionalData: `0x${string}`;
766
+ };
767
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
768
+ sourceAddress?: {
769
+ readonly chain: "Ethereum";
770
+ readonly address: `0x${string}`;
771
+ } | {
772
+ readonly chain: "Polkadot";
773
+ readonly address: string;
774
+ } | {
775
+ readonly chain: "Bitcoin";
776
+ readonly address: string;
777
+ } | {
778
+ readonly chain: "Arbitrum";
779
+ readonly address: `0x${string}`;
780
+ } | {
781
+ readonly chain: "Solana";
782
+ readonly address: string;
783
+ } | null | undefined;
784
+ } | null | undefined;
785
+ }, {
786
+ __kind: "Egress";
787
+ outputAddress: {
788
+ value: string;
789
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
790
+ };
791
+ ccmDepositMetadata?: {
792
+ channelMetadata: {
793
+ message: string;
794
+ gasBudget: string | number;
795
+ ccmAdditionalData: string;
796
+ };
797
+ sourceChain: {
798
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
799
+ };
800
+ sourceAddress?: {
801
+ value: string;
802
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
803
+ } | null | undefined;
804
+ } | null | undefined;
805
+ }>, z.ZodObject<{
806
+ __kind: z.ZodLiteral<"CreditOnChain">;
807
+ accountId: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ __kind: "CreditOnChain";
810
+ accountId: string;
811
+ }, {
812
+ __kind: "CreditOnChain";
813
+ accountId: string;
814
+ }>]>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ __kind: "Regular";
817
+ outputAction: {
818
+ __kind: "Egress";
819
+ outputAddress: {
820
+ readonly chain: "Ethereum";
821
+ readonly address: `0x${string}`;
822
+ } | {
823
+ readonly chain: "Polkadot";
824
+ readonly address: string;
825
+ } | {
826
+ readonly chain: "Bitcoin";
827
+ readonly address: string;
828
+ } | {
829
+ readonly chain: "Arbitrum";
830
+ readonly address: `0x${string}`;
831
+ } | {
832
+ readonly chain: "Solana";
833
+ readonly address: string;
834
+ };
835
+ ccmDepositMetadata?: {
836
+ channelMetadata: {
837
+ message: `0x${string}`;
838
+ gasBudget: bigint;
839
+ ccmAdditionalData: `0x${string}`;
840
+ };
841
+ sourceChain: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
842
+ sourceAddress?: {
843
+ readonly chain: "Ethereum";
844
+ readonly address: `0x${string}`;
845
+ } | {
846
+ readonly chain: "Polkadot";
847
+ readonly address: string;
848
+ } | {
849
+ readonly chain: "Bitcoin";
850
+ readonly address: string;
851
+ } | {
852
+ readonly chain: "Arbitrum";
853
+ readonly address: `0x${string}`;
854
+ } | {
855
+ readonly chain: "Solana";
856
+ readonly address: string;
857
+ } | null | undefined;
858
+ } | null | undefined;
859
+ } | {
860
+ __kind: "CreditOnChain";
861
+ accountId: string;
862
+ };
863
+ }, {
864
+ __kind: "Regular";
865
+ outputAction: {
866
+ __kind: "Egress";
867
+ outputAddress: {
868
+ value: string;
869
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
870
+ };
871
+ ccmDepositMetadata?: {
872
+ channelMetadata: {
873
+ message: string;
874
+ gasBudget: string | number;
875
+ ccmAdditionalData: string;
876
+ };
877
+ sourceChain: {
878
+ __kind: "Ethereum" | "Polkadot" | "Bitcoin" | "Arbitrum" | "Solana";
879
+ };
880
+ sourceAddress?: {
881
+ value: string;
882
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
883
+ } | null | undefined;
884
+ } | null | undefined;
885
+ } | {
886
+ __kind: "CreditOnChain";
887
+ accountId: string;
888
+ };
889
+ }>]>;
890
+ declare const cfPrimitivesBeneficiaryAccountId32: z.ZodObject<{
891
+ account: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
892
+ bps: z.ZodNumber;
893
+ }, "strip", z.ZodTypeAny, {
894
+ account: string;
895
+ bps: number;
896
+ }, {
897
+ account: string;
898
+ bps: number;
899
+ }>;
900
+ declare const cfChainsAccountOrAddressEncodedAddress: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
901
+ __kind: z.ZodLiteral<"InternalAccount">;
902
+ value: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
903
+ }, "strip", z.ZodTypeAny, {
904
+ value: string;
905
+ __kind: "InternalAccount";
906
+ }, {
907
+ value: string;
908
+ __kind: "InternalAccount";
909
+ }>, z.ZodObject<{
910
+ __kind: z.ZodLiteral<"ExternalAddress">;
911
+ value: z.ZodEffects<z.ZodObject<{
912
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
913
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
914
+ }, "strip", z.ZodTypeAny, {
915
+ value: `0x${string}`;
916
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
917
+ }, {
918
+ value: string;
919
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
920
+ }>, {
921
+ readonly chain: "Ethereum";
922
+ readonly address: `0x${string}`;
923
+ } | {
924
+ readonly chain: "Polkadot";
925
+ readonly address: string;
926
+ } | {
927
+ readonly chain: "Bitcoin";
928
+ readonly address: string;
929
+ } | {
930
+ readonly chain: "Arbitrum";
931
+ readonly address: `0x${string}`;
932
+ } | {
933
+ readonly chain: "Solana";
934
+ readonly address: string;
935
+ }, {
936
+ value: string;
937
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
938
+ }>;
939
+ }, "strip", z.ZodTypeAny, {
940
+ value: {
941
+ readonly chain: "Ethereum";
942
+ readonly address: `0x${string}`;
943
+ } | {
944
+ readonly chain: "Polkadot";
945
+ readonly address: string;
946
+ } | {
947
+ readonly chain: "Bitcoin";
948
+ readonly address: string;
949
+ } | {
950
+ readonly chain: "Arbitrum";
951
+ readonly address: `0x${string}`;
952
+ } | {
953
+ readonly chain: "Solana";
954
+ readonly address: string;
955
+ };
956
+ __kind: "ExternalAddress";
957
+ }, {
958
+ value: {
959
+ value: string;
960
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
961
+ };
962
+ __kind: "ExternalAddress";
963
+ }>]>;
964
+ declare const cfChainsRefundParametersExtendedGenericEncodedAddress: z.ZodObject<{
965
+ retryDuration: z.ZodNumber;
966
+ refundDestination: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
967
+ __kind: z.ZodLiteral<"InternalAccount">;
968
+ value: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>]>, string, string>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ value: string;
971
+ __kind: "InternalAccount";
972
+ }, {
973
+ value: string;
974
+ __kind: "InternalAccount";
975
+ }>, z.ZodObject<{
976
+ __kind: z.ZodLiteral<"ExternalAddress">;
977
+ value: z.ZodEffects<z.ZodObject<{
978
+ __kind: z.ZodEnum<["Eth", "Dot", "Btc", "Arb", "Sol"]>;
979
+ value: z.ZodEffects<z.ZodString, `0x${string}`, string>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ value: `0x${string}`;
982
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
983
+ }, {
984
+ value: string;
985
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
986
+ }>, {
987
+ readonly chain: "Ethereum";
988
+ readonly address: `0x${string}`;
989
+ } | {
990
+ readonly chain: "Polkadot";
991
+ readonly address: string;
992
+ } | {
993
+ readonly chain: "Bitcoin";
994
+ readonly address: string;
995
+ } | {
996
+ readonly chain: "Arbitrum";
997
+ readonly address: `0x${string}`;
998
+ } | {
999
+ readonly chain: "Solana";
1000
+ readonly address: string;
1001
+ }, {
1002
+ value: string;
1003
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
1004
+ }>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ value: {
1007
+ readonly chain: "Ethereum";
1008
+ readonly address: `0x${string}`;
1009
+ } | {
1010
+ readonly chain: "Polkadot";
1011
+ readonly address: string;
1012
+ } | {
1013
+ readonly chain: "Bitcoin";
1014
+ readonly address: string;
1015
+ } | {
1016
+ readonly chain: "Arbitrum";
1017
+ readonly address: `0x${string}`;
1018
+ } | {
1019
+ readonly chain: "Solana";
1020
+ readonly address: string;
1021
+ };
1022
+ __kind: "ExternalAddress";
1023
+ }, {
1024
+ value: {
1025
+ value: string;
1026
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
1027
+ };
1028
+ __kind: "ExternalAddress";
1029
+ }>]>;
1030
+ minPrice: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ retryDuration: number;
1033
+ refundDestination: {
1034
+ value: string;
1035
+ __kind: "InternalAccount";
1036
+ } | {
1037
+ value: {
1038
+ readonly chain: "Ethereum";
1039
+ readonly address: `0x${string}`;
1040
+ } | {
1041
+ readonly chain: "Polkadot";
1042
+ readonly address: string;
1043
+ } | {
1044
+ readonly chain: "Bitcoin";
1045
+ readonly address: string;
1046
+ } | {
1047
+ readonly chain: "Arbitrum";
1048
+ readonly address: `0x${string}`;
1049
+ } | {
1050
+ readonly chain: "Solana";
1051
+ readonly address: string;
1052
+ };
1053
+ __kind: "ExternalAddress";
1054
+ };
1055
+ minPrice: bigint;
1056
+ }, {
1057
+ retryDuration: number;
1058
+ refundDestination: {
1059
+ value: string;
1060
+ __kind: "InternalAccount";
1061
+ } | {
1062
+ value: {
1063
+ value: string;
1064
+ __kind: "Eth" | "Dot" | "Btc" | "Sol" | "Arb";
1065
+ };
1066
+ __kind: "ExternalAddress";
1067
+ };
1068
+ minPrice: string | number;
1069
+ }>;
1070
+ declare const cfPrimitivesDcaParameters: z.ZodObject<{
1071
+ numberOfChunks: z.ZodNumber;
1072
+ chunkInterval: z.ZodNumber;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ numberOfChunks: number;
1075
+ chunkInterval: number;
1076
+ }, {
1077
+ numberOfChunks: number;
1078
+ chunkInterval: number;
1079
+ }>;
1080
+ declare const solPrimPdaPdaError: z.ZodEffects<z.ZodObject<{
1081
+ __kind: z.ZodEnum<["NotAValidPoint", "TooManySeeds", "SeedTooLarge", "BumpSeedBadLuck"]>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1084
+ }, {
1085
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1086
+ }>, "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck", {
1087
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1088
+ }>;
1089
+ declare const cfChainsCcmCheckerCcmValidityError: z.ZodEffects<z.ZodObject<{
1090
+ __kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts", "RedundantDataSupplied", "InvalidDestinationAddress", "TooManyAddressLookupTables"]>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1093
+ }, {
1094
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1095
+ }>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables", {
1096
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1097
+ }>;
1098
+ declare const cfChainsSolApiSolanaTransactionBuildingError: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1099
+ __kind: z.ZodLiteral<"CannotLookupApiEnvironment">;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ __kind: "CannotLookupApiEnvironment";
1102
+ }, {
1103
+ __kind: "CannotLookupApiEnvironment";
1104
+ }>, z.ZodObject<{
1105
+ __kind: z.ZodLiteral<"CannotLookupCurrentAggKey">;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ __kind: "CannotLookupCurrentAggKey";
1108
+ }, {
1109
+ __kind: "CannotLookupCurrentAggKey";
1110
+ }>, z.ZodObject<{
1111
+ __kind: z.ZodLiteral<"CannotLookupComputePrice">;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ __kind: "CannotLookupComputePrice";
1114
+ }, {
1115
+ __kind: "CannotLookupComputePrice";
1116
+ }>, z.ZodObject<{
1117
+ __kind: z.ZodLiteral<"NoNonceAccountsSet">;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ __kind: "NoNonceAccountsSet";
1120
+ }, {
1121
+ __kind: "NoNonceAccountsSet";
1122
+ }>, z.ZodObject<{
1123
+ __kind: z.ZodLiteral<"NoAvailableNonceAccount">;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ __kind: "NoAvailableNonceAccount";
1126
+ }, {
1127
+ __kind: "NoAvailableNonceAccount";
1128
+ }>, z.ZodObject<{
1129
+ __kind: z.ZodLiteral<"FailedToDeriveAddress">;
1130
+ value: z.ZodEffects<z.ZodObject<{
1131
+ __kind: z.ZodEnum<["NotAValidPoint", "TooManySeeds", "SeedTooLarge", "BumpSeedBadLuck"]>;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1134
+ }, {
1135
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1136
+ }>, "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck", {
1137
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1138
+ }>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1141
+ __kind: "FailedToDeriveAddress";
1142
+ }, {
1143
+ value: {
1144
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1145
+ };
1146
+ __kind: "FailedToDeriveAddress";
1147
+ }>, z.ZodObject<{
1148
+ __kind: z.ZodLiteral<"InvalidCcm">;
1149
+ value: z.ZodEffects<z.ZodObject<{
1150
+ __kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts", "RedundantDataSupplied", "InvalidDestinationAddress", "TooManyAddressLookupTables"]>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1153
+ }, {
1154
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1155
+ }>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables", {
1156
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1157
+ }>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1160
+ __kind: "InvalidCcm";
1161
+ }, {
1162
+ value: {
1163
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1164
+ };
1165
+ __kind: "InvalidCcm";
1166
+ }>, z.ZodObject<{
1167
+ __kind: z.ZodLiteral<"FailedToSerializeFinalTransaction">;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ __kind: "FailedToSerializeFinalTransaction";
1170
+ }, {
1171
+ __kind: "FailedToSerializeFinalTransaction";
1172
+ }>, z.ZodObject<{
1173
+ __kind: z.ZodLiteral<"FinalTransactionExceededMaxLength">;
1174
+ value: z.ZodNumber;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ value: number;
1177
+ __kind: "FinalTransactionExceededMaxLength";
1178
+ }, {
1179
+ value: number;
1180
+ __kind: "FinalTransactionExceededMaxLength";
1181
+ }>]>;
1182
+ declare const spRuntimeModuleError: z.ZodObject<{
1183
+ index: z.ZodNumber;
1184
+ error: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ index: number;
1187
+ error: `0x${string}`;
1188
+ }, {
1189
+ index: number;
1190
+ error: string;
1191
+ }>;
1192
+ declare const spRuntimeTokenError: z.ZodEffects<z.ZodObject<{
1193
+ __kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1196
+ }, {
1197
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1198
+ }>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
1199
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1200
+ }>;
1201
+ declare const spArithmeticArithmeticError: z.ZodEffects<z.ZodObject<{
1202
+ __kind: z.ZodEnum<["Underflow", "Overflow", "DivisionByZero"]>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1205
+ }, {
1206
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1207
+ }>, "Underflow" | "Overflow" | "DivisionByZero", {
1208
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1209
+ }>;
1210
+ declare const spRuntimeTransactionalError: z.ZodEffects<z.ZodObject<{
1211
+ __kind: z.ZodEnum<["LimitReached", "NoLayer"]>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ __kind: "LimitReached" | "NoLayer";
1214
+ }, {
1215
+ __kind: "LimitReached" | "NoLayer";
1216
+ }>, "LimitReached" | "NoLayer", {
1217
+ __kind: "LimitReached" | "NoLayer";
1218
+ }>;
1219
+ declare const spRuntimeDispatchError: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1220
+ __kind: z.ZodLiteral<"Other">;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ __kind: "Other";
1223
+ }, {
1224
+ __kind: "Other";
1225
+ }>, z.ZodObject<{
1226
+ __kind: z.ZodLiteral<"CannotLookup">;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ __kind: "CannotLookup";
1229
+ }, {
1230
+ __kind: "CannotLookup";
1231
+ }>, z.ZodObject<{
1232
+ __kind: z.ZodLiteral<"BadOrigin">;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ __kind: "BadOrigin";
1235
+ }, {
1236
+ __kind: "BadOrigin";
1237
+ }>, z.ZodObject<{
1238
+ __kind: z.ZodLiteral<"Module">;
1239
+ value: z.ZodObject<{
1240
+ index: z.ZodNumber;
1241
+ error: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1242
+ }, "strip", z.ZodTypeAny, {
1243
+ index: number;
1244
+ error: `0x${string}`;
1245
+ }, {
1246
+ index: number;
1247
+ error: string;
1248
+ }>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ value: {
1251
+ index: number;
1252
+ error: `0x${string}`;
1253
+ };
1254
+ __kind: "Module";
1255
+ }, {
1256
+ value: {
1257
+ index: number;
1258
+ error: string;
1259
+ };
1260
+ __kind: "Module";
1261
+ }>, z.ZodObject<{
1262
+ __kind: z.ZodLiteral<"ConsumerRemaining">;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ __kind: "ConsumerRemaining";
1265
+ }, {
1266
+ __kind: "ConsumerRemaining";
1267
+ }>, z.ZodObject<{
1268
+ __kind: z.ZodLiteral<"NoProviders">;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ __kind: "NoProviders";
1271
+ }, {
1272
+ __kind: "NoProviders";
1273
+ }>, z.ZodObject<{
1274
+ __kind: z.ZodLiteral<"TooManyConsumers">;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ __kind: "TooManyConsumers";
1277
+ }, {
1278
+ __kind: "TooManyConsumers";
1279
+ }>, z.ZodObject<{
1280
+ __kind: z.ZodLiteral<"Token">;
1281
+ value: z.ZodEffects<z.ZodObject<{
1282
+ __kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1285
+ }, {
1286
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1287
+ }>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
1288
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1289
+ }>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1292
+ __kind: "Token";
1293
+ }, {
1294
+ value: {
1295
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1296
+ };
1297
+ __kind: "Token";
1298
+ }>, z.ZodObject<{
1299
+ __kind: z.ZodLiteral<"Arithmetic">;
1300
+ value: z.ZodEffects<z.ZodObject<{
1301
+ __kind: z.ZodEnum<["Underflow", "Overflow", "DivisionByZero"]>;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1304
+ }, {
1305
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1306
+ }>, "Underflow" | "Overflow" | "DivisionByZero", {
1307
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1308
+ }>;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ value: "Underflow" | "Overflow" | "DivisionByZero";
1311
+ __kind: "Arithmetic";
1312
+ }, {
1313
+ value: {
1314
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1315
+ };
1316
+ __kind: "Arithmetic";
1317
+ }>, z.ZodObject<{
1318
+ __kind: z.ZodLiteral<"Transactional">;
1319
+ value: z.ZodEffects<z.ZodObject<{
1320
+ __kind: z.ZodEnum<["LimitReached", "NoLayer"]>;
1321
+ }, "strip", z.ZodTypeAny, {
1322
+ __kind: "LimitReached" | "NoLayer";
1323
+ }, {
1324
+ __kind: "LimitReached" | "NoLayer";
1325
+ }>, "LimitReached" | "NoLayer", {
1326
+ __kind: "LimitReached" | "NoLayer";
1327
+ }>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ value: "LimitReached" | "NoLayer";
1330
+ __kind: "Transactional";
1331
+ }, {
1332
+ value: {
1333
+ __kind: "LimitReached" | "NoLayer";
1334
+ };
1335
+ __kind: "Transactional";
1336
+ }>, z.ZodObject<{
1337
+ __kind: z.ZodLiteral<"Exhausted">;
1338
+ }, "strip", z.ZodTypeAny, {
1339
+ __kind: "Exhausted";
1340
+ }, {
1341
+ __kind: "Exhausted";
1342
+ }>, z.ZodObject<{
1343
+ __kind: z.ZodLiteral<"Corruption">;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ __kind: "Corruption";
1346
+ }, {
1347
+ __kind: "Corruption";
1348
+ }>, z.ZodObject<{
1349
+ __kind: z.ZodLiteral<"Unavailable">;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ __kind: "Unavailable";
1352
+ }, {
1353
+ __kind: "Unavailable";
1354
+ }>, z.ZodObject<{
1355
+ __kind: z.ZodLiteral<"RootNotAllowed">;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ __kind: "RootNotAllowed";
1358
+ }, {
1359
+ __kind: "RootNotAllowed";
1360
+ }>]>;
1361
+ declare const cfChainsExecutexSwapAndCallError: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1362
+ __kind: z.ZodLiteral<"Unsupported">;
1363
+ }, "strip", z.ZodTypeAny, {
1364
+ __kind: "Unsupported";
1365
+ }, {
1366
+ __kind: "Unsupported";
1367
+ }>, z.ZodObject<{
1368
+ __kind: z.ZodLiteral<"FailedToBuildCcmForSolana">;
1369
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1370
+ __kind: z.ZodLiteral<"CannotLookupApiEnvironment">;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ __kind: "CannotLookupApiEnvironment";
1373
+ }, {
1374
+ __kind: "CannotLookupApiEnvironment";
1375
+ }>, z.ZodObject<{
1376
+ __kind: z.ZodLiteral<"CannotLookupCurrentAggKey">;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ __kind: "CannotLookupCurrentAggKey";
1379
+ }, {
1380
+ __kind: "CannotLookupCurrentAggKey";
1381
+ }>, z.ZodObject<{
1382
+ __kind: z.ZodLiteral<"CannotLookupComputePrice">;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ __kind: "CannotLookupComputePrice";
1385
+ }, {
1386
+ __kind: "CannotLookupComputePrice";
1387
+ }>, z.ZodObject<{
1388
+ __kind: z.ZodLiteral<"NoNonceAccountsSet">;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ __kind: "NoNonceAccountsSet";
1391
+ }, {
1392
+ __kind: "NoNonceAccountsSet";
1393
+ }>, z.ZodObject<{
1394
+ __kind: z.ZodLiteral<"NoAvailableNonceAccount">;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ __kind: "NoAvailableNonceAccount";
1397
+ }, {
1398
+ __kind: "NoAvailableNonceAccount";
1399
+ }>, z.ZodObject<{
1400
+ __kind: z.ZodLiteral<"FailedToDeriveAddress">;
1401
+ value: z.ZodEffects<z.ZodObject<{
1402
+ __kind: z.ZodEnum<["NotAValidPoint", "TooManySeeds", "SeedTooLarge", "BumpSeedBadLuck"]>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1405
+ }, {
1406
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1407
+ }>, "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck", {
1408
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1409
+ }>;
1410
+ }, "strip", z.ZodTypeAny, {
1411
+ value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1412
+ __kind: "FailedToDeriveAddress";
1413
+ }, {
1414
+ value: {
1415
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1416
+ };
1417
+ __kind: "FailedToDeriveAddress";
1418
+ }>, z.ZodObject<{
1419
+ __kind: z.ZodLiteral<"InvalidCcm">;
1420
+ value: z.ZodEffects<z.ZodObject<{
1421
+ __kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts", "RedundantDataSupplied", "InvalidDestinationAddress", "TooManyAddressLookupTables"]>;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1424
+ }, {
1425
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1426
+ }>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables", {
1427
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1428
+ }>;
1429
+ }, "strip", z.ZodTypeAny, {
1430
+ value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1431
+ __kind: "InvalidCcm";
1432
+ }, {
1433
+ value: {
1434
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1435
+ };
1436
+ __kind: "InvalidCcm";
1437
+ }>, z.ZodObject<{
1438
+ __kind: z.ZodLiteral<"FailedToSerializeFinalTransaction">;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ __kind: "FailedToSerializeFinalTransaction";
1441
+ }, {
1442
+ __kind: "FailedToSerializeFinalTransaction";
1443
+ }>, z.ZodObject<{
1444
+ __kind: z.ZodLiteral<"FinalTransactionExceededMaxLength">;
1445
+ value: z.ZodNumber;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ value: number;
1448
+ __kind: "FinalTransactionExceededMaxLength";
1449
+ }, {
1450
+ value: number;
1451
+ __kind: "FinalTransactionExceededMaxLength";
1452
+ }>]>;
1453
+ }, "strip", z.ZodTypeAny, {
1454
+ value: {
1455
+ __kind: "CannotLookupApiEnvironment";
1456
+ } | {
1457
+ __kind: "CannotLookupCurrentAggKey";
1458
+ } | {
1459
+ __kind: "CannotLookupComputePrice";
1460
+ } | {
1461
+ __kind: "NoNonceAccountsSet";
1462
+ } | {
1463
+ __kind: "NoAvailableNonceAccount";
1464
+ } | {
1465
+ value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1466
+ __kind: "FailedToDeriveAddress";
1467
+ } | {
1468
+ value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1469
+ __kind: "InvalidCcm";
1470
+ } | {
1471
+ __kind: "FailedToSerializeFinalTransaction";
1472
+ } | {
1473
+ value: number;
1474
+ __kind: "FinalTransactionExceededMaxLength";
1475
+ };
1476
+ __kind: "FailedToBuildCcmForSolana";
1477
+ }, {
1478
+ value: {
1479
+ __kind: "CannotLookupApiEnvironment";
1480
+ } | {
1481
+ __kind: "CannotLookupCurrentAggKey";
1482
+ } | {
1483
+ __kind: "CannotLookupComputePrice";
1484
+ } | {
1485
+ __kind: "NoNonceAccountsSet";
1486
+ } | {
1487
+ __kind: "NoAvailableNonceAccount";
1488
+ } | {
1489
+ value: {
1490
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1491
+ };
1492
+ __kind: "FailedToDeriveAddress";
1493
+ } | {
1494
+ value: {
1495
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1496
+ };
1497
+ __kind: "InvalidCcm";
1498
+ } | {
1499
+ __kind: "FailedToSerializeFinalTransaction";
1500
+ } | {
1501
+ value: number;
1502
+ __kind: "FinalTransactionExceededMaxLength";
1503
+ };
1504
+ __kind: "FailedToBuildCcmForSolana";
1505
+ }>, z.ZodObject<{
1506
+ __kind: z.ZodLiteral<"DispatchError">;
1507
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1508
+ __kind: z.ZodLiteral<"Other">;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ __kind: "Other";
1511
+ }, {
1512
+ __kind: "Other";
1513
+ }>, z.ZodObject<{
1514
+ __kind: z.ZodLiteral<"CannotLookup">;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ __kind: "CannotLookup";
1517
+ }, {
1518
+ __kind: "CannotLookup";
1519
+ }>, z.ZodObject<{
1520
+ __kind: z.ZodLiteral<"BadOrigin">;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ __kind: "BadOrigin";
1523
+ }, {
1524
+ __kind: "BadOrigin";
1525
+ }>, z.ZodObject<{
1526
+ __kind: z.ZodLiteral<"Module">;
1527
+ value: z.ZodObject<{
1528
+ index: z.ZodNumber;
1529
+ error: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ index: number;
1532
+ error: `0x${string}`;
1533
+ }, {
1534
+ index: number;
1535
+ error: string;
1536
+ }>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ value: {
1539
+ index: number;
1540
+ error: `0x${string}`;
1541
+ };
1542
+ __kind: "Module";
1543
+ }, {
1544
+ value: {
1545
+ index: number;
1546
+ error: string;
1547
+ };
1548
+ __kind: "Module";
1549
+ }>, z.ZodObject<{
1550
+ __kind: z.ZodLiteral<"ConsumerRemaining">;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ __kind: "ConsumerRemaining";
1553
+ }, {
1554
+ __kind: "ConsumerRemaining";
1555
+ }>, z.ZodObject<{
1556
+ __kind: z.ZodLiteral<"NoProviders">;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ __kind: "NoProviders";
1559
+ }, {
1560
+ __kind: "NoProviders";
1561
+ }>, z.ZodObject<{
1562
+ __kind: z.ZodLiteral<"TooManyConsumers">;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ __kind: "TooManyConsumers";
1565
+ }, {
1566
+ __kind: "TooManyConsumers";
1567
+ }>, z.ZodObject<{
1568
+ __kind: z.ZodLiteral<"Token">;
1569
+ value: z.ZodEffects<z.ZodObject<{
1570
+ __kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1573
+ }, {
1574
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1575
+ }>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
1576
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1577
+ }>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1580
+ __kind: "Token";
1581
+ }, {
1582
+ value: {
1583
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1584
+ };
1585
+ __kind: "Token";
1586
+ }>, z.ZodObject<{
1587
+ __kind: z.ZodLiteral<"Arithmetic">;
1588
+ value: z.ZodEffects<z.ZodObject<{
1589
+ __kind: z.ZodEnum<["Underflow", "Overflow", "DivisionByZero"]>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1592
+ }, {
1593
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1594
+ }>, "Underflow" | "Overflow" | "DivisionByZero", {
1595
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1596
+ }>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ value: "Underflow" | "Overflow" | "DivisionByZero";
1599
+ __kind: "Arithmetic";
1600
+ }, {
1601
+ value: {
1602
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1603
+ };
1604
+ __kind: "Arithmetic";
1605
+ }>, z.ZodObject<{
1606
+ __kind: z.ZodLiteral<"Transactional">;
1607
+ value: z.ZodEffects<z.ZodObject<{
1608
+ __kind: z.ZodEnum<["LimitReached", "NoLayer"]>;
1609
+ }, "strip", z.ZodTypeAny, {
1610
+ __kind: "LimitReached" | "NoLayer";
1611
+ }, {
1612
+ __kind: "LimitReached" | "NoLayer";
1613
+ }>, "LimitReached" | "NoLayer", {
1614
+ __kind: "LimitReached" | "NoLayer";
1615
+ }>;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ value: "LimitReached" | "NoLayer";
1618
+ __kind: "Transactional";
1619
+ }, {
1620
+ value: {
1621
+ __kind: "LimitReached" | "NoLayer";
1622
+ };
1623
+ __kind: "Transactional";
1624
+ }>, z.ZodObject<{
1625
+ __kind: z.ZodLiteral<"Exhausted">;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ __kind: "Exhausted";
1628
+ }, {
1629
+ __kind: "Exhausted";
1630
+ }>, z.ZodObject<{
1631
+ __kind: z.ZodLiteral<"Corruption">;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ __kind: "Corruption";
1634
+ }, {
1635
+ __kind: "Corruption";
1636
+ }>, z.ZodObject<{
1637
+ __kind: z.ZodLiteral<"Unavailable">;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ __kind: "Unavailable";
1640
+ }, {
1641
+ __kind: "Unavailable";
1642
+ }>, z.ZodObject<{
1643
+ __kind: z.ZodLiteral<"RootNotAllowed">;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ __kind: "RootNotAllowed";
1646
+ }, {
1647
+ __kind: "RootNotAllowed";
1648
+ }>]>;
1649
+ }, "strip", z.ZodTypeAny, {
1650
+ value: {
1651
+ __kind: "Other";
1652
+ } | {
1653
+ __kind: "CannotLookup";
1654
+ } | {
1655
+ __kind: "BadOrigin";
1656
+ } | {
1657
+ value: {
1658
+ index: number;
1659
+ error: `0x${string}`;
1660
+ };
1661
+ __kind: "Module";
1662
+ } | {
1663
+ __kind: "ConsumerRemaining";
1664
+ } | {
1665
+ __kind: "NoProviders";
1666
+ } | {
1667
+ __kind: "TooManyConsumers";
1668
+ } | {
1669
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1670
+ __kind: "Token";
1671
+ } | {
1672
+ value: "Underflow" | "Overflow" | "DivisionByZero";
1673
+ __kind: "Arithmetic";
1674
+ } | {
1675
+ value: "LimitReached" | "NoLayer";
1676
+ __kind: "Transactional";
1677
+ } | {
1678
+ __kind: "Exhausted";
1679
+ } | {
1680
+ __kind: "Corruption";
1681
+ } | {
1682
+ __kind: "Unavailable";
1683
+ } | {
1684
+ __kind: "RootNotAllowed";
1685
+ };
1686
+ __kind: "DispatchError";
1687
+ }, {
1688
+ value: {
1689
+ __kind: "Other";
1690
+ } | {
1691
+ __kind: "CannotLookup";
1692
+ } | {
1693
+ __kind: "BadOrigin";
1694
+ } | {
1695
+ value: {
1696
+ index: number;
1697
+ error: string;
1698
+ };
1699
+ __kind: "Module";
1700
+ } | {
1701
+ __kind: "ConsumerRemaining";
1702
+ } | {
1703
+ __kind: "NoProviders";
1704
+ } | {
1705
+ __kind: "TooManyConsumers";
1706
+ } | {
1707
+ value: {
1708
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1709
+ };
1710
+ __kind: "Token";
1711
+ } | {
1712
+ value: {
1713
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1714
+ };
1715
+ __kind: "Arithmetic";
1716
+ } | {
1717
+ value: {
1718
+ __kind: "LimitReached" | "NoLayer";
1719
+ };
1720
+ __kind: "Transactional";
1721
+ } | {
1722
+ __kind: "Exhausted";
1723
+ } | {
1724
+ __kind: "Corruption";
1725
+ } | {
1726
+ __kind: "Unavailable";
1727
+ } | {
1728
+ __kind: "RootNotAllowed";
1729
+ };
1730
+ __kind: "DispatchError";
1731
+ }>]>;
1732
+ declare const cfChainsAllBatchError: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1733
+ __kind: z.ZodLiteral<"NotRequired">;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ __kind: "NotRequired";
1736
+ }, {
1737
+ __kind: "NotRequired";
1738
+ }>, z.ZodObject<{
1739
+ __kind: z.ZodLiteral<"UnsupportedToken">;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ __kind: "UnsupportedToken";
1742
+ }, {
1743
+ __kind: "UnsupportedToken";
1744
+ }>, z.ZodObject<{
1745
+ __kind: z.ZodLiteral<"VaultAccountNotSet">;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ __kind: "VaultAccountNotSet";
1748
+ }, {
1749
+ __kind: "VaultAccountNotSet";
1750
+ }>, z.ZodObject<{
1751
+ __kind: z.ZodLiteral<"AggKeyNotSet">;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ __kind: "AggKeyNotSet";
1754
+ }, {
1755
+ __kind: "AggKeyNotSet";
1756
+ }>, z.ZodObject<{
1757
+ __kind: z.ZodLiteral<"UtxoSelectionFailed">;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ __kind: "UtxoSelectionFailed";
1760
+ }, {
1761
+ __kind: "UtxoSelectionFailed";
1762
+ }>, z.ZodObject<{
1763
+ __kind: z.ZodLiteral<"FailedToBuildSolanaTransaction">;
1764
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1765
+ __kind: z.ZodLiteral<"CannotLookupApiEnvironment">;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ __kind: "CannotLookupApiEnvironment";
1768
+ }, {
1769
+ __kind: "CannotLookupApiEnvironment";
1770
+ }>, z.ZodObject<{
1771
+ __kind: z.ZodLiteral<"CannotLookupCurrentAggKey">;
1772
+ }, "strip", z.ZodTypeAny, {
1773
+ __kind: "CannotLookupCurrentAggKey";
1774
+ }, {
1775
+ __kind: "CannotLookupCurrentAggKey";
1776
+ }>, z.ZodObject<{
1777
+ __kind: z.ZodLiteral<"CannotLookupComputePrice">;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ __kind: "CannotLookupComputePrice";
1780
+ }, {
1781
+ __kind: "CannotLookupComputePrice";
1782
+ }>, z.ZodObject<{
1783
+ __kind: z.ZodLiteral<"NoNonceAccountsSet">;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ __kind: "NoNonceAccountsSet";
1786
+ }, {
1787
+ __kind: "NoNonceAccountsSet";
1788
+ }>, z.ZodObject<{
1789
+ __kind: z.ZodLiteral<"NoAvailableNonceAccount">;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ __kind: "NoAvailableNonceAccount";
1792
+ }, {
1793
+ __kind: "NoAvailableNonceAccount";
1794
+ }>, z.ZodObject<{
1795
+ __kind: z.ZodLiteral<"FailedToDeriveAddress">;
1796
+ value: z.ZodEffects<z.ZodObject<{
1797
+ __kind: z.ZodEnum<["NotAValidPoint", "TooManySeeds", "SeedTooLarge", "BumpSeedBadLuck"]>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1800
+ }, {
1801
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1802
+ }>, "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck", {
1803
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1804
+ }>;
1805
+ }, "strip", z.ZodTypeAny, {
1806
+ value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1807
+ __kind: "FailedToDeriveAddress";
1808
+ }, {
1809
+ value: {
1810
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1811
+ };
1812
+ __kind: "FailedToDeriveAddress";
1813
+ }>, z.ZodObject<{
1814
+ __kind: z.ZodLiteral<"InvalidCcm">;
1815
+ value: z.ZodEffects<z.ZodObject<{
1816
+ __kind: z.ZodEnum<["CannotDecodeCcmAdditionalData", "CcmIsTooLong", "CcmAdditionalDataContainsInvalidAccounts", "RedundantDataSupplied", "InvalidDestinationAddress", "TooManyAddressLookupTables"]>;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1819
+ }, {
1820
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1821
+ }>, "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables", {
1822
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1823
+ }>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1826
+ __kind: "InvalidCcm";
1827
+ }, {
1828
+ value: {
1829
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1830
+ };
1831
+ __kind: "InvalidCcm";
1832
+ }>, z.ZodObject<{
1833
+ __kind: z.ZodLiteral<"FailedToSerializeFinalTransaction">;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ __kind: "FailedToSerializeFinalTransaction";
1836
+ }, {
1837
+ __kind: "FailedToSerializeFinalTransaction";
1838
+ }>, z.ZodObject<{
1839
+ __kind: z.ZodLiteral<"FinalTransactionExceededMaxLength">;
1840
+ value: z.ZodNumber;
1841
+ }, "strip", z.ZodTypeAny, {
1842
+ value: number;
1843
+ __kind: "FinalTransactionExceededMaxLength";
1844
+ }, {
1845
+ value: number;
1846
+ __kind: "FinalTransactionExceededMaxLength";
1847
+ }>]>;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ value: {
1850
+ __kind: "CannotLookupApiEnvironment";
1851
+ } | {
1852
+ __kind: "CannotLookupCurrentAggKey";
1853
+ } | {
1854
+ __kind: "CannotLookupComputePrice";
1855
+ } | {
1856
+ __kind: "NoNonceAccountsSet";
1857
+ } | {
1858
+ __kind: "NoAvailableNonceAccount";
1859
+ } | {
1860
+ value: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1861
+ __kind: "FailedToDeriveAddress";
1862
+ } | {
1863
+ value: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1864
+ __kind: "InvalidCcm";
1865
+ } | {
1866
+ __kind: "FailedToSerializeFinalTransaction";
1867
+ } | {
1868
+ value: number;
1869
+ __kind: "FinalTransactionExceededMaxLength";
1870
+ };
1871
+ __kind: "FailedToBuildSolanaTransaction";
1872
+ }, {
1873
+ value: {
1874
+ __kind: "CannotLookupApiEnvironment";
1875
+ } | {
1876
+ __kind: "CannotLookupCurrentAggKey";
1877
+ } | {
1878
+ __kind: "CannotLookupComputePrice";
1879
+ } | {
1880
+ __kind: "NoNonceAccountsSet";
1881
+ } | {
1882
+ __kind: "NoAvailableNonceAccount";
1883
+ } | {
1884
+ value: {
1885
+ __kind: "NotAValidPoint" | "TooManySeeds" | "SeedTooLarge" | "BumpSeedBadLuck";
1886
+ };
1887
+ __kind: "FailedToDeriveAddress";
1888
+ } | {
1889
+ value: {
1890
+ __kind: "CannotDecodeCcmAdditionalData" | "CcmIsTooLong" | "CcmAdditionalDataContainsInvalidAccounts" | "RedundantDataSupplied" | "InvalidDestinationAddress" | "TooManyAddressLookupTables";
1891
+ };
1892
+ __kind: "InvalidCcm";
1893
+ } | {
1894
+ __kind: "FailedToSerializeFinalTransaction";
1895
+ } | {
1896
+ value: number;
1897
+ __kind: "FinalTransactionExceededMaxLength";
1898
+ };
1899
+ __kind: "FailedToBuildSolanaTransaction";
1900
+ }>, z.ZodObject<{
1901
+ __kind: z.ZodLiteral<"DispatchError">;
1902
+ value: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
1903
+ __kind: z.ZodLiteral<"Other">;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ __kind: "Other";
1906
+ }, {
1907
+ __kind: "Other";
1908
+ }>, z.ZodObject<{
1909
+ __kind: z.ZodLiteral<"CannotLookup">;
1910
+ }, "strip", z.ZodTypeAny, {
1911
+ __kind: "CannotLookup";
1912
+ }, {
1913
+ __kind: "CannotLookup";
1914
+ }>, z.ZodObject<{
1915
+ __kind: z.ZodLiteral<"BadOrigin">;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ __kind: "BadOrigin";
1918
+ }, {
1919
+ __kind: "BadOrigin";
1920
+ }>, z.ZodObject<{
1921
+ __kind: z.ZodLiteral<"Module">;
1922
+ value: z.ZodObject<{
1923
+ index: z.ZodNumber;
1924
+ error: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ index: number;
1927
+ error: `0x${string}`;
1928
+ }, {
1929
+ index: number;
1930
+ error: string;
1931
+ }>;
1932
+ }, "strip", z.ZodTypeAny, {
1933
+ value: {
1934
+ index: number;
1935
+ error: `0x${string}`;
1936
+ };
1937
+ __kind: "Module";
1938
+ }, {
1939
+ value: {
1940
+ index: number;
1941
+ error: string;
1942
+ };
1943
+ __kind: "Module";
1944
+ }>, z.ZodObject<{
1945
+ __kind: z.ZodLiteral<"ConsumerRemaining">;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ __kind: "ConsumerRemaining";
1948
+ }, {
1949
+ __kind: "ConsumerRemaining";
1950
+ }>, z.ZodObject<{
1951
+ __kind: z.ZodLiteral<"NoProviders">;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ __kind: "NoProviders";
1954
+ }, {
1955
+ __kind: "NoProviders";
1956
+ }>, z.ZodObject<{
1957
+ __kind: z.ZodLiteral<"TooManyConsumers">;
1958
+ }, "strip", z.ZodTypeAny, {
1959
+ __kind: "TooManyConsumers";
1960
+ }, {
1961
+ __kind: "TooManyConsumers";
1962
+ }>, z.ZodObject<{
1963
+ __kind: z.ZodLiteral<"Token">;
1964
+ value: z.ZodEffects<z.ZodObject<{
1965
+ __kind: z.ZodEnum<["FundsUnavailable", "OnlyProvider", "BelowMinimum", "CannotCreate", "UnknownAsset", "Frozen", "Unsupported", "CannotCreateHold", "NotExpendable", "Blocked"]>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1968
+ }, {
1969
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1970
+ }>, "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked", {
1971
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1972
+ }>;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1975
+ __kind: "Token";
1976
+ }, {
1977
+ value: {
1978
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
1979
+ };
1980
+ __kind: "Token";
1981
+ }>, z.ZodObject<{
1982
+ __kind: z.ZodLiteral<"Arithmetic">;
1983
+ value: z.ZodEffects<z.ZodObject<{
1984
+ __kind: z.ZodEnum<["Underflow", "Overflow", "DivisionByZero"]>;
1985
+ }, "strip", z.ZodTypeAny, {
1986
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1987
+ }, {
1988
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1989
+ }>, "Underflow" | "Overflow" | "DivisionByZero", {
1990
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1991
+ }>;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ value: "Underflow" | "Overflow" | "DivisionByZero";
1994
+ __kind: "Arithmetic";
1995
+ }, {
1996
+ value: {
1997
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
1998
+ };
1999
+ __kind: "Arithmetic";
2000
+ }>, z.ZodObject<{
2001
+ __kind: z.ZodLiteral<"Transactional">;
2002
+ value: z.ZodEffects<z.ZodObject<{
2003
+ __kind: z.ZodEnum<["LimitReached", "NoLayer"]>;
2004
+ }, "strip", z.ZodTypeAny, {
2005
+ __kind: "LimitReached" | "NoLayer";
2006
+ }, {
2007
+ __kind: "LimitReached" | "NoLayer";
2008
+ }>, "LimitReached" | "NoLayer", {
2009
+ __kind: "LimitReached" | "NoLayer";
2010
+ }>;
2011
+ }, "strip", z.ZodTypeAny, {
2012
+ value: "LimitReached" | "NoLayer";
2013
+ __kind: "Transactional";
2014
+ }, {
2015
+ value: {
2016
+ __kind: "LimitReached" | "NoLayer";
2017
+ };
2018
+ __kind: "Transactional";
2019
+ }>, z.ZodObject<{
2020
+ __kind: z.ZodLiteral<"Exhausted">;
2021
+ }, "strip", z.ZodTypeAny, {
2022
+ __kind: "Exhausted";
2023
+ }, {
2024
+ __kind: "Exhausted";
2025
+ }>, z.ZodObject<{
2026
+ __kind: z.ZodLiteral<"Corruption">;
2027
+ }, "strip", z.ZodTypeAny, {
2028
+ __kind: "Corruption";
2029
+ }, {
2030
+ __kind: "Corruption";
2031
+ }>, z.ZodObject<{
2032
+ __kind: z.ZodLiteral<"Unavailable">;
2033
+ }, "strip", z.ZodTypeAny, {
2034
+ __kind: "Unavailable";
2035
+ }, {
2036
+ __kind: "Unavailable";
2037
+ }>, z.ZodObject<{
2038
+ __kind: z.ZodLiteral<"RootNotAllowed">;
2039
+ }, "strip", z.ZodTypeAny, {
2040
+ __kind: "RootNotAllowed";
2041
+ }, {
2042
+ __kind: "RootNotAllowed";
2043
+ }>]>;
2044
+ }, "strip", z.ZodTypeAny, {
2045
+ value: {
2046
+ __kind: "Other";
2047
+ } | {
2048
+ __kind: "CannotLookup";
2049
+ } | {
2050
+ __kind: "BadOrigin";
2051
+ } | {
2052
+ value: {
2053
+ index: number;
2054
+ error: `0x${string}`;
2055
+ };
2056
+ __kind: "Module";
2057
+ } | {
2058
+ __kind: "ConsumerRemaining";
2059
+ } | {
2060
+ __kind: "NoProviders";
2061
+ } | {
2062
+ __kind: "TooManyConsumers";
2063
+ } | {
2064
+ value: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
2065
+ __kind: "Token";
2066
+ } | {
2067
+ value: "Underflow" | "Overflow" | "DivisionByZero";
2068
+ __kind: "Arithmetic";
2069
+ } | {
2070
+ value: "LimitReached" | "NoLayer";
2071
+ __kind: "Transactional";
2072
+ } | {
2073
+ __kind: "Exhausted";
2074
+ } | {
2075
+ __kind: "Corruption";
2076
+ } | {
2077
+ __kind: "Unavailable";
2078
+ } | {
2079
+ __kind: "RootNotAllowed";
2080
+ };
2081
+ __kind: "DispatchError";
2082
+ }, {
2083
+ value: {
2084
+ __kind: "Other";
2085
+ } | {
2086
+ __kind: "CannotLookup";
2087
+ } | {
2088
+ __kind: "BadOrigin";
2089
+ } | {
2090
+ value: {
2091
+ index: number;
2092
+ error: string;
2093
+ };
2094
+ __kind: "Module";
2095
+ } | {
2096
+ __kind: "ConsumerRemaining";
2097
+ } | {
2098
+ __kind: "NoProviders";
2099
+ } | {
2100
+ __kind: "TooManyConsumers";
2101
+ } | {
2102
+ value: {
2103
+ __kind: "FundsUnavailable" | "OnlyProvider" | "BelowMinimum" | "CannotCreate" | "UnknownAsset" | "Frozen" | "Unsupported" | "CannotCreateHold" | "NotExpendable" | "Blocked";
2104
+ };
2105
+ __kind: "Token";
2106
+ } | {
2107
+ value: {
2108
+ __kind: "Underflow" | "Overflow" | "DivisionByZero";
2109
+ };
2110
+ __kind: "Arithmetic";
2111
+ } | {
2112
+ value: {
2113
+ __kind: "LimitReached" | "NoLayer";
2114
+ };
2115
+ __kind: "Transactional";
2116
+ } | {
2117
+ __kind: "Exhausted";
2118
+ } | {
2119
+ __kind: "Corruption";
2120
+ } | {
2121
+ __kind: "Unavailable";
2122
+ } | {
2123
+ __kind: "RootNotAllowed";
2124
+ };
2125
+ __kind: "DispatchError";
2126
+ }>]>;
2127
+ declare const cfAmmCommonPoolPairsMap: z.ZodObject<{
2128
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2129
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ base: bigint;
2132
+ quote: bigint;
2133
+ }, {
2134
+ base: string | number;
2135
+ quote: string | number;
2136
+ }>;
2137
+ declare const palletCfPoolsRangeOrderChange: z.ZodObject<{
2138
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2139
+ amounts: z.ZodObject<{
2140
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2141
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ base: bigint;
2144
+ quote: bigint;
2145
+ }, {
2146
+ base: string | number;
2147
+ quote: string | number;
2148
+ }>;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ liquidity: bigint;
2151
+ amounts: {
2152
+ base: bigint;
2153
+ quote: bigint;
2154
+ };
2155
+ }, {
2156
+ liquidity: string | number;
2157
+ amounts: {
2158
+ base: string | number;
2159
+ quote: string | number;
2160
+ };
2161
+ }>;
2162
+ declare const cfTraitsLiquidityIncreaseOrDecreaseRangeOrderChange: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
2163
+ __kind: z.ZodLiteral<"Increase">;
2164
+ value: z.ZodObject<{
2165
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2166
+ amounts: z.ZodObject<{
2167
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2168
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2169
+ }, "strip", z.ZodTypeAny, {
2170
+ base: bigint;
2171
+ quote: bigint;
2172
+ }, {
2173
+ base: string | number;
2174
+ quote: string | number;
2175
+ }>;
2176
+ }, "strip", z.ZodTypeAny, {
2177
+ liquidity: bigint;
2178
+ amounts: {
2179
+ base: bigint;
2180
+ quote: bigint;
2181
+ };
2182
+ }, {
2183
+ liquidity: string | number;
2184
+ amounts: {
2185
+ base: string | number;
2186
+ quote: string | number;
2187
+ };
2188
+ }>;
2189
+ }, "strip", z.ZodTypeAny, {
2190
+ value: {
2191
+ liquidity: bigint;
2192
+ amounts: {
2193
+ base: bigint;
2194
+ quote: bigint;
2195
+ };
2196
+ };
2197
+ __kind: "Increase";
2198
+ }, {
2199
+ value: {
2200
+ liquidity: string | number;
2201
+ amounts: {
2202
+ base: string | number;
2203
+ quote: string | number;
2204
+ };
2205
+ };
2206
+ __kind: "Increase";
2207
+ }>, z.ZodObject<{
2208
+ __kind: z.ZodLiteral<"Decrease">;
2209
+ value: z.ZodObject<{
2210
+ liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2211
+ amounts: z.ZodObject<{
2212
+ base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2213
+ quote: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2214
+ }, "strip", z.ZodTypeAny, {
2215
+ base: bigint;
2216
+ quote: bigint;
2217
+ }, {
2218
+ base: string | number;
2219
+ quote: string | number;
2220
+ }>;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ liquidity: bigint;
2223
+ amounts: {
2224
+ base: bigint;
2225
+ quote: bigint;
2226
+ };
2227
+ }, {
2228
+ liquidity: string | number;
2229
+ amounts: {
2230
+ base: string | number;
2231
+ quote: string | number;
2232
+ };
2233
+ }>;
2234
+ }, "strip", z.ZodTypeAny, {
2235
+ value: {
2236
+ liquidity: bigint;
2237
+ amounts: {
2238
+ base: bigint;
2239
+ quote: bigint;
2240
+ };
2241
+ };
2242
+ __kind: "Decrease";
2243
+ }, {
2244
+ value: {
2245
+ liquidity: string | number;
2246
+ amounts: {
2247
+ base: string | number;
2248
+ quote: string | number;
2249
+ };
2250
+ };
2251
+ __kind: "Decrease";
2252
+ }>]>;
2253
+ declare const cfAmmCommonSide: z.ZodEffects<z.ZodObject<{
2254
+ __kind: z.ZodEnum<["Buy", "Sell"]>;
2255
+ }, "strip", z.ZodTypeAny, {
2256
+ __kind: "Buy" | "Sell";
2257
+ }, {
2258
+ __kind: "Buy" | "Sell";
2259
+ }>, "Buy" | "Sell", {
2260
+ __kind: "Buy" | "Sell";
2261
+ }>;
2262
+ declare const cfTraitsLiquidityIncreaseOrDecreaseU128: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
2263
+ __kind: z.ZodLiteral<"Increase">;
2264
+ value: 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
+ value: bigint;
2267
+ __kind: "Increase";
2268
+ }, {
2269
+ value: string | number;
2270
+ __kind: "Increase";
2271
+ }>, z.ZodObject<{
2272
+ __kind: z.ZodLiteral<"Decrease">;
2273
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
2274
+ }, "strip", z.ZodTypeAny, {
2275
+ value: bigint;
2276
+ __kind: "Decrease";
2277
+ }, {
2278
+ value: string | number;
2279
+ __kind: "Decrease";
2280
+ }>]>;
2281
+ declare const solPrimMessageHeader: z.ZodObject<{
2282
+ numRequiredSignatures: z.ZodNumber;
2283
+ numReadonlySignedAccounts: z.ZodNumber;
2284
+ numReadonlyUnsignedAccounts: z.ZodNumber;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ numRequiredSignatures: number;
2287
+ numReadonlySignedAccounts: number;
2288
+ numReadonlyUnsignedAccounts: number;
2289
+ }, {
2290
+ numRequiredSignatures: number;
2291
+ numReadonlySignedAccounts: number;
2292
+ numReadonlyUnsignedAccounts: number;
2293
+ }>;
2294
+ declare const solPrimCompiledInstruction: z.ZodObject<{
2295
+ programIdIndex: z.ZodNumber;
2296
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2297
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2298
+ }, "strip", z.ZodTypeAny, {
2299
+ programIdIndex: number;
2300
+ accounts: `0x${string}`;
2301
+ data: `0x${string}`;
2302
+ }, {
2303
+ programIdIndex: number;
2304
+ accounts: string;
2305
+ data: string;
2306
+ }>;
2307
+ declare const solPrimTransactionLegacyDeprecatedLegacyMessage: z.ZodObject<{
2308
+ header: z.ZodObject<{
2309
+ numRequiredSignatures: z.ZodNumber;
2310
+ numReadonlySignedAccounts: z.ZodNumber;
2311
+ numReadonlyUnsignedAccounts: z.ZodNumber;
2312
+ }, "strip", z.ZodTypeAny, {
2313
+ numRequiredSignatures: number;
2314
+ numReadonlySignedAccounts: number;
2315
+ numReadonlyUnsignedAccounts: number;
2316
+ }, {
2317
+ numRequiredSignatures: number;
2318
+ numReadonlySignedAccounts: number;
2319
+ numReadonlyUnsignedAccounts: number;
2320
+ }>;
2321
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2322
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2323
+ instructions: z.ZodArray<z.ZodObject<{
2324
+ programIdIndex: z.ZodNumber;
2325
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2326
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2327
+ }, "strip", z.ZodTypeAny, {
2328
+ programIdIndex: number;
2329
+ accounts: `0x${string}`;
2330
+ data: `0x${string}`;
2331
+ }, {
2332
+ programIdIndex: number;
2333
+ accounts: string;
2334
+ data: string;
2335
+ }>, "many">;
2336
+ }, "strip", z.ZodTypeAny, {
2337
+ header: {
2338
+ numRequiredSignatures: number;
2339
+ numReadonlySignedAccounts: number;
2340
+ numReadonlyUnsignedAccounts: number;
2341
+ };
2342
+ accountKeys: `0x${string}`[];
2343
+ recentBlockhash: `0x${string}`;
2344
+ instructions: {
2345
+ programIdIndex: number;
2346
+ accounts: `0x${string}`;
2347
+ data: `0x${string}`;
2348
+ }[];
2349
+ }, {
2350
+ header: {
2351
+ numRequiredSignatures: number;
2352
+ numReadonlySignedAccounts: number;
2353
+ numReadonlyUnsignedAccounts: number;
2354
+ };
2355
+ accountKeys: string[];
2356
+ recentBlockhash: string;
2357
+ instructions: {
2358
+ programIdIndex: number;
2359
+ accounts: string;
2360
+ data: string;
2361
+ }[];
2362
+ }>;
2363
+ declare const solPrimAltMessageAddressTableLookup: z.ZodObject<{
2364
+ accountKey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2365
+ writableIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2366
+ readonlyIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ accountKey: `0x${string}`;
2369
+ writableIndexes: `0x${string}`;
2370
+ readonlyIndexes: `0x${string}`;
2371
+ }, {
2372
+ accountKey: string;
2373
+ writableIndexes: string;
2374
+ readonlyIndexes: string;
2375
+ }>;
2376
+ declare const solPrimTransactionV0VersionedMessageV0: z.ZodObject<{
2377
+ header: z.ZodObject<{
2378
+ numRequiredSignatures: z.ZodNumber;
2379
+ numReadonlySignedAccounts: z.ZodNumber;
2380
+ numReadonlyUnsignedAccounts: z.ZodNumber;
2381
+ }, "strip", z.ZodTypeAny, {
2382
+ numRequiredSignatures: number;
2383
+ numReadonlySignedAccounts: number;
2384
+ numReadonlyUnsignedAccounts: number;
2385
+ }, {
2386
+ numRequiredSignatures: number;
2387
+ numReadonlySignedAccounts: number;
2388
+ numReadonlyUnsignedAccounts: number;
2389
+ }>;
2390
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2391
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2392
+ instructions: z.ZodArray<z.ZodObject<{
2393
+ programIdIndex: z.ZodNumber;
2394
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2395
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2396
+ }, "strip", z.ZodTypeAny, {
2397
+ programIdIndex: number;
2398
+ accounts: `0x${string}`;
2399
+ data: `0x${string}`;
2400
+ }, {
2401
+ programIdIndex: number;
2402
+ accounts: string;
2403
+ data: string;
2404
+ }>, "many">;
2405
+ addressTableLookups: z.ZodArray<z.ZodObject<{
2406
+ accountKey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2407
+ writableIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2408
+ readonlyIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2409
+ }, "strip", z.ZodTypeAny, {
2410
+ accountKey: `0x${string}`;
2411
+ writableIndexes: `0x${string}`;
2412
+ readonlyIndexes: `0x${string}`;
2413
+ }, {
2414
+ accountKey: string;
2415
+ writableIndexes: string;
2416
+ readonlyIndexes: string;
2417
+ }>, "many">;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ header: {
2420
+ numRequiredSignatures: number;
2421
+ numReadonlySignedAccounts: number;
2422
+ numReadonlyUnsignedAccounts: number;
2423
+ };
2424
+ accountKeys: `0x${string}`[];
2425
+ recentBlockhash: `0x${string}`;
2426
+ instructions: {
2427
+ programIdIndex: number;
2428
+ accounts: `0x${string}`;
2429
+ data: `0x${string}`;
2430
+ }[];
2431
+ addressTableLookups: {
2432
+ accountKey: `0x${string}`;
2433
+ writableIndexes: `0x${string}`;
2434
+ readonlyIndexes: `0x${string}`;
2435
+ }[];
2436
+ }, {
2437
+ header: {
2438
+ numRequiredSignatures: number;
2439
+ numReadonlySignedAccounts: number;
2440
+ numReadonlyUnsignedAccounts: number;
2441
+ };
2442
+ accountKeys: string[];
2443
+ recentBlockhash: string;
2444
+ instructions: {
2445
+ programIdIndex: number;
2446
+ accounts: string;
2447
+ data: string;
2448
+ }[];
2449
+ addressTableLookups: {
2450
+ accountKey: string;
2451
+ writableIndexes: string;
2452
+ readonlyIndexes: string;
2453
+ }[];
2454
+ }>;
2455
+ declare const solPrimTransactionVersionedMessage: z.ZodDiscriminatedUnion<"__kind", [z.ZodObject<{
2456
+ __kind: z.ZodLiteral<"Legacy">;
2457
+ value: z.ZodObject<{
2458
+ header: z.ZodObject<{
2459
+ numRequiredSignatures: z.ZodNumber;
2460
+ numReadonlySignedAccounts: z.ZodNumber;
2461
+ numReadonlyUnsignedAccounts: z.ZodNumber;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ numRequiredSignatures: number;
2464
+ numReadonlySignedAccounts: number;
2465
+ numReadonlyUnsignedAccounts: number;
2466
+ }, {
2467
+ numRequiredSignatures: number;
2468
+ numReadonlySignedAccounts: number;
2469
+ numReadonlyUnsignedAccounts: number;
2470
+ }>;
2471
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2472
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2473
+ instructions: z.ZodArray<z.ZodObject<{
2474
+ programIdIndex: z.ZodNumber;
2475
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2476
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ programIdIndex: number;
2479
+ accounts: `0x${string}`;
2480
+ data: `0x${string}`;
2481
+ }, {
2482
+ programIdIndex: number;
2483
+ accounts: string;
2484
+ data: string;
2485
+ }>, "many">;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ header: {
2488
+ numRequiredSignatures: number;
2489
+ numReadonlySignedAccounts: number;
2490
+ numReadonlyUnsignedAccounts: number;
2491
+ };
2492
+ accountKeys: `0x${string}`[];
2493
+ recentBlockhash: `0x${string}`;
2494
+ instructions: {
2495
+ programIdIndex: number;
2496
+ accounts: `0x${string}`;
2497
+ data: `0x${string}`;
2498
+ }[];
2499
+ }, {
2500
+ header: {
2501
+ numRequiredSignatures: number;
2502
+ numReadonlySignedAccounts: number;
2503
+ numReadonlyUnsignedAccounts: number;
2504
+ };
2505
+ accountKeys: string[];
2506
+ recentBlockhash: string;
2507
+ instructions: {
2508
+ programIdIndex: number;
2509
+ accounts: string;
2510
+ data: string;
2511
+ }[];
2512
+ }>;
2513
+ }, "strip", z.ZodTypeAny, {
2514
+ value: {
2515
+ header: {
2516
+ numRequiredSignatures: number;
2517
+ numReadonlySignedAccounts: number;
2518
+ numReadonlyUnsignedAccounts: number;
2519
+ };
2520
+ accountKeys: `0x${string}`[];
2521
+ recentBlockhash: `0x${string}`;
2522
+ instructions: {
2523
+ programIdIndex: number;
2524
+ accounts: `0x${string}`;
2525
+ data: `0x${string}`;
2526
+ }[];
2527
+ };
2528
+ __kind: "Legacy";
2529
+ }, {
2530
+ value: {
2531
+ header: {
2532
+ numRequiredSignatures: number;
2533
+ numReadonlySignedAccounts: number;
2534
+ numReadonlyUnsignedAccounts: number;
2535
+ };
2536
+ accountKeys: string[];
2537
+ recentBlockhash: string;
2538
+ instructions: {
2539
+ programIdIndex: number;
2540
+ accounts: string;
2541
+ data: string;
2542
+ }[];
2543
+ };
2544
+ __kind: "Legacy";
2545
+ }>, z.ZodObject<{
2546
+ __kind: z.ZodLiteral<"V0">;
2547
+ value: z.ZodObject<{
2548
+ header: z.ZodObject<{
2549
+ numRequiredSignatures: z.ZodNumber;
2550
+ numReadonlySignedAccounts: z.ZodNumber;
2551
+ numReadonlyUnsignedAccounts: z.ZodNumber;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ numRequiredSignatures: number;
2554
+ numReadonlySignedAccounts: number;
2555
+ numReadonlyUnsignedAccounts: number;
2556
+ }, {
2557
+ numRequiredSignatures: number;
2558
+ numReadonlySignedAccounts: number;
2559
+ numReadonlyUnsignedAccounts: number;
2560
+ }>;
2561
+ accountKeys: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2562
+ recentBlockhash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2563
+ instructions: z.ZodArray<z.ZodObject<{
2564
+ programIdIndex: z.ZodNumber;
2565
+ accounts: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2566
+ data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ programIdIndex: number;
2569
+ accounts: `0x${string}`;
2570
+ data: `0x${string}`;
2571
+ }, {
2572
+ programIdIndex: number;
2573
+ accounts: string;
2574
+ data: string;
2575
+ }>, "many">;
2576
+ addressTableLookups: z.ZodArray<z.ZodObject<{
2577
+ accountKey: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2578
+ writableIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2579
+ readonlyIndexes: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ accountKey: `0x${string}`;
2582
+ writableIndexes: `0x${string}`;
2583
+ readonlyIndexes: `0x${string}`;
2584
+ }, {
2585
+ accountKey: string;
2586
+ writableIndexes: string;
2587
+ readonlyIndexes: string;
2588
+ }>, "many">;
2589
+ }, "strip", z.ZodTypeAny, {
2590
+ header: {
2591
+ numRequiredSignatures: number;
2592
+ numReadonlySignedAccounts: number;
2593
+ numReadonlyUnsignedAccounts: number;
2594
+ };
2595
+ accountKeys: `0x${string}`[];
2596
+ recentBlockhash: `0x${string}`;
2597
+ instructions: {
2598
+ programIdIndex: number;
2599
+ accounts: `0x${string}`;
2600
+ data: `0x${string}`;
2601
+ }[];
2602
+ addressTableLookups: {
2603
+ accountKey: `0x${string}`;
2604
+ writableIndexes: `0x${string}`;
2605
+ readonlyIndexes: `0x${string}`;
2606
+ }[];
2607
+ }, {
2608
+ header: {
2609
+ numRequiredSignatures: number;
2610
+ numReadonlySignedAccounts: number;
2611
+ numReadonlyUnsignedAccounts: number;
2612
+ };
2613
+ accountKeys: string[];
2614
+ recentBlockhash: string;
2615
+ instructions: {
2616
+ programIdIndex: number;
2617
+ accounts: string;
2618
+ data: string;
2619
+ }[];
2620
+ addressTableLookups: {
2621
+ accountKey: string;
2622
+ writableIndexes: string;
2623
+ readonlyIndexes: string;
2624
+ }[];
2625
+ }>;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ value: {
2628
+ header: {
2629
+ numRequiredSignatures: number;
2630
+ numReadonlySignedAccounts: number;
2631
+ numReadonlyUnsignedAccounts: number;
2632
+ };
2633
+ accountKeys: `0x${string}`[];
2634
+ recentBlockhash: `0x${string}`;
2635
+ instructions: {
2636
+ programIdIndex: number;
2637
+ accounts: `0x${string}`;
2638
+ data: `0x${string}`;
2639
+ }[];
2640
+ addressTableLookups: {
2641
+ accountKey: `0x${string}`;
2642
+ writableIndexes: `0x${string}`;
2643
+ readonlyIndexes: `0x${string}`;
2644
+ }[];
2645
+ };
2646
+ __kind: "V0";
2647
+ }, {
2648
+ value: {
2649
+ header: {
2650
+ numRequiredSignatures: number;
2651
+ numReadonlySignedAccounts: number;
2652
+ numReadonlyUnsignedAccounts: number;
2653
+ };
2654
+ accountKeys: string[];
2655
+ recentBlockhash: string;
2656
+ instructions: {
2657
+ programIdIndex: number;
2658
+ accounts: string;
2659
+ data: string;
2660
+ }[];
2661
+ addressTableLookups: {
2662
+ accountKey: string;
2663
+ writableIndexes: string;
2664
+ readonlyIndexes: string;
2665
+ }[];
2666
+ };
2667
+ __kind: "V0";
2668
+ }>]>;
2669
+ declare const palletCfTradingStrategyTradingStrategy: z.ZodObject<{
2670
+ __kind: z.ZodLiteral<"SellAndBuyAtTicks">;
2671
+ sellTick: z.ZodNumber;
2672
+ buyTick: z.ZodNumber;
2673
+ baseAsset: z.ZodEffects<z.ZodObject<{
2674
+ __kind: z.ZodEnum<["Eth", "Flip", "Usdc", "Dot", "Btc", "ArbEth", "ArbUsdc", "Usdt", "Sol", "SolUsdc"]>;
2675
+ }, "strip", z.ZodTypeAny, {
2676
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
2677
+ }, {
2678
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
2679
+ }>, "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc", {
2680
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
2681
+ }>;
2682
+ }, "strip", z.ZodTypeAny, {
2683
+ __kind: "SellAndBuyAtTicks";
2684
+ sellTick: number;
2685
+ buyTick: number;
2686
+ baseAsset: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
2687
+ }, {
2688
+ __kind: "SellAndBuyAtTicks";
2689
+ sellTick: number;
2690
+ buyTick: number;
2691
+ baseAsset: {
2692
+ __kind: "Eth" | "Flip" | "Usdc" | "Dot" | "Btc" | "ArbEth" | "ArbUsdc" | "Usdt" | "Sol" | "SolUsdc";
2693
+ };
2694
+ }>;
2695
+
2696
+ export { accountId, cfAmmCommonPoolPairsMap, cfAmmCommonSide, cfChainsAccountOrAddressEncodedAddress, cfChainsAddressEncodedAddress, cfChainsAllBatchError, cfChainsCcmChannelMetadata, cfChainsCcmCheckerCcmValidityError, cfChainsCcmDepositMetadataGenericEncodedAddress, cfChainsExecutexSwapAndCallError, cfChainsRefundParametersExtendedGenericEncodedAddress, cfChainsSolApiSolanaTransactionBuildingError, cfChainsSwapOrigin, cfChainsTransactionInIdForAnyChain, cfPrimitivesBeneficiaryAccountId32, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsForeignChain, cfPrimitivesDcaParameters, cfPrimitivesTxId, cfTraitsLiquidityIncreaseOrDecreaseRangeOrderChange, cfTraitsLiquidityIncreaseOrDecreaseU128, cfTraitsSwappingSwapOutputActionGenericEncodedAddress, cfTraitsSwappingSwapRequestTypeGeneric, hexString, numberOrHex, numericString, palletCfPoolsRangeOrderChange, palletCfTradingStrategyTradingStrategy, simpleEnum, solPrimAltMessageAddressTableLookup, solPrimCompiledInstruction, solPrimMessageHeader, solPrimPdaPdaError, solPrimTransactionLegacyDeprecatedLegacyMessage, solPrimTransactionV0VersionedMessageV0, solPrimTransactionVersionedMessage, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError };