@emberai/onchain-actions-registry 4.0.0 → 4.1.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.
package/dist/index.cjs CHANGED
@@ -184,11 +184,31 @@ const LiquiditySuppliedTokenSchema = zod.z.object({
184
184
  suppliedAmount: zod.z.string(),
185
185
  owedTokens: zod.z.string()
186
186
  });
187
+ const LiquidityRewardsOwedTokenSchema = zod.z.object({
188
+ tokenUid: TokenIdentifierSchema,
189
+ amount: zod.z.string(),
190
+ usdPrice: zod.z.string().optional(),
191
+ valueUsd: zod.z.string().optional(),
192
+ source: zod.z.string()
193
+ });
187
194
  const LiquidityPositionSchema = zod.z.object({
195
+ positionId: zod.z.string(),
188
196
  poolIdentifier: TokenIdentifierSchema,
189
197
  operator: zod.z.string(),
190
198
  suppliedTokens: zod.z.array(LiquiditySuppliedTokenSchema),
199
+ rewardsOwedTokens: zod.z.array(LiquidityRewardsOwedTokenSchema),
200
+ feesValueUsd: zod.z.string().optional(),
201
+ rewardsValueUsd: zod.z.string().optional(),
202
+ positionValueUsd: zod.z.string().optional(),
191
203
  price: zod.z.string(),
204
+ currentPrice: zod.z.string().optional(),
205
+ currentTick: zod.z.number().int().optional(),
206
+ tickLower: zod.z.number().int().optional(),
207
+ tickUpper: zod.z.number().int().optional(),
208
+ inRange: zod.z.boolean().optional(),
209
+ apr: zod.z.string().optional(),
210
+ apy: zod.z.string().optional(),
211
+ poolFeeBps: zod.z.number().int().optional(),
192
212
  providerId: zod.z.string(),
193
213
  positionRange: LiquidityPositionRangeSchema.optional()
194
214
  });
@@ -196,8 +216,13 @@ const LiquidityPoolTokens = zod.z.object({ tokenUid: TokenIdentifierSchema });
196
216
  const LiquidityPoolSchema = zod.z.object({
197
217
  identifier: TokenIdentifierSchema,
198
218
  tokens: zod.z.array(LiquidityPoolTokens),
199
- price: zod.z.string(),
200
- providerId: zod.z.string()
219
+ currentPrice: zod.z.string(),
220
+ providerId: zod.z.string(),
221
+ feeTierBps: zod.z.number().int().optional(),
222
+ liquidity: zod.z.string().optional(),
223
+ tvlUsd: zod.z.string().optional(),
224
+ volume24hUsd: zod.z.string().optional(),
225
+ tickSpacing: zod.z.number().int().optional()
201
226
  });
202
227
  const LiquidityPayTokensSchema = zod.z.object({
203
228
  token: TokenSchema,
@@ -224,7 +249,7 @@ const WithdrawLiquidityResponseSchema = zod.z.object({
224
249
  const GetWalletLiquidityPositionsRequestSchema = zod.z.object({
225
250
  walletAddress: zod.z.string(),
226
251
  includePrices: zod.z.boolean().optional(),
227
- positionIds: zod.z.array(zod.z.number()).optional()
252
+ positionIds: zod.z.array(zod.z.string()).optional()
228
253
  });
229
254
  const GetWalletLiquidityPositionsResponseSchema = zod.z.object({ positions: zod.z.array(LiquidityPositionSchema) });
230
255
  const GetLiquidityPoolsResponseSchema = zod.z.object({ liquidityPools: zod.z.array(LiquidityPoolSchema) });
@@ -1442,6 +1467,7 @@ exports.LiquidityPoolTokens = LiquidityPoolTokens;
1442
1467
  exports.LiquidityPositionRangeSchema = LiquidityPositionRangeSchema;
1443
1468
  exports.LiquidityPositionSchema = LiquidityPositionSchema;
1444
1469
  exports.LiquidityProvisionRangeSchema = LiquidityProvisionRangeSchema;
1470
+ exports.LiquidityRewardsOwedTokenSchema = LiquidityRewardsOwedTokenSchema;
1445
1471
  exports.LiquiditySuppliedTokenSchema = LiquiditySuppliedTokenSchema;
1446
1472
  exports.MarketTokenizedYieldRequestSchema = MarketTokenizedYieldRequestSchema;
1447
1473
  exports.MarketTokenizedYieldResponseSchema = MarketTokenizedYieldResponseSchema;
package/dist/index.d.cts CHANGED
@@ -814,7 +814,43 @@ declare const LiquiditySuppliedTokenSchema: z.ZodObject<{
814
814
  owedTokens: string;
815
815
  }>;
816
816
  type LiquiditySuppliedToken = z.infer<typeof LiquiditySuppliedTokenSchema>;
817
+ declare const LiquidityRewardsOwedTokenSchema: z.ZodObject<{
818
+ tokenUid: z.ZodObject<{
819
+ chainId: z.ZodString;
820
+ address: z.ZodString;
821
+ }, "strip", z.ZodTypeAny, {
822
+ chainId: string;
823
+ address: string;
824
+ }, {
825
+ chainId: string;
826
+ address: string;
827
+ }>;
828
+ amount: z.ZodString;
829
+ usdPrice: z.ZodOptional<z.ZodString>;
830
+ valueUsd: z.ZodOptional<z.ZodString>;
831
+ source: z.ZodString;
832
+ }, "strip", z.ZodTypeAny, {
833
+ tokenUid: {
834
+ chainId: string;
835
+ address: string;
836
+ };
837
+ amount: string;
838
+ source: string;
839
+ usdPrice?: string | undefined;
840
+ valueUsd?: string | undefined;
841
+ }, {
842
+ tokenUid: {
843
+ chainId: string;
844
+ address: string;
845
+ };
846
+ amount: string;
847
+ source: string;
848
+ usdPrice?: string | undefined;
849
+ valueUsd?: string | undefined;
850
+ }>;
851
+ type LiquidityRewardsOwedToken = z.infer<typeof LiquidityRewardsOwedTokenSchema>;
817
852
  declare const LiquidityPositionSchema: z.ZodObject<{
853
+ positionId: z.ZodString;
818
854
  poolIdentifier: z.ZodObject<{
819
855
  chainId: z.ZodString;
820
856
  address: z.ZodString;
@@ -854,7 +890,52 @@ declare const LiquidityPositionSchema: z.ZodObject<{
854
890
  suppliedAmount: string;
855
891
  owedTokens: string;
856
892
  }>, "many">;
893
+ rewardsOwedTokens: z.ZodArray<z.ZodObject<{
894
+ tokenUid: z.ZodObject<{
895
+ chainId: z.ZodString;
896
+ address: z.ZodString;
897
+ }, "strip", z.ZodTypeAny, {
898
+ chainId: string;
899
+ address: string;
900
+ }, {
901
+ chainId: string;
902
+ address: string;
903
+ }>;
904
+ amount: z.ZodString;
905
+ usdPrice: z.ZodOptional<z.ZodString>;
906
+ valueUsd: z.ZodOptional<z.ZodString>;
907
+ source: z.ZodString;
908
+ }, "strip", z.ZodTypeAny, {
909
+ tokenUid: {
910
+ chainId: string;
911
+ address: string;
912
+ };
913
+ amount: string;
914
+ source: string;
915
+ usdPrice?: string | undefined;
916
+ valueUsd?: string | undefined;
917
+ }, {
918
+ tokenUid: {
919
+ chainId: string;
920
+ address: string;
921
+ };
922
+ amount: string;
923
+ source: string;
924
+ usdPrice?: string | undefined;
925
+ valueUsd?: string | undefined;
926
+ }>, "many">;
927
+ feesValueUsd: z.ZodOptional<z.ZodString>;
928
+ rewardsValueUsd: z.ZodOptional<z.ZodString>;
929
+ positionValueUsd: z.ZodOptional<z.ZodString>;
857
930
  price: z.ZodString;
931
+ currentPrice: z.ZodOptional<z.ZodString>;
932
+ currentTick: z.ZodOptional<z.ZodNumber>;
933
+ tickLower: z.ZodOptional<z.ZodNumber>;
934
+ tickUpper: z.ZodOptional<z.ZodNumber>;
935
+ inRange: z.ZodOptional<z.ZodBoolean>;
936
+ apr: z.ZodOptional<z.ZodString>;
937
+ apy: z.ZodOptional<z.ZodString>;
938
+ poolFeeBps: z.ZodOptional<z.ZodNumber>;
858
939
  providerId: z.ZodString;
859
940
  positionRange: z.ZodOptional<z.ZodObject<{
860
941
  fromPrice: z.ZodString;
@@ -867,6 +948,7 @@ declare const LiquidityPositionSchema: z.ZodObject<{
867
948
  toPrice: string;
868
949
  }>>;
869
950
  }, "strip", z.ZodTypeAny, {
951
+ positionId: string;
870
952
  poolIdentifier: {
871
953
  chainId: string;
872
954
  address: string;
@@ -880,13 +962,35 @@ declare const LiquidityPositionSchema: z.ZodObject<{
880
962
  suppliedAmount: string;
881
963
  owedTokens: string;
882
964
  }[];
965
+ rewardsOwedTokens: {
966
+ tokenUid: {
967
+ chainId: string;
968
+ address: string;
969
+ };
970
+ amount: string;
971
+ source: string;
972
+ usdPrice?: string | undefined;
973
+ valueUsd?: string | undefined;
974
+ }[];
883
975
  price: string;
884
976
  providerId: string;
977
+ feesValueUsd?: string | undefined;
978
+ rewardsValueUsd?: string | undefined;
979
+ positionValueUsd?: string | undefined;
980
+ currentPrice?: string | undefined;
981
+ currentTick?: number | undefined;
982
+ tickLower?: number | undefined;
983
+ tickUpper?: number | undefined;
984
+ inRange?: boolean | undefined;
985
+ apr?: string | undefined;
986
+ apy?: string | undefined;
987
+ poolFeeBps?: number | undefined;
885
988
  positionRange?: {
886
989
  fromPrice: string;
887
990
  toPrice: string;
888
991
  } | undefined;
889
992
  }, {
993
+ positionId: string;
890
994
  poolIdentifier: {
891
995
  chainId: string;
892
996
  address: string;
@@ -900,8 +1004,29 @@ declare const LiquidityPositionSchema: z.ZodObject<{
900
1004
  suppliedAmount: string;
901
1005
  owedTokens: string;
902
1006
  }[];
1007
+ rewardsOwedTokens: {
1008
+ tokenUid: {
1009
+ chainId: string;
1010
+ address: string;
1011
+ };
1012
+ amount: string;
1013
+ source: string;
1014
+ usdPrice?: string | undefined;
1015
+ valueUsd?: string | undefined;
1016
+ }[];
903
1017
  price: string;
904
1018
  providerId: string;
1019
+ feesValueUsd?: string | undefined;
1020
+ rewardsValueUsd?: string | undefined;
1021
+ positionValueUsd?: string | undefined;
1022
+ currentPrice?: string | undefined;
1023
+ currentTick?: number | undefined;
1024
+ tickLower?: number | undefined;
1025
+ tickUpper?: number | undefined;
1026
+ inRange?: boolean | undefined;
1027
+ apr?: string | undefined;
1028
+ apy?: string | undefined;
1029
+ poolFeeBps?: number | undefined;
905
1030
  positionRange?: {
906
1031
  fromPrice: string;
907
1032
  toPrice: string;
@@ -964,10 +1089,15 @@ declare const LiquidityPoolSchema: z.ZodObject<{
964
1089
  address: string;
965
1090
  };
966
1091
  }>, "many">;
967
- price: z.ZodString;
1092
+ currentPrice: z.ZodString;
968
1093
  providerId: z.ZodString;
1094
+ feeTierBps: z.ZodOptional<z.ZodNumber>;
1095
+ liquidity: z.ZodOptional<z.ZodString>;
1096
+ tvlUsd: z.ZodOptional<z.ZodString>;
1097
+ volume24hUsd: z.ZodOptional<z.ZodString>;
1098
+ tickSpacing: z.ZodOptional<z.ZodNumber>;
969
1099
  }, "strip", z.ZodTypeAny, {
970
- price: string;
1100
+ currentPrice: string;
971
1101
  providerId: string;
972
1102
  identifier: {
973
1103
  chainId: string;
@@ -979,8 +1109,13 @@ declare const LiquidityPoolSchema: z.ZodObject<{
979
1109
  address: string;
980
1110
  };
981
1111
  }[];
1112
+ liquidity?: string | undefined;
1113
+ feeTierBps?: number | undefined;
1114
+ tvlUsd?: string | undefined;
1115
+ volume24hUsd?: string | undefined;
1116
+ tickSpacing?: number | undefined;
982
1117
  }, {
983
- price: string;
1118
+ currentPrice: string;
984
1119
  providerId: string;
985
1120
  identifier: {
986
1121
  chainId: string;
@@ -992,6 +1127,11 @@ declare const LiquidityPoolSchema: z.ZodObject<{
992
1127
  address: string;
993
1128
  };
994
1129
  }[];
1130
+ liquidity?: string | undefined;
1131
+ feeTierBps?: number | undefined;
1132
+ tvlUsd?: string | undefined;
1133
+ volume24hUsd?: string | undefined;
1134
+ tickSpacing?: number | undefined;
995
1135
  }>;
996
1136
  type LiquidityPool = z.infer<typeof LiquidityPoolSchema>;
997
1137
  declare const LiquidityPayTokensSchema: z.ZodObject<{
@@ -1444,19 +1584,20 @@ type WithdrawLiquidityResponse = z.infer<typeof WithdrawLiquidityResponseSchema>
1444
1584
  declare const GetWalletLiquidityPositionsRequestSchema: z.ZodObject<{
1445
1585
  walletAddress: z.ZodString;
1446
1586
  includePrices: z.ZodOptional<z.ZodBoolean>;
1447
- positionIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1587
+ positionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1448
1588
  }, "strip", z.ZodTypeAny, {
1449
1589
  walletAddress: string;
1450
1590
  includePrices?: boolean | undefined;
1451
- positionIds?: number[] | undefined;
1591
+ positionIds?: string[] | undefined;
1452
1592
  }, {
1453
1593
  walletAddress: string;
1454
1594
  includePrices?: boolean | undefined;
1455
- positionIds?: number[] | undefined;
1595
+ positionIds?: string[] | undefined;
1456
1596
  }>;
1457
1597
  type GetWalletLiquidityPositionsRequest = z.infer<typeof GetWalletLiquidityPositionsRequestSchema>;
1458
1598
  declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1459
1599
  positions: z.ZodArray<z.ZodObject<{
1600
+ positionId: z.ZodString;
1460
1601
  poolIdentifier: z.ZodObject<{
1461
1602
  chainId: z.ZodString;
1462
1603
  address: z.ZodString;
@@ -1496,7 +1637,52 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1496
1637
  suppliedAmount: string;
1497
1638
  owedTokens: string;
1498
1639
  }>, "many">;
1640
+ rewardsOwedTokens: z.ZodArray<z.ZodObject<{
1641
+ tokenUid: z.ZodObject<{
1642
+ chainId: z.ZodString;
1643
+ address: z.ZodString;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ chainId: string;
1646
+ address: string;
1647
+ }, {
1648
+ chainId: string;
1649
+ address: string;
1650
+ }>;
1651
+ amount: z.ZodString;
1652
+ usdPrice: z.ZodOptional<z.ZodString>;
1653
+ valueUsd: z.ZodOptional<z.ZodString>;
1654
+ source: z.ZodString;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ tokenUid: {
1657
+ chainId: string;
1658
+ address: string;
1659
+ };
1660
+ amount: string;
1661
+ source: string;
1662
+ usdPrice?: string | undefined;
1663
+ valueUsd?: string | undefined;
1664
+ }, {
1665
+ tokenUid: {
1666
+ chainId: string;
1667
+ address: string;
1668
+ };
1669
+ amount: string;
1670
+ source: string;
1671
+ usdPrice?: string | undefined;
1672
+ valueUsd?: string | undefined;
1673
+ }>, "many">;
1674
+ feesValueUsd: z.ZodOptional<z.ZodString>;
1675
+ rewardsValueUsd: z.ZodOptional<z.ZodString>;
1676
+ positionValueUsd: z.ZodOptional<z.ZodString>;
1499
1677
  price: z.ZodString;
1678
+ currentPrice: z.ZodOptional<z.ZodString>;
1679
+ currentTick: z.ZodOptional<z.ZodNumber>;
1680
+ tickLower: z.ZodOptional<z.ZodNumber>;
1681
+ tickUpper: z.ZodOptional<z.ZodNumber>;
1682
+ inRange: z.ZodOptional<z.ZodBoolean>;
1683
+ apr: z.ZodOptional<z.ZodString>;
1684
+ apy: z.ZodOptional<z.ZodString>;
1685
+ poolFeeBps: z.ZodOptional<z.ZodNumber>;
1500
1686
  providerId: z.ZodString;
1501
1687
  positionRange: z.ZodOptional<z.ZodObject<{
1502
1688
  fromPrice: z.ZodString;
@@ -1509,6 +1695,7 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1509
1695
  toPrice: string;
1510
1696
  }>>;
1511
1697
  }, "strip", z.ZodTypeAny, {
1698
+ positionId: string;
1512
1699
  poolIdentifier: {
1513
1700
  chainId: string;
1514
1701
  address: string;
@@ -1522,13 +1709,35 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1522
1709
  suppliedAmount: string;
1523
1710
  owedTokens: string;
1524
1711
  }[];
1712
+ rewardsOwedTokens: {
1713
+ tokenUid: {
1714
+ chainId: string;
1715
+ address: string;
1716
+ };
1717
+ amount: string;
1718
+ source: string;
1719
+ usdPrice?: string | undefined;
1720
+ valueUsd?: string | undefined;
1721
+ }[];
1525
1722
  price: string;
1526
1723
  providerId: string;
1724
+ feesValueUsd?: string | undefined;
1725
+ rewardsValueUsd?: string | undefined;
1726
+ positionValueUsd?: string | undefined;
1727
+ currentPrice?: string | undefined;
1728
+ currentTick?: number | undefined;
1729
+ tickLower?: number | undefined;
1730
+ tickUpper?: number | undefined;
1731
+ inRange?: boolean | undefined;
1732
+ apr?: string | undefined;
1733
+ apy?: string | undefined;
1734
+ poolFeeBps?: number | undefined;
1527
1735
  positionRange?: {
1528
1736
  fromPrice: string;
1529
1737
  toPrice: string;
1530
1738
  } | undefined;
1531
1739
  }, {
1740
+ positionId: string;
1532
1741
  poolIdentifier: {
1533
1742
  chainId: string;
1534
1743
  address: string;
@@ -1542,8 +1751,29 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1542
1751
  suppliedAmount: string;
1543
1752
  owedTokens: string;
1544
1753
  }[];
1754
+ rewardsOwedTokens: {
1755
+ tokenUid: {
1756
+ chainId: string;
1757
+ address: string;
1758
+ };
1759
+ amount: string;
1760
+ source: string;
1761
+ usdPrice?: string | undefined;
1762
+ valueUsd?: string | undefined;
1763
+ }[];
1545
1764
  price: string;
1546
1765
  providerId: string;
1766
+ feesValueUsd?: string | undefined;
1767
+ rewardsValueUsd?: string | undefined;
1768
+ positionValueUsd?: string | undefined;
1769
+ currentPrice?: string | undefined;
1770
+ currentTick?: number | undefined;
1771
+ tickLower?: number | undefined;
1772
+ tickUpper?: number | undefined;
1773
+ inRange?: boolean | undefined;
1774
+ apr?: string | undefined;
1775
+ apy?: string | undefined;
1776
+ poolFeeBps?: number | undefined;
1547
1777
  positionRange?: {
1548
1778
  fromPrice: string;
1549
1779
  toPrice: string;
@@ -1551,6 +1781,7 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1551
1781
  }>, "many">;
1552
1782
  }, "strip", z.ZodTypeAny, {
1553
1783
  positions: {
1784
+ positionId: string;
1554
1785
  poolIdentifier: {
1555
1786
  chainId: string;
1556
1787
  address: string;
@@ -1564,8 +1795,29 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1564
1795
  suppliedAmount: string;
1565
1796
  owedTokens: string;
1566
1797
  }[];
1798
+ rewardsOwedTokens: {
1799
+ tokenUid: {
1800
+ chainId: string;
1801
+ address: string;
1802
+ };
1803
+ amount: string;
1804
+ source: string;
1805
+ usdPrice?: string | undefined;
1806
+ valueUsd?: string | undefined;
1807
+ }[];
1567
1808
  price: string;
1568
1809
  providerId: string;
1810
+ feesValueUsd?: string | undefined;
1811
+ rewardsValueUsd?: string | undefined;
1812
+ positionValueUsd?: string | undefined;
1813
+ currentPrice?: string | undefined;
1814
+ currentTick?: number | undefined;
1815
+ tickLower?: number | undefined;
1816
+ tickUpper?: number | undefined;
1817
+ inRange?: boolean | undefined;
1818
+ apr?: string | undefined;
1819
+ apy?: string | undefined;
1820
+ poolFeeBps?: number | undefined;
1569
1821
  positionRange?: {
1570
1822
  fromPrice: string;
1571
1823
  toPrice: string;
@@ -1573,6 +1825,7 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1573
1825
  }[];
1574
1826
  }, {
1575
1827
  positions: {
1828
+ positionId: string;
1576
1829
  poolIdentifier: {
1577
1830
  chainId: string;
1578
1831
  address: string;
@@ -1586,8 +1839,29 @@ declare const GetWalletLiquidityPositionsResponseSchema: z.ZodObject<{
1586
1839
  suppliedAmount: string;
1587
1840
  owedTokens: string;
1588
1841
  }[];
1842
+ rewardsOwedTokens: {
1843
+ tokenUid: {
1844
+ chainId: string;
1845
+ address: string;
1846
+ };
1847
+ amount: string;
1848
+ source: string;
1849
+ usdPrice?: string | undefined;
1850
+ valueUsd?: string | undefined;
1851
+ }[];
1589
1852
  price: string;
1590
1853
  providerId: string;
1854
+ feesValueUsd?: string | undefined;
1855
+ rewardsValueUsd?: string | undefined;
1856
+ positionValueUsd?: string | undefined;
1857
+ currentPrice?: string | undefined;
1858
+ currentTick?: number | undefined;
1859
+ tickLower?: number | undefined;
1860
+ tickUpper?: number | undefined;
1861
+ inRange?: boolean | undefined;
1862
+ apr?: string | undefined;
1863
+ apy?: string | undefined;
1864
+ poolFeeBps?: number | undefined;
1591
1865
  positionRange?: {
1592
1866
  fromPrice: string;
1593
1867
  toPrice: string;
@@ -1629,10 +1903,15 @@ declare const GetLiquidityPoolsResponseSchema: z.ZodObject<{
1629
1903
  address: string;
1630
1904
  };
1631
1905
  }>, "many">;
1632
- price: z.ZodString;
1906
+ currentPrice: z.ZodString;
1633
1907
  providerId: z.ZodString;
1908
+ feeTierBps: z.ZodOptional<z.ZodNumber>;
1909
+ liquidity: z.ZodOptional<z.ZodString>;
1910
+ tvlUsd: z.ZodOptional<z.ZodString>;
1911
+ volume24hUsd: z.ZodOptional<z.ZodString>;
1912
+ tickSpacing: z.ZodOptional<z.ZodNumber>;
1634
1913
  }, "strip", z.ZodTypeAny, {
1635
- price: string;
1914
+ currentPrice: string;
1636
1915
  providerId: string;
1637
1916
  identifier: {
1638
1917
  chainId: string;
@@ -1644,8 +1923,13 @@ declare const GetLiquidityPoolsResponseSchema: z.ZodObject<{
1644
1923
  address: string;
1645
1924
  };
1646
1925
  }[];
1926
+ liquidity?: string | undefined;
1927
+ feeTierBps?: number | undefined;
1928
+ tvlUsd?: string | undefined;
1929
+ volume24hUsd?: string | undefined;
1930
+ tickSpacing?: number | undefined;
1647
1931
  }, {
1648
- price: string;
1932
+ currentPrice: string;
1649
1933
  providerId: string;
1650
1934
  identifier: {
1651
1935
  chainId: string;
@@ -1657,10 +1941,15 @@ declare const GetLiquidityPoolsResponseSchema: z.ZodObject<{
1657
1941
  address: string;
1658
1942
  };
1659
1943
  }[];
1944
+ liquidity?: string | undefined;
1945
+ feeTierBps?: number | undefined;
1946
+ tvlUsd?: string | undefined;
1947
+ volume24hUsd?: string | undefined;
1948
+ tickSpacing?: number | undefined;
1660
1949
  }>, "many">;
1661
1950
  }, "strip", z.ZodTypeAny, {
1662
1951
  liquidityPools: {
1663
- price: string;
1952
+ currentPrice: string;
1664
1953
  providerId: string;
1665
1954
  identifier: {
1666
1955
  chainId: string;
@@ -1672,10 +1961,15 @@ declare const GetLiquidityPoolsResponseSchema: z.ZodObject<{
1672
1961
  address: string;
1673
1962
  };
1674
1963
  }[];
1964
+ liquidity?: string | undefined;
1965
+ feeTierBps?: number | undefined;
1966
+ tvlUsd?: string | undefined;
1967
+ volume24hUsd?: string | undefined;
1968
+ tickSpacing?: number | undefined;
1675
1969
  }[];
1676
1970
  }, {
1677
1971
  liquidityPools: {
1678
- price: string;
1972
+ currentPrice: string;
1679
1973
  providerId: string;
1680
1974
  identifier: {
1681
1975
  chainId: string;
@@ -1687,6 +1981,11 @@ declare const GetLiquidityPoolsResponseSchema: z.ZodObject<{
1687
1981
  address: string;
1688
1982
  };
1689
1983
  }[];
1984
+ liquidity?: string | undefined;
1985
+ feeTierBps?: number | undefined;
1986
+ tvlUsd?: string | undefined;
1987
+ volume24hUsd?: string | undefined;
1988
+ tickSpacing?: number | undefined;
1690
1989
  }[];
1691
1990
  }>;
1692
1991
  type GetLiquidityPoolsResponse = z.infer<typeof GetLiquidityPoolsResponseSchema>;
@@ -2042,8 +2341,8 @@ declare const CreatePerpetualsPositionRequestSchema: z.ZodObject<{
2042
2341
  collateralTokenAddress: string;
2043
2342
  payTokenAddress: string;
2044
2343
  leverage: string;
2045
- referralCode?: string | undefined;
2046
2344
  limitPrice?: string | undefined;
2345
+ referralCode?: string | undefined;
2047
2346
  }, {
2048
2347
  walletAddress: string;
2049
2348
  chainId: string;
@@ -2052,8 +2351,8 @@ declare const CreatePerpetualsPositionRequestSchema: z.ZodObject<{
2052
2351
  collateralTokenAddress: string;
2053
2352
  payTokenAddress: string;
2054
2353
  leverage: string;
2055
- referralCode?: string | undefined;
2056
2354
  limitPrice?: string | undefined;
2355
+ referralCode?: string | undefined;
2057
2356
  }>;
2058
2357
  type CreatePerpetualsPositionRequest = z.infer<typeof CreatePerpetualsPositionRequestSchema>;
2059
2358
  declare const CreatePerpetualsPositionResponseSchema: z.ZodObject<{
@@ -2801,8 +3100,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2801
3100
  iconUri?: string | null | undefined;
2802
3101
  };
2803
3102
  recipient: string;
2804
- limitPrice?: string | undefined;
2805
3103
  expiration?: string | undefined;
3104
+ limitPrice?: string | undefined;
2806
3105
  slippageTolerance?: string | undefined;
2807
3106
  }, {
2808
3107
  amount: bigint;
@@ -2831,8 +3130,8 @@ declare const SwapTokensRequestSchema: z.ZodObject<{
2831
3130
  iconUri?: string | null | undefined;
2832
3131
  };
2833
3132
  recipient: string;
2834
- limitPrice?: string | undefined;
2835
3133
  expiration?: string | undefined;
3134
+ limitPrice?: string | undefined;
2836
3135
  slippageTolerance?: string | undefined;
2837
3136
  }>;
2838
3137
  type SwapTokensRequest = z.infer<typeof SwapTokensRequestSchema>;
@@ -5142,5 +5441,5 @@ declare class PublicEmberPluginRegistry {
5142
5441
  */
5143
5442
  declare function initializePublicRegistry(chainConfigs: ChainConfig[]): PublicEmberPluginRegistry;
5144
5443
  //#endregion
5145
- export { type Action, type ActionDefinition, AvailableActions, AvailableQueries, BorrowTokensRequest, BorrowTokensRequestSchema, BorrowTokensResponse, BorrowTokensResponseSchema, BuyPtRequest, BuyPtRequestSchema, BuyPtResponse, BuyPtResponseSchema, BuyYtRequest, BuyYtRequestSchema, BuyYtResponse, BuyYtResponseSchema, Chain, type ChainConfig, ChainSchema, ChainType, ChainTypeSchema, ClaimRewardsRequest, ClaimRewardsRequestSchema, ClaimRewardsResponse, ClaimRewardsResponseSchema, ClosePerpetualsOrdersRequest, ClosePerpetualsOrdersRequestSchema, ClosePerpetualsOrdersResponse, ClosePerpetualsOrdersResponseSchema, CreatePerpetualsPositionRequest, CreatePerpetualsPositionRequestSchema, CreatePerpetualsPositionResponse, CreatePerpetualsPositionResponseSchema, DecreasePositionSwapType, DecreasePositionSwapTypeSchema, EmberPlugin, FeeBreakdown, FeeBreakdownSchema, GetLiquidityPoolsResponse, GetLiquidityPoolsResponseSchema, GetPerpetualsMarketsOrdersRequest, GetPerpetualsMarketsOrdersRequestSchema, GetPerpetualsMarketsOrdersResponse, GetPerpetualsMarketsOrdersResponseSchema, GetPerpetualsMarketsPositionsRequest, GetPerpetualsMarketsPositionsRequestSchema, GetPerpetualsMarketsPositionsResponse, GetPerpetualsMarketsPositionsResponseSchema, GetPerpetualsMarketsRequest, GetPerpetualsMarketsRequestSchema, GetPerpetualsMarketsResponse, GetPerpetualsMarketsResponseSchema, GetWalletLendingPositionsRequest, GetWalletLendingPositionsRequestSchema, GetWalletLendingPositionsResponse, GetWalletLendingPositionsResponseSchema, GetWalletLiquidityPositionsRequest, GetWalletLiquidityPositionsRequestSchema, GetWalletLiquidityPositionsResponse, GetWalletLiquidityPositionsResponseSchema, LendTokenDetail, LendTokenDetailSchema, type LendingActions, LendingGetPositions, LendingQueries, type LiquidityActions, LiquidityGetPools, LiquidityGetPoolsOptions, LiquidityGetWalletPositions, LiquidityGetWalletPositionsOptions, LiquidityPayTokens, LiquidityPayTokensSchema, LiquidityPool, LiquidityPoolSchema, LiquidityPoolTokens, LiquidityPosition, LiquidityPositionRange, LiquidityPositionRangeSchema, LiquidityPositionSchema, LiquidityProvisionRange, LiquidityProvisionRangeSchema, LiquidityQueries, LiquiditySuppliedToken, LiquiditySuppliedTokenSchema, MarketTokenizedYieldRequest, MarketTokenizedYieldRequestSchema, MarketTokenizedYieldResponse, MarketTokenizedYieldResponseSchema, MintPtAndYtRequest, MintPtAndYtRequestSchema, MintPtAndYtResponse, MintPtAndYtResponseSchema, OrderSchema, OrderType, OrderTypeSchema, OrdersDataSchema, PerpetualMarket, PerpetualMarketSchema, type PerpetualsActions, PerpetualsGetMarkets, PerpetualsGetOrders, PerpetualsGetPositions, PerpetualsOrder, PerpetualsPosition, PerpetualsQueries, PluginType, PositionSchema, PositionSide, PositionSideSchema, PositionsDataSchema, ProviderTrackingInfo, ProviderTrackingInfoSchema, ProviderTrackingStatus, ProviderTrackingStatusSchema, PublicEmberPluginRegistry, RedeemPtRequest, RedeemPtRequestSchema, RedeemPtResponse, RedeemPtResponseSchema, RepayTokensRequest, RepayTokensRequestSchema, RepayTokensResponse, RepayTokensResponseSchema, SellPtRequest, SellPtRequestSchema, SellPtResponse, SellPtResponseSchema, SellYtRequest, SellYtRequestSchema, SellYtResponse, SellYtResponseSchema, SupplyLiquidityRequest, SupplyLiquidityRequestSchema, SupplyLiquidityResponse, SupplyLiquidityResponseSchema, SupplyTokensRequest, SupplyTokensRequestSchema, SupplyTokensResponse, SupplyTokensResponseSchema, type SwapActions, SwapEstimation, SwapEstimationSchema, SwapTokensRequest, SwapTokensRequestSchema, SwapTokensResponse, SwapTokensResponseSchema, Token, TokenIdentifier, TokenIdentifierSchema, TokenSchema, type TokenSet, type TokenizedYieldActions, TokenizedYieldGetMarkets, TokenizedYieldGetUserPositions, TokenizedYieldMarket, TokenizedYieldMarketSchema, TokenizedYieldQueries, TokenizedYieldUserPosition, TokenizedYieldUserPositionSchema, TokenizedYieldUserPositionsRequest, TokenizedYieldUserPositionsRequestSchema, TokenizedYieldUserPositionsResponse, TokenizedYieldUserPositionsResponseSchema, TransactionPlan, TransactionPlanError, TransactionPlanErrorSchema, TransactionPlanSchema, TransactionType, TransactionTypeSchema, TransactionTypes, WithdrawLiquidityRequest, WithdrawLiquidityRequestSchema, WithdrawLiquidityResponse, WithdrawLiquidityResponseSchema, WithdrawTokensRequest, WithdrawTokensRequestSchema, WithdrawTokensResponse, WithdrawTokensResponseSchema, initializePublicRegistry };
5444
+ export { type Action, type ActionDefinition, AvailableActions, AvailableQueries, BorrowTokensRequest, BorrowTokensRequestSchema, BorrowTokensResponse, BorrowTokensResponseSchema, BuyPtRequest, BuyPtRequestSchema, BuyPtResponse, BuyPtResponseSchema, BuyYtRequest, BuyYtRequestSchema, BuyYtResponse, BuyYtResponseSchema, Chain, type ChainConfig, ChainSchema, ChainType, ChainTypeSchema, ClaimRewardsRequest, ClaimRewardsRequestSchema, ClaimRewardsResponse, ClaimRewardsResponseSchema, ClosePerpetualsOrdersRequest, ClosePerpetualsOrdersRequestSchema, ClosePerpetualsOrdersResponse, ClosePerpetualsOrdersResponseSchema, CreatePerpetualsPositionRequest, CreatePerpetualsPositionRequestSchema, CreatePerpetualsPositionResponse, CreatePerpetualsPositionResponseSchema, DecreasePositionSwapType, DecreasePositionSwapTypeSchema, EmberPlugin, FeeBreakdown, FeeBreakdownSchema, GetLiquidityPoolsResponse, GetLiquidityPoolsResponseSchema, GetPerpetualsMarketsOrdersRequest, GetPerpetualsMarketsOrdersRequestSchema, GetPerpetualsMarketsOrdersResponse, GetPerpetualsMarketsOrdersResponseSchema, GetPerpetualsMarketsPositionsRequest, GetPerpetualsMarketsPositionsRequestSchema, GetPerpetualsMarketsPositionsResponse, GetPerpetualsMarketsPositionsResponseSchema, GetPerpetualsMarketsRequest, GetPerpetualsMarketsRequestSchema, GetPerpetualsMarketsResponse, GetPerpetualsMarketsResponseSchema, GetWalletLendingPositionsRequest, GetWalletLendingPositionsRequestSchema, GetWalletLendingPositionsResponse, GetWalletLendingPositionsResponseSchema, GetWalletLiquidityPositionsRequest, GetWalletLiquidityPositionsRequestSchema, GetWalletLiquidityPositionsResponse, GetWalletLiquidityPositionsResponseSchema, LendTokenDetail, LendTokenDetailSchema, type LendingActions, LendingGetPositions, LendingQueries, type LiquidityActions, LiquidityGetPools, LiquidityGetPoolsOptions, LiquidityGetWalletPositions, LiquidityGetWalletPositionsOptions, LiquidityPayTokens, LiquidityPayTokensSchema, LiquidityPool, LiquidityPoolSchema, LiquidityPoolTokens, LiquidityPosition, LiquidityPositionRange, LiquidityPositionRangeSchema, LiquidityPositionSchema, LiquidityProvisionRange, LiquidityProvisionRangeSchema, LiquidityQueries, LiquidityRewardsOwedToken, LiquidityRewardsOwedTokenSchema, LiquiditySuppliedToken, LiquiditySuppliedTokenSchema, MarketTokenizedYieldRequest, MarketTokenizedYieldRequestSchema, MarketTokenizedYieldResponse, MarketTokenizedYieldResponseSchema, MintPtAndYtRequest, MintPtAndYtRequestSchema, MintPtAndYtResponse, MintPtAndYtResponseSchema, OrderSchema, OrderType, OrderTypeSchema, OrdersDataSchema, PerpetualMarket, PerpetualMarketSchema, type PerpetualsActions, PerpetualsGetMarkets, PerpetualsGetOrders, PerpetualsGetPositions, PerpetualsOrder, PerpetualsPosition, PerpetualsQueries, PluginType, PositionSchema, PositionSide, PositionSideSchema, PositionsDataSchema, ProviderTrackingInfo, ProviderTrackingInfoSchema, ProviderTrackingStatus, ProviderTrackingStatusSchema, PublicEmberPluginRegistry, RedeemPtRequest, RedeemPtRequestSchema, RedeemPtResponse, RedeemPtResponseSchema, RepayTokensRequest, RepayTokensRequestSchema, RepayTokensResponse, RepayTokensResponseSchema, SellPtRequest, SellPtRequestSchema, SellPtResponse, SellPtResponseSchema, SellYtRequest, SellYtRequestSchema, SellYtResponse, SellYtResponseSchema, SupplyLiquidityRequest, SupplyLiquidityRequestSchema, SupplyLiquidityResponse, SupplyLiquidityResponseSchema, SupplyTokensRequest, SupplyTokensRequestSchema, SupplyTokensResponse, SupplyTokensResponseSchema, type SwapActions, SwapEstimation, SwapEstimationSchema, SwapTokensRequest, SwapTokensRequestSchema, SwapTokensResponse, SwapTokensResponseSchema, Token, TokenIdentifier, TokenIdentifierSchema, TokenSchema, type TokenSet, type TokenizedYieldActions, TokenizedYieldGetMarkets, TokenizedYieldGetUserPositions, TokenizedYieldMarket, TokenizedYieldMarketSchema, TokenizedYieldQueries, TokenizedYieldUserPosition, TokenizedYieldUserPositionSchema, TokenizedYieldUserPositionsRequest, TokenizedYieldUserPositionsRequestSchema, TokenizedYieldUserPositionsResponse, TokenizedYieldUserPositionsResponseSchema, TransactionPlan, TransactionPlanError, TransactionPlanErrorSchema, TransactionPlanSchema, TransactionType, TransactionTypeSchema, TransactionTypes, WithdrawLiquidityRequest, WithdrawLiquidityRequestSchema, WithdrawLiquidityResponse, WithdrawLiquidityResponseSchema, WithdrawTokensRequest, WithdrawTokensRequestSchema, WithdrawTokensResponse, WithdrawTokensResponseSchema, initializePublicRegistry };
5146
5445
  //# sourceMappingURL=index.d.cts.map