@spicenet-io/spiceflow-core 0.3.10 → 0.3.11

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
@@ -70,6 +70,8 @@ __export(index_exports, {
70
70
  requireTokenBySymbol: () => requireTokenBySymbol,
71
71
  requireViemChain: () => requireViemChain,
72
72
  resolveTokenRef: () => resolveTokenRef,
73
+ spicenetAbi: () => spicenetAbi,
74
+ spicenetWalletManagerAbi: () => spicenetWalletManagerAbi,
73
75
  submitTransaction: () => submitTransaction,
74
76
  truncateAddress: () => truncateAddress,
75
77
  uniV3QuoterV2Abi: () => uniV3QuoterV2Abi,
@@ -1410,6 +1412,898 @@ var uniV3SwapRouterAbi = [
1410
1412
  }
1411
1413
  ];
1412
1414
 
1415
+ // src/abis/spicenet.ts
1416
+ var spicenetAbi = [
1417
+ {
1418
+ type: "function",
1419
+ name: "closeRebalancingRequest",
1420
+ inputs: [
1421
+ {
1422
+ name: "args",
1423
+ type: "tuple",
1424
+ internalType: "struct Spicenet.CloseRebalancingRequestArgs",
1425
+ components: [
1426
+ {
1427
+ name: "idempotenceKey",
1428
+ type: "bytes32",
1429
+ internalType: "bytes32"
1430
+ },
1431
+ {
1432
+ name: "repaymentChainTokenAmount",
1433
+ type: "uint256",
1434
+ internalType: "uint256"
1435
+ }
1436
+ ]
1437
+ }
1438
+ ],
1439
+ outputs: [],
1440
+ stateMutability: "nonpayable"
1441
+ },
1442
+ {
1443
+ type: "function",
1444
+ name: "createWithdrawalRequest",
1445
+ inputs: [
1446
+ {
1447
+ name: "request",
1448
+ type: "tuple",
1449
+ internalType: "struct Spicenet.CreateWithdrawalRequestArgs",
1450
+ components: [
1451
+ {
1452
+ name: "chainId",
1453
+ type: "string",
1454
+ internalType: "string"
1455
+ },
1456
+ {
1457
+ name: "idempotenceKey",
1458
+ type: "bytes32",
1459
+ internalType: "bytes32"
1460
+ },
1461
+ {
1462
+ name: "nbf",
1463
+ type: "uint256",
1464
+ internalType: "uint256"
1465
+ },
1466
+ {
1467
+ name: "exp",
1468
+ type: "uint256",
1469
+ internalType: "uint256"
1470
+ },
1471
+ {
1472
+ name: "metadata",
1473
+ type: "string",
1474
+ internalType: "string"
1475
+ },
1476
+ {
1477
+ name: "transfers",
1478
+ type: "tuple[]",
1479
+ internalType: "struct Spicenet.CreateTokenTransfer[]",
1480
+ components: [
1481
+ {
1482
+ name: "token",
1483
+ type: "string",
1484
+ internalType: "string"
1485
+ },
1486
+ {
1487
+ name: "to",
1488
+ type: "string",
1489
+ internalType: "string"
1490
+ },
1491
+ {
1492
+ name: "amount",
1493
+ type: "uint256",
1494
+ internalType: "uint256"
1495
+ }
1496
+ ]
1497
+ }
1498
+ ]
1499
+ }
1500
+ ],
1501
+ outputs: [],
1502
+ stateMutability: "nonpayable"
1503
+ },
1504
+ {
1505
+ type: "function",
1506
+ name: "createRebalancingRequest",
1507
+ inputs: [
1508
+ {
1509
+ name: "request",
1510
+ type: "tuple",
1511
+ internalType: "struct Spicenet.CreateRebalancingRequestArgs",
1512
+ components: [
1513
+ {
1514
+ name: "idempotenceKey",
1515
+ type: "bytes32",
1516
+ internalType: "bytes32"
1517
+ },
1518
+ {
1519
+ name: "nbf",
1520
+ type: "uint256",
1521
+ internalType: "uint256"
1522
+ },
1523
+ {
1524
+ name: "exp",
1525
+ type: "uint256",
1526
+ internalType: "uint256"
1527
+ },
1528
+ {
1529
+ name: "metadata",
1530
+ type: "string",
1531
+ internalType: "string"
1532
+ },
1533
+ {
1534
+ name: "recipient",
1535
+ type: "string",
1536
+ internalType: "string"
1537
+ },
1538
+ {
1539
+ name: "fromChainToken",
1540
+ type: "string",
1541
+ internalType: "string"
1542
+ },
1543
+ {
1544
+ name: "fromChainTokenAmount",
1545
+ type: "uint256",
1546
+ internalType: "uint256"
1547
+ },
1548
+ {
1549
+ name: "toChainToken",
1550
+ type: "string",
1551
+ internalType: "string"
1552
+ },
1553
+ {
1554
+ name: "toChainTokenAmountMin",
1555
+ type: "uint256",
1556
+ internalType: "uint256"
1557
+ }
1558
+ ]
1559
+ }
1560
+ ],
1561
+ outputs: [],
1562
+ stateMutability: "nonpayable"
1563
+ }
1564
+ ];
1565
+
1566
+ // src/abis/spicenetWalletManager.ts
1567
+ var spicenetWalletManagerAbi = [
1568
+ {
1569
+ type: "constructor",
1570
+ inputs: [],
1571
+ stateMutability: "nonpayable"
1572
+ },
1573
+ {
1574
+ type: "function",
1575
+ name: "DEFAULT_ADMIN_ROLE",
1576
+ inputs: [],
1577
+ outputs: [
1578
+ {
1579
+ name: "",
1580
+ type: "bytes32",
1581
+ internalType: "bytes32"
1582
+ }
1583
+ ],
1584
+ stateMutability: "view"
1585
+ },
1586
+ {
1587
+ type: "function",
1588
+ name: "UPGRADER_ROLE",
1589
+ inputs: [],
1590
+ outputs: [
1591
+ {
1592
+ name: "",
1593
+ type: "bytes32",
1594
+ internalType: "bytes32"
1595
+ }
1596
+ ],
1597
+ stateMutability: "view"
1598
+ },
1599
+ {
1600
+ type: "function",
1601
+ name: "UPGRADE_INTERFACE_VERSION",
1602
+ inputs: [],
1603
+ outputs: [
1604
+ {
1605
+ name: "",
1606
+ type: "string",
1607
+ internalType: "string"
1608
+ }
1609
+ ],
1610
+ stateMutability: "view"
1611
+ },
1612
+ {
1613
+ type: "function",
1614
+ name: "getRoleAdmin",
1615
+ inputs: [
1616
+ {
1617
+ name: "role",
1618
+ type: "bytes32",
1619
+ internalType: "bytes32"
1620
+ }
1621
+ ],
1622
+ outputs: [
1623
+ {
1624
+ name: "",
1625
+ type: "bytes32",
1626
+ internalType: "bytes32"
1627
+ }
1628
+ ],
1629
+ stateMutability: "view"
1630
+ },
1631
+ {
1632
+ type: "function",
1633
+ name: "getRoleMember",
1634
+ inputs: [
1635
+ {
1636
+ name: "role",
1637
+ type: "bytes32",
1638
+ internalType: "bytes32"
1639
+ },
1640
+ {
1641
+ name: "index",
1642
+ type: "uint256",
1643
+ internalType: "uint256"
1644
+ }
1645
+ ],
1646
+ outputs: [
1647
+ {
1648
+ name: "",
1649
+ type: "address",
1650
+ internalType: "address"
1651
+ }
1652
+ ],
1653
+ stateMutability: "view"
1654
+ },
1655
+ {
1656
+ type: "function",
1657
+ name: "getRoleMemberCount",
1658
+ inputs: [
1659
+ {
1660
+ name: "role",
1661
+ type: "bytes32",
1662
+ internalType: "bytes32"
1663
+ }
1664
+ ],
1665
+ outputs: [
1666
+ {
1667
+ name: "",
1668
+ type: "uint256",
1669
+ internalType: "uint256"
1670
+ }
1671
+ ],
1672
+ stateMutability: "view"
1673
+ },
1674
+ {
1675
+ type: "function",
1676
+ name: "getRoleMembers",
1677
+ inputs: [
1678
+ {
1679
+ name: "role",
1680
+ type: "bytes32",
1681
+ internalType: "bytes32"
1682
+ }
1683
+ ],
1684
+ outputs: [
1685
+ {
1686
+ name: "",
1687
+ type: "address[]",
1688
+ internalType: "address[]"
1689
+ }
1690
+ ],
1691
+ stateMutability: "view"
1692
+ },
1693
+ {
1694
+ type: "function",
1695
+ name: "getWithdrawalInfo",
1696
+ inputs: [
1697
+ {
1698
+ name: "idempotenceKey",
1699
+ type: "bytes32",
1700
+ internalType: "bytes32"
1701
+ }
1702
+ ],
1703
+ outputs: [
1704
+ {
1705
+ name: "",
1706
+ type: "tuple",
1707
+ internalType: "struct SpicenetWithdrawalManagerV1.WithdrawalInfo",
1708
+ components: [
1709
+ {
1710
+ name: "processed",
1711
+ type: "bool",
1712
+ internalType: "bool"
1713
+ },
1714
+ {
1715
+ name: "blockNumber",
1716
+ type: "uint256",
1717
+ internalType: "uint256"
1718
+ },
1719
+ {
1720
+ name: "nbf",
1721
+ type: "uint256",
1722
+ internalType: "uint256"
1723
+ },
1724
+ {
1725
+ name: "exp",
1726
+ type: "uint256",
1727
+ internalType: "uint256"
1728
+ },
1729
+ {
1730
+ name: "metadata",
1731
+ type: "string",
1732
+ internalType: "string"
1733
+ }
1734
+ ]
1735
+ }
1736
+ ],
1737
+ stateMutability: "view"
1738
+ },
1739
+ {
1740
+ type: "function",
1741
+ name: "grantRole",
1742
+ inputs: [
1743
+ {
1744
+ name: "role",
1745
+ type: "bytes32",
1746
+ internalType: "bytes32"
1747
+ },
1748
+ {
1749
+ name: "account",
1750
+ type: "address",
1751
+ internalType: "address"
1752
+ }
1753
+ ],
1754
+ outputs: [],
1755
+ stateMutability: "nonpayable"
1756
+ },
1757
+ {
1758
+ type: "function",
1759
+ name: "hasRole",
1760
+ inputs: [
1761
+ {
1762
+ name: "role",
1763
+ type: "bytes32",
1764
+ internalType: "bytes32"
1765
+ },
1766
+ {
1767
+ name: "account",
1768
+ type: "address",
1769
+ internalType: "address"
1770
+ }
1771
+ ],
1772
+ outputs: [
1773
+ {
1774
+ name: "",
1775
+ type: "bool",
1776
+ internalType: "bool"
1777
+ }
1778
+ ],
1779
+ stateMutability: "view"
1780
+ },
1781
+ {
1782
+ type: "function",
1783
+ name: "initialize",
1784
+ inputs: [
1785
+ {
1786
+ name: "defaultAdmin",
1787
+ type: "address",
1788
+ internalType: "address"
1789
+ }
1790
+ ],
1791
+ outputs: [],
1792
+ stateMutability: "nonpayable"
1793
+ },
1794
+ {
1795
+ type: "function",
1796
+ name: "processWithdrawal",
1797
+ inputs: [
1798
+ {
1799
+ name: "request",
1800
+ type: "tuple",
1801
+ internalType: "struct SpicenetWithdrawalManagerV1.WithdrawalRequest",
1802
+ components: [
1803
+ {
1804
+ name: "idempotenceKey",
1805
+ type: "bytes32",
1806
+ internalType: "bytes32"
1807
+ },
1808
+ {
1809
+ name: "nbf",
1810
+ type: "uint256",
1811
+ internalType: "uint256"
1812
+ },
1813
+ {
1814
+ name: "exp",
1815
+ type: "uint256",
1816
+ internalType: "uint256"
1817
+ },
1818
+ {
1819
+ name: "metadata",
1820
+ type: "string",
1821
+ internalType: "string"
1822
+ },
1823
+ {
1824
+ name: "transfers",
1825
+ type: "tuple[]",
1826
+ internalType: "struct SpicenetWithdrawalManagerV1.TokenTransfer[]",
1827
+ components: [
1828
+ {
1829
+ name: "token",
1830
+ type: "address",
1831
+ internalType: "address"
1832
+ },
1833
+ {
1834
+ name: "to",
1835
+ type: "address",
1836
+ internalType: "address"
1837
+ },
1838
+ {
1839
+ name: "amount",
1840
+ type: "uint256",
1841
+ internalType: "uint256"
1842
+ }
1843
+ ]
1844
+ }
1845
+ ]
1846
+ }
1847
+ ],
1848
+ outputs: [],
1849
+ stateMutability: "nonpayable"
1850
+ },
1851
+ {
1852
+ type: "function",
1853
+ name: "proxiableUUID",
1854
+ inputs: [],
1855
+ outputs: [
1856
+ {
1857
+ name: "",
1858
+ type: "bytes32",
1859
+ internalType: "bytes32"
1860
+ }
1861
+ ],
1862
+ stateMutability: "view"
1863
+ },
1864
+ {
1865
+ type: "function",
1866
+ name: "renounceRole",
1867
+ inputs: [
1868
+ {
1869
+ name: "role",
1870
+ type: "bytes32",
1871
+ internalType: "bytes32"
1872
+ },
1873
+ {
1874
+ name: "callerConfirmation",
1875
+ type: "address",
1876
+ internalType: "address"
1877
+ }
1878
+ ],
1879
+ outputs: [],
1880
+ stateMutability: "nonpayable"
1881
+ },
1882
+ {
1883
+ type: "function",
1884
+ name: "revokeRole",
1885
+ inputs: [
1886
+ {
1887
+ name: "role",
1888
+ type: "bytes32",
1889
+ internalType: "bytes32"
1890
+ },
1891
+ {
1892
+ name: "account",
1893
+ type: "address",
1894
+ internalType: "address"
1895
+ }
1896
+ ],
1897
+ outputs: [],
1898
+ stateMutability: "nonpayable"
1899
+ },
1900
+ {
1901
+ type: "function",
1902
+ name: "setWithdrawalInfo",
1903
+ inputs: [
1904
+ {
1905
+ name: "idempotenceKey",
1906
+ type: "bytes32",
1907
+ internalType: "bytes32"
1908
+ },
1909
+ {
1910
+ name: "withdrawalInfo",
1911
+ type: "tuple",
1912
+ internalType: "struct SpicenetWithdrawalManagerV1.WithdrawalInfo",
1913
+ components: [
1914
+ {
1915
+ name: "processed",
1916
+ type: "bool",
1917
+ internalType: "bool"
1918
+ },
1919
+ {
1920
+ name: "blockNumber",
1921
+ type: "uint256",
1922
+ internalType: "uint256"
1923
+ },
1924
+ {
1925
+ name: "nbf",
1926
+ type: "uint256",
1927
+ internalType: "uint256"
1928
+ },
1929
+ {
1930
+ name: "exp",
1931
+ type: "uint256",
1932
+ internalType: "uint256"
1933
+ },
1934
+ {
1935
+ name: "metadata",
1936
+ type: "string",
1937
+ internalType: "string"
1938
+ }
1939
+ ]
1940
+ }
1941
+ ],
1942
+ outputs: [],
1943
+ stateMutability: "nonpayable"
1944
+ },
1945
+ {
1946
+ type: "function",
1947
+ name: "supportsInterface",
1948
+ inputs: [
1949
+ {
1950
+ name: "interfaceId",
1951
+ type: "bytes4",
1952
+ internalType: "bytes4"
1953
+ }
1954
+ ],
1955
+ outputs: [
1956
+ {
1957
+ name: "",
1958
+ type: "bool",
1959
+ internalType: "bool"
1960
+ }
1961
+ ],
1962
+ stateMutability: "view"
1963
+ },
1964
+ {
1965
+ type: "function",
1966
+ name: "upgradeToAndCall",
1967
+ inputs: [
1968
+ {
1969
+ name: "newImplementation",
1970
+ type: "address",
1971
+ internalType: "address"
1972
+ },
1973
+ {
1974
+ name: "data",
1975
+ type: "bytes",
1976
+ internalType: "bytes"
1977
+ }
1978
+ ],
1979
+ outputs: [],
1980
+ stateMutability: "payable"
1981
+ },
1982
+ {
1983
+ type: "event",
1984
+ name: "Initialized",
1985
+ inputs: [
1986
+ {
1987
+ name: "version",
1988
+ type: "uint64",
1989
+ indexed: false,
1990
+ internalType: "uint64"
1991
+ }
1992
+ ],
1993
+ anonymous: false
1994
+ },
1995
+ {
1996
+ type: "event",
1997
+ name: "RoleAdminChanged",
1998
+ inputs: [
1999
+ {
2000
+ name: "role",
2001
+ type: "bytes32",
2002
+ indexed: true,
2003
+ internalType: "bytes32"
2004
+ },
2005
+ {
2006
+ name: "previousAdminRole",
2007
+ type: "bytes32",
2008
+ indexed: true,
2009
+ internalType: "bytes32"
2010
+ },
2011
+ {
2012
+ name: "newAdminRole",
2013
+ type: "bytes32",
2014
+ indexed: true,
2015
+ internalType: "bytes32"
2016
+ }
2017
+ ],
2018
+ anonymous: false
2019
+ },
2020
+ {
2021
+ type: "event",
2022
+ name: "RoleGranted",
2023
+ inputs: [
2024
+ {
2025
+ name: "role",
2026
+ type: "bytes32",
2027
+ indexed: true,
2028
+ internalType: "bytes32"
2029
+ },
2030
+ {
2031
+ name: "account",
2032
+ type: "address",
2033
+ indexed: true,
2034
+ internalType: "address"
2035
+ },
2036
+ {
2037
+ name: "sender",
2038
+ type: "address",
2039
+ indexed: true,
2040
+ internalType: "address"
2041
+ }
2042
+ ],
2043
+ anonymous: false
2044
+ },
2045
+ {
2046
+ type: "event",
2047
+ name: "RoleRevoked",
2048
+ inputs: [
2049
+ {
2050
+ name: "role",
2051
+ type: "bytes32",
2052
+ indexed: true,
2053
+ internalType: "bytes32"
2054
+ },
2055
+ {
2056
+ name: "account",
2057
+ type: "address",
2058
+ indexed: true,
2059
+ internalType: "address"
2060
+ },
2061
+ {
2062
+ name: "sender",
2063
+ type: "address",
2064
+ indexed: true,
2065
+ internalType: "address"
2066
+ }
2067
+ ],
2068
+ anonymous: false
2069
+ },
2070
+ {
2071
+ type: "event",
2072
+ name: "Upgraded",
2073
+ inputs: [
2074
+ {
2075
+ name: "implementation",
2076
+ type: "address",
2077
+ indexed: true,
2078
+ internalType: "address"
2079
+ }
2080
+ ],
2081
+ anonymous: false
2082
+ },
2083
+ {
2084
+ type: "event",
2085
+ name: "WithdrawalProcessed",
2086
+ inputs: [
2087
+ {
2088
+ name: "request",
2089
+ type: "tuple",
2090
+ indexed: false,
2091
+ internalType: "struct SpicenetWithdrawalManagerV1.WithdrawalRequest",
2092
+ components: [
2093
+ {
2094
+ name: "idempotenceKey",
2095
+ type: "bytes32",
2096
+ internalType: "bytes32"
2097
+ },
2098
+ {
2099
+ name: "nbf",
2100
+ type: "uint256",
2101
+ internalType: "uint256"
2102
+ },
2103
+ {
2104
+ name: "exp",
2105
+ type: "uint256",
2106
+ internalType: "uint256"
2107
+ },
2108
+ {
2109
+ name: "metadata",
2110
+ type: "string",
2111
+ internalType: "string"
2112
+ },
2113
+ {
2114
+ name: "transfers",
2115
+ type: "tuple[]",
2116
+ internalType: "struct SpicenetWithdrawalManagerV1.TokenTransfer[]",
2117
+ components: [
2118
+ {
2119
+ name: "token",
2120
+ type: "address",
2121
+ internalType: "address"
2122
+ },
2123
+ {
2124
+ name: "to",
2125
+ type: "address",
2126
+ internalType: "address"
2127
+ },
2128
+ {
2129
+ name: "amount",
2130
+ type: "uint256",
2131
+ internalType: "uint256"
2132
+ }
2133
+ ]
2134
+ }
2135
+ ]
2136
+ }
2137
+ ],
2138
+ anonymous: false
2139
+ },
2140
+ {
2141
+ type: "error",
2142
+ name: "AccessControlBadConfirmation",
2143
+ inputs: []
2144
+ },
2145
+ {
2146
+ type: "error",
2147
+ name: "AccessControlUnauthorizedAccount",
2148
+ inputs: [
2149
+ {
2150
+ name: "account",
2151
+ type: "address",
2152
+ internalType: "address"
2153
+ },
2154
+ {
2155
+ name: "neededRole",
2156
+ type: "bytes32",
2157
+ internalType: "bytes32"
2158
+ }
2159
+ ]
2160
+ },
2161
+ {
2162
+ type: "error",
2163
+ name: "AddressEmptyCode",
2164
+ inputs: [
2165
+ {
2166
+ name: "target",
2167
+ type: "address",
2168
+ internalType: "address"
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ type: "error",
2174
+ name: "ERC1967InvalidImplementation",
2175
+ inputs: [
2176
+ {
2177
+ name: "implementation",
2178
+ type: "address",
2179
+ internalType: "address"
2180
+ }
2181
+ ]
2182
+ },
2183
+ {
2184
+ type: "error",
2185
+ name: "ERC1967NonPayable",
2186
+ inputs: []
2187
+ },
2188
+ {
2189
+ type: "error",
2190
+ name: "FailedCall",
2191
+ inputs: []
2192
+ },
2193
+ {
2194
+ type: "error",
2195
+ name: "InvalidInitialization",
2196
+ inputs: []
2197
+ },
2198
+ {
2199
+ type: "error",
2200
+ name: "NotInitializing",
2201
+ inputs: []
2202
+ },
2203
+ {
2204
+ type: "error",
2205
+ name: "SafeERC20FailedOperation",
2206
+ inputs: [
2207
+ {
2208
+ name: "token",
2209
+ type: "address",
2210
+ internalType: "address"
2211
+ }
2212
+ ]
2213
+ },
2214
+ {
2215
+ type: "error",
2216
+ name: "UUPSUnauthorizedCallContext",
2217
+ inputs: []
2218
+ },
2219
+ {
2220
+ type: "error",
2221
+ name: "UUPSUnsupportedProxiableUUID",
2222
+ inputs: [
2223
+ {
2224
+ name: "slot",
2225
+ type: "bytes32",
2226
+ internalType: "bytes32"
2227
+ }
2228
+ ]
2229
+ },
2230
+ {
2231
+ type: "error",
2232
+ name: "WithdrawalAlreadyProcessed",
2233
+ inputs: [
2234
+ {
2235
+ name: "idempotenceKey",
2236
+ type: "bytes32",
2237
+ internalType: "bytes32"
2238
+ },
2239
+ {
2240
+ name: "withdrawalInfo",
2241
+ type: "tuple",
2242
+ internalType: "struct SpicenetWithdrawalManagerV1.WithdrawalInfo",
2243
+ components: [
2244
+ {
2245
+ name: "processed",
2246
+ type: "bool",
2247
+ internalType: "bool"
2248
+ },
2249
+ {
2250
+ name: "blockNumber",
2251
+ type: "uint256",
2252
+ internalType: "uint256"
2253
+ },
2254
+ {
2255
+ name: "nbf",
2256
+ type: "uint256",
2257
+ internalType: "uint256"
2258
+ },
2259
+ {
2260
+ name: "exp",
2261
+ type: "uint256",
2262
+ internalType: "uint256"
2263
+ },
2264
+ {
2265
+ name: "metadata",
2266
+ type: "string",
2267
+ internalType: "string"
2268
+ }
2269
+ ]
2270
+ }
2271
+ ]
2272
+ },
2273
+ {
2274
+ type: "error",
2275
+ name: "WithdrawalRequestExpired",
2276
+ inputs: [
2277
+ {
2278
+ name: "currentTime",
2279
+ type: "uint256",
2280
+ internalType: "uint256"
2281
+ },
2282
+ {
2283
+ name: "exp",
2284
+ type: "uint256",
2285
+ internalType: "uint256"
2286
+ }
2287
+ ]
2288
+ },
2289
+ {
2290
+ type: "error",
2291
+ name: "WithdrawalRequestTooEarly",
2292
+ inputs: [
2293
+ {
2294
+ name: "currentTime",
2295
+ type: "uint256",
2296
+ internalType: "uint256"
2297
+ },
2298
+ {
2299
+ name: "nbf",
2300
+ type: "uint256",
2301
+ internalType: "uint256"
2302
+ }
2303
+ ]
2304
+ }
2305
+ ];
2306
+
1413
2307
  // src/swap.ts
1414
2308
  var import_viem3 = require("viem");
1415
2309
  function applySlippage(amount, slippage = 0.03) {
@@ -1510,6 +2404,8 @@ function buildUniV3SwapCalls(params) {
1510
2404
  requireTokenBySymbol,
1511
2405
  requireViemChain,
1512
2406
  resolveTokenRef,
2407
+ spicenetAbi,
2408
+ spicenetWalletManagerAbi,
1513
2409
  submitTransaction,
1514
2410
  truncateAddress,
1515
2411
  uniV3QuoterV2Abi,