@chainflip/processor 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/100/common.cjs +16 -26
  2. package/dist/100/common.d.cts +84 -171
  3. package/dist/100/common.d.ts +84 -171
  4. package/dist/100/common.mjs +16 -26
  5. package/dist/100/funding/failedFundingAttempt.d.cts +2 -2
  6. package/dist/100/funding/failedFundingAttempt.d.ts +2 -2
  7. package/dist/100/funding/funded.d.cts +2 -2
  8. package/dist/100/funding/funded.d.ts +2 -2
  9. package/dist/100/funding/redemptionRequested.d.cts +2 -2
  10. package/dist/100/funding/redemptionRequested.d.ts +2 -2
  11. package/dist/100/liquidityPools/limitOrderUpdated.cjs +1 -1
  12. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +10 -106
  13. package/dist/100/liquidityPools/limitOrderUpdated.d.ts +10 -106
  14. package/dist/100/liquidityPools/limitOrderUpdated.mjs +2 -2
  15. package/dist/100/liquidityPools/rangeOrderUpdated.cjs +1 -1
  16. package/dist/100/liquidityPools/rangeOrderUpdated.mjs +2 -2
  17. package/dist/100/liquidityProvider/accountCredited.d.cts +2 -2
  18. package/dist/100/liquidityProvider/accountCredited.d.ts +2 -2
  19. package/dist/100/liquidityProvider/accountDebited.d.cts +2 -2
  20. package/dist/100/liquidityProvider/accountDebited.d.ts +2 -2
  21. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +2 -2
  22. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.ts +2 -2
  23. package/dist/100/swapping/swapAmountTooLow.d.cts +5 -19
  24. package/dist/100/swapping/swapAmountTooLow.d.ts +5 -19
  25. package/dist/100/swapping/swapScheduled.d.cts +5 -19
  26. package/dist/100/swapping/swapScheduled.d.ts +5 -19
  27. package/dist/100/validator/palletConfigUpdated.d.cts +90 -218
  28. package/dist/100/validator/palletConfigUpdated.d.ts +90 -218
  29. package/dist/102/common.cjs +9 -27
  30. package/dist/102/common.d.cts +61 -167
  31. package/dist/102/common.d.ts +61 -167
  32. package/dist/102/common.mjs +9 -27
  33. package/dist/102/validator/palletConfigUpdated.d.cts +95 -237
  34. package/dist/102/validator/palletConfigUpdated.d.ts +95 -237
  35. package/dist/111/common.cjs +7 -2
  36. package/dist/111/common.d.cts +21 -2
  37. package/dist/111/common.d.ts +21 -2
  38. package/dist/111/common.mjs +7 -2
  39. package/dist/111/liquidityPools/limitOrderUpdated.cjs +1 -1
  40. package/dist/111/liquidityPools/limitOrderUpdated.d.cts +10 -106
  41. package/dist/111/liquidityPools/limitOrderUpdated.d.ts +10 -106
  42. package/dist/111/liquidityPools/limitOrderUpdated.mjs +2 -2
  43. package/dist/111/liquidityPools/rangeOrderUpdated.cjs +1 -1
  44. package/dist/111/liquidityPools/rangeOrderUpdated.mjs +2 -2
  45. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.cts +4 -4
  46. package/dist/111/liquidityPools/scheduledLimitOrderUpdateDispatchFailure.d.ts +4 -4
  47. package/dist/120/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  48. package/dist/120/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  49. package/dist/120/bitcoinIngressEgress/depositReceived.cjs +1 -1
  50. package/dist/120/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  51. package/dist/120/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  52. package/dist/120/bitcoinIngressEgress/depositReceived.mjs +2 -2
  53. package/dist/120/common.cjs +5 -35
  54. package/dist/120/common.d.cts +9 -185
  55. package/dist/120/common.d.ts +9 -185
  56. package/dist/120/common.mjs +6 -36
  57. package/dist/120/ethereumIngressEgress/depositIgnored.cjs +1 -1
  58. package/dist/120/ethereumIngressEgress/depositIgnored.mjs +2 -2
  59. package/dist/120/ethereumIngressEgress/depositReceived.cjs +1 -1
  60. package/dist/120/ethereumIngressEgress/depositReceived.d.cts +10 -38
  61. package/dist/120/ethereumIngressEgress/depositReceived.d.ts +10 -38
  62. package/dist/120/ethereumIngressEgress/depositReceived.mjs +2 -2
  63. package/dist/120/polkadotIngressEgress/depositIgnored.cjs +1 -1
  64. package/dist/120/polkadotIngressEgress/depositIgnored.mjs +2 -2
  65. package/dist/120/polkadotIngressEgress/depositReceived.cjs +1 -1
  66. package/dist/120/polkadotIngressEgress/depositReceived.d.cts +10 -38
  67. package/dist/120/polkadotIngressEgress/depositReceived.d.ts +10 -38
  68. package/dist/120/polkadotIngressEgress/depositReceived.mjs +2 -2
  69. package/dist/120/swapping/swapEgressIgnored.d.cts +2 -2
  70. package/dist/120/swapping/swapEgressIgnored.d.ts +2 -2
  71. package/dist/120/swapping/swapEgressScheduled.d.cts +2 -2
  72. package/dist/120/swapping/swapEgressScheduled.d.ts +2 -2
  73. package/dist/131/bitcoinIngressEgress/depositIgnored.cjs +1 -1
  74. package/dist/131/bitcoinIngressEgress/depositIgnored.mjs +2 -2
  75. package/dist/131/bitcoinIngressEgress/depositReceived.cjs +1 -1
  76. package/dist/131/bitcoinIngressEgress/depositReceived.d.cts +10 -38
  77. package/dist/131/bitcoinIngressEgress/depositReceived.d.ts +10 -38
  78. package/dist/131/bitcoinIngressEgress/depositReceived.mjs +2 -2
  79. package/dist/131/common.cjs +11 -21
  80. package/dist/131/common.d.cts +32 -121
  81. package/dist/131/common.d.ts +32 -121
  82. package/dist/131/common.mjs +14 -24
  83. package/dist/131/ethereumIngressEgress/depositIgnored.cjs +1 -1
  84. package/dist/131/ethereumIngressEgress/depositIgnored.mjs +2 -2
  85. package/dist/131/ethereumIngressEgress/depositReceived.cjs +1 -1
  86. package/dist/131/ethereumIngressEgress/depositReceived.d.cts +10 -38
  87. package/dist/131/ethereumIngressEgress/depositReceived.d.ts +10 -38
  88. package/dist/131/ethereumIngressEgress/depositReceived.mjs +2 -2
  89. package/dist/131/liquidityPools/limitOrderUpdated.cjs +1 -1
  90. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +10 -106
  91. package/dist/131/liquidityPools/limitOrderUpdated.d.ts +10 -106
  92. package/dist/131/liquidityPools/limitOrderUpdated.mjs +2 -2
  93. package/dist/131/liquidityPools/rangeOrderUpdated.cjs +1 -1
  94. package/dist/131/liquidityPools/rangeOrderUpdated.mjs +2 -2
  95. package/dist/131/swapping/ccmFailed.d.cts +5 -19
  96. package/dist/131/swapping/ccmFailed.d.ts +5 -19
  97. package/dist/131/swapping/swapScheduled.d.cts +5 -19
  98. package/dist/131/swapping/swapScheduled.d.ts +5 -19
  99. package/dist/141/arbitrumIngressEgress/depositBoosted.cjs +1 -1
  100. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +15 -57
  101. package/dist/141/arbitrumIngressEgress/depositBoosted.d.ts +15 -57
  102. package/dist/141/arbitrumIngressEgress/depositBoosted.mjs +2 -2
  103. package/dist/141/arbitrumIngressEgress/depositFinalised.cjs +1 -1
  104. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +15 -57
  105. package/dist/141/arbitrumIngressEgress/depositFinalised.d.ts +15 -57
  106. package/dist/141/arbitrumIngressEgress/depositFinalised.mjs +2 -2
  107. package/dist/141/arbitrumIngressEgress/depositIgnored.cjs +1 -1
  108. package/dist/141/arbitrumIngressEgress/depositIgnored.mjs +2 -2
  109. package/dist/141/bitcoinIngressEgress/depositBoosted.cjs +1 -1
  110. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +15 -57
  111. package/dist/141/bitcoinIngressEgress/depositBoosted.d.ts +15 -57
  112. package/dist/141/bitcoinIngressEgress/depositBoosted.mjs +2 -2
  113. package/dist/141/bitcoinIngressEgress/depositFinalised.cjs +1 -1
  114. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +15 -57
  115. package/dist/141/bitcoinIngressEgress/depositFinalised.d.ts +15 -57
  116. package/dist/141/bitcoinIngressEgress/depositFinalised.mjs +2 -2
  117. package/dist/141/common.cjs +12 -52
  118. package/dist/141/common.d.cts +35 -320
  119. package/dist/141/common.d.ts +35 -320
  120. package/dist/141/common.mjs +15 -55
  121. package/dist/141/ethereumIngressEgress/depositBoosted.cjs +1 -1
  122. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +15 -57
  123. package/dist/141/ethereumIngressEgress/depositBoosted.d.ts +15 -57
  124. package/dist/141/ethereumIngressEgress/depositBoosted.mjs +2 -2
  125. package/dist/141/ethereumIngressEgress/depositFinalised.cjs +1 -1
  126. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +15 -57
  127. package/dist/141/ethereumIngressEgress/depositFinalised.d.ts +15 -57
  128. package/dist/141/ethereumIngressEgress/depositFinalised.mjs +2 -2
  129. package/dist/141/liquidityPools/limitOrderUpdated.cjs +1 -1
  130. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +10 -106
  131. package/dist/141/liquidityPools/limitOrderUpdated.d.ts +10 -106
  132. package/dist/141/liquidityPools/limitOrderUpdated.mjs +2 -2
  133. package/dist/141/liquidityPools/rangeOrderUpdated.cjs +1 -1
  134. package/dist/141/liquidityPools/rangeOrderUpdated.mjs +2 -2
  135. package/dist/141/polkadotIngressEgress/depositBoosted.cjs +1 -1
  136. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +15 -57
  137. package/dist/141/polkadotIngressEgress/depositBoosted.d.ts +15 -57
  138. package/dist/141/polkadotIngressEgress/depositBoosted.mjs +2 -2
  139. package/dist/141/polkadotIngressEgress/depositFinalised.cjs +1 -1
  140. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +15 -57
  141. package/dist/141/polkadotIngressEgress/depositFinalised.d.ts +15 -57
  142. package/dist/141/polkadotIngressEgress/depositFinalised.mjs +2 -2
  143. package/dist/141/swapping/ccmFailed.d.cts +5 -19
  144. package/dist/141/swapping/ccmFailed.d.ts +5 -19
  145. package/dist/141/swapping/swapScheduled.d.cts +5 -19
  146. package/dist/141/swapping/swapScheduled.d.ts +5 -19
  147. package/dist/Processor.cjs +2 -2
  148. package/dist/Processor.mjs +2 -2
  149. package/dist/types.d.cts +1 -3
  150. package/dist/types.d.ts +1 -3
  151. package/package.json +1 -1
@@ -1752,212 +1752,116 @@ declare const palletCfValidatorAuctionResolverSetSizeParameters: z.ZodObject<{
1752
1752
  }>;
1753
1753
  declare const palletCfValidatorPalletConfigUpdate: z.ZodUnion<[z.ZodObject<{
1754
1754
  __kind: z.ZodLiteral<"RegistrationBondPercentage">;
1755
- value: z.ZodObject<{
1756
- percentage: z.ZodNumber;
1757
- }, "strip", z.ZodTypeAny, {
1758
- percentage: number;
1759
- }, {
1760
- percentage: number;
1761
- }>;
1755
+ percentage: z.ZodNumber;
1762
1756
  }, "strip", z.ZodTypeAny, {
1763
- value: {
1764
- percentage: number;
1765
- };
1766
1757
  __kind: "RegistrationBondPercentage";
1758
+ percentage: number;
1767
1759
  }, {
1768
- value: {
1769
- percentage: number;
1770
- };
1771
1760
  __kind: "RegistrationBondPercentage";
1761
+ percentage: number;
1772
1762
  }>, z.ZodObject<{
1773
1763
  __kind: z.ZodLiteral<"AuctionBidCutoffPercentage">;
1774
- value: z.ZodObject<{
1775
- percentage: z.ZodNumber;
1776
- }, "strip", z.ZodTypeAny, {
1777
- percentage: number;
1778
- }, {
1779
- percentage: number;
1780
- }>;
1764
+ percentage: z.ZodNumber;
1781
1765
  }, "strip", z.ZodTypeAny, {
1782
- value: {
1783
- percentage: number;
1784
- };
1785
1766
  __kind: "AuctionBidCutoffPercentage";
1767
+ percentage: number;
1786
1768
  }, {
1787
- value: {
1788
- percentage: number;
1789
- };
1790
1769
  __kind: "AuctionBidCutoffPercentage";
1770
+ percentage: number;
1791
1771
  }>, z.ZodObject<{
1792
1772
  __kind: z.ZodLiteral<"RedemptionPeriodAsPercentage">;
1793
- value: z.ZodObject<{
1794
- percentage: z.ZodNumber;
1795
- }, "strip", z.ZodTypeAny, {
1796
- percentage: number;
1797
- }, {
1798
- percentage: number;
1799
- }>;
1773
+ percentage: z.ZodNumber;
1800
1774
  }, "strip", z.ZodTypeAny, {
1801
- value: {
1802
- percentage: number;
1803
- };
1804
1775
  __kind: "RedemptionPeriodAsPercentage";
1776
+ percentage: number;
1805
1777
  }, {
1806
- value: {
1807
- percentage: number;
1808
- };
1809
1778
  __kind: "RedemptionPeriodAsPercentage";
1779
+ percentage: number;
1810
1780
  }>, z.ZodObject<{
1811
1781
  __kind: z.ZodLiteral<"BackupRewardNodePercentage">;
1812
- value: z.ZodObject<{
1813
- percentage: z.ZodNumber;
1814
- }, "strip", z.ZodTypeAny, {
1815
- percentage: number;
1816
- }, {
1817
- percentage: number;
1818
- }>;
1782
+ percentage: z.ZodNumber;
1819
1783
  }, "strip", z.ZodTypeAny, {
1820
- value: {
1821
- percentage: number;
1822
- };
1823
1784
  __kind: "BackupRewardNodePercentage";
1785
+ percentage: number;
1824
1786
  }, {
1825
- value: {
1826
- percentage: number;
1827
- };
1828
1787
  __kind: "BackupRewardNodePercentage";
1788
+ percentage: number;
1829
1789
  }>, z.ZodObject<{
1830
1790
  __kind: z.ZodLiteral<"EpochDuration">;
1831
- value: z.ZodObject<{
1832
- blocks: z.ZodNumber;
1833
- }, "strip", z.ZodTypeAny, {
1834
- blocks: number;
1835
- }, {
1836
- blocks: number;
1837
- }>;
1791
+ blocks: z.ZodNumber;
1838
1792
  }, "strip", z.ZodTypeAny, {
1839
- value: {
1840
- blocks: number;
1841
- };
1842
1793
  __kind: "EpochDuration";
1794
+ blocks: number;
1843
1795
  }, {
1844
- value: {
1845
- blocks: number;
1846
- };
1847
1796
  __kind: "EpochDuration";
1797
+ blocks: number;
1848
1798
  }>, z.ZodObject<{
1849
1799
  __kind: z.ZodLiteral<"AuthoritySetMinSize">;
1850
- value: z.ZodObject<{
1851
- minSize: z.ZodNumber;
1852
- }, "strip", z.ZodTypeAny, {
1853
- minSize: number;
1854
- }, {
1855
- minSize: number;
1856
- }>;
1800
+ minSize: z.ZodNumber;
1857
1801
  }, "strip", z.ZodTypeAny, {
1858
- value: {
1859
- minSize: number;
1860
- };
1861
1802
  __kind: "AuthoritySetMinSize";
1803
+ minSize: number;
1862
1804
  }, {
1863
- value: {
1864
- minSize: number;
1865
- };
1866
1805
  __kind: "AuthoritySetMinSize";
1806
+ minSize: number;
1867
1807
  }>, z.ZodObject<{
1868
1808
  __kind: z.ZodLiteral<"AuctionParameters">;
1869
- value: z.ZodObject<{
1870
- parameters: z.ZodObject<{
1871
- minSize: z.ZodNumber;
1872
- maxSize: z.ZodNumber;
1873
- maxExpansion: z.ZodNumber;
1874
- }, "strip", z.ZodTypeAny, {
1875
- minSize: number;
1876
- maxSize: number;
1877
- maxExpansion: number;
1878
- }, {
1879
- minSize: number;
1880
- maxSize: number;
1881
- maxExpansion: number;
1882
- }>;
1809
+ parameters: z.ZodObject<{
1810
+ minSize: z.ZodNumber;
1811
+ maxSize: z.ZodNumber;
1812
+ maxExpansion: z.ZodNumber;
1883
1813
  }, "strip", z.ZodTypeAny, {
1884
- parameters: {
1885
- minSize: number;
1886
- maxSize: number;
1887
- maxExpansion: number;
1888
- };
1814
+ minSize: number;
1815
+ maxSize: number;
1816
+ maxExpansion: number;
1889
1817
  }, {
1890
- parameters: {
1891
- minSize: number;
1892
- maxSize: number;
1893
- maxExpansion: number;
1894
- };
1818
+ minSize: number;
1819
+ maxSize: number;
1820
+ maxExpansion: number;
1895
1821
  }>;
1896
1822
  }, "strip", z.ZodTypeAny, {
1897
- value: {
1898
- parameters: {
1899
- minSize: number;
1900
- maxSize: number;
1901
- maxExpansion: number;
1902
- };
1903
- };
1904
1823
  __kind: "AuctionParameters";
1905
- }, {
1906
- value: {
1907
- parameters: {
1908
- minSize: number;
1909
- maxSize: number;
1910
- maxExpansion: number;
1911
- };
1824
+ parameters: {
1825
+ minSize: number;
1826
+ maxSize: number;
1827
+ maxExpansion: number;
1912
1828
  };
1829
+ }, {
1913
1830
  __kind: "AuctionParameters";
1831
+ parameters: {
1832
+ minSize: number;
1833
+ maxSize: number;
1834
+ maxExpansion: number;
1835
+ };
1914
1836
  }>, z.ZodObject<{
1915
1837
  __kind: z.ZodLiteral<"MinimumReportedCfeVersion">;
1916
- value: z.ZodObject<{
1917
- version: z.ZodObject<{
1918
- major: z.ZodNumber;
1919
- minor: z.ZodNumber;
1920
- patch: z.ZodNumber;
1921
- }, "strip", z.ZodTypeAny, {
1922
- major: number;
1923
- minor: number;
1924
- patch: number;
1925
- }, {
1926
- major: number;
1927
- minor: number;
1928
- patch: number;
1929
- }>;
1930
- }, "strip", z.ZodTypeAny, {
1931
- version: {
1932
- major: number;
1933
- minor: number;
1934
- patch: number;
1935
- };
1936
- }, {
1937
- version: {
1938
- major: number;
1939
- minor: number;
1940
- patch: number;
1941
- };
1838
+ version: z.ZodObject<{
1839
+ major: z.ZodNumber;
1840
+ minor: z.ZodNumber;
1841
+ patch: z.ZodNumber;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ major: number;
1844
+ minor: number;
1845
+ patch: number;
1846
+ }, {
1847
+ major: number;
1848
+ minor: number;
1849
+ patch: number;
1942
1850
  }>;
1943
1851
  }, "strip", z.ZodTypeAny, {
1944
- value: {
1945
- version: {
1946
- major: number;
1947
- minor: number;
1948
- patch: number;
1949
- };
1950
- };
1951
1852
  __kind: "MinimumReportedCfeVersion";
1952
- }, {
1953
- value: {
1954
- version: {
1955
- major: number;
1956
- minor: number;
1957
- patch: number;
1958
- };
1853
+ version: {
1854
+ major: number;
1855
+ minor: number;
1856
+ patch: number;
1959
1857
  };
1858
+ }, {
1960
1859
  __kind: "MinimumReportedCfeVersion";
1860
+ version: {
1861
+ major: number;
1862
+ minor: number;
1863
+ patch: number;
1864
+ };
1961
1865
  }>]>;
1962
1866
  declare const cfPrimitivesChainsForeignChain: z.ZodEffects<z.ZodObject<{
1963
1867
  __kind: z.ZodEnum<["Ethereum", "Polkadot", "Bitcoin"]>;
@@ -2774,23 +2678,13 @@ declare const cfChainsSwapOrigin: z.ZodUnion<[z.ZodObject<{
2774
2678
  __kind: "DepositChannel";
2775
2679
  }>, z.ZodObject<{
2776
2680
  __kind: z.ZodLiteral<"Vault">;
2777
- value: z.ZodObject<{
2778
- txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2779
- }, "strip", z.ZodTypeAny, {
2780
- txHash: `0x${string}`;
2781
- }, {
2782
- txHash: string;
2783
- }>;
2681
+ txHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2784
2682
  }, "strip", z.ZodTypeAny, {
2785
- value: {
2786
- txHash: `0x${string}`;
2787
- };
2788
2683
  __kind: "Vault";
2684
+ txHash: `0x${string}`;
2789
2685
  }, {
2790
- value: {
2791
- txHash: string;
2792
- };
2793
2686
  __kind: "Vault";
2687
+ txHash: string;
2794
2688
  }>]>;
2795
2689
  declare const cfChainsAddressForeignChainAddress: z.ZodUnion<[z.ZodObject<{
2796
2690
  __kind: z.ZodLiteral<"Eth">;
@@ -3677,7 +3571,7 @@ declare const palletCfPoolsRangeOrderChange: z.ZodObject<{
3677
3571
  pair: string | number;
3678
3572
  };
3679
3573
  }>;
3680
- declare const palletCfPoolsPalletIncreaseOrDecrease: z.ZodUnion<[z.ZodObject<{
3574
+ declare const palletCfPoolsIncreaseOrDecreaseRangeOrderChange: z.ZodUnion<[z.ZodObject<{
3681
3575
  __kind: z.ZodLiteral<"Increase">;
3682
3576
  value: z.ZodObject<{
3683
3577
  liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -3768,5 +3662,24 @@ declare const palletCfPoolsPalletIncreaseOrDecrease: z.ZodUnion<[z.ZodObject<{
3768
3662
  };
3769
3663
  __kind: "Decrease";
3770
3664
  }>]>;
3665
+ declare const palletCfPoolsIncreaseOrDecreaseU128: z.ZodUnion<[z.ZodObject<{
3666
+ __kind: z.ZodLiteral<"Increase">;
3667
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
3668
+ }, "strip", z.ZodTypeAny, {
3669
+ value: bigint;
3670
+ __kind: "Increase";
3671
+ }, {
3672
+ value: string | number;
3673
+ __kind: "Increase";
3674
+ }>, z.ZodObject<{
3675
+ __kind: z.ZodLiteral<"Decrease">;
3676
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
3677
+ }, "strip", z.ZodTypeAny, {
3678
+ value: bigint;
3679
+ __kind: "Decrease";
3680
+ }, {
3681
+ value: string | number;
3682
+ __kind: "Decrease";
3683
+ }>]>;
3771
3684
 
3772
- export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcAggKey, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcPreviousOrCurrent, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsChainStateEthereum, cfChainsChainStatePolkadot, cfChainsDotPolkadotTrackedData, cfChainsDotPolkadotTransactionData, cfChainsDotRuntimeVersion, cfChainsEthEthereumTrackedData, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfChainsSwapOrigin, cfPrimitivesAccountRole, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSemVer, cfPrimitivesSwapLeg, dispatchResult, frameSupportDispatchDispatchClass, frameSupportDispatchDispatchInfo, frameSupportDispatchPays, hexString, numberOrHex, numericString, palletCfBroadcastBroadcastAttemptId, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFlipImbalancesImbalanceSource, palletCfFlipImbalancesInternalSource, palletCfFundingPalletSafeMode, palletCfIngressEgressDepositWitnessBitcoin, palletCfIngressEgressDepositWitnessEthereum, palletCfIngressEgressDepositWitnessPolkadot, palletCfLpPalletSafeMode, palletCfPoolsAssetsMap, palletCfPoolsPalletIncreaseOrDecrease, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfReputationPenalty, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfSwappingSwapType, palletCfTokenholderGovernanceProposal, palletCfValidatorAuctionResolverSetSizeParameters, palletCfValidatorPalletConfigUpdate, palletCfValidatorPalletSafeMode, palletCfValidatorRotationPhase, palletCfValidatorRotationState, palletCfVaultsPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, spWeightsWeightV2Weight, stateChainRuntimeChainflipOffencesOffence, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
3685
+ export { accountId, cfChainsAddressEncodedAddress, cfChainsAddressForeignChainAddress, cfChainsBtcAggKey, cfChainsBtcBitcoinFeeInfo, cfChainsBtcBitcoinTrackedData, cfChainsBtcBitcoinTransactionData, cfChainsBtcPreviousOrCurrent, cfChainsBtcScriptPubkey, cfChainsBtcUtxoId, cfChainsCcmChannelMetadata, cfChainsCcmDepositMetadata, cfChainsChainStateBitcoin, cfChainsChainStateEthereum, cfChainsChainStatePolkadot, cfChainsDotPolkadotTrackedData, cfChainsDotPolkadotTransactionData, cfChainsDotRuntimeVersion, cfChainsEthEthereumTrackedData, cfChainsEvmAggKey, cfChainsEvmParityBit, cfChainsEvmSchnorrVerificationComponents, cfChainsEvmTransaction, cfChainsSwapOrigin, cfPrimitivesAccountRole, cfPrimitivesChainsAssetsAnyAsset, cfPrimitivesChainsAssetsBtcAsset, cfPrimitivesChainsAssetsDotAsset, cfPrimitivesChainsAssetsEthAsset, cfPrimitivesChainsForeignChain, cfPrimitivesSemVer, cfPrimitivesSwapLeg, dispatchResult, frameSupportDispatchDispatchClass, frameSupportDispatchDispatchInfo, frameSupportDispatchPays, hexString, numberOrHex, numericString, palletCfBroadcastBroadcastAttemptId, palletCfBroadcastPalletSafeMode, palletCfEmissionsPalletSafeMode, palletCfEnvironmentSafeModeUpdate, palletCfFlipImbalancesImbalanceSource, palletCfFlipImbalancesInternalSource, palletCfFundingPalletSafeMode, palletCfIngressEgressDepositWitnessBitcoin, palletCfIngressEgressDepositWitnessEthereum, palletCfIngressEgressDepositWitnessPolkadot, palletCfLpPalletSafeMode, palletCfPoolsAssetsMap, palletCfPoolsIncreaseOrDecreaseRangeOrderChange, palletCfPoolsIncreaseOrDecreaseU128, palletCfPoolsPalletSafeMode, palletCfPoolsRangeOrderChange, palletCfReputationPalletSafeMode, palletCfReputationPenalty, palletCfSwappingCcmFailReason, palletCfSwappingPalletSafeMode, palletCfSwappingSwapType, palletCfTokenholderGovernanceProposal, palletCfValidatorAuctionResolverSetSizeParameters, palletCfValidatorPalletConfigUpdate, palletCfValidatorPalletSafeMode, palletCfValidatorRotationPhase, palletCfValidatorRotationState, palletCfVaultsPalletSafeMode, palletCfWitnesserPalletSafeMode, simpleEnum, spArithmeticArithmeticError, spRuntimeDispatchError, spRuntimeModuleError, spRuntimeTokenError, spRuntimeTransactionalError, spWeightsWeightV2Weight, stateChainRuntimeChainflipOffencesOffence, stateChainRuntimeSafeModeInnerRuntimeSafeMode, stateChainRuntimeSafeModeWitnesserCallPermission };
@@ -164,32 +164,17 @@ var palletCfValidatorAuctionResolverSetSizeParameters = z.object({
164
164
  maxExpansion: z.number()
165
165
  });
166
166
  var palletCfValidatorPalletConfigUpdate = z.union([
167
- z.object({
168
- __kind: z.literal("RegistrationBondPercentage"),
169
- value: z.object({ percentage: z.number() })
170
- }),
171
- z.object({
172
- __kind: z.literal("AuctionBidCutoffPercentage"),
173
- value: z.object({ percentage: z.number() })
174
- }),
175
- z.object({
176
- __kind: z.literal("RedemptionPeriodAsPercentage"),
177
- value: z.object({ percentage: z.number() })
178
- }),
179
- z.object({
180
- __kind: z.literal("BackupRewardNodePercentage"),
181
- value: z.object({ percentage: z.number() })
182
- }),
183
- z.object({ __kind: z.literal("EpochDuration"), value: z.object({ blocks: z.number() }) }),
184
- z.object({ __kind: z.literal("AuthoritySetMinSize"), value: z.object({ minSize: z.number() }) }),
167
+ z.object({ __kind: z.literal("RegistrationBondPercentage"), percentage: z.number() }),
168
+ z.object({ __kind: z.literal("AuctionBidCutoffPercentage"), percentage: z.number() }),
169
+ z.object({ __kind: z.literal("RedemptionPeriodAsPercentage"), percentage: z.number() }),
170
+ z.object({ __kind: z.literal("BackupRewardNodePercentage"), percentage: z.number() }),
171
+ z.object({ __kind: z.literal("EpochDuration"), blocks: z.number() }),
172
+ z.object({ __kind: z.literal("AuthoritySetMinSize"), minSize: z.number() }),
185
173
  z.object({
186
174
  __kind: z.literal("AuctionParameters"),
187
- value: z.object({ parameters: palletCfValidatorAuctionResolverSetSizeParameters })
175
+ parameters: palletCfValidatorAuctionResolverSetSizeParameters
188
176
  }),
189
- z.object({
190
- __kind: z.literal("MinimumReportedCfeVersion"),
191
- value: z.object({ version: cfPrimitivesSemVer })
192
- })
177
+ z.object({ __kind: z.literal("MinimumReportedCfeVersion"), version: cfPrimitivesSemVer })
193
178
  ]);
194
179
  var cfPrimitivesChainsForeignChain = simpleEnum(["Ethereum", "Polkadot", "Bitcoin"]);
195
180
  var palletCfTokenholderGovernanceProposal = z.union([
@@ -303,7 +288,7 @@ var cfChainsSwapOrigin = z.union([
303
288
  depositBlockHeight: numberOrHex
304
289
  })
305
290
  }),
306
- z.object({ __kind: z.literal("Vault"), value: z.object({ txHash: hexString }) })
291
+ z.object({ __kind: z.literal("Vault"), txHash: hexString })
307
292
  ]);
308
293
  var cfChainsAddressForeignChainAddress = z.union([
309
294
  z.object({ __kind: z.literal("Eth"), value: hexString }),
@@ -350,10 +335,14 @@ var palletCfPoolsRangeOrderChange = z.object({
350
335
  liquidity: numberOrHex,
351
336
  amounts: palletCfPoolsAssetsMap
352
337
  });
353
- var palletCfPoolsPalletIncreaseOrDecrease = z.union([
338
+ var palletCfPoolsIncreaseOrDecreaseRangeOrderChange = z.union([
354
339
  z.object({ __kind: z.literal("Increase"), value: palletCfPoolsRangeOrderChange }),
355
340
  z.object({ __kind: z.literal("Decrease"), value: palletCfPoolsRangeOrderChange })
356
341
  ]);
342
+ var palletCfPoolsIncreaseOrDecreaseU128 = z.union([
343
+ z.object({ __kind: z.literal("Increase"), value: numberOrHex }),
344
+ z.object({ __kind: z.literal("Decrease"), value: numberOrHex })
345
+ ]);
357
346
  export {
358
347
  accountId,
359
348
  cfChainsAddressEncodedAddress,
@@ -406,7 +395,8 @@ export {
406
395
  palletCfIngressEgressDepositWitnessPolkadot,
407
396
  palletCfLpPalletSafeMode,
408
397
  palletCfPoolsAssetsMap,
409
- palletCfPoolsPalletIncreaseOrDecrease,
398
+ palletCfPoolsIncreaseOrDecreaseRangeOrderChange,
399
+ palletCfPoolsIncreaseOrDecreaseU128,
410
400
  palletCfPoolsPalletSafeMode,
411
401
  palletCfPoolsRangeOrderChange,
412
402
  palletCfReputationPalletSafeMode,
@@ -5,12 +5,12 @@ declare const fundingFailedFundingAttempt: z.ZodObject<{
5
5
  withdrawalAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6
6
  amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- accountId: string;
9
8
  amount: bigint;
9
+ accountId: string;
10
10
  withdrawalAddress: `0x${string}`;
11
11
  }, {
12
- accountId: string;
13
12
  amount: string | number;
13
+ accountId: string;
14
14
  withdrawalAddress: string;
15
15
  }>;
16
16
 
@@ -5,12 +5,12 @@ declare const fundingFailedFundingAttempt: z.ZodObject<{
5
5
  withdrawalAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
6
6
  amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- accountId: string;
9
8
  amount: bigint;
9
+ accountId: string;
10
10
  withdrawalAddress: `0x${string}`;
11
11
  }, {
12
- accountId: string;
13
12
  amount: string | number;
13
+ accountId: string;
14
14
  withdrawalAddress: string;
15
15
  }>;
16
16
 
@@ -6,13 +6,13 @@ declare const fundingFunded: z.ZodObject<{
6
6
  fundsAdded: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
7
7
  totalBalance: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- accountId: string;
10
9
  txHash: `0x${string}`;
10
+ accountId: string;
11
11
  fundsAdded: bigint;
12
12
  totalBalance: bigint;
13
13
  }, {
14
- accountId: string;
15
14
  txHash: string;
15
+ accountId: string;
16
16
  fundsAdded: string | number;
17
17
  totalBalance: string | number;
18
18
  }>;
@@ -6,13 +6,13 @@ declare const fundingFunded: z.ZodObject<{
6
6
  fundsAdded: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
7
7
  totalBalance: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- accountId: string;
10
9
  txHash: `0x${string}`;
10
+ accountId: string;
11
11
  fundsAdded: bigint;
12
12
  totalBalance: bigint;
13
13
  }, {
14
- accountId: string;
15
14
  txHash: string;
15
+ accountId: string;
16
16
  fundsAdded: string | number;
17
17
  totalBalance: string | number;
18
18
  }>;
@@ -6,14 +6,14 @@ declare const fundingRedemptionRequested: z.ZodObject<{
6
6
  broadcastId: z.ZodNumber;
7
7
  expiryTime: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- accountId: string;
10
9
  broadcastId: number;
11
10
  amount: bigint;
11
+ accountId: string;
12
12
  expiryTime: bigint;
13
13
  }, {
14
- accountId: string;
15
14
  broadcastId: number;
16
15
  amount: string | number;
16
+ accountId: string;
17
17
  expiryTime: string | number;
18
18
  }>;
19
19
 
@@ -6,14 +6,14 @@ declare const fundingRedemptionRequested: z.ZodObject<{
6
6
  broadcastId: z.ZodNumber;
7
7
  expiryTime: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- accountId: string;
10
9
  broadcastId: number;
11
10
  amount: bigint;
11
+ accountId: string;
12
12
  expiryTime: bigint;
13
13
  }, {
14
- accountId: string;
15
14
  broadcastId: number;
16
15
  amount: string | number;
16
+ accountId: string;
17
17
  expiryTime: string | number;
18
18
  }>;
19
19
 
@@ -12,7 +12,7 @@ var liquidityPoolsLimitOrderUpdated = _zod.z.object({
12
12
  buyAsset: _commoncjs.cfPrimitivesChainsAssetsAnyAsset,
13
13
  id: _commoncjs.numberOrHex,
14
14
  tick: _zod.z.number(),
15
- amountChange: _commoncjs.palletCfPoolsPalletIncreaseOrDecrease.nullish(),
15
+ amountChange: _commoncjs.palletCfPoolsIncreaseOrDecreaseU128.nullish(),
16
16
  amountTotal: _commoncjs.numberOrHex,
17
17
  collectedFees: _commoncjs.numberOrHex,
18
18
  boughtAmount: _commoncjs.numberOrHex
@@ -24,93 +24,21 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
24
24
  tick: z.ZodNumber;
25
25
  amountChange: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
26
26
  __kind: z.ZodLiteral<"Increase">;
27
- value: z.ZodObject<{
28
- liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
29
- amounts: z.ZodObject<{
30
- base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
31
- pair: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
32
- }, "strip", z.ZodTypeAny, {
33
- base: bigint;
34
- pair: bigint;
35
- }, {
36
- base: string | number;
37
- pair: string | number;
38
- }>;
39
- }, "strip", z.ZodTypeAny, {
40
- liquidity: bigint;
41
- amounts: {
42
- base: bigint;
43
- pair: bigint;
44
- };
45
- }, {
46
- liquidity: string | number;
47
- amounts: {
48
- base: string | number;
49
- pair: string | number;
50
- };
51
- }>;
27
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
52
28
  }, "strip", z.ZodTypeAny, {
53
- value: {
54
- liquidity: bigint;
55
- amounts: {
56
- base: bigint;
57
- pair: bigint;
58
- };
59
- };
29
+ value: bigint;
60
30
  __kind: "Increase";
61
31
  }, {
62
- value: {
63
- liquidity: string | number;
64
- amounts: {
65
- base: string | number;
66
- pair: string | number;
67
- };
68
- };
32
+ value: string | number;
69
33
  __kind: "Increase";
70
34
  }>, z.ZodObject<{
71
35
  __kind: z.ZodLiteral<"Decrease">;
72
- value: z.ZodObject<{
73
- liquidity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
74
- amounts: z.ZodObject<{
75
- base: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
76
- pair: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
77
- }, "strip", z.ZodTypeAny, {
78
- base: bigint;
79
- pair: bigint;
80
- }, {
81
- base: string | number;
82
- pair: string | number;
83
- }>;
84
- }, "strip", z.ZodTypeAny, {
85
- liquidity: bigint;
86
- amounts: {
87
- base: bigint;
88
- pair: bigint;
89
- };
90
- }, {
91
- liquidity: string | number;
92
- amounts: {
93
- base: string | number;
94
- pair: string | number;
95
- };
96
- }>;
36
+ value: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
97
37
  }, "strip", z.ZodTypeAny, {
98
- value: {
99
- liquidity: bigint;
100
- amounts: {
101
- base: bigint;
102
- pair: bigint;
103
- };
104
- };
38
+ value: bigint;
105
39
  __kind: "Decrease";
106
40
  }, {
107
- value: {
108
- liquidity: string | number;
109
- amounts: {
110
- base: string | number;
111
- pair: string | number;
112
- };
113
- };
41
+ value: string | number;
114
42
  __kind: "Decrease";
115
43
  }>]>>>;
116
44
  amountTotal: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, string, string>]>, bigint, string | number>;
@@ -126,22 +54,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
126
54
  amountTotal: bigint;
127
55
  boughtAmount: bigint;
128
56
  amountChange?: {
129
- value: {
130
- liquidity: bigint;
131
- amounts: {
132
- base: bigint;
133
- pair: bigint;
134
- };
135
- };
57
+ value: bigint;
136
58
  __kind: "Increase";
137
59
  } | {
138
- value: {
139
- liquidity: bigint;
140
- amounts: {
141
- base: bigint;
142
- pair: bigint;
143
- };
144
- };
60
+ value: bigint;
145
61
  __kind: "Decrease";
146
62
  } | null | undefined;
147
63
  }, {
@@ -158,22 +74,10 @@ declare const liquidityPoolsLimitOrderUpdated: z.ZodObject<{
158
74
  amountTotal: string | number;
159
75
  boughtAmount: string | number;
160
76
  amountChange?: {
161
- value: {
162
- liquidity: string | number;
163
- amounts: {
164
- base: string | number;
165
- pair: string | number;
166
- };
167
- };
77
+ value: string | number;
168
78
  __kind: "Increase";
169
79
  } | {
170
- value: {
171
- liquidity: string | number;
172
- amounts: {
173
- base: string | number;
174
- pair: string | number;
175
- };
176
- };
80
+ value: string | number;
177
81
  __kind: "Decrease";
178
82
  } | null | undefined;
179
83
  }>;