liquid-sdk 1.1.0 → 1.2.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.d.mts CHANGED
@@ -243,6 +243,21 @@ declare class LiquidSDK {
243
243
  isExtensionEnabled(extensionAddress: Address): Promise<boolean>;
244
244
  getMevBlockDelay(): Promise<bigint>;
245
245
  getPoolUnlockTime(poolId: Hex): Promise<bigint>;
246
+ /**
247
+ * Update a token's image. Must be called by the token admin.
248
+ */
249
+ updateImage(tokenAddress: Address, newImage: string): Promise<Hash>;
250
+ /**
251
+ * Update a token's metadata. Must be called by the token admin.
252
+ */
253
+ updateMetadata(tokenAddress: Address, newMetadata: string): Promise<Hash>;
254
+ /**
255
+ * Get all tokens deployed by a specific address by querying TokenCreated events.
256
+ * @param deployer - The address that deployed the tokens (msgSender)
257
+ * @param fromBlock - Starting block to search from (defaults to 0n)
258
+ * @param toBlock - Ending block to search to (defaults to 'latest')
259
+ */
260
+ getDeployedTokens(deployer: Address, fromBlock?: bigint, toBlock?: bigint | "latest"): Promise<TokenCreatedEvent[]>;
246
261
  }
247
262
 
248
263
  declare const ADDRESSES: {
@@ -1592,6 +1607,312 @@ declare const LiquidLpLockerAbi: readonly [{
1592
1607
  readonly stateMutability: "view";
1593
1608
  }];
1594
1609
 
1610
+ declare const LiquidTokenAbi: readonly [{
1611
+ readonly type: "function";
1612
+ readonly name: "updateImage";
1613
+ readonly inputs: readonly [{
1614
+ readonly name: "image_";
1615
+ readonly type: "string";
1616
+ }];
1617
+ readonly outputs: readonly [];
1618
+ readonly stateMutability: "nonpayable";
1619
+ }, {
1620
+ readonly type: "function";
1621
+ readonly name: "updateMetadata";
1622
+ readonly inputs: readonly [{
1623
+ readonly name: "metadata_";
1624
+ readonly type: "string";
1625
+ }];
1626
+ readonly outputs: readonly [];
1627
+ readonly stateMutability: "nonpayable";
1628
+ }, {
1629
+ readonly type: "function";
1630
+ readonly name: "updateAdmin";
1631
+ readonly inputs: readonly [{
1632
+ readonly name: "admin_";
1633
+ readonly type: "address";
1634
+ }];
1635
+ readonly outputs: readonly [];
1636
+ readonly stateMutability: "nonpayable";
1637
+ }, {
1638
+ readonly type: "event";
1639
+ readonly name: "UpdateImage";
1640
+ readonly inputs: readonly [{
1641
+ readonly name: "image";
1642
+ readonly type: "string";
1643
+ readonly indexed: false;
1644
+ }];
1645
+ readonly anonymous: false;
1646
+ }, {
1647
+ readonly type: "event";
1648
+ readonly name: "UpdateMetadata";
1649
+ readonly inputs: readonly [{
1650
+ readonly name: "metadata";
1651
+ readonly type: "string";
1652
+ readonly indexed: false;
1653
+ }];
1654
+ readonly anonymous: false;
1655
+ }, {
1656
+ readonly type: "event";
1657
+ readonly name: "UpdateAdmin";
1658
+ readonly inputs: readonly [{
1659
+ readonly name: "oldAdmin";
1660
+ readonly type: "address";
1661
+ readonly indexed: false;
1662
+ }, {
1663
+ readonly name: "newAdmin";
1664
+ readonly type: "address";
1665
+ readonly indexed: false;
1666
+ }];
1667
+ readonly anonymous: false;
1668
+ }];
1669
+
1670
+ declare const LiquidUniv4EthDevBuyAbi: readonly [{
1671
+ readonly type: "constructor";
1672
+ readonly inputs: readonly [{
1673
+ readonly name: "factory_";
1674
+ readonly type: "address";
1675
+ }, {
1676
+ readonly name: "weth_";
1677
+ readonly type: "address";
1678
+ }, {
1679
+ readonly name: "universalRouter_";
1680
+ readonly type: "address";
1681
+ }, {
1682
+ readonly name: "permit2_";
1683
+ readonly type: "address";
1684
+ }];
1685
+ readonly stateMutability: "nonpayable";
1686
+ }, {
1687
+ readonly type: "function";
1688
+ readonly name: "factory";
1689
+ readonly inputs: readonly [];
1690
+ readonly outputs: readonly [{
1691
+ readonly name: "";
1692
+ readonly type: "address";
1693
+ }];
1694
+ readonly stateMutability: "view";
1695
+ }, {
1696
+ readonly type: "function";
1697
+ readonly name: "weth";
1698
+ readonly inputs: readonly [];
1699
+ readonly outputs: readonly [{
1700
+ readonly name: "";
1701
+ readonly type: "address";
1702
+ }];
1703
+ readonly stateMutability: "view";
1704
+ }, {
1705
+ readonly type: "function";
1706
+ readonly name: "universalRouter";
1707
+ readonly inputs: readonly [];
1708
+ readonly outputs: readonly [{
1709
+ readonly name: "";
1710
+ readonly type: "address";
1711
+ }];
1712
+ readonly stateMutability: "view";
1713
+ }, {
1714
+ readonly type: "function";
1715
+ readonly name: "permit2";
1716
+ readonly inputs: readonly [];
1717
+ readonly outputs: readonly [{
1718
+ readonly name: "";
1719
+ readonly type: "address";
1720
+ }];
1721
+ readonly stateMutability: "view";
1722
+ }, {
1723
+ readonly type: "function";
1724
+ readonly name: "receiveTokens";
1725
+ readonly inputs: readonly [{
1726
+ readonly name: "deploymentConfig";
1727
+ readonly type: "tuple";
1728
+ readonly components: readonly [{
1729
+ readonly name: "tokenConfig";
1730
+ readonly type: "tuple";
1731
+ readonly components: readonly [{
1732
+ readonly name: "tokenAdmin";
1733
+ readonly type: "address";
1734
+ }, {
1735
+ readonly name: "name";
1736
+ readonly type: "string";
1737
+ }, {
1738
+ readonly name: "symbol";
1739
+ readonly type: "string";
1740
+ }, {
1741
+ readonly name: "salt";
1742
+ readonly type: "bytes32";
1743
+ }, {
1744
+ readonly name: "image";
1745
+ readonly type: "string";
1746
+ }, {
1747
+ readonly name: "metadata";
1748
+ readonly type: "string";
1749
+ }, {
1750
+ readonly name: "context";
1751
+ readonly type: "string";
1752
+ }, {
1753
+ readonly name: "originatingChainId";
1754
+ readonly type: "uint256";
1755
+ }];
1756
+ }, {
1757
+ readonly name: "poolConfig";
1758
+ readonly type: "tuple";
1759
+ readonly components: readonly [{
1760
+ readonly name: "hook";
1761
+ readonly type: "address";
1762
+ }, {
1763
+ readonly name: "pairedToken";
1764
+ readonly type: "address";
1765
+ }, {
1766
+ readonly name: "tickIfToken0IsLiquid";
1767
+ readonly type: "int24";
1768
+ }, {
1769
+ readonly name: "tickSpacing";
1770
+ readonly type: "int24";
1771
+ }, {
1772
+ readonly name: "poolData";
1773
+ readonly type: "bytes";
1774
+ }];
1775
+ }, {
1776
+ readonly name: "lockerConfig";
1777
+ readonly type: "tuple";
1778
+ readonly components: readonly [{
1779
+ readonly name: "locker";
1780
+ readonly type: "address";
1781
+ }, {
1782
+ readonly name: "rewardAdmins";
1783
+ readonly type: "address[]";
1784
+ }, {
1785
+ readonly name: "rewardRecipients";
1786
+ readonly type: "address[]";
1787
+ }, {
1788
+ readonly name: "rewardBps";
1789
+ readonly type: "uint16[]";
1790
+ }, {
1791
+ readonly name: "tickLower";
1792
+ readonly type: "int24[]";
1793
+ }, {
1794
+ readonly name: "tickUpper";
1795
+ readonly type: "int24[]";
1796
+ }, {
1797
+ readonly name: "positionBps";
1798
+ readonly type: "uint16[]";
1799
+ }, {
1800
+ readonly name: "lockerData";
1801
+ readonly type: "bytes";
1802
+ }];
1803
+ }, {
1804
+ readonly name: "mevModuleConfig";
1805
+ readonly type: "tuple";
1806
+ readonly components: readonly [{
1807
+ readonly name: "mevModule";
1808
+ readonly type: "address";
1809
+ }, {
1810
+ readonly name: "mevModuleData";
1811
+ readonly type: "bytes";
1812
+ }];
1813
+ }, {
1814
+ readonly name: "extensionConfigs";
1815
+ readonly type: "tuple[]";
1816
+ readonly components: readonly [{
1817
+ readonly name: "extension";
1818
+ readonly type: "address";
1819
+ }, {
1820
+ readonly name: "msgValue";
1821
+ readonly type: "uint256";
1822
+ }, {
1823
+ readonly name: "extensionBps";
1824
+ readonly type: "uint16";
1825
+ }, {
1826
+ readonly name: "extensionData";
1827
+ readonly type: "bytes";
1828
+ }];
1829
+ }];
1830
+ }, {
1831
+ readonly name: "tokenPoolKey";
1832
+ readonly type: "tuple";
1833
+ readonly components: readonly [{
1834
+ readonly name: "currency0";
1835
+ readonly type: "address";
1836
+ }, {
1837
+ readonly name: "currency1";
1838
+ readonly type: "address";
1839
+ }, {
1840
+ readonly name: "fee";
1841
+ readonly type: "uint24";
1842
+ }, {
1843
+ readonly name: "tickSpacing";
1844
+ readonly type: "int24";
1845
+ }, {
1846
+ readonly name: "hooks";
1847
+ readonly type: "address";
1848
+ }];
1849
+ }, {
1850
+ readonly name: "token";
1851
+ readonly type: "address";
1852
+ }, {
1853
+ readonly name: "extensionSupply";
1854
+ readonly type: "uint256";
1855
+ }, {
1856
+ readonly name: "extensionIndex";
1857
+ readonly type: "uint256";
1858
+ }];
1859
+ readonly outputs: readonly [];
1860
+ readonly stateMutability: "payable";
1861
+ }, {
1862
+ readonly type: "function";
1863
+ readonly name: "supportsInterface";
1864
+ readonly inputs: readonly [{
1865
+ readonly name: "interfaceId";
1866
+ readonly type: "bytes4";
1867
+ }];
1868
+ readonly outputs: readonly [{
1869
+ readonly name: "";
1870
+ readonly type: "bool";
1871
+ }];
1872
+ readonly stateMutability: "pure";
1873
+ }, {
1874
+ readonly type: "event";
1875
+ readonly name: "EthDevBuy";
1876
+ readonly inputs: readonly [{
1877
+ readonly name: "token";
1878
+ readonly type: "address";
1879
+ readonly indexed: true;
1880
+ }, {
1881
+ readonly name: "user";
1882
+ readonly type: "address";
1883
+ readonly indexed: true;
1884
+ }, {
1885
+ readonly name: "ethAmount";
1886
+ readonly type: "uint256";
1887
+ readonly indexed: false;
1888
+ }, {
1889
+ readonly name: "tokenAmount";
1890
+ readonly type: "uint256";
1891
+ readonly indexed: false;
1892
+ }];
1893
+ readonly anonymous: false;
1894
+ }, {
1895
+ readonly type: "error";
1896
+ readonly name: "InvalidEthDevBuyPercentage";
1897
+ readonly inputs: readonly [];
1898
+ }, {
1899
+ readonly type: "error";
1900
+ readonly name: "InvalidMsgValue";
1901
+ readonly inputs: readonly [];
1902
+ }, {
1903
+ readonly type: "error";
1904
+ readonly name: "InvalidPairedTokenPoolKey";
1905
+ readonly inputs: readonly [];
1906
+ }, {
1907
+ readonly type: "error";
1908
+ readonly name: "ReentrancyGuardReentrantCall";
1909
+ readonly inputs: readonly [];
1910
+ }, {
1911
+ readonly type: "error";
1912
+ readonly name: "Unauthorized";
1913
+ readonly inputs: readonly [];
1914
+ }];
1915
+
1595
1916
  declare const ERC20Abi: readonly [{
1596
1917
  readonly type: "function";
1597
1918
  readonly name: "name";
@@ -1949,4 +2270,4 @@ interface SniperAuctionConfig {
1949
2270
  */
1950
2271
  declare function encodeSniperAuctionData(config: SniperAuctionConfig): Hex;
1951
2272
 
1952
- export { ADDRESSES, type AirdropInfo, DEFAULTS, DEFAULT_CHAIN, DEFAULT_CHAIN_ID, DEFAULT_RPC_URL, DEFAULT_TRANCHES_USD, type DeployTokenParams, type DeployTokenResult, type DeploymentConfig, type DeploymentInfo, type DevBuyParams, type DynamicFeeConfig, ERC20Abi, EXTERNAL, type ExtensionConfig, FEE, LiquidAirdropV2Abi, LiquidFactoryAbi, LiquidFeeLockerAbi, LiquidHookDynamicFeeV2Abi, LiquidLpLockerAbi, LiquidMevBlockDelayAbi, LiquidPoolExtensionAllowlistAbi, LiquidSDK, type LiquidSDKConfig, LiquidSniperAuctionV2Abi, LiquidSniperUtilV2Abi, LiquidVaultAbi, type LockerConfig, type MarketCapTranche, type MarketCapTrancheUSD, type MevModuleConfig, POOL_POSITIONS, type PoolConfig, type PoolDynamicConfigVars, type PoolDynamicFeeVars, type PoolKey, type PoolPosition, type PositionArrays, type PositionConfig, type SniperAuctionConfig, type SniperAuctionFeeConfig, type SniperAuctionState, TOKEN, type TokenConfig, type TokenCreatedEvent, type TokenRewardInfo, type VaultAllocation, createDefaultPositions, createPositions, createPositionsUSD, describePositions, encodeDynamicFeePoolData, encodeSniperAuctionData, encodeStaticFeePoolData, getTickFromMarketCapETH, getTickFromMarketCapStable, getTickFromMarketCapUSD, marketCapFromTickETH, marketCapFromTickUSD };
2273
+ export { ADDRESSES, type AirdropInfo, DEFAULTS, DEFAULT_CHAIN, DEFAULT_CHAIN_ID, DEFAULT_RPC_URL, DEFAULT_TRANCHES_USD, type DeployTokenParams, type DeployTokenResult, type DeploymentConfig, type DeploymentInfo, type DevBuyParams, type DynamicFeeConfig, ERC20Abi, EXTERNAL, type ExtensionConfig, FEE, LiquidAirdropV2Abi, LiquidFactoryAbi, LiquidFeeLockerAbi, LiquidHookDynamicFeeV2Abi, LiquidLpLockerAbi, LiquidMevBlockDelayAbi, LiquidPoolExtensionAllowlistAbi, LiquidSDK, type LiquidSDKConfig, LiquidSniperAuctionV2Abi, LiquidSniperUtilV2Abi, LiquidTokenAbi, LiquidUniv4EthDevBuyAbi, LiquidVaultAbi, type LockerConfig, type MarketCapTranche, type MarketCapTrancheUSD, type MevModuleConfig, POOL_POSITIONS, type PoolConfig, type PoolDynamicConfigVars, type PoolDynamicFeeVars, type PoolKey, type PoolPosition, type PositionArrays, type PositionConfig, type SniperAuctionConfig, type SniperAuctionFeeConfig, type SniperAuctionState, TOKEN, type TokenConfig, type TokenCreatedEvent, type TokenRewardInfo, type VaultAllocation, createDefaultPositions, createPositions, createPositionsUSD, describePositions, encodeDynamicFeePoolData, encodeSniperAuctionData, encodeStaticFeePoolData, getTickFromMarketCapETH, getTickFromMarketCapStable, getTickFromMarketCapUSD, marketCapFromTickETH, marketCapFromTickUSD };
package/dist/index.d.ts CHANGED
@@ -243,6 +243,21 @@ declare class LiquidSDK {
243
243
  isExtensionEnabled(extensionAddress: Address): Promise<boolean>;
244
244
  getMevBlockDelay(): Promise<bigint>;
245
245
  getPoolUnlockTime(poolId: Hex): Promise<bigint>;
246
+ /**
247
+ * Update a token's image. Must be called by the token admin.
248
+ */
249
+ updateImage(tokenAddress: Address, newImage: string): Promise<Hash>;
250
+ /**
251
+ * Update a token's metadata. Must be called by the token admin.
252
+ */
253
+ updateMetadata(tokenAddress: Address, newMetadata: string): Promise<Hash>;
254
+ /**
255
+ * Get all tokens deployed by a specific address by querying TokenCreated events.
256
+ * @param deployer - The address that deployed the tokens (msgSender)
257
+ * @param fromBlock - Starting block to search from (defaults to 0n)
258
+ * @param toBlock - Ending block to search to (defaults to 'latest')
259
+ */
260
+ getDeployedTokens(deployer: Address, fromBlock?: bigint, toBlock?: bigint | "latest"): Promise<TokenCreatedEvent[]>;
246
261
  }
247
262
 
248
263
  declare const ADDRESSES: {
@@ -1592,6 +1607,312 @@ declare const LiquidLpLockerAbi: readonly [{
1592
1607
  readonly stateMutability: "view";
1593
1608
  }];
1594
1609
 
1610
+ declare const LiquidTokenAbi: readonly [{
1611
+ readonly type: "function";
1612
+ readonly name: "updateImage";
1613
+ readonly inputs: readonly [{
1614
+ readonly name: "image_";
1615
+ readonly type: "string";
1616
+ }];
1617
+ readonly outputs: readonly [];
1618
+ readonly stateMutability: "nonpayable";
1619
+ }, {
1620
+ readonly type: "function";
1621
+ readonly name: "updateMetadata";
1622
+ readonly inputs: readonly [{
1623
+ readonly name: "metadata_";
1624
+ readonly type: "string";
1625
+ }];
1626
+ readonly outputs: readonly [];
1627
+ readonly stateMutability: "nonpayable";
1628
+ }, {
1629
+ readonly type: "function";
1630
+ readonly name: "updateAdmin";
1631
+ readonly inputs: readonly [{
1632
+ readonly name: "admin_";
1633
+ readonly type: "address";
1634
+ }];
1635
+ readonly outputs: readonly [];
1636
+ readonly stateMutability: "nonpayable";
1637
+ }, {
1638
+ readonly type: "event";
1639
+ readonly name: "UpdateImage";
1640
+ readonly inputs: readonly [{
1641
+ readonly name: "image";
1642
+ readonly type: "string";
1643
+ readonly indexed: false;
1644
+ }];
1645
+ readonly anonymous: false;
1646
+ }, {
1647
+ readonly type: "event";
1648
+ readonly name: "UpdateMetadata";
1649
+ readonly inputs: readonly [{
1650
+ readonly name: "metadata";
1651
+ readonly type: "string";
1652
+ readonly indexed: false;
1653
+ }];
1654
+ readonly anonymous: false;
1655
+ }, {
1656
+ readonly type: "event";
1657
+ readonly name: "UpdateAdmin";
1658
+ readonly inputs: readonly [{
1659
+ readonly name: "oldAdmin";
1660
+ readonly type: "address";
1661
+ readonly indexed: false;
1662
+ }, {
1663
+ readonly name: "newAdmin";
1664
+ readonly type: "address";
1665
+ readonly indexed: false;
1666
+ }];
1667
+ readonly anonymous: false;
1668
+ }];
1669
+
1670
+ declare const LiquidUniv4EthDevBuyAbi: readonly [{
1671
+ readonly type: "constructor";
1672
+ readonly inputs: readonly [{
1673
+ readonly name: "factory_";
1674
+ readonly type: "address";
1675
+ }, {
1676
+ readonly name: "weth_";
1677
+ readonly type: "address";
1678
+ }, {
1679
+ readonly name: "universalRouter_";
1680
+ readonly type: "address";
1681
+ }, {
1682
+ readonly name: "permit2_";
1683
+ readonly type: "address";
1684
+ }];
1685
+ readonly stateMutability: "nonpayable";
1686
+ }, {
1687
+ readonly type: "function";
1688
+ readonly name: "factory";
1689
+ readonly inputs: readonly [];
1690
+ readonly outputs: readonly [{
1691
+ readonly name: "";
1692
+ readonly type: "address";
1693
+ }];
1694
+ readonly stateMutability: "view";
1695
+ }, {
1696
+ readonly type: "function";
1697
+ readonly name: "weth";
1698
+ readonly inputs: readonly [];
1699
+ readonly outputs: readonly [{
1700
+ readonly name: "";
1701
+ readonly type: "address";
1702
+ }];
1703
+ readonly stateMutability: "view";
1704
+ }, {
1705
+ readonly type: "function";
1706
+ readonly name: "universalRouter";
1707
+ readonly inputs: readonly [];
1708
+ readonly outputs: readonly [{
1709
+ readonly name: "";
1710
+ readonly type: "address";
1711
+ }];
1712
+ readonly stateMutability: "view";
1713
+ }, {
1714
+ readonly type: "function";
1715
+ readonly name: "permit2";
1716
+ readonly inputs: readonly [];
1717
+ readonly outputs: readonly [{
1718
+ readonly name: "";
1719
+ readonly type: "address";
1720
+ }];
1721
+ readonly stateMutability: "view";
1722
+ }, {
1723
+ readonly type: "function";
1724
+ readonly name: "receiveTokens";
1725
+ readonly inputs: readonly [{
1726
+ readonly name: "deploymentConfig";
1727
+ readonly type: "tuple";
1728
+ readonly components: readonly [{
1729
+ readonly name: "tokenConfig";
1730
+ readonly type: "tuple";
1731
+ readonly components: readonly [{
1732
+ readonly name: "tokenAdmin";
1733
+ readonly type: "address";
1734
+ }, {
1735
+ readonly name: "name";
1736
+ readonly type: "string";
1737
+ }, {
1738
+ readonly name: "symbol";
1739
+ readonly type: "string";
1740
+ }, {
1741
+ readonly name: "salt";
1742
+ readonly type: "bytes32";
1743
+ }, {
1744
+ readonly name: "image";
1745
+ readonly type: "string";
1746
+ }, {
1747
+ readonly name: "metadata";
1748
+ readonly type: "string";
1749
+ }, {
1750
+ readonly name: "context";
1751
+ readonly type: "string";
1752
+ }, {
1753
+ readonly name: "originatingChainId";
1754
+ readonly type: "uint256";
1755
+ }];
1756
+ }, {
1757
+ readonly name: "poolConfig";
1758
+ readonly type: "tuple";
1759
+ readonly components: readonly [{
1760
+ readonly name: "hook";
1761
+ readonly type: "address";
1762
+ }, {
1763
+ readonly name: "pairedToken";
1764
+ readonly type: "address";
1765
+ }, {
1766
+ readonly name: "tickIfToken0IsLiquid";
1767
+ readonly type: "int24";
1768
+ }, {
1769
+ readonly name: "tickSpacing";
1770
+ readonly type: "int24";
1771
+ }, {
1772
+ readonly name: "poolData";
1773
+ readonly type: "bytes";
1774
+ }];
1775
+ }, {
1776
+ readonly name: "lockerConfig";
1777
+ readonly type: "tuple";
1778
+ readonly components: readonly [{
1779
+ readonly name: "locker";
1780
+ readonly type: "address";
1781
+ }, {
1782
+ readonly name: "rewardAdmins";
1783
+ readonly type: "address[]";
1784
+ }, {
1785
+ readonly name: "rewardRecipients";
1786
+ readonly type: "address[]";
1787
+ }, {
1788
+ readonly name: "rewardBps";
1789
+ readonly type: "uint16[]";
1790
+ }, {
1791
+ readonly name: "tickLower";
1792
+ readonly type: "int24[]";
1793
+ }, {
1794
+ readonly name: "tickUpper";
1795
+ readonly type: "int24[]";
1796
+ }, {
1797
+ readonly name: "positionBps";
1798
+ readonly type: "uint16[]";
1799
+ }, {
1800
+ readonly name: "lockerData";
1801
+ readonly type: "bytes";
1802
+ }];
1803
+ }, {
1804
+ readonly name: "mevModuleConfig";
1805
+ readonly type: "tuple";
1806
+ readonly components: readonly [{
1807
+ readonly name: "mevModule";
1808
+ readonly type: "address";
1809
+ }, {
1810
+ readonly name: "mevModuleData";
1811
+ readonly type: "bytes";
1812
+ }];
1813
+ }, {
1814
+ readonly name: "extensionConfigs";
1815
+ readonly type: "tuple[]";
1816
+ readonly components: readonly [{
1817
+ readonly name: "extension";
1818
+ readonly type: "address";
1819
+ }, {
1820
+ readonly name: "msgValue";
1821
+ readonly type: "uint256";
1822
+ }, {
1823
+ readonly name: "extensionBps";
1824
+ readonly type: "uint16";
1825
+ }, {
1826
+ readonly name: "extensionData";
1827
+ readonly type: "bytes";
1828
+ }];
1829
+ }];
1830
+ }, {
1831
+ readonly name: "tokenPoolKey";
1832
+ readonly type: "tuple";
1833
+ readonly components: readonly [{
1834
+ readonly name: "currency0";
1835
+ readonly type: "address";
1836
+ }, {
1837
+ readonly name: "currency1";
1838
+ readonly type: "address";
1839
+ }, {
1840
+ readonly name: "fee";
1841
+ readonly type: "uint24";
1842
+ }, {
1843
+ readonly name: "tickSpacing";
1844
+ readonly type: "int24";
1845
+ }, {
1846
+ readonly name: "hooks";
1847
+ readonly type: "address";
1848
+ }];
1849
+ }, {
1850
+ readonly name: "token";
1851
+ readonly type: "address";
1852
+ }, {
1853
+ readonly name: "extensionSupply";
1854
+ readonly type: "uint256";
1855
+ }, {
1856
+ readonly name: "extensionIndex";
1857
+ readonly type: "uint256";
1858
+ }];
1859
+ readonly outputs: readonly [];
1860
+ readonly stateMutability: "payable";
1861
+ }, {
1862
+ readonly type: "function";
1863
+ readonly name: "supportsInterface";
1864
+ readonly inputs: readonly [{
1865
+ readonly name: "interfaceId";
1866
+ readonly type: "bytes4";
1867
+ }];
1868
+ readonly outputs: readonly [{
1869
+ readonly name: "";
1870
+ readonly type: "bool";
1871
+ }];
1872
+ readonly stateMutability: "pure";
1873
+ }, {
1874
+ readonly type: "event";
1875
+ readonly name: "EthDevBuy";
1876
+ readonly inputs: readonly [{
1877
+ readonly name: "token";
1878
+ readonly type: "address";
1879
+ readonly indexed: true;
1880
+ }, {
1881
+ readonly name: "user";
1882
+ readonly type: "address";
1883
+ readonly indexed: true;
1884
+ }, {
1885
+ readonly name: "ethAmount";
1886
+ readonly type: "uint256";
1887
+ readonly indexed: false;
1888
+ }, {
1889
+ readonly name: "tokenAmount";
1890
+ readonly type: "uint256";
1891
+ readonly indexed: false;
1892
+ }];
1893
+ readonly anonymous: false;
1894
+ }, {
1895
+ readonly type: "error";
1896
+ readonly name: "InvalidEthDevBuyPercentage";
1897
+ readonly inputs: readonly [];
1898
+ }, {
1899
+ readonly type: "error";
1900
+ readonly name: "InvalidMsgValue";
1901
+ readonly inputs: readonly [];
1902
+ }, {
1903
+ readonly type: "error";
1904
+ readonly name: "InvalidPairedTokenPoolKey";
1905
+ readonly inputs: readonly [];
1906
+ }, {
1907
+ readonly type: "error";
1908
+ readonly name: "ReentrancyGuardReentrantCall";
1909
+ readonly inputs: readonly [];
1910
+ }, {
1911
+ readonly type: "error";
1912
+ readonly name: "Unauthorized";
1913
+ readonly inputs: readonly [];
1914
+ }];
1915
+
1595
1916
  declare const ERC20Abi: readonly [{
1596
1917
  readonly type: "function";
1597
1918
  readonly name: "name";
@@ -1949,4 +2270,4 @@ interface SniperAuctionConfig {
1949
2270
  */
1950
2271
  declare function encodeSniperAuctionData(config: SniperAuctionConfig): Hex;
1951
2272
 
1952
- export { ADDRESSES, type AirdropInfo, DEFAULTS, DEFAULT_CHAIN, DEFAULT_CHAIN_ID, DEFAULT_RPC_URL, DEFAULT_TRANCHES_USD, type DeployTokenParams, type DeployTokenResult, type DeploymentConfig, type DeploymentInfo, type DevBuyParams, type DynamicFeeConfig, ERC20Abi, EXTERNAL, type ExtensionConfig, FEE, LiquidAirdropV2Abi, LiquidFactoryAbi, LiquidFeeLockerAbi, LiquidHookDynamicFeeV2Abi, LiquidLpLockerAbi, LiquidMevBlockDelayAbi, LiquidPoolExtensionAllowlistAbi, LiquidSDK, type LiquidSDKConfig, LiquidSniperAuctionV2Abi, LiquidSniperUtilV2Abi, LiquidVaultAbi, type LockerConfig, type MarketCapTranche, type MarketCapTrancheUSD, type MevModuleConfig, POOL_POSITIONS, type PoolConfig, type PoolDynamicConfigVars, type PoolDynamicFeeVars, type PoolKey, type PoolPosition, type PositionArrays, type PositionConfig, type SniperAuctionConfig, type SniperAuctionFeeConfig, type SniperAuctionState, TOKEN, type TokenConfig, type TokenCreatedEvent, type TokenRewardInfo, type VaultAllocation, createDefaultPositions, createPositions, createPositionsUSD, describePositions, encodeDynamicFeePoolData, encodeSniperAuctionData, encodeStaticFeePoolData, getTickFromMarketCapETH, getTickFromMarketCapStable, getTickFromMarketCapUSD, marketCapFromTickETH, marketCapFromTickUSD };
2273
+ export { ADDRESSES, type AirdropInfo, DEFAULTS, DEFAULT_CHAIN, DEFAULT_CHAIN_ID, DEFAULT_RPC_URL, DEFAULT_TRANCHES_USD, type DeployTokenParams, type DeployTokenResult, type DeploymentConfig, type DeploymentInfo, type DevBuyParams, type DynamicFeeConfig, ERC20Abi, EXTERNAL, type ExtensionConfig, FEE, LiquidAirdropV2Abi, LiquidFactoryAbi, LiquidFeeLockerAbi, LiquidHookDynamicFeeV2Abi, LiquidLpLockerAbi, LiquidMevBlockDelayAbi, LiquidPoolExtensionAllowlistAbi, LiquidSDK, type LiquidSDKConfig, LiquidSniperAuctionV2Abi, LiquidSniperUtilV2Abi, LiquidTokenAbi, LiquidUniv4EthDevBuyAbi, LiquidVaultAbi, type LockerConfig, type MarketCapTranche, type MarketCapTrancheUSD, type MevModuleConfig, POOL_POSITIONS, type PoolConfig, type PoolDynamicConfigVars, type PoolDynamicFeeVars, type PoolKey, type PoolPosition, type PositionArrays, type PositionConfig, type SniperAuctionConfig, type SniperAuctionFeeConfig, type SniperAuctionState, TOKEN, type TokenConfig, type TokenCreatedEvent, type TokenRewardInfo, type VaultAllocation, createDefaultPositions, createPositions, createPositionsUSD, describePositions, encodeDynamicFeePoolData, encodeSniperAuctionData, encodeStaticFeePoolData, getTickFromMarketCapETH, getTickFromMarketCapStable, getTickFromMarketCapUSD, marketCapFromTickETH, marketCapFromTickUSD };