@nightlylabs/dex-sdk 1.0.8 → 1.0.10

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.ts CHANGED
@@ -26,10 +26,12 @@ interface AddApiKey {
26
26
  userId: string;
27
27
  apiKey: string;
28
28
  expirationTimestamp: string;
29
+ sequence: string;
29
30
  }
30
31
  interface ApiCreditsChange {
31
32
  userId: string;
32
33
  currentCreditsAmount: string;
34
+ sequence: string;
33
35
  }
34
36
  interface ApiStatus {
35
37
  timestamp: string;
@@ -41,21 +43,14 @@ interface BalanceChange {
41
43
  tokenAddress: string;
42
44
  changeAmount: string;
43
45
  currentBalance: string;
46
+ sequence: string;
44
47
  }
45
48
  interface Borrow {
46
49
  userId: string;
47
50
  tokenAddress: string;
48
51
  tokenAmount: string;
49
52
  sharesReceived: string;
50
- }
51
- interface BorrowLendUpdate {
52
- tokenAddress: string;
53
- lendShares: string;
54
- lendAmount: string;
55
- borrowShares: string;
56
- borrowAmount: string;
57
- suppliers: string;
58
- borrowers: string;
53
+ sequence: string;
59
54
  }
60
55
  interface UtilizationCurve {
61
56
  base: string;
@@ -75,6 +70,20 @@ interface BorrowLending {
75
70
  borrowEnabled: boolean;
76
71
  lastUpdated: string;
77
72
  }
73
+ interface BorrowLendState {
74
+ pools: BorrowLending[];
75
+ sequence: string;
76
+ }
77
+ interface BorrowLendUpdate {
78
+ tokenAddress: string;
79
+ lendShares: string;
80
+ lendAmount: string;
81
+ borrowShares: string;
82
+ borrowAmount: string;
83
+ suppliers: string;
84
+ borrowers: string;
85
+ sequence: string;
86
+ }
78
87
  interface BorrowLendingAggregatedData {
79
88
  tokenAddress: string;
80
89
  totalLend: string;
@@ -115,6 +124,7 @@ interface BoxOpeningEvent {
115
124
  totalPoints: string;
116
125
  pointsCost: string;
117
126
  timestamp: string;
127
+ sequence: string;
118
128
  }
119
129
  interface CanceledPerpOrderData {
120
130
  price: string;
@@ -128,6 +138,7 @@ interface CanceledPerpOrders {
128
138
  market: string;
129
139
  userId: string;
130
140
  orders: CanceledPerpOrderData[];
141
+ sequence: string;
131
142
  }
132
143
  interface CanceledPerpTriggerOrderData {
133
144
  price: string;
@@ -145,6 +156,7 @@ interface CanceledPerpTriggerOrders {
145
156
  market: string;
146
157
  userId: string;
147
158
  orders: CanceledPerpTriggerOrderData[];
159
+ sequence: string;
148
160
  }
149
161
  interface CanceledSpotOrderData {
150
162
  price: string;
@@ -157,6 +169,7 @@ interface CanceledSpotOrders {
157
169
  market: string;
158
170
  userId: string;
159
171
  orders: CanceledSpotOrderData[];
172
+ sequence: string;
160
173
  }
161
174
  interface ChartCandle {
162
175
  marketName: string;
@@ -180,10 +193,12 @@ interface ClaimReferralFee {
180
193
  referralUsers: string[];
181
194
  tokens: string[];
182
195
  amounts: string[];
196
+ sequence: string;
183
197
  }
184
198
  interface ClaimUserKickbackFee {
185
199
  userId: string;
186
200
  claimedKickback: Record<string, string>;
201
+ sequence: string;
187
202
  }
188
203
  interface ClaimedKickback {
189
204
  claimedKickbacks: Record<string, string>;
@@ -201,6 +216,7 @@ interface Deposit {
201
216
  userId: string;
202
217
  tokenAddress: string;
203
218
  amount: string;
219
+ sequence: string;
204
220
  }
205
221
  interface ErrorResponse {
206
222
  code: number;
@@ -308,6 +324,7 @@ interface FundingPayment {
308
324
  positionSize: string;
309
325
  positionValue: string;
310
326
  fundingRate: string;
327
+ sequence: string;
311
328
  }
312
329
  interface GetAccountValueRankingRequest {
313
330
  paginationCursor?: PaginationCursor;
@@ -864,14 +881,17 @@ interface UserPointsBreakdown {
864
881
  borrowLend: string;
865
882
  vault: string;
866
883
  referral: string;
884
+ pointsAirdrop?: string;
867
885
  }
868
886
  interface PerpPosition {
869
887
  size: string;
870
888
  entryPrice: string;
871
889
  fundingCheckpoint: FundingCheckpoint;
872
890
  positionId: string;
891
+ openingTimestamp?: string;
873
892
  priceMoveDown?: string;
874
893
  priceMoveUp?: string;
894
+ accPositionFunding?: string;
875
895
  }
876
896
  interface Referral {
877
897
  masterCode?: string;
@@ -1086,6 +1106,29 @@ interface GetUserPortfolioValueResponse {
1086
1106
  portfolioValues: UserPortfolioValue[];
1087
1107
  paginationCursor?: PaginationCursor;
1088
1108
  }
1109
+ interface GetUserPositionsRequest {
1110
+ userId: string;
1111
+ olderTimestampMs?: string;
1112
+ newerTimestampMs?: string;
1113
+ paginationCursor?: PaginationCursor;
1114
+ }
1115
+ interface HistoricalPosition {
1116
+ userId: string;
1117
+ positionId: string;
1118
+ marketName: string;
1119
+ isBid: boolean;
1120
+ remainingSize: string;
1121
+ sizeChange: string;
1122
+ avgEntryPrice: string;
1123
+ marketPrice: string;
1124
+ pnl: string;
1125
+ fundingAccrued: string;
1126
+ timestamp: string;
1127
+ }
1128
+ interface GetUserPositionsResponse {
1129
+ positions: HistoricalPosition[];
1130
+ paginationCursor?: PaginationCursor;
1131
+ }
1089
1132
  interface GetUserReferralStatsHistoryRequest {
1090
1133
  userId: string;
1091
1134
  olderTimestampMs?: string;
@@ -1311,6 +1354,7 @@ interface GlobalLiquidation {
1311
1354
  liquidatedBorrowShares: WsLiquidatedBorrow[];
1312
1355
  liquidatedLendShares: WsLiquidatedLend[];
1313
1356
  liquidatedCollaterals: WsLiquidatedCollateral[];
1357
+ sequence: string;
1314
1358
  }
1315
1359
  interface WsPartialLiquidatedPosition {
1316
1360
  market: string;
@@ -1326,12 +1370,14 @@ interface GlobalPartialLiquidation {
1326
1370
  liquidationId: string;
1327
1371
  liquidationValue: string;
1328
1372
  liquidatedPositions: WsPartialLiquidatedPosition[];
1373
+ sequence: string;
1329
1374
  }
1330
1375
  interface Lend {
1331
1376
  userId: string;
1332
1377
  tokenAddress: string;
1333
1378
  tokenAmount: string;
1334
1379
  sharesReceived: string;
1380
+ sequence: string;
1335
1381
  }
1336
1382
  interface Liquidation {
1337
1383
  userId: string;
@@ -1342,6 +1388,7 @@ interface Liquidation {
1342
1388
  liquidatedBorrowShares: WsLiquidatedBorrow[];
1343
1389
  liquidatedLendShares: WsLiquidatedLend[];
1344
1390
  liquidatedCollaterals: WsLiquidatedCollateral[];
1391
+ sequence: string;
1345
1392
  }
1346
1393
  interface LiquidationCancelledOrderData {
1347
1394
  orderId: string;
@@ -1379,14 +1426,25 @@ interface OracleUpdate {
1379
1426
  name: string;
1380
1427
  price: string;
1381
1428
  }
1429
+ interface OracleState {
1430
+ prices: OracleUpdate[];
1431
+ sequence: string;
1432
+ }
1382
1433
  interface OracleUpdates {
1383
1434
  updates: OracleUpdate[];
1435
+ sequence: string;
1384
1436
  }
1385
1437
  interface PartialLiquidation {
1386
1438
  userId: string;
1387
1439
  liquidationId: string;
1388
1440
  liquidationValue: string;
1389
1441
  liquidatedPositions: WsPartialLiquidatedPosition[];
1442
+ sequence: string;
1443
+ }
1444
+ interface PerpMarketDataUpdate {
1445
+ market: string;
1446
+ data: PerpMarketData;
1447
+ sequence: string;
1390
1448
  }
1391
1449
  interface PerpOrder {
1392
1450
  id: string;
@@ -1411,6 +1469,7 @@ interface PerpOrderFills {
1411
1469
  userId: string;
1412
1470
  orderId: string;
1413
1471
  fills: WsFill[];
1472
+ sequence: string;
1414
1473
  }
1415
1474
  interface PerpOrderbookState {
1416
1475
  market: string;
@@ -1434,6 +1493,7 @@ interface Trade {
1434
1493
  interface PerpTradesUpdate {
1435
1494
  market: string;
1436
1495
  updates: Trade[];
1496
+ sequence: string;
1437
1497
  }
1438
1498
  interface PerpTriggerOrderTriggered {
1439
1499
  market: string;
@@ -1448,6 +1508,7 @@ interface PerpTriggerOrderTriggered {
1448
1508
  positionDependent?: string;
1449
1509
  marketOrder: boolean;
1450
1510
  postOnly: boolean;
1511
+ sequence: string;
1451
1512
  }
1452
1513
  interface PlacePerpLimitOrder {
1453
1514
  market: string;
@@ -1460,6 +1521,7 @@ interface PlacePerpLimitOrder {
1460
1521
  orderId: string;
1461
1522
  filledSize: string;
1462
1523
  fills: WsFill[];
1524
+ sequence: string;
1463
1525
  }
1464
1526
  interface PlacePerpMarketOrder {
1465
1527
  market: string;
@@ -1470,6 +1532,7 @@ interface PlacePerpMarketOrder {
1470
1532
  reduceOnly: boolean;
1471
1533
  orderId: string;
1472
1534
  fills: WsFill[];
1535
+ sequence: string;
1473
1536
  }
1474
1537
  interface PlacePerpTriggerOrder {
1475
1538
  market: string;
@@ -1484,6 +1547,7 @@ interface PlacePerpTriggerOrder {
1484
1547
  positionDependent?: string;
1485
1548
  marketOrder: boolean;
1486
1549
  postOnly: boolean;
1550
+ sequence: string;
1487
1551
  }
1488
1552
  interface PlaceSpotLimitOrder {
1489
1553
  market: string;
@@ -1495,6 +1559,7 @@ interface PlaceSpotLimitOrder {
1495
1559
  orderId: string;
1496
1560
  filledSize: string;
1497
1561
  fills: WsFill[];
1562
+ sequence: string;
1498
1563
  }
1499
1564
  interface PlaceSpotMarketOrder {
1500
1565
  market: string;
@@ -1505,16 +1570,19 @@ interface PlaceSpotMarketOrder {
1505
1570
  postOnly: boolean;
1506
1571
  orderId: string;
1507
1572
  fills: WsFill[];
1573
+ sequence: string;
1508
1574
  }
1509
1575
  interface ReferralUpdate {
1510
1576
  userId: string;
1511
1577
  masterCode: string;
1512
1578
  slaveKickback: string;
1513
1579
  masterKickback: string;
1580
+ sequence: string;
1514
1581
  }
1515
1582
  interface RemoveApiKey {
1516
1583
  userId: string;
1517
1584
  apiKey: string;
1585
+ sequence: string;
1518
1586
  }
1519
1587
  interface RepayBorrow {
1520
1588
  userId: string;
@@ -1522,14 +1590,17 @@ interface RepayBorrow {
1522
1590
  sharesRepaid: string;
1523
1591
  tokenRepaid: string;
1524
1592
  sharePrice: string;
1593
+ sequence: string;
1525
1594
  }
1526
1595
  interface SetAlias {
1527
1596
  userId: string;
1528
1597
  newAlias: string;
1598
+ sequence: string;
1529
1599
  }
1530
1600
  interface SetAutoLend {
1531
1601
  userId: string;
1532
1602
  enabled: boolean;
1603
+ sequence: string;
1533
1604
  }
1534
1605
  interface SetReferralParamsRequest {
1535
1606
  userId: string;
@@ -1538,6 +1609,11 @@ interface SetReferralParamsRequest {
1538
1609
  interface SetReferralParamsResponse {
1539
1610
  txHash?: string;
1540
1611
  }
1612
+ interface SpotMarketDataUpdate {
1613
+ market: string;
1614
+ data: SpotMarketData;
1615
+ sequence: string;
1616
+ }
1541
1617
  interface SpotOrder {
1542
1618
  id: string;
1543
1619
  size: string;
@@ -1554,6 +1630,7 @@ interface SpotOrderFills {
1554
1630
  userId: string;
1555
1631
  orderId: string;
1556
1632
  fills: WsFill[];
1633
+ sequence: string;
1557
1634
  }
1558
1635
  interface SpotOrderbookState {
1559
1636
  market: string;
@@ -1570,6 +1647,7 @@ interface SpotOrderbookUpdate {
1570
1647
  interface SpotTradesUpdate {
1571
1648
  market: string;
1572
1649
  updates: Trade[];
1650
+ sequence: string;
1573
1651
  }
1574
1652
  interface StatusResponse {
1575
1653
  status: string;
@@ -1619,6 +1697,7 @@ interface TriggerOrder {
1619
1697
  interface UpdateUserFeeTier {
1620
1698
  userId: string;
1621
1699
  newTierIndex: string;
1700
+ sequence: string;
1622
1701
  }
1623
1702
  interface UserBoxOpeningEvent {
1624
1703
  txHash: string;
@@ -1631,17 +1710,24 @@ interface UserBoxOpeningEvent {
1631
1710
  pointsCost: string;
1632
1711
  timestamp: string;
1633
1712
  userPointsBalance: string;
1713
+ sequence: string;
1714
+ }
1715
+ interface UserState {
1716
+ user: User;
1717
+ sequence: string;
1634
1718
  }
1635
1719
  interface UserTransfer {
1636
1720
  senderId: string;
1637
1721
  receiverId: string;
1638
1722
  tokenAddress: string;
1639
1723
  amount: string;
1724
+ sequence: string;
1640
1725
  }
1641
1726
  interface VaultDeposit {
1642
1727
  vaultId: string;
1643
1728
  userId: string;
1644
1729
  usdAmount: string;
1730
+ sequence: string;
1645
1731
  }
1646
1732
  interface VaultInvestment {
1647
1733
  sharesAmount: string;
@@ -1650,17 +1736,20 @@ interface VaultWithdraw {
1650
1736
  vaultId: string;
1651
1737
  userId: string;
1652
1738
  usdAmount: string;
1739
+ sequence: string;
1653
1740
  }
1654
1741
  interface Withdraw {
1655
1742
  userId: string;
1656
1743
  tokenAddress: string;
1657
1744
  amount: string;
1745
+ sequence: string;
1658
1746
  }
1659
1747
  interface WithdrawLend {
1660
1748
  userId: string;
1661
1749
  tokenAddress: string;
1662
1750
  sharesAmount: string;
1663
1751
  tokenReceived: string;
1752
+ sequence: string;
1664
1753
  }
1665
1754
  declare enum AdminEndpoints {
1666
1755
  ComputeLeaderboardRankings = "/admin/compute_leaderboard_rankings",
@@ -1690,6 +1779,7 @@ declare enum EndpointsV1 {
1690
1779
  GetUserDeposits = "/v1/get_user_deposits",
1691
1780
  GetUserWithdrawals = "/v1/get_user_withdrawals",
1692
1781
  GetUserFundingHistory = "/v1/get_user_funding_history",
1782
+ GetUserPositions = "/v1/get_user_positions",
1693
1783
  GetUserPortfolioValue = "/v1/get_user_portfolio_value",
1694
1784
  SyncStatus = "/v1/sync_status",
1695
1785
  GetUserAggregatedReferral = "/v1/get_user_aggregated_referral",
@@ -1738,259 +1828,305 @@ declare enum EndpointsV1 {
1738
1828
  GetExchangeStatsHistory = "/v1/get_exchange_stats_history"
1739
1829
  }
1740
1830
  type Topic = {
1741
- type: "PerpMarket";
1831
+ type: 'PerpMarket';
1742
1832
  content: string;
1743
1833
  } | {
1744
- type: "SpotMarket";
1834
+ type: 'SpotMarket';
1745
1835
  content: string;
1746
1836
  } | {
1747
- type: "User";
1837
+ type: 'User';
1748
1838
  content: {
1749
1839
  id: string;
1750
1840
  };
1751
1841
  } | {
1752
- type: "Oracle";
1842
+ type: 'Oracle';
1753
1843
  content?: undefined;
1754
1844
  } | {
1755
- type: "BorrowLend";
1845
+ type: 'BorrowLend';
1756
1846
  content?: undefined;
1757
1847
  } | {
1758
- type: "Boxes";
1848
+ type: 'Boxes';
1759
1849
  content?: undefined;
1760
1850
  } | {
1761
- type: "Liquidations";
1851
+ type: 'Liquidations';
1762
1852
  content?: undefined;
1853
+ } | {
1854
+ type: 'PerpMarketData';
1855
+ content: string;
1856
+ } | {
1857
+ type: 'SpotMarketData';
1858
+ content: string;
1763
1859
  };
1764
1860
  declare enum UserStatus {
1765
1861
  Active = "Active",
1766
1862
  Locked = "Locked"
1767
1863
  }
1768
1864
  type WsCommand = {
1769
- type: "SubscribePerpMarket";
1865
+ type: 'SubscribePerpMarket';
1770
1866
  content: {
1771
1867
  id: string;
1772
1868
  market: string;
1773
1869
  };
1774
1870
  } | {
1775
- type: "SubscribeSpotMarket";
1871
+ type: 'SubscribeSpotMarket';
1776
1872
  content: {
1777
1873
  id: string;
1778
1874
  market: string;
1779
1875
  };
1780
1876
  } | {
1781
- type: "UnsubscribePerpMarket";
1877
+ type: 'UnsubscribePerpMarket';
1782
1878
  content: {
1783
1879
  id: string;
1784
1880
  market: string;
1785
1881
  };
1786
1882
  } | {
1787
- type: "UnsubscribeSpotMarket";
1883
+ type: 'UnsubscribeSpotMarket';
1788
1884
  content: {
1789
1885
  id: string;
1790
1886
  market: string;
1791
1887
  };
1792
1888
  } | {
1793
- type: "SubscribeUser";
1889
+ type: 'SubscribeUser';
1794
1890
  content: {
1795
1891
  id: string;
1796
1892
  userId: string;
1797
1893
  };
1798
1894
  } | {
1799
- type: "UnsubscribeUser";
1895
+ type: 'UnsubscribeUser';
1800
1896
  content: {
1801
1897
  id: string;
1802
1898
  userId: string;
1803
1899
  };
1804
1900
  } | {
1805
- type: "SubscribeOracle";
1901
+ type: 'SubscribeOracle';
1902
+ content: {
1903
+ id: string;
1904
+ };
1905
+ } | {
1906
+ type: 'UnsubscribeOracle';
1907
+ content: {
1908
+ id: string;
1909
+ };
1910
+ } | {
1911
+ type: 'SubscribeBorrowLend';
1912
+ content: {
1913
+ id: string;
1914
+ };
1915
+ } | {
1916
+ type: 'UnsubscribeBorrowLend';
1917
+ content: {
1918
+ id: string;
1919
+ };
1920
+ } | {
1921
+ type: 'SubscribeBoxes';
1806
1922
  content: {
1807
1923
  id: string;
1808
1924
  };
1809
1925
  } | {
1810
- type: "UnsubscribeOracle";
1926
+ type: 'UnsubscribeBoxes';
1811
1927
  content: {
1812
1928
  id: string;
1813
1929
  };
1814
1930
  } | {
1815
- type: "SubscribeBorrowLend";
1931
+ type: 'SubscribeLiquidations';
1816
1932
  content: {
1817
1933
  id: string;
1818
1934
  };
1819
1935
  } | {
1820
- type: "UnsubscribeBorrowLend";
1936
+ type: 'UnsubscribeLiquidations';
1821
1937
  content: {
1822
1938
  id: string;
1823
1939
  };
1824
1940
  } | {
1825
- type: "SubscribeBoxes";
1941
+ type: 'SubscribePerpMarketData';
1826
1942
  content: {
1827
1943
  id: string;
1944
+ market: string;
1828
1945
  };
1829
1946
  } | {
1830
- type: "UnsubscribeBoxes";
1947
+ type: 'UnsubscribePerpMarketData';
1831
1948
  content: {
1832
1949
  id: string;
1950
+ market: string;
1833
1951
  };
1834
1952
  } | {
1835
- type: "SubscribeLiquidations";
1953
+ type: 'SubscribeSpotMarketData';
1836
1954
  content: {
1837
1955
  id: string;
1956
+ market: string;
1838
1957
  };
1839
1958
  } | {
1840
- type: "UnsubscribeLiquidations";
1959
+ type: 'UnsubscribeSpotMarketData';
1841
1960
  content: {
1842
1961
  id: string;
1962
+ market: string;
1843
1963
  };
1844
1964
  };
1845
1965
  type WsMessage = {
1846
- type: "Ack";
1966
+ type: 'Ack';
1847
1967
  content: {
1848
1968
  id: string;
1969
+ sequence?: string;
1849
1970
  };
1850
1971
  } | {
1851
- type: "Error";
1972
+ type: 'Error';
1852
1973
  content: {
1853
1974
  id: string;
1854
1975
  message: string;
1855
1976
  };
1856
1977
  } | {
1857
- type: "OracleUpdates";
1978
+ type: 'OracleUpdates';
1858
1979
  content: OracleUpdates;
1859
1980
  } | {
1860
- type: "PerpOrderbookState";
1981
+ type: 'PerpOrderbookState';
1861
1982
  content: PerpOrderbookState;
1862
1983
  } | {
1863
- type: "PerpOrderbookUpdate";
1984
+ type: 'PerpOrderbookUpdate';
1864
1985
  content: PerpOrderbookUpdate;
1865
1986
  } | {
1866
- type: "PerpTradesUpdate";
1987
+ type: 'PerpTradesUpdate';
1867
1988
  content: PerpTradesUpdate;
1868
1989
  } | {
1869
- type: "SpotOrderbookState";
1990
+ type: 'SpotOrderbookState';
1870
1991
  content: SpotOrderbookState;
1871
1992
  } | {
1872
- type: "SpotOrderbookUpdate";
1993
+ type: 'SpotOrderbookUpdate';
1873
1994
  content: SpotOrderbookUpdate;
1874
1995
  } | {
1875
- type: "SpotTradesUpdate";
1996
+ type: 'SpotTradesUpdate';
1876
1997
  content: SpotTradesUpdate;
1877
1998
  } | {
1878
- type: "BalanceChange";
1999
+ type: 'BalanceChange';
1879
2000
  content: BalanceChange;
1880
2001
  } | {
1881
- type: "Deposit";
2002
+ type: 'Deposit';
1882
2003
  content: Deposit;
1883
2004
  } | {
1884
- type: "Withdraw";
2005
+ type: 'Withdraw';
1885
2006
  content: Withdraw;
1886
2007
  } | {
1887
- type: "WithdrawLend";
2008
+ type: 'WithdrawLend';
1888
2009
  content: WithdrawLend;
1889
2010
  } | {
1890
- type: "Lend";
2011
+ type: 'Lend';
1891
2012
  content: Lend;
1892
2013
  } | {
1893
- type: "Borrow";
2014
+ type: 'Borrow';
1894
2015
  content: Borrow;
1895
2016
  } | {
1896
- type: "RepayBorrow";
2017
+ type: 'RepayBorrow';
1897
2018
  content: RepayBorrow;
1898
2019
  } | {
1899
- type: "PlacePerpLimitOrder";
2020
+ type: 'PlacePerpLimitOrder';
1900
2021
  content: PlacePerpLimitOrder;
1901
2022
  } | {
1902
- type: "PlacePerpMarketOrder";
2023
+ type: 'PlacePerpMarketOrder';
1903
2024
  content: PlacePerpMarketOrder;
1904
2025
  } | {
1905
- type: "PlacePerpTriggerOrder";
2026
+ type: 'PlacePerpTriggerOrder';
1906
2027
  content: PlacePerpTriggerOrder;
1907
2028
  } | {
1908
- type: "PerpTriggerOrderTriggered";
2029
+ type: 'PerpTriggerOrderTriggered';
1909
2030
  content: PerpTriggerOrderTriggered;
1910
2031
  } | {
1911
- type: "PlaceSpotMarketOrder";
2032
+ type: 'PlaceSpotMarketOrder';
1912
2033
  content: PlaceSpotMarketOrder;
1913
2034
  } | {
1914
- type: "PlaceSpotLimitOrder";
2035
+ type: 'PlaceSpotLimitOrder';
1915
2036
  content: PlaceSpotLimitOrder;
1916
2037
  } | {
1917
- type: "CanceledPerpOrders";
2038
+ type: 'CanceledPerpOrders';
1918
2039
  content: CanceledPerpOrders;
1919
2040
  } | {
1920
- type: "CanceledPerpTriggerOrders";
2041
+ type: 'CanceledPerpTriggerOrders';
1921
2042
  content: CanceledPerpTriggerOrders;
1922
2043
  } | {
1923
- type: "CanceledSpotOrders";
2044
+ type: 'CanceledSpotOrders';
1924
2045
  content: CanceledSpotOrders;
1925
2046
  } | {
1926
- type: "PerpOrderFills";
2047
+ type: 'PerpOrderFills';
1927
2048
  content: PerpOrderFills;
1928
2049
  } | {
1929
- type: "SpotOrderFills";
2050
+ type: 'SpotOrderFills';
1930
2051
  content: SpotOrderFills;
1931
2052
  } | {
1932
- type: "SetAutoLend";
2053
+ type: 'SetAutoLend';
1933
2054
  content: SetAutoLend;
1934
2055
  } | {
1935
- type: "SetAlias";
2056
+ type: 'SetAlias';
1936
2057
  content: SetAlias;
1937
2058
  } | {
1938
- type: "AddApiKey";
2059
+ type: 'AddApiKey';
1939
2060
  content: AddApiKey;
1940
2061
  } | {
1941
- type: "RemoveApiKey";
2062
+ type: 'RemoveApiKey';
1942
2063
  content: RemoveApiKey;
1943
2064
  } | {
1944
- type: "FundingPayment";
2065
+ type: 'FundingPayment';
1945
2066
  content: FundingPayment;
1946
2067
  } | {
1947
- type: "BorrowLendUpdate";
2068
+ type: 'BorrowLendUpdate';
1948
2069
  content: BorrowLendUpdate;
1949
2070
  } | {
1950
- type: "ClaimReferralFee";
2071
+ type: 'ClaimReferralFee';
1951
2072
  content: ClaimReferralFee;
1952
2073
  } | {
1953
- type: "ClaimUserKickbackFee";
2074
+ type: 'ClaimUserKickbackFee';
1954
2075
  content: ClaimUserKickbackFee;
1955
2076
  } | {
1956
- type: "UpdateUserFeeTier";
2077
+ type: 'UpdateUserFeeTier';
1957
2078
  content: UpdateUserFeeTier;
1958
2079
  } | {
1959
- type: "UserTransferSent";
2080
+ type: 'UserTransferSent';
1960
2081
  content: UserTransfer;
1961
2082
  } | {
1962
- type: "UserTransferReceived";
2083
+ type: 'UserTransferReceived';
1963
2084
  content: UserTransfer;
1964
2085
  } | {
1965
- type: "ReferralUpdate";
2086
+ type: 'ReferralUpdate';
1966
2087
  content: ReferralUpdate;
1967
2088
  } | {
1968
- type: "ApiCreditsChange";
2089
+ type: 'ApiCreditsChange';
1969
2090
  content: ApiCreditsChange;
1970
2091
  } | {
1971
- type: "VaultDeposit";
2092
+ type: 'VaultDeposit';
1972
2093
  content: VaultDeposit;
1973
2094
  } | {
1974
- type: "VaultWithdraw";
2095
+ type: 'VaultWithdraw';
1975
2096
  content: VaultWithdraw;
1976
2097
  } | {
1977
- type: "BoxOpening";
2098
+ type: 'BoxOpening';
1978
2099
  content: BoxOpeningEvent;
1979
2100
  } | {
1980
- type: "UserBoxOpening";
2101
+ type: 'UserBoxOpening';
1981
2102
  content: UserBoxOpeningEvent;
1982
2103
  } | {
1983
- type: "Liquidation";
2104
+ type: 'Liquidation';
1984
2105
  content: Liquidation;
1985
2106
  } | {
1986
- type: "GlobalLiquidation";
2107
+ type: 'GlobalLiquidation';
1987
2108
  content: GlobalLiquidation;
1988
2109
  } | {
1989
- type: "PartialLiquidation";
2110
+ type: 'PartialLiquidation';
1990
2111
  content: PartialLiquidation;
1991
2112
  } | {
1992
- type: "GlobalPartialLiquidation";
2113
+ type: 'GlobalPartialLiquidation';
1993
2114
  content: GlobalPartialLiquidation;
2115
+ } | {
2116
+ type: 'UserState';
2117
+ content: UserState;
2118
+ } | {
2119
+ type: 'OracleState';
2120
+ content: OracleState;
2121
+ } | {
2122
+ type: 'BorrowLendState';
2123
+ content: BorrowLendState;
2124
+ } | {
2125
+ type: 'PerpMarketDataUpdate';
2126
+ content: PerpMarketDataUpdate;
2127
+ } | {
2128
+ type: 'SpotMarketDataUpdate';
2129
+ content: SpotMarketDataUpdate;
1994
2130
  };
1995
2131
 
1996
2132
  /** Controls which deployment the SDK targets. */
@@ -2050,7 +2186,7 @@ declare function createAptosClientFromEnv(): Aptos;
2050
2186
  */
2051
2187
  declare function getABIsForNetwork(networkMode: NetworkMode): {
2052
2188
  FaucetEntrypointsABI?: {
2053
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2189
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2054
2190
  readonly name: "faucet_entrypoints";
2055
2191
  readonly friends: readonly [];
2056
2192
  readonly exposed_functions: readonly [{
@@ -2089,7 +2225,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2089
2225
  readonly structs: readonly [];
2090
2226
  } | undefined;
2091
2227
  TestMockOraclePricesABI?: {
2092
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2228
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2093
2229
  readonly name: "test_mock_oracle_prices";
2094
2230
  readonly friends: readonly [];
2095
2231
  readonly exposed_functions: readonly [{
@@ -2104,7 +2240,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2104
2240
  readonly structs: readonly [];
2105
2241
  } | undefined;
2106
2242
  TestFaucetABI?: {
2107
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2243
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2108
2244
  readonly name: "test_faucet";
2109
2245
  readonly friends: readonly [];
2110
2246
  readonly exposed_functions: readonly [{
@@ -2130,7 +2266,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2130
2266
  readonly is_view: false;
2131
2267
  readonly generic_type_params: readonly [];
2132
2268
  readonly params: readonly ["&signer", "vector<u8>"];
2133
- readonly return: readonly ["0x1::object::ConstructorRef", "0x1::object::Object<0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::Token>"];
2269
+ readonly return: readonly ["0x1::object::ConstructorRef", "0x1::object::Object<0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::Token>"];
2134
2270
  }, {
2135
2271
  readonly name: "get_faucet_data";
2136
2272
  readonly visibility: "public";
@@ -2210,7 +2346,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2210
2346
  readonly is_view: false;
2211
2347
  readonly generic_type_params: readonly [];
2212
2348
  readonly params: readonly ["0x1::fungible_asset::MintRef", "0x1::object::Object<0x1::fungible_asset::Metadata>"];
2213
- readonly return: readonly ["0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::FaucetToken"];
2349
+ readonly return: readonly ["0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::FaucetToken"];
2214
2350
  }, {
2215
2351
  readonly name: "remove_token";
2216
2352
  readonly visibility: "public";
@@ -2240,7 +2376,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2240
2376
  readonly generic_type_params: readonly [];
2241
2377
  readonly fields: readonly [{
2242
2378
  readonly name: "tokens";
2243
- readonly type: "0x1::smart_table::SmartTable<vector<u8>, 0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::FaucetToken>";
2379
+ readonly type: "0x1::smart_table::SmartTable<vector<u8>, 0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::FaucetToken>";
2244
2380
  }];
2245
2381
  }, {
2246
2382
  readonly name: "FaucetToken";
@@ -2273,7 +2409,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2273
2409
  }];
2274
2410
  readonly structs: readonly [];
2275
2411
  } | {
2276
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2412
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2277
2413
  readonly name: "add_api_key";
2278
2414
  readonly friends: readonly [];
2279
2415
  readonly exposed_functions: readonly [{
@@ -2302,7 +2438,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2302
2438
  }];
2303
2439
  readonly structs: readonly [];
2304
2440
  } | {
2305
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2441
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2306
2442
  readonly name: "add_credits";
2307
2443
  readonly friends: readonly [];
2308
2444
  readonly exposed_functions: readonly [{
@@ -2331,7 +2467,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2331
2467
  }];
2332
2468
  readonly structs: readonly [];
2333
2469
  } | {
2334
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2470
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2335
2471
  readonly name: "cancel_all_perp_orders";
2336
2472
  readonly friends: readonly [];
2337
2473
  readonly exposed_functions: readonly [{
@@ -2360,7 +2496,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2360
2496
  }];
2361
2497
  readonly structs: readonly [];
2362
2498
  } | {
2363
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2499
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2364
2500
  readonly name: "cancel_all_spot_orders";
2365
2501
  readonly friends: readonly [];
2366
2502
  readonly exposed_functions: readonly [{
@@ -2389,7 +2525,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2389
2525
  }];
2390
2526
  readonly structs: readonly [];
2391
2527
  } | {
2392
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2528
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2393
2529
  readonly name: "cancel_perp_orders";
2394
2530
  readonly friends: readonly [];
2395
2531
  readonly exposed_functions: readonly [{
@@ -2418,7 +2554,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2418
2554
  }];
2419
2555
  readonly structs: readonly [];
2420
2556
  } | {
2421
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2557
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2422
2558
  readonly name: "cancel_spot_orders";
2423
2559
  readonly friends: readonly [];
2424
2560
  readonly exposed_functions: readonly [{
@@ -2447,7 +2583,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2447
2583
  }];
2448
2584
  readonly structs: readonly [];
2449
2585
  } | {
2450
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2586
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2451
2587
  readonly name: "change_perp_order";
2452
2588
  readonly friends: readonly [];
2453
2589
  readonly exposed_functions: readonly [{
@@ -2476,7 +2612,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2476
2612
  }];
2477
2613
  readonly structs: readonly [];
2478
2614
  } | {
2479
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2615
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2480
2616
  readonly name: "change_spot_order";
2481
2617
  readonly friends: readonly [];
2482
2618
  readonly exposed_functions: readonly [{
@@ -2505,7 +2641,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2505
2641
  }];
2506
2642
  readonly structs: readonly [];
2507
2643
  } | {
2508
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2644
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2509
2645
  readonly name: "claim_deposit";
2510
2646
  readonly friends: readonly [];
2511
2647
  readonly exposed_functions: readonly [{
@@ -2534,7 +2670,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2534
2670
  }];
2535
2671
  readonly structs: readonly [];
2536
2672
  } | {
2537
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2673
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2538
2674
  readonly name: "claim_kickback_fee";
2539
2675
  readonly friends: readonly [];
2540
2676
  readonly exposed_functions: readonly [{
@@ -2563,7 +2699,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2563
2699
  }];
2564
2700
  readonly structs: readonly [];
2565
2701
  } | {
2566
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2702
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2567
2703
  readonly name: "claim_referral_fees";
2568
2704
  readonly friends: readonly [];
2569
2705
  readonly exposed_functions: readonly [{
@@ -2592,7 +2728,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2592
2728
  }];
2593
2729
  readonly structs: readonly [];
2594
2730
  } | {
2595
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2731
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2596
2732
  readonly name: "create_user";
2597
2733
  readonly friends: readonly [];
2598
2734
  readonly exposed_functions: readonly [{
@@ -2621,7 +2757,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2621
2757
  }];
2622
2758
  readonly structs: readonly [];
2623
2759
  } | {
2624
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2760
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2625
2761
  readonly name: "deposit_token";
2626
2762
  readonly friends: readonly [];
2627
2763
  readonly exposed_functions: readonly [{
@@ -2650,7 +2786,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2650
2786
  }];
2651
2787
  readonly structs: readonly [];
2652
2788
  } | {
2653
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2789
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2654
2790
  readonly name: "deposit_to_vault";
2655
2791
  readonly friends: readonly [];
2656
2792
  readonly exposed_functions: readonly [{
@@ -2679,7 +2815,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2679
2815
  }];
2680
2816
  readonly structs: readonly [];
2681
2817
  } | {
2682
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2818
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2683
2819
  readonly name: "lend_token";
2684
2820
  readonly friends: readonly [];
2685
2821
  readonly exposed_functions: readonly [{
@@ -2708,7 +2844,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2708
2844
  }];
2709
2845
  readonly structs: readonly [];
2710
2846
  } | {
2711
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2847
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2712
2848
  readonly name: "open_boxes";
2713
2849
  readonly friends: readonly [];
2714
2850
  readonly exposed_functions: readonly [{
@@ -2737,7 +2873,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2737
2873
  }];
2738
2874
  readonly structs: readonly [];
2739
2875
  } | {
2740
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2876
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2741
2877
  readonly name: "place_multiple_perp_orders";
2742
2878
  readonly friends: readonly [];
2743
2879
  readonly exposed_functions: readonly [{
@@ -2766,7 +2902,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2766
2902
  }];
2767
2903
  readonly structs: readonly [];
2768
2904
  } | {
2769
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2905
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2770
2906
  readonly name: "place_multiple_spot_orders";
2771
2907
  readonly friends: readonly [];
2772
2908
  readonly exposed_functions: readonly [{
@@ -2795,7 +2931,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2795
2931
  }];
2796
2932
  readonly structs: readonly [];
2797
2933
  } | {
2798
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2934
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2799
2935
  readonly name: "place_perp_limit_order";
2800
2936
  readonly friends: readonly [];
2801
2937
  readonly exposed_functions: readonly [{
@@ -2824,7 +2960,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2824
2960
  }];
2825
2961
  readonly structs: readonly [];
2826
2962
  } | {
2827
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2963
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2828
2964
  readonly name: "place_perp_market_order";
2829
2965
  readonly friends: readonly [];
2830
2966
  readonly exposed_functions: readonly [{
@@ -2853,7 +2989,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2853
2989
  }];
2854
2990
  readonly structs: readonly [];
2855
2991
  } | {
2856
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
2992
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2857
2993
  readonly name: "place_perp_trigger_order";
2858
2994
  readonly friends: readonly [];
2859
2995
  readonly exposed_functions: readonly [{
@@ -2882,7 +3018,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2882
3018
  }];
2883
3019
  readonly structs: readonly [];
2884
3020
  } | {
2885
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3021
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2886
3022
  readonly name: "place_spot_limit_order";
2887
3023
  readonly friends: readonly [];
2888
3024
  readonly exposed_functions: readonly [{
@@ -2911,7 +3047,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2911
3047
  }];
2912
3048
  readonly structs: readonly [];
2913
3049
  } | {
2914
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3050
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2915
3051
  readonly name: "place_spot_market_order";
2916
3052
  readonly friends: readonly [];
2917
3053
  readonly exposed_functions: readonly [{
@@ -2940,7 +3076,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2940
3076
  }];
2941
3077
  readonly structs: readonly [];
2942
3078
  } | {
2943
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3079
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2944
3080
  readonly name: "redeem_token";
2945
3081
  readonly friends: readonly [];
2946
3082
  readonly exposed_functions: readonly [{
@@ -2969,7 +3105,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2969
3105
  }];
2970
3106
  readonly structs: readonly [];
2971
3107
  } | {
2972
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3108
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
2973
3109
  readonly name: "remove_api_key";
2974
3110
  readonly friends: readonly [];
2975
3111
  readonly exposed_functions: readonly [{
@@ -2998,7 +3134,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
2998
3134
  }];
2999
3135
  readonly structs: readonly [];
3000
3136
  } | {
3001
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3137
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3002
3138
  readonly name: "remove_api_key_signer";
3003
3139
  readonly friends: readonly [];
3004
3140
  readonly exposed_functions: readonly [{
@@ -3027,7 +3163,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3027
3163
  }];
3028
3164
  readonly structs: readonly [];
3029
3165
  } | {
3030
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3166
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3031
3167
  readonly name: "replace_multiple_orders";
3032
3168
  readonly friends: readonly [];
3033
3169
  readonly exposed_functions: readonly [{
@@ -3056,7 +3192,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3056
3192
  }];
3057
3193
  readonly structs: readonly [];
3058
3194
  } | {
3059
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3195
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3060
3196
  readonly name: "replace_multiple_spot_orders";
3061
3197
  readonly friends: readonly [];
3062
3198
  readonly exposed_functions: readonly [{
@@ -3085,7 +3221,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3085
3221
  }];
3086
3222
  readonly structs: readonly [];
3087
3223
  } | {
3088
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3224
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3089
3225
  readonly name: "set_alias_name";
3090
3226
  readonly friends: readonly [];
3091
3227
  readonly exposed_functions: readonly [{
@@ -3114,7 +3250,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3114
3250
  }];
3115
3251
  readonly structs: readonly [];
3116
3252
  } | {
3117
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3253
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3118
3254
  readonly name: "set_autolend";
3119
3255
  readonly friends: readonly [];
3120
3256
  readonly exposed_functions: readonly [{
@@ -3143,7 +3279,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3143
3279
  }];
3144
3280
  readonly structs: readonly [];
3145
3281
  } | {
3146
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3282
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3147
3283
  readonly name: "set_referral_code";
3148
3284
  readonly friends: readonly [];
3149
3285
  readonly exposed_functions: readonly [{
@@ -3172,7 +3308,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3172
3308
  }];
3173
3309
  readonly structs: readonly [];
3174
3310
  } | {
3175
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3311
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3176
3312
  readonly name: "tokenize_user_vault_investment";
3177
3313
  readonly friends: readonly [];
3178
3314
  readonly exposed_functions: readonly [{
@@ -3201,7 +3337,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3201
3337
  }];
3202
3338
  readonly structs: readonly [];
3203
3339
  } | {
3204
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3340
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3205
3341
  readonly name: "transfer_to_user";
3206
3342
  readonly friends: readonly [];
3207
3343
  readonly exposed_functions: readonly [{
@@ -3230,7 +3366,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3230
3366
  }];
3231
3367
  readonly structs: readonly [];
3232
3368
  } | {
3233
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3369
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3234
3370
  readonly name: "withdraw_from_vault";
3235
3371
  readonly friends: readonly [];
3236
3372
  readonly exposed_functions: readonly [{
@@ -3259,7 +3395,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3259
3395
  }];
3260
3396
  readonly structs: readonly [];
3261
3397
  } | {
3262
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3398
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3263
3399
  readonly name: "withdraw_token";
3264
3400
  readonly friends: readonly [];
3265
3401
  readonly exposed_functions: readonly [{
@@ -3288,7 +3424,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3288
3424
  }];
3289
3425
  readonly structs: readonly [];
3290
3426
  } | {
3291
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3427
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3292
3428
  readonly name: "init_exchange";
3293
3429
  readonly friends: readonly [];
3294
3430
  readonly exposed_functions: readonly [{
@@ -3317,7 +3453,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3317
3453
  }];
3318
3454
  readonly structs: readonly [];
3319
3455
  } | {
3320
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3456
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3321
3457
  readonly name: "add_dev_address";
3322
3458
  readonly friends: readonly [];
3323
3459
  readonly exposed_functions: readonly [{
@@ -3346,7 +3482,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3346
3482
  }];
3347
3483
  readonly structs: readonly [];
3348
3484
  } | {
3349
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3485
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3350
3486
  readonly name: "remove_dev_address";
3351
3487
  readonly friends: readonly [];
3352
3488
  readonly exposed_functions: readonly [{
@@ -3375,7 +3511,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3375
3511
  }];
3376
3512
  readonly structs: readonly [];
3377
3513
  } | {
3378
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3514
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3379
3515
  readonly name: "add_token_to_oracle";
3380
3516
  readonly friends: readonly [];
3381
3517
  readonly exposed_functions: readonly [{
@@ -3404,7 +3540,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3404
3540
  }];
3405
3541
  readonly structs: readonly [];
3406
3542
  } | {
3407
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3543
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3408
3544
  readonly name: "admin_claim_deposit";
3409
3545
  readonly friends: readonly [];
3410
3546
  readonly exposed_functions: readonly [{
@@ -3433,7 +3569,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3433
3569
  }];
3434
3570
  readonly structs: readonly [];
3435
3571
  } | {
3436
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3572
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3437
3573
  readonly name: "add_new_token";
3438
3574
  readonly friends: readonly [];
3439
3575
  readonly exposed_functions: readonly [{
@@ -3462,7 +3598,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3462
3598
  }];
3463
3599
  readonly structs: readonly [];
3464
3600
  } | {
3465
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3601
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3466
3602
  readonly name: "update_oracle_prices";
3467
3603
  readonly friends: readonly [];
3468
3604
  readonly exposed_functions: readonly [{
@@ -3491,7 +3627,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3491
3627
  }];
3492
3628
  readonly structs: readonly [];
3493
3629
  } | {
3494
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3630
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3495
3631
  readonly name: "add_new_perp_market";
3496
3632
  readonly friends: readonly [];
3497
3633
  readonly exposed_functions: readonly [{
@@ -3520,7 +3656,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3520
3656
  }];
3521
3657
  readonly structs: readonly [];
3522
3658
  } | {
3523
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3659
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3524
3660
  readonly name: "add_new_spot_market";
3525
3661
  readonly friends: readonly [];
3526
3662
  readonly exposed_functions: readonly [{
@@ -3549,7 +3685,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3549
3685
  }];
3550
3686
  readonly structs: readonly [];
3551
3687
  } | {
3552
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3688
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3553
3689
  readonly name: "update_fee_tiers";
3554
3690
  readonly friends: readonly [];
3555
3691
  readonly exposed_functions: readonly [{
@@ -3578,7 +3714,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3578
3714
  }];
3579
3715
  readonly structs: readonly [];
3580
3716
  } | {
3581
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3717
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3582
3718
  readonly name: "settle_market";
3583
3719
  readonly friends: readonly [];
3584
3720
  readonly exposed_functions: readonly [{
@@ -3607,7 +3743,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3607
3743
  }];
3608
3744
  readonly structs: readonly [];
3609
3745
  } | {
3610
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3746
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3611
3747
  readonly name: "add_new_lp_token";
3612
3748
  readonly friends: readonly [];
3613
3749
  readonly exposed_functions: readonly [{
@@ -3636,7 +3772,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3636
3772
  }];
3637
3773
  readonly structs: readonly [];
3638
3774
  } | {
3639
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3775
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3640
3776
  readonly name: "set_system_haircut";
3641
3777
  readonly friends: readonly [];
3642
3778
  readonly exposed_functions: readonly [{
@@ -3665,7 +3801,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3665
3801
  }];
3666
3802
  readonly structs: readonly [];
3667
3803
  } | {
3668
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3804
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3669
3805
  readonly name: "set_fee_data";
3670
3806
  readonly friends: readonly [];
3671
3807
  readonly exposed_functions: readonly [{
@@ -3694,7 +3830,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3694
3830
  }];
3695
3831
  readonly structs: readonly [];
3696
3832
  } | {
3697
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3833
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3698
3834
  readonly name: "change_perp_market_data";
3699
3835
  readonly friends: readonly [];
3700
3836
  readonly exposed_functions: readonly [{
@@ -3723,7 +3859,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3723
3859
  }];
3724
3860
  readonly structs: readonly [];
3725
3861
  } | {
3726
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3862
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3727
3863
  readonly name: "change_spot_market_data";
3728
3864
  readonly friends: readonly [];
3729
3865
  readonly exposed_functions: readonly [{
@@ -3752,7 +3888,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3752
3888
  }];
3753
3889
  readonly structs: readonly [];
3754
3890
  } | {
3755
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3891
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3756
3892
  readonly name: "change_token_data";
3757
3893
  readonly friends: readonly [];
3758
3894
  readonly exposed_functions: readonly [{
@@ -3781,7 +3917,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3781
3917
  }];
3782
3918
  readonly structs: readonly [];
3783
3919
  } | {
3784
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3920
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3785
3921
  readonly name: "predeposit_to_vault";
3786
3922
  readonly friends: readonly [];
3787
3923
  readonly exposed_functions: readonly [{
@@ -3810,7 +3946,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3810
3946
  }];
3811
3947
  readonly structs: readonly [];
3812
3948
  } | {
3813
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3949
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3814
3950
  readonly name: "airdrop_points";
3815
3951
  readonly friends: readonly [];
3816
3952
  readonly exposed_functions: readonly [{
@@ -3833,7 +3969,7 @@ declare function getABIsForNetwork(networkMode: NetworkMode): {
3833
3969
  */
3834
3970
  declare const ABIs: {
3835
3971
  FaucetEntrypointsABI?: {
3836
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
3972
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3837
3973
  readonly name: "faucet_entrypoints";
3838
3974
  readonly friends: readonly [];
3839
3975
  readonly exposed_functions: readonly [{
@@ -3872,7 +4008,7 @@ declare const ABIs: {
3872
4008
  readonly structs: readonly [];
3873
4009
  } | undefined;
3874
4010
  TestMockOraclePricesABI?: {
3875
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4011
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3876
4012
  readonly name: "test_mock_oracle_prices";
3877
4013
  readonly friends: readonly [];
3878
4014
  readonly exposed_functions: readonly [{
@@ -3887,7 +4023,7 @@ declare const ABIs: {
3887
4023
  readonly structs: readonly [];
3888
4024
  } | undefined;
3889
4025
  TestFaucetABI?: {
3890
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4026
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
3891
4027
  readonly name: "test_faucet";
3892
4028
  readonly friends: readonly [];
3893
4029
  readonly exposed_functions: readonly [{
@@ -3913,7 +4049,7 @@ declare const ABIs: {
3913
4049
  readonly is_view: false;
3914
4050
  readonly generic_type_params: readonly [];
3915
4051
  readonly params: readonly ["&signer", "vector<u8>"];
3916
- readonly return: readonly ["0x1::object::ConstructorRef", "0x1::object::Object<0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::Token>"];
4052
+ readonly return: readonly ["0x1::object::ConstructorRef", "0x1::object::Object<0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::Token>"];
3917
4053
  }, {
3918
4054
  readonly name: "get_faucet_data";
3919
4055
  readonly visibility: "public";
@@ -3993,7 +4129,7 @@ declare const ABIs: {
3993
4129
  readonly is_view: false;
3994
4130
  readonly generic_type_params: readonly [];
3995
4131
  readonly params: readonly ["0x1::fungible_asset::MintRef", "0x1::object::Object<0x1::fungible_asset::Metadata>"];
3996
- readonly return: readonly ["0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::FaucetToken"];
4132
+ readonly return: readonly ["0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::FaucetToken"];
3997
4133
  }, {
3998
4134
  readonly name: "remove_token";
3999
4135
  readonly visibility: "public";
@@ -4023,7 +4159,7 @@ declare const ABIs: {
4023
4159
  readonly generic_type_params: readonly [];
4024
4160
  readonly fields: readonly [{
4025
4161
  readonly name: "tokens";
4026
- readonly type: "0x1::smart_table::SmartTable<vector<u8>, 0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d::test_faucet::FaucetToken>";
4162
+ readonly type: "0x1::smart_table::SmartTable<vector<u8>, 0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32::test_faucet::FaucetToken>";
4027
4163
  }];
4028
4164
  }, {
4029
4165
  readonly name: "FaucetToken";
@@ -4056,7 +4192,7 @@ declare const ABIs: {
4056
4192
  }];
4057
4193
  readonly structs: readonly [];
4058
4194
  } | {
4059
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4195
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4060
4196
  readonly name: "add_api_key";
4061
4197
  readonly friends: readonly [];
4062
4198
  readonly exposed_functions: readonly [{
@@ -4085,7 +4221,7 @@ declare const ABIs: {
4085
4221
  }];
4086
4222
  readonly structs: readonly [];
4087
4223
  } | {
4088
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4224
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4089
4225
  readonly name: "add_credits";
4090
4226
  readonly friends: readonly [];
4091
4227
  readonly exposed_functions: readonly [{
@@ -4114,7 +4250,7 @@ declare const ABIs: {
4114
4250
  }];
4115
4251
  readonly structs: readonly [];
4116
4252
  } | {
4117
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4253
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4118
4254
  readonly name: "cancel_all_perp_orders";
4119
4255
  readonly friends: readonly [];
4120
4256
  readonly exposed_functions: readonly [{
@@ -4143,7 +4279,7 @@ declare const ABIs: {
4143
4279
  }];
4144
4280
  readonly structs: readonly [];
4145
4281
  } | {
4146
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4282
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4147
4283
  readonly name: "cancel_all_spot_orders";
4148
4284
  readonly friends: readonly [];
4149
4285
  readonly exposed_functions: readonly [{
@@ -4172,7 +4308,7 @@ declare const ABIs: {
4172
4308
  }];
4173
4309
  readonly structs: readonly [];
4174
4310
  } | {
4175
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4311
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4176
4312
  readonly name: "cancel_perp_orders";
4177
4313
  readonly friends: readonly [];
4178
4314
  readonly exposed_functions: readonly [{
@@ -4201,7 +4337,7 @@ declare const ABIs: {
4201
4337
  }];
4202
4338
  readonly structs: readonly [];
4203
4339
  } | {
4204
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4340
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4205
4341
  readonly name: "cancel_spot_orders";
4206
4342
  readonly friends: readonly [];
4207
4343
  readonly exposed_functions: readonly [{
@@ -4230,7 +4366,7 @@ declare const ABIs: {
4230
4366
  }];
4231
4367
  readonly structs: readonly [];
4232
4368
  } | {
4233
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4369
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4234
4370
  readonly name: "change_perp_order";
4235
4371
  readonly friends: readonly [];
4236
4372
  readonly exposed_functions: readonly [{
@@ -4259,7 +4395,7 @@ declare const ABIs: {
4259
4395
  }];
4260
4396
  readonly structs: readonly [];
4261
4397
  } | {
4262
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4398
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4263
4399
  readonly name: "change_spot_order";
4264
4400
  readonly friends: readonly [];
4265
4401
  readonly exposed_functions: readonly [{
@@ -4288,7 +4424,7 @@ declare const ABIs: {
4288
4424
  }];
4289
4425
  readonly structs: readonly [];
4290
4426
  } | {
4291
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4427
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4292
4428
  readonly name: "claim_deposit";
4293
4429
  readonly friends: readonly [];
4294
4430
  readonly exposed_functions: readonly [{
@@ -4317,7 +4453,7 @@ declare const ABIs: {
4317
4453
  }];
4318
4454
  readonly structs: readonly [];
4319
4455
  } | {
4320
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4456
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4321
4457
  readonly name: "claim_kickback_fee";
4322
4458
  readonly friends: readonly [];
4323
4459
  readonly exposed_functions: readonly [{
@@ -4346,7 +4482,7 @@ declare const ABIs: {
4346
4482
  }];
4347
4483
  readonly structs: readonly [];
4348
4484
  } | {
4349
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4485
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4350
4486
  readonly name: "claim_referral_fees";
4351
4487
  readonly friends: readonly [];
4352
4488
  readonly exposed_functions: readonly [{
@@ -4375,7 +4511,7 @@ declare const ABIs: {
4375
4511
  }];
4376
4512
  readonly structs: readonly [];
4377
4513
  } | {
4378
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4514
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4379
4515
  readonly name: "create_user";
4380
4516
  readonly friends: readonly [];
4381
4517
  readonly exposed_functions: readonly [{
@@ -4404,7 +4540,7 @@ declare const ABIs: {
4404
4540
  }];
4405
4541
  readonly structs: readonly [];
4406
4542
  } | {
4407
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4543
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4408
4544
  readonly name: "deposit_token";
4409
4545
  readonly friends: readonly [];
4410
4546
  readonly exposed_functions: readonly [{
@@ -4433,7 +4569,7 @@ declare const ABIs: {
4433
4569
  }];
4434
4570
  readonly structs: readonly [];
4435
4571
  } | {
4436
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4572
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4437
4573
  readonly name: "deposit_to_vault";
4438
4574
  readonly friends: readonly [];
4439
4575
  readonly exposed_functions: readonly [{
@@ -4462,7 +4598,7 @@ declare const ABIs: {
4462
4598
  }];
4463
4599
  readonly structs: readonly [];
4464
4600
  } | {
4465
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4601
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4466
4602
  readonly name: "lend_token";
4467
4603
  readonly friends: readonly [];
4468
4604
  readonly exposed_functions: readonly [{
@@ -4491,7 +4627,7 @@ declare const ABIs: {
4491
4627
  }];
4492
4628
  readonly structs: readonly [];
4493
4629
  } | {
4494
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4630
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4495
4631
  readonly name: "open_boxes";
4496
4632
  readonly friends: readonly [];
4497
4633
  readonly exposed_functions: readonly [{
@@ -4520,7 +4656,7 @@ declare const ABIs: {
4520
4656
  }];
4521
4657
  readonly structs: readonly [];
4522
4658
  } | {
4523
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4659
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4524
4660
  readonly name: "place_multiple_perp_orders";
4525
4661
  readonly friends: readonly [];
4526
4662
  readonly exposed_functions: readonly [{
@@ -4549,7 +4685,7 @@ declare const ABIs: {
4549
4685
  }];
4550
4686
  readonly structs: readonly [];
4551
4687
  } | {
4552
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4688
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4553
4689
  readonly name: "place_multiple_spot_orders";
4554
4690
  readonly friends: readonly [];
4555
4691
  readonly exposed_functions: readonly [{
@@ -4578,7 +4714,7 @@ declare const ABIs: {
4578
4714
  }];
4579
4715
  readonly structs: readonly [];
4580
4716
  } | {
4581
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4717
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4582
4718
  readonly name: "place_perp_limit_order";
4583
4719
  readonly friends: readonly [];
4584
4720
  readonly exposed_functions: readonly [{
@@ -4607,7 +4743,7 @@ declare const ABIs: {
4607
4743
  }];
4608
4744
  readonly structs: readonly [];
4609
4745
  } | {
4610
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4746
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4611
4747
  readonly name: "place_perp_market_order";
4612
4748
  readonly friends: readonly [];
4613
4749
  readonly exposed_functions: readonly [{
@@ -4636,7 +4772,7 @@ declare const ABIs: {
4636
4772
  }];
4637
4773
  readonly structs: readonly [];
4638
4774
  } | {
4639
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4775
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4640
4776
  readonly name: "place_perp_trigger_order";
4641
4777
  readonly friends: readonly [];
4642
4778
  readonly exposed_functions: readonly [{
@@ -4665,7 +4801,7 @@ declare const ABIs: {
4665
4801
  }];
4666
4802
  readonly structs: readonly [];
4667
4803
  } | {
4668
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4804
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4669
4805
  readonly name: "place_spot_limit_order";
4670
4806
  readonly friends: readonly [];
4671
4807
  readonly exposed_functions: readonly [{
@@ -4694,7 +4830,7 @@ declare const ABIs: {
4694
4830
  }];
4695
4831
  readonly structs: readonly [];
4696
4832
  } | {
4697
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4833
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4698
4834
  readonly name: "place_spot_market_order";
4699
4835
  readonly friends: readonly [];
4700
4836
  readonly exposed_functions: readonly [{
@@ -4723,7 +4859,7 @@ declare const ABIs: {
4723
4859
  }];
4724
4860
  readonly structs: readonly [];
4725
4861
  } | {
4726
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4862
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4727
4863
  readonly name: "redeem_token";
4728
4864
  readonly friends: readonly [];
4729
4865
  readonly exposed_functions: readonly [{
@@ -4752,7 +4888,7 @@ declare const ABIs: {
4752
4888
  }];
4753
4889
  readonly structs: readonly [];
4754
4890
  } | {
4755
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4891
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4756
4892
  readonly name: "remove_api_key";
4757
4893
  readonly friends: readonly [];
4758
4894
  readonly exposed_functions: readonly [{
@@ -4781,7 +4917,7 @@ declare const ABIs: {
4781
4917
  }];
4782
4918
  readonly structs: readonly [];
4783
4919
  } | {
4784
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4920
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4785
4921
  readonly name: "remove_api_key_signer";
4786
4922
  readonly friends: readonly [];
4787
4923
  readonly exposed_functions: readonly [{
@@ -4810,7 +4946,7 @@ declare const ABIs: {
4810
4946
  }];
4811
4947
  readonly structs: readonly [];
4812
4948
  } | {
4813
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4949
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4814
4950
  readonly name: "replace_multiple_orders";
4815
4951
  readonly friends: readonly [];
4816
4952
  readonly exposed_functions: readonly [{
@@ -4839,7 +4975,7 @@ declare const ABIs: {
4839
4975
  }];
4840
4976
  readonly structs: readonly [];
4841
4977
  } | {
4842
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
4978
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4843
4979
  readonly name: "replace_multiple_spot_orders";
4844
4980
  readonly friends: readonly [];
4845
4981
  readonly exposed_functions: readonly [{
@@ -4868,7 +5004,7 @@ declare const ABIs: {
4868
5004
  }];
4869
5005
  readonly structs: readonly [];
4870
5006
  } | {
4871
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5007
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4872
5008
  readonly name: "set_alias_name";
4873
5009
  readonly friends: readonly [];
4874
5010
  readonly exposed_functions: readonly [{
@@ -4897,7 +5033,7 @@ declare const ABIs: {
4897
5033
  }];
4898
5034
  readonly structs: readonly [];
4899
5035
  } | {
4900
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5036
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4901
5037
  readonly name: "set_autolend";
4902
5038
  readonly friends: readonly [];
4903
5039
  readonly exposed_functions: readonly [{
@@ -4926,7 +5062,7 @@ declare const ABIs: {
4926
5062
  }];
4927
5063
  readonly structs: readonly [];
4928
5064
  } | {
4929
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5065
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4930
5066
  readonly name: "set_referral_code";
4931
5067
  readonly friends: readonly [];
4932
5068
  readonly exposed_functions: readonly [{
@@ -4955,7 +5091,7 @@ declare const ABIs: {
4955
5091
  }];
4956
5092
  readonly structs: readonly [];
4957
5093
  } | {
4958
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5094
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4959
5095
  readonly name: "tokenize_user_vault_investment";
4960
5096
  readonly friends: readonly [];
4961
5097
  readonly exposed_functions: readonly [{
@@ -4984,7 +5120,7 @@ declare const ABIs: {
4984
5120
  }];
4985
5121
  readonly structs: readonly [];
4986
5122
  } | {
4987
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5123
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
4988
5124
  readonly name: "transfer_to_user";
4989
5125
  readonly friends: readonly [];
4990
5126
  readonly exposed_functions: readonly [{
@@ -5013,7 +5149,7 @@ declare const ABIs: {
5013
5149
  }];
5014
5150
  readonly structs: readonly [];
5015
5151
  } | {
5016
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5152
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5017
5153
  readonly name: "withdraw_from_vault";
5018
5154
  readonly friends: readonly [];
5019
5155
  readonly exposed_functions: readonly [{
@@ -5042,7 +5178,7 @@ declare const ABIs: {
5042
5178
  }];
5043
5179
  readonly structs: readonly [];
5044
5180
  } | {
5045
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5181
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5046
5182
  readonly name: "withdraw_token";
5047
5183
  readonly friends: readonly [];
5048
5184
  readonly exposed_functions: readonly [{
@@ -5071,7 +5207,7 @@ declare const ABIs: {
5071
5207
  }];
5072
5208
  readonly structs: readonly [];
5073
5209
  } | {
5074
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5210
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5075
5211
  readonly name: "init_exchange";
5076
5212
  readonly friends: readonly [];
5077
5213
  readonly exposed_functions: readonly [{
@@ -5100,7 +5236,7 @@ declare const ABIs: {
5100
5236
  }];
5101
5237
  readonly structs: readonly [];
5102
5238
  } | {
5103
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5239
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5104
5240
  readonly name: "add_dev_address";
5105
5241
  readonly friends: readonly [];
5106
5242
  readonly exposed_functions: readonly [{
@@ -5129,7 +5265,7 @@ declare const ABIs: {
5129
5265
  }];
5130
5266
  readonly structs: readonly [];
5131
5267
  } | {
5132
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5268
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5133
5269
  readonly name: "remove_dev_address";
5134
5270
  readonly friends: readonly [];
5135
5271
  readonly exposed_functions: readonly [{
@@ -5158,7 +5294,7 @@ declare const ABIs: {
5158
5294
  }];
5159
5295
  readonly structs: readonly [];
5160
5296
  } | {
5161
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5297
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5162
5298
  readonly name: "add_token_to_oracle";
5163
5299
  readonly friends: readonly [];
5164
5300
  readonly exposed_functions: readonly [{
@@ -5187,7 +5323,7 @@ declare const ABIs: {
5187
5323
  }];
5188
5324
  readonly structs: readonly [];
5189
5325
  } | {
5190
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5326
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5191
5327
  readonly name: "admin_claim_deposit";
5192
5328
  readonly friends: readonly [];
5193
5329
  readonly exposed_functions: readonly [{
@@ -5216,7 +5352,7 @@ declare const ABIs: {
5216
5352
  }];
5217
5353
  readonly structs: readonly [];
5218
5354
  } | {
5219
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5355
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5220
5356
  readonly name: "add_new_token";
5221
5357
  readonly friends: readonly [];
5222
5358
  readonly exposed_functions: readonly [{
@@ -5245,7 +5381,7 @@ declare const ABIs: {
5245
5381
  }];
5246
5382
  readonly structs: readonly [];
5247
5383
  } | {
5248
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5384
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5249
5385
  readonly name: "update_oracle_prices";
5250
5386
  readonly friends: readonly [];
5251
5387
  readonly exposed_functions: readonly [{
@@ -5274,7 +5410,7 @@ declare const ABIs: {
5274
5410
  }];
5275
5411
  readonly structs: readonly [];
5276
5412
  } | {
5277
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5413
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5278
5414
  readonly name: "add_new_perp_market";
5279
5415
  readonly friends: readonly [];
5280
5416
  readonly exposed_functions: readonly [{
@@ -5303,7 +5439,7 @@ declare const ABIs: {
5303
5439
  }];
5304
5440
  readonly structs: readonly [];
5305
5441
  } | {
5306
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5442
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5307
5443
  readonly name: "add_new_spot_market";
5308
5444
  readonly friends: readonly [];
5309
5445
  readonly exposed_functions: readonly [{
@@ -5332,7 +5468,7 @@ declare const ABIs: {
5332
5468
  }];
5333
5469
  readonly structs: readonly [];
5334
5470
  } | {
5335
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5471
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5336
5472
  readonly name: "update_fee_tiers";
5337
5473
  readonly friends: readonly [];
5338
5474
  readonly exposed_functions: readonly [{
@@ -5361,7 +5497,7 @@ declare const ABIs: {
5361
5497
  }];
5362
5498
  readonly structs: readonly [];
5363
5499
  } | {
5364
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5500
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5365
5501
  readonly name: "settle_market";
5366
5502
  readonly friends: readonly [];
5367
5503
  readonly exposed_functions: readonly [{
@@ -5390,7 +5526,7 @@ declare const ABIs: {
5390
5526
  }];
5391
5527
  readonly structs: readonly [];
5392
5528
  } | {
5393
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5529
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5394
5530
  readonly name: "add_new_lp_token";
5395
5531
  readonly friends: readonly [];
5396
5532
  readonly exposed_functions: readonly [{
@@ -5419,7 +5555,7 @@ declare const ABIs: {
5419
5555
  }];
5420
5556
  readonly structs: readonly [];
5421
5557
  } | {
5422
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5558
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5423
5559
  readonly name: "set_system_haircut";
5424
5560
  readonly friends: readonly [];
5425
5561
  readonly exposed_functions: readonly [{
@@ -5448,7 +5584,7 @@ declare const ABIs: {
5448
5584
  }];
5449
5585
  readonly structs: readonly [];
5450
5586
  } | {
5451
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5587
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5452
5588
  readonly name: "set_fee_data";
5453
5589
  readonly friends: readonly [];
5454
5590
  readonly exposed_functions: readonly [{
@@ -5477,7 +5613,7 @@ declare const ABIs: {
5477
5613
  }];
5478
5614
  readonly structs: readonly [];
5479
5615
  } | {
5480
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5616
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5481
5617
  readonly name: "change_perp_market_data";
5482
5618
  readonly friends: readonly [];
5483
5619
  readonly exposed_functions: readonly [{
@@ -5506,7 +5642,7 @@ declare const ABIs: {
5506
5642
  }];
5507
5643
  readonly structs: readonly [];
5508
5644
  } | {
5509
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5645
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5510
5646
  readonly name: "change_spot_market_data";
5511
5647
  readonly friends: readonly [];
5512
5648
  readonly exposed_functions: readonly [{
@@ -5535,7 +5671,7 @@ declare const ABIs: {
5535
5671
  }];
5536
5672
  readonly structs: readonly [];
5537
5673
  } | {
5538
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5674
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5539
5675
  readonly name: "change_token_data";
5540
5676
  readonly friends: readonly [];
5541
5677
  readonly exposed_functions: readonly [{
@@ -5564,7 +5700,7 @@ declare const ABIs: {
5564
5700
  }];
5565
5701
  readonly structs: readonly [];
5566
5702
  } | {
5567
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5703
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5568
5704
  readonly name: "predeposit_to_vault";
5569
5705
  readonly friends: readonly [];
5570
5706
  readonly exposed_functions: readonly [{
@@ -5593,7 +5729,7 @@ declare const ABIs: {
5593
5729
  }];
5594
5730
  readonly structs: readonly [];
5595
5731
  } | {
5596
- readonly address: "0xaa9b59627fb6009e9f5ad6b7a09aa0e749a27df1e7bd091df0b1e0b33717b85d";
5732
+ readonly address: "0xaa35f66bf9daab591cb0fb7075301c46c57a948496f3504e63f156c962946b32";
5597
5733
  readonly name: "airdrop_points";
5598
5734
  readonly friends: readonly [];
5599
5735
  readonly exposed_functions: readonly [{
@@ -6123,7 +6259,7 @@ interface OpenBoxesSignRequest {
6123
6259
  }
6124
6260
  /** WebSocket message type for index (oracle) price updates across all markets. */
6125
6261
  type WsOracleUpdates = Extract<WsMessage, {
6126
- type: 'OracleUpdates';
6262
+ type: 'OracleUpdates' | 'OracleState';
6127
6263
  }>;
6128
6264
  /**
6129
6265
  * Union of all user-specific WebSocket event types.
@@ -6133,7 +6269,7 @@ type WsOracleUpdates = Extract<WsMessage, {
6133
6269
  * fills, liquidations, referral events, vault activity, and more.
6134
6270
  */
6135
6271
  type WsUserUpdates = Extract<WsMessage, {
6136
- type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'PlacePerpTriggerOrder' | 'PlaceSpotLimitOrder' | 'PlaceSpotMarketOrder' | 'CanceledPerpOrders' | 'CanceledSpotOrders' | 'PerpOrderFills' | 'SpotOrderFills' | 'SetAutoLend' | 'SetAlias' | 'AddApiKey' | 'RemoveApiKey' | 'ClaimReferralFee' | 'ClaimUserKickbackFee' | 'UpdateUserFeeTier' | 'UserTransferSent' | 'UserTransferReceived' | 'ReferralUpdate' | 'ApiCreditsChange' | 'VaultDeposit' | 'VaultWithdraw' | 'UserBoxOpening' | 'Liquidation' | 'PartialLiquidation' | 'PerpTriggerOrderTriggered' | 'CanceledPerpTriggerOrders';
6272
+ type: 'BalanceChange' | 'Deposit' | 'Withdraw' | 'WithdrawLend' | 'Lend' | 'Borrow' | 'RepayBorrow' | 'PlacePerpLimitOrder' | 'PlacePerpMarketOrder' | 'PlacePerpTriggerOrder' | 'PlaceSpotLimitOrder' | 'PlaceSpotMarketOrder' | 'CanceledPerpOrders' | 'CanceledSpotOrders' | 'PerpOrderFills' | 'SpotOrderFills' | 'SetAutoLend' | 'SetAlias' | 'AddApiKey' | 'RemoveApiKey' | 'ClaimReferralFee' | 'ClaimUserKickbackFee' | 'UpdateUserFeeTier' | 'UserTransferSent' | 'UserTransferReceived' | 'ReferralUpdate' | 'ApiCreditsChange' | 'VaultDeposit' | 'VaultWithdraw' | 'UserBoxOpening' | 'Liquidation' | 'PartialLiquidation' | 'PerpTriggerOrderTriggered' | 'CanceledPerpTriggerOrders' | 'UserState';
6137
6273
  }>;
6138
6274
  /**
6139
6275
  * WebSocket message type for perpetual market updates.
@@ -6159,7 +6295,7 @@ type WsSpotMarketUpdates = Extract<WsMessage, {
6159
6295
  * Subscribe via {@link Client.subscribeBorrowLendingUpdates}.
6160
6296
  */
6161
6297
  type WsBorrowLendUpdate = Extract<WsMessage, {
6162
- type: 'BorrowLendUpdate';
6298
+ type: 'BorrowLendUpdate' | 'BorrowLendState';
6163
6299
  }>;
6164
6300
  /**
6165
6301
  * WebSocket message type for mystery box opening results.
@@ -6178,6 +6314,12 @@ type WsBoxOpeningUpdate = Extract<WsMessage, {
6178
6314
  type WsLiquidationUpdate = Extract<WsMessage, {
6179
6315
  type: 'GlobalLiquidation' | 'GlobalPartialLiquidation';
6180
6316
  }>;
6317
+ type WsPerpMarketDataUpdate = Extract<WsMessage, {
6318
+ type: 'PerpMarketDataUpdate';
6319
+ }>;
6320
+ type WsSpotMarketDataUpdate = Extract<WsMessage, {
6321
+ type: 'SpotMarketDataUpdate';
6322
+ }>;
6181
6323
 
6182
6324
  declare const getRandomId: () => string;
6183
6325
  declare class Client {
@@ -6201,13 +6343,13 @@ declare class Client {
6201
6343
  _abis: ReturnType<typeof getABIsForNetwork>;
6202
6344
  _contractAddress: string;
6203
6345
  /**
6204
- * init.
6205
- *
6206
- * @param connection - Aptos connection instance. See {@link Aptos}.
6207
- * @param config - Client configuration options. See {@link ClientConfig}.
6208
-
6209
- * @returns A promise that resolves to {@link Client}.
6210
- */
6346
+ * init.
6347
+ *
6348
+ * @param connection - Aptos connection instance. See {@link Aptos}.
6349
+ * @param config - Client configuration options. See {@link ClientConfig}.
6350
+
6351
+ * @returns A promise that resolves to {@link Client}.
6352
+ */
6211
6353
  static init(connection: Aptos, config?: ClientConfig): Promise<Client>;
6212
6354
  /**
6213
6355
  * constructor.
@@ -6311,20 +6453,20 @@ declare class Client {
6311
6453
  disconnectWebSocket(): Promise<void>;
6312
6454
  isWebSocketConnected(): boolean;
6313
6455
  /**
6314
- * sendWsMessage.
6315
- *
6316
- * @param message - See {@link WsCommand}.
6317
-
6318
- * @returns A promise that resolves to {@link WsMessage}.
6319
- */
6456
+ * sendWsMessage.
6457
+ *
6458
+ * @param message - See {@link WsCommand}.
6459
+
6460
+ * @returns A promise that resolves to {@link WsMessage}.
6461
+ */
6320
6462
  sendWsMessage(message: WsCommand): Promise<WsMessage>;
6321
6463
  /**
6322
- * subscribeIndexPricesUpdates.
6323
- *
6324
- * @param callback - Callback invoked for oracle updates. See {@link WsOracleUpdates}.
6325
-
6326
- * @returns A promise that resolves to an unsubscribe function.
6327
- */
6464
+ * subscribeIndexPricesUpdates.
6465
+ *
6466
+ * @param callback - Callback invoked for oracle updates. See {@link WsOracleUpdates}.
6467
+
6468
+ * @returns A promise that resolves to an unsubscribe function.
6469
+ */
6328
6470
  subscribeIndexPricesUpdates(callback: (data: WsOracleUpdates) => void): Promise<() => Promise<void>>;
6329
6471
  /**
6330
6472
  * unsubscribeIndexPricesUpdates.
@@ -6333,12 +6475,12 @@ declare class Client {
6333
6475
  */
6334
6476
  unsubscribeIndexPricesUpdates(): Promise<void>;
6335
6477
  /**
6336
- * subscribeBorrowLendingUpdates.
6337
- *
6338
- * @param callback - Callback invoked for borrow-lending updates. See {@link WsBorrowLendUpdate}.
6339
-
6340
- * @returns A promise that resolves to an unsubscribe function.
6341
- */
6478
+ * subscribeBorrowLendingUpdates.
6479
+ *
6480
+ * @param callback - Callback invoked for borrow-lending updates. See {@link WsBorrowLendUpdate}.
6481
+
6482
+ * @returns A promise that resolves to an unsubscribe function.
6483
+ */
6342
6484
  subscribeBorrowLendingUpdates(callback: (data: WsBorrowLendUpdate) => void): Promise<() => Promise<void>>;
6343
6485
  /**
6344
6486
  * unsubscribeBorrowLendingUpdates.
@@ -6347,12 +6489,12 @@ declare class Client {
6347
6489
  */
6348
6490
  unsubscribeBorrowLendingUpdates(): Promise<void>;
6349
6491
  /**
6350
- * subscribeBoxOpeningUpdates.
6351
- *
6352
- * @param callback - Callback invoked for box-opening updates. See {@link WsBoxOpeningUpdate}.
6353
-
6354
- * @returns A promise that resolves to an unsubscribe function.
6355
- */
6492
+ * subscribeBoxOpeningUpdates.
6493
+ *
6494
+ * @param callback - Callback invoked for box-opening updates. See {@link WsBoxOpeningUpdate}.
6495
+
6496
+ * @returns A promise that resolves to an unsubscribe function.
6497
+ */
6356
6498
  subscribeBoxOpeningUpdates(callback: (data: WsBoxOpeningUpdate) => void): Promise<() => Promise<void>>;
6357
6499
  /**
6358
6500
  * unsubscribeBoxOpeningUpdates.
@@ -6361,12 +6503,12 @@ declare class Client {
6361
6503
  */
6362
6504
  unsubscribeBoxOpeningUpdates(): Promise<void>;
6363
6505
  /**
6364
- * subscribeLiquidationUpdates.
6365
- *
6366
- * @param callback - Callback invoked for liquidation updates. See {@link WsLiquidationUpdate}.
6367
-
6368
- * @returns A promise that resolves to an unsubscribe function.
6369
- */
6506
+ * subscribeLiquidationUpdates.
6507
+ *
6508
+ * @param callback - Callback invoked for liquidation updates. See {@link WsLiquidationUpdate}.
6509
+
6510
+ * @returns A promise that resolves to an unsubscribe function.
6511
+ */
6370
6512
  subscribeLiquidationUpdates(callback: (data: WsLiquidationUpdate) => void): Promise<() => Promise<void>>;
6371
6513
  /**
6372
6514
  * unsubscribeLiquidationUpdates.
@@ -6374,14 +6516,18 @@ declare class Client {
6374
6516
  * @returns A promise that resolves to a completed unsubscribe flow.
6375
6517
  */
6376
6518
  unsubscribeLiquidationUpdates(): Promise<void>;
6519
+ subscribePerpMarketDataUpdates(market: string, callback: (data: WsPerpMarketDataUpdate) => void): Promise<() => Promise<void>>;
6520
+ unsubscribePerpMarketDataUpdates(market: string): Promise<void>;
6521
+ subscribeSpotMarketDataUpdates(market: string, callback: (data: WsSpotMarketDataUpdate) => void): Promise<() => Promise<void>>;
6522
+ unsubscribeSpotMarketDataUpdates(market: string): Promise<void>;
6377
6523
  /**
6378
- * subscribeUserUpdates.
6379
- *
6380
- * @param userId - See string.
6381
- * @param callback - Callback invoked for user updates. See {@link WsUserUpdates}.
6382
-
6383
- * @returns A promise that resolves to an unsubscribe function.
6384
- */
6524
+ * subscribeUserUpdates.
6525
+ *
6526
+ * @param userId - See string.
6527
+ * @param callback - Callback invoked for user updates. See {@link WsUserUpdates}.
6528
+
6529
+ * @returns A promise that resolves to an unsubscribe function.
6530
+ */
6385
6531
  subscribeUserUpdates(userId: string, callback: (data: WsUserUpdates) => void): Promise<() => Promise<void>>;
6386
6532
  /**
6387
6533
  * unsubscribeUserUpdates.
@@ -6390,13 +6536,13 @@ declare class Client {
6390
6536
  */
6391
6537
  unsubscribeUserUpdates(userId: string): Promise<void>;
6392
6538
  /**
6393
- * subscribePerpMarketUpdates.
6394
- *
6395
- * @param market - See string.
6396
- * @param callback - Callback invoked for perpetual market updates. See {@link WsPerpMarketUpdates}.
6397
-
6398
- * @returns A promise that resolves to an unsubscribe function.
6399
- */
6539
+ * subscribePerpMarketUpdates.
6540
+ *
6541
+ * @param market - See string.
6542
+ * @param callback - Callback invoked for perpetual market updates. See {@link WsPerpMarketUpdates}.
6543
+
6544
+ * @returns A promise that resolves to an unsubscribe function.
6545
+ */
6400
6546
  subscribePerpMarketUpdates(market: string, callback: (data: WsPerpMarketUpdates) => void): Promise<() => Promise<void>>;
6401
6547
  /**
6402
6548
  * unsubscribePerpMarketUpdates.
@@ -6405,13 +6551,13 @@ declare class Client {
6405
6551
  */
6406
6552
  unsubscribePerpMarketUpdates(market: string): Promise<void>;
6407
6553
  /**
6408
- * subscribeSpotMarketUpdates.
6409
- *
6410
- * @param market - See string.
6411
- * @param callback - Callback invoked for spot market updates. See {@link WsSpotMarketUpdates}.
6412
-
6413
- * @returns A promise that resolves to an unsubscribe function.
6414
- */
6554
+ * subscribeSpotMarketUpdates.
6555
+ *
6556
+ * @param market - See string.
6557
+ * @param callback - Callback invoked for spot market updates. See {@link WsSpotMarketUpdates}.
6558
+
6559
+ * @returns A promise that resolves to an unsubscribe function.
6560
+ */
6415
6561
  subscribeSpotMarketUpdates(market: string, callback: (data: WsSpotMarketUpdates) => void): Promise<() => Promise<void>>;
6416
6562
  /**
6417
6563
  * unsubscribeSpotMarketUpdates.
@@ -6493,39 +6639,39 @@ declare class Client {
6493
6639
  */
6494
6640
  submitSponsoredMultiAgentTransaction: (tx: MultiAgentTransaction, signature: AccountAuthenticator, secondarySignersAuthenticators: AccountAuthenticator[]) => Promise<SubmitSponsoredTransactionResponse>;
6495
6641
  /**
6496
- * createAndSubmitTransaction.
6497
- *
6498
- * @param aptosPayload - See {@link AnyTransactionPayloadInstance}.
6499
-
6500
- * @returns A promise that resolves to {@link SubmitSponsoredTransactionResponse}.
6501
- */
6642
+ * createAndSubmitTransaction.
6643
+ *
6644
+ * @param aptosPayload - See {@link AnyTransactionPayloadInstance}.
6645
+
6646
+ * @returns A promise that resolves to {@link SubmitSponsoredTransactionResponse}.
6647
+ */
6502
6648
  createAndSubmitTransaction(aptosPayload: AnyTransactionPayloadInstance): Promise<SubmitSponsoredTransactionResponse>;
6503
6649
  /**
6504
- * createOpenBoxesMessage.
6505
- *
6506
- * @param boxId - See string.
6507
- * @param amount - See string.
6508
- * @param userId - See string.
6509
- * @param apiKey - See string.
6510
-
6511
- * @returns The generated box-open message.
6512
- */
6650
+ * createOpenBoxesMessage.
6651
+ *
6652
+ * @param boxId - See string.
6653
+ * @param amount - See string.
6654
+ * @param userId - See string.
6655
+ * @param apiKey - See string.
6656
+
6657
+ * @returns The generated box-open message.
6658
+ */
6513
6659
  createOpenBoxesMessage(boxId: string, amount: string, userId: string, apiKey: string): string;
6514
6660
  /**
6515
- * openBoxes.
6516
- *
6517
- * @param params - See {@link OpenBoxesRequest}.
6518
-
6519
- * @returns A promise that resolves to {@link OpenBoxesResponse}.
6520
- */
6661
+ * openBoxes.
6662
+ *
6663
+ * @param params - See {@link OpenBoxesRequest}.
6664
+
6665
+ * @returns A promise that resolves to {@link OpenBoxesResponse}.
6666
+ */
6521
6667
  openBoxes(params: OpenBoxesRequest): Promise<OpenBoxesResponse>;
6522
6668
  /**
6523
- * removeApiKey.
6524
- *
6525
- * @param params - See {@link RemoveApiKeyParams}.
6526
-
6527
- * @returns A promise that resolves to {@link SubmitSponsoredTransactionResponse}.
6528
- */
6669
+ * removeApiKey.
6670
+ *
6671
+ * @param params - See {@link RemoveApiKeyParams}.
6672
+
6673
+ * @returns A promise that resolves to {@link SubmitSponsoredTransactionResponse}.
6674
+ */
6529
6675
  removeApiKey(params: RemoveApiKeyParams): Promise<SubmitSponsoredTransactionResponse>;
6530
6676
  /**
6531
6677
  * setAliasName.
@@ -7206,4 +7352,4 @@ declare const getTopicFromCommand: (data: WsCommand) => string;
7206
7352
  */
7207
7353
  declare const getTopicFromMessage: (data: WsMessage) => string;
7208
7354
 
7209
- export { ABIs, type AccountValueRankingEntry, type AddApiCreditsParams, type AddApiKey, type AddApiKeyParams, type Address, AdminEndpoints, type ApiCreditsChange, type ApiStatus, type BalanceChange, BaseEndpoints, type Borrow, type BorrowLendUpdate, type BorrowLending, type BorrowLendingAggregatedData, type BorrowLendingHistoricalData, type BoxOpeningEvent, type BoxReward, BoxRewardTier, type CancelAllPerpOrdersParams, type CancelAllSpotOrdersParams, type CancelPerpOrdersParams, type CancelSpotOrdersParams, type CanceledPerpOrderData, type CanceledPerpOrders, type CanceledPerpTriggerOrderData, type CanceledPerpTriggerOrders, type CanceledSpotOrderData, type CanceledSpotOrders, type ChangePerpOrderParams, type ChangeSpotOrderParams, type ChartCandle, ChartInterval, type CheckReferralCodeRequest, type CheckReferralCodeResponse, type ClaimDepositParams, type ClaimKickbackFeeParams, type ClaimReferralFee, type ClaimReferralFeesParams, type ClaimUserKickbackFee, type ClaimedKickback, type ClaimedReferralKickback, Client, type ClientConfig, type Content, type CreateUserParams, type Deposit, type DepositToVaultParams, type DepositTokenParams, EndpointsV1, type ErrorResponse, type ExchangeConfig, ExchangeProxies, type ExchangeStatsEntry, type FeeData, type FeeTier, type Fees, type FundingCheckpoint, type FundingPayment, type FundingRate, GLOBAL_DENOMINATOR, type GetAccountValueRankingRequest, type GetAccountValueRankingResponse, type GetAllVaultsIdsResponse, type GetBorrowLendingAggregatedStatsRequest, type GetBorrowLendingAggregatedStatsResponse, type GetBorrowLendingDataResponse, type GetBorrowLendingHistoricalDataRequest, type GetBorrowLendingHistoricalDataResponse, type GetChartCandlesInRangeRequest, type GetChartCandlesInRangeResponse, type GetExchangeStatsHistoryRequest, type GetExchangeStatsHistoryResponse, type GetIndexPriceHistoryRequest, type GetIndexPriceHistoryResponse, type GetIndexPricesResponse, type GetIndexerStatusResponse, type GetOrderBookDataRequest, type GetOrderBookDataResponse, type GetPerpMarketsConfigResponse, type GetPerpMarketsDataRequest, type GetPerpMarketsDataResponse, type GetPerpRecentTradesRequest, type GetPerpRecentTradesResponse, type GetPerpUserFillsRequest, type GetPerpUserFillsResponse, type GetPerpUserOrdersRequest, type GetPerpUserOrdersResponse, type GetPerpUserTriggerOrdersRequest, type GetPerpUserTriggerOrdersResponse, type GetPriceIndexesResponse, type GetServicesStatusResponse, type GetSpotMarketsConfigResponse, type GetSpotMarketsDataRequest, type GetSpotMarketsDataResponse, type GetSpotRecentTradesRequest, type GetSpotRecentTradesResponse, type GetSpotUserFillsRequest, type GetSpotUserFillsResponse, type GetSpotUserOrdersRequest, type GetSpotUserOrdersResponse, type GetTokenAggregatedStatsRequest, type GetTokenAggregatedStatsResponse, type GetTokenStatsHistoryRequest, type GetTokenStatsHistoryResponse, type GetTokensConfigResponse, type GetTopPointsRankingResponse, type GetUserAccountValueRankingRequest, type GetUserAccountValueRankingResponse, type GetUserAggregatedBoxRewardsStatsRequest, type GetUserAggregatedBoxRewardsStatsResponse, type GetUserAggregatedReferralStatsRequest, type GetUserAggregatedReferralStatsResponse, type GetUserAggregatedStatsRequest, type GetUserAggregatedStatsResponse, type GetUserAggregatedVaultStatsRequest, type GetUserAggregatedVaultStatsResponse, type GetUserBoxRewardsStatsHistoryRequest, type GetUserBoxRewardsStatsHistoryResponse, type GetUserBoxesHistoryRequest, type GetUserBoxesHistoryResponse, type GetUserClaimedKickbackHistoryRequest, type GetUserClaimedKickbackHistoryResponse, type GetUserClaimedReferralKickbackHistoryRequest, type GetUserClaimedReferralKickbackHistoryResponse, type GetUserDataRequest, type GetUserDataResponse, type GetUserDepositsRequest, type GetUserDepositsResponse, type GetUserFullLiquidationsHistoryRequest, type GetUserFundingHistoryRequest, type GetUserFundingHistoryResponse, type GetUserLiquidationsCancelHistoryResponse, type GetUserLiquidationsCancelOrdersHistoryRequest, type GetUserLiquidationsHistoryResponse, type GetUserPartialLiquidationsHistoryRequest, type GetUserPartialLiquidationsHistoryResponse, type GetUserPersonalPointsRankingRequest, type GetUserPersonalPointsRankingResponse, type GetUserPointsHistoryRequest, type GetUserPointsHistoryResponse, type GetUserPortfolioValueRequest, type GetUserPortfolioValueResponse, type GetUserReferralStatsHistoryRequest, type GetUserReferralStatsHistoryResponse, type GetUserRewardsValueRequest, type GetUserRewardsValueResponse, type GetUserTradeStatsHistoryRequest, type GetUserTradeStatsHistoryResponse, type GetUserTransferHistoryRequest, type GetUserTransferHistoryResponse, type GetUserVaultDepositsRequest, type GetUserVaultDepositsResponse, type GetUserVaultWithdrawsRequest, type GetUserVaultWithdrawsResponse, type GetUserVolumeForReferralRequest, type GetUserVolumeForReferralResponse, type GetUserWithdrawalsRequest, type GetUserWithdrawalsResponse, type GetUsersByAddressRequest, type GetUsersByAddressResponse, type GetVaultDepositsRequest, type GetVaultDepositsResponse, type GetVaultHistoricalDataRequest, type GetVaultHistoricalDataResponse, type GetVaultWithdrawalsRequest, type GetVaultWithdrawalsResponse, type GlobalLiquidation, type GlobalPartialLiquidation, type HistoricBoxReward, type HistoricalBoxRewardsStats, type HistoricalDeposit, type HistoricalFullLiquidation, type HistoricalFunding, type HistoricalLiquidatedBorrow, type HistoricalLiquidatedCollateral, type HistoricalLiquidatedLend, type HistoricalLiquidatedPosition, type HistoricalLiquidationCancelOrders, type HistoricalPartialLiquidatedPosition, type HistoricalPartialLiquidation, type HistoricalPerpOrder, type HistoricalPoints, type HistoricalReferralStats, type HistoricalSpotOrder, type HistoricalTokenStats, type HistoricalTradeStats, type HistoricalUserTransfer, type HistoricalVaultDeposit, type HistoricalVaultWithdraw, type HistoricalWithdraw, type IndexPriceHistory, type IndexPriceLive, type Lend, type LendTokenParams, type Liquidation, type LiquidationCancelledOrderData, type LiquidationCancelledTriggerOrderData, MAINNET_CONFIG, type MarginStep, type NetworkConfig, type NetworkMode, type NodeStatus, type OpenBoxesRequest, type OpenBoxesResponse, type OpenBoxesSignRequest, type OracleUpdate, type OracleUpdates, type OrderBookData, OrderSide, OrderStatus, OrderType, type PaginationCursor, type PartialLiquidation, type PerpFill, type PerpMarketConfigEntry, type PerpMarketData, type PerpOrder, type PerpOrderData, type PerpOrderDataForMarket, type PerpOrderFills, type PerpOrderbookState, type PerpOrderbookUpdate, type PerpPosition, type PerpTrade, type PerpTradesUpdate, type PerpTriggerOrder, type PerpTriggerOrderTriggered, type PlaceMultiplePerpOrdersParams, type PlaceMultipleSpotOrdersParams, type PlacePerpLimitOrder, type PlacePerpMarketOrder, type PlacePerpOrderParams, type PlacePerpTriggerOrder, type PlacePerpTriggerOrderParams, type PlaceSpotLimitOrder, type PlaceSpotMarketOrder, type PlaceSpotOrderParams, type PointsRankingEntry, type PriceIndex, type RedeemTokenParams, type Referral, type ReferralUpdate, type RemoveApiKey, type RemoveApiKeyParams, type RemoveApiKeySignerParams, type RepayBorrow, type ReplaceMultipleOrdersParams, type ReplaceMultipleSpotOrdersParams, type SetAlias, type SetAliasNameParams, type SetAutoLend, type SetAutolendParams, type SetReferralCodeParams, type SetReferralParamsRequest, type SetReferralParamsResponse, type SpotFill, type SpotMarketConfigEntry, type SpotMarketData, type SpotOrder, type SpotOrderData, type SpotOrderDataForMarket, type SpotOrderFills, type SpotOrderbookState, type SpotOrderbookUpdate, type SpotTrade, type SpotTradesUpdate, type StatusResponse, type SubServiceStatus, type SubmitSponsoredTransactionRequest, type SubmitSponsoredTransactionResponse, TESTNET_CONFIG, TestFaucet, type TimeResponse, type TokenAggregatedStats, type TokenConfigEntry, type TokenizeUserVaultInvestmentParams, type Topic, type Trade, TradeRole, TransferAction, type TransferToUserParams, type TriggerOrder, type TvlTokenEntry, type TxParams, type UpdateUserFeeTier, type User, type UserAggregatedBoxRewardsStats, type UserAggregatedReferralStats, type UserAggregatedStats, type UserAggregatedVaultStats, type UserBoxOpeningEvent, type UserPointsBreakdown, type UserPortfolioValue, type UserRewardsValue, UserStatus, type UserTransfer, type UtilizationCurve, type Vault, type VaultDeposit, type VaultHistoricalData, type VaultInvestment, type VaultWithdraw, type Withdraw, type WithdrawFromVaultParams, type WithdrawLend, type WithdrawTokenParams, type WsBorrowLendUpdate, type WsBoxOpeningUpdate, type WsCommand, type WsFill, type WsLiquidatedBorrow, type WsLiquidatedCollateral, type WsLiquidatedLend, type WsLiquidatedPosition, type WsLiquidationUpdate, type WsMessage, type WsOracleUpdates, type WsPartialLiquidatedPosition, type WsPerpMarketUpdates, type WsSpotMarketUpdates, type WsUserUpdates, createAptosClient, createAptosClientFromEnv, generateApiKey, getABIsForNetwork, getNetworkConfig, getNetworkModeFromEnv, getRandomId, getTopicFromCommand, getTopicFromMessage, nowInMiliseconds, nowInMilliseconds, parseEntryFunctionAbi, sleep, toSystemValue };
7355
+ export { ABIs, type AccountValueRankingEntry, type AddApiCreditsParams, type AddApiKey, type AddApiKeyParams, type Address, AdminEndpoints, type ApiCreditsChange, type ApiStatus, type BalanceChange, BaseEndpoints, type Borrow, type BorrowLendState, type BorrowLendUpdate, type BorrowLending, type BorrowLendingAggregatedData, type BorrowLendingHistoricalData, type BoxOpeningEvent, type BoxReward, BoxRewardTier, type CancelAllPerpOrdersParams, type CancelAllSpotOrdersParams, type CancelPerpOrdersParams, type CancelSpotOrdersParams, type CanceledPerpOrderData, type CanceledPerpOrders, type CanceledPerpTriggerOrderData, type CanceledPerpTriggerOrders, type CanceledSpotOrderData, type CanceledSpotOrders, type ChangePerpOrderParams, type ChangeSpotOrderParams, type ChartCandle, ChartInterval, type CheckReferralCodeRequest, type CheckReferralCodeResponse, type ClaimDepositParams, type ClaimKickbackFeeParams, type ClaimReferralFee, type ClaimReferralFeesParams, type ClaimUserKickbackFee, type ClaimedKickback, type ClaimedReferralKickback, Client, type ClientConfig, type Content, type CreateUserParams, type Deposit, type DepositToVaultParams, type DepositTokenParams, EndpointsV1, type ErrorResponse, type ExchangeConfig, ExchangeProxies, type ExchangeStatsEntry, type FeeData, type FeeTier, type Fees, type FundingCheckpoint, type FundingPayment, type FundingRate, GLOBAL_DENOMINATOR, type GetAccountValueRankingRequest, type GetAccountValueRankingResponse, type GetAllVaultsIdsResponse, type GetBorrowLendingAggregatedStatsRequest, type GetBorrowLendingAggregatedStatsResponse, type GetBorrowLendingDataResponse, type GetBorrowLendingHistoricalDataRequest, type GetBorrowLendingHistoricalDataResponse, type GetChartCandlesInRangeRequest, type GetChartCandlesInRangeResponse, type GetExchangeStatsHistoryRequest, type GetExchangeStatsHistoryResponse, type GetIndexPriceHistoryRequest, type GetIndexPriceHistoryResponse, type GetIndexPricesResponse, type GetIndexerStatusResponse, type GetOrderBookDataRequest, type GetOrderBookDataResponse, type GetPerpMarketsConfigResponse, type GetPerpMarketsDataRequest, type GetPerpMarketsDataResponse, type GetPerpRecentTradesRequest, type GetPerpRecentTradesResponse, type GetPerpUserFillsRequest, type GetPerpUserFillsResponse, type GetPerpUserOrdersRequest, type GetPerpUserOrdersResponse, type GetPerpUserTriggerOrdersRequest, type GetPerpUserTriggerOrdersResponse, type GetPriceIndexesResponse, type GetServicesStatusResponse, type GetSpotMarketsConfigResponse, type GetSpotMarketsDataRequest, type GetSpotMarketsDataResponse, type GetSpotRecentTradesRequest, type GetSpotRecentTradesResponse, type GetSpotUserFillsRequest, type GetSpotUserFillsResponse, type GetSpotUserOrdersRequest, type GetSpotUserOrdersResponse, type GetTokenAggregatedStatsRequest, type GetTokenAggregatedStatsResponse, type GetTokenStatsHistoryRequest, type GetTokenStatsHistoryResponse, type GetTokensConfigResponse, type GetTopPointsRankingResponse, type GetUserAccountValueRankingRequest, type GetUserAccountValueRankingResponse, type GetUserAggregatedBoxRewardsStatsRequest, type GetUserAggregatedBoxRewardsStatsResponse, type GetUserAggregatedReferralStatsRequest, type GetUserAggregatedReferralStatsResponse, type GetUserAggregatedStatsRequest, type GetUserAggregatedStatsResponse, type GetUserAggregatedVaultStatsRequest, type GetUserAggregatedVaultStatsResponse, type GetUserBoxRewardsStatsHistoryRequest, type GetUserBoxRewardsStatsHistoryResponse, type GetUserBoxesHistoryRequest, type GetUserBoxesHistoryResponse, type GetUserClaimedKickbackHistoryRequest, type GetUserClaimedKickbackHistoryResponse, type GetUserClaimedReferralKickbackHistoryRequest, type GetUserClaimedReferralKickbackHistoryResponse, type GetUserDataRequest, type GetUserDataResponse, type GetUserDepositsRequest, type GetUserDepositsResponse, type GetUserFullLiquidationsHistoryRequest, type GetUserFundingHistoryRequest, type GetUserFundingHistoryResponse, type GetUserLiquidationsCancelHistoryResponse, type GetUserLiquidationsCancelOrdersHistoryRequest, type GetUserLiquidationsHistoryResponse, type GetUserPartialLiquidationsHistoryRequest, type GetUserPartialLiquidationsHistoryResponse, type GetUserPersonalPointsRankingRequest, type GetUserPersonalPointsRankingResponse, type GetUserPointsHistoryRequest, type GetUserPointsHistoryResponse, type GetUserPortfolioValueRequest, type GetUserPortfolioValueResponse, type GetUserPositionsRequest, type GetUserPositionsResponse, type GetUserReferralStatsHistoryRequest, type GetUserReferralStatsHistoryResponse, type GetUserRewardsValueRequest, type GetUserRewardsValueResponse, type GetUserTradeStatsHistoryRequest, type GetUserTradeStatsHistoryResponse, type GetUserTransferHistoryRequest, type GetUserTransferHistoryResponse, type GetUserVaultDepositsRequest, type GetUserVaultDepositsResponse, type GetUserVaultWithdrawsRequest, type GetUserVaultWithdrawsResponse, type GetUserVolumeForReferralRequest, type GetUserVolumeForReferralResponse, type GetUserWithdrawalsRequest, type GetUserWithdrawalsResponse, type GetUsersByAddressRequest, type GetUsersByAddressResponse, type GetVaultDepositsRequest, type GetVaultDepositsResponse, type GetVaultHistoricalDataRequest, type GetVaultHistoricalDataResponse, type GetVaultWithdrawalsRequest, type GetVaultWithdrawalsResponse, type GlobalLiquidation, type GlobalPartialLiquidation, type HistoricBoxReward, type HistoricalBoxRewardsStats, type HistoricalDeposit, type HistoricalFullLiquidation, type HistoricalFunding, type HistoricalLiquidatedBorrow, type HistoricalLiquidatedCollateral, type HistoricalLiquidatedLend, type HistoricalLiquidatedPosition, type HistoricalLiquidationCancelOrders, type HistoricalPartialLiquidatedPosition, type HistoricalPartialLiquidation, type HistoricalPerpOrder, type HistoricalPoints, type HistoricalPosition, type HistoricalReferralStats, type HistoricalSpotOrder, type HistoricalTokenStats, type HistoricalTradeStats, type HistoricalUserTransfer, type HistoricalVaultDeposit, type HistoricalVaultWithdraw, type HistoricalWithdraw, type IndexPriceHistory, type IndexPriceLive, type Lend, type LendTokenParams, type Liquidation, type LiquidationCancelledOrderData, type LiquidationCancelledTriggerOrderData, MAINNET_CONFIG, type MarginStep, type NetworkConfig, type NetworkMode, type NodeStatus, type OpenBoxesRequest, type OpenBoxesResponse, type OpenBoxesSignRequest, type OracleState, type OracleUpdate, type OracleUpdates, type OrderBookData, OrderSide, OrderStatus, OrderType, type PaginationCursor, type PartialLiquidation, type PerpFill, type PerpMarketConfigEntry, type PerpMarketData, type PerpMarketDataUpdate, type PerpOrder, type PerpOrderData, type PerpOrderDataForMarket, type PerpOrderFills, type PerpOrderbookState, type PerpOrderbookUpdate, type PerpPosition, type PerpTrade, type PerpTradesUpdate, type PerpTriggerOrder, type PerpTriggerOrderTriggered, type PlaceMultiplePerpOrdersParams, type PlaceMultipleSpotOrdersParams, type PlacePerpLimitOrder, type PlacePerpMarketOrder, type PlacePerpOrderParams, type PlacePerpTriggerOrder, type PlacePerpTriggerOrderParams, type PlaceSpotLimitOrder, type PlaceSpotMarketOrder, type PlaceSpotOrderParams, type PointsRankingEntry, type PriceIndex, type RedeemTokenParams, type Referral, type ReferralUpdate, type RemoveApiKey, type RemoveApiKeyParams, type RemoveApiKeySignerParams, type RepayBorrow, type ReplaceMultipleOrdersParams, type ReplaceMultipleSpotOrdersParams, type SetAlias, type SetAliasNameParams, type SetAutoLend, type SetAutolendParams, type SetReferralCodeParams, type SetReferralParamsRequest, type SetReferralParamsResponse, type SpotFill, type SpotMarketConfigEntry, type SpotMarketData, type SpotMarketDataUpdate, type SpotOrder, type SpotOrderData, type SpotOrderDataForMarket, type SpotOrderFills, type SpotOrderbookState, type SpotOrderbookUpdate, type SpotTrade, type SpotTradesUpdate, type StatusResponse, type SubServiceStatus, type SubmitSponsoredTransactionRequest, type SubmitSponsoredTransactionResponse, TESTNET_CONFIG, TestFaucet, type TimeResponse, type TokenAggregatedStats, type TokenConfigEntry, type TokenizeUserVaultInvestmentParams, type Topic, type Trade, TradeRole, TransferAction, type TransferToUserParams, type TriggerOrder, type TvlTokenEntry, type TxParams, type UpdateUserFeeTier, type User, type UserAggregatedBoxRewardsStats, type UserAggregatedReferralStats, type UserAggregatedStats, type UserAggregatedVaultStats, type UserBoxOpeningEvent, type UserPointsBreakdown, type UserPortfolioValue, type UserRewardsValue, type UserState, UserStatus, type UserTransfer, type UtilizationCurve, type Vault, type VaultDeposit, type VaultHistoricalData, type VaultInvestment, type VaultWithdraw, type Withdraw, type WithdrawFromVaultParams, type WithdrawLend, type WithdrawTokenParams, type WsBorrowLendUpdate, type WsBoxOpeningUpdate, type WsCommand, type WsFill, type WsLiquidatedBorrow, type WsLiquidatedCollateral, type WsLiquidatedLend, type WsLiquidatedPosition, type WsLiquidationUpdate, type WsMessage, type WsOracleUpdates, type WsPartialLiquidatedPosition, type WsPerpMarketDataUpdate, type WsPerpMarketUpdates, type WsSpotMarketDataUpdate, type WsSpotMarketUpdates, type WsUserUpdates, createAptosClient, createAptosClientFromEnv, generateApiKey, getABIsForNetwork, getNetworkConfig, getNetworkModeFromEnv, getRandomId, getTopicFromCommand, getTopicFromMessage, nowInMiliseconds, nowInMilliseconds, parseEntryFunctionAbi, sleep, toSystemValue };