@pendle/sdk-boros 1.1.54 → 1.2.1
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/CHANGELOG.md +24 -0
- package/dist/backend/LogStore/LogStoreBackend.d.ts +1 -1
- package/dist/backend/secrettune/BorosCoreSDK.d.ts +127 -127
- package/dist/backend/secrettune/BorosSendTxsBotSDK.d.ts +6 -6
- package/dist/backend/secrettune/PendleV2SDK.d.ts +122 -122
- package/dist/entities/exchange/exchange.d.ts +49 -12
- package/dist/entities/exchange/exchange.js +145 -5
- package/dist/entities/exchange/exchange.js.map +1 -1
- package/package.json +2 -2
|
@@ -1579,104 +1579,104 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1579
1579
|
startTimestamp?: number;
|
|
1580
1580
|
endTimestamp?: number;
|
|
1581
1581
|
select: string;
|
|
1582
|
-
}, params?: RequestParams) => Promise<AxiosResponse<IndicatorsResponse, any>>;
|
|
1582
|
+
}, params?: RequestParams) => Promise<AxiosResponse<IndicatorsResponse, any, {}>>;
|
|
1583
1583
|
indicatorsControllerGetIndicatorsV2: (query: {
|
|
1584
1584
|
marketId: number;
|
|
1585
1585
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1586
1586
|
startTimestamp?: number;
|
|
1587
1587
|
endTimestamp?: number;
|
|
1588
1588
|
select: string;
|
|
1589
|
-
}, params?: RequestParams) => Promise<AxiosResponse<IndicatorsResponse, any>>;
|
|
1589
|
+
}, params?: RequestParams) => Promise<AxiosResponse<IndicatorsResponse, any, {}>>;
|
|
1590
1590
|
indicatorsControllerGetIndicatorsExport: (query: {
|
|
1591
1591
|
marketId: number;
|
|
1592
1592
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1593
1593
|
startTimestamp?: number;
|
|
1594
1594
|
endTimestamp?: number;
|
|
1595
1595
|
select?: string;
|
|
1596
|
-
}, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
|
|
1597
|
-
indicatorsControllerGetFundingRateHistory: (params?: RequestParams) => Promise<AxiosResponse<FundingRateHistoryResponse, any>>;
|
|
1596
|
+
}, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
1597
|
+
indicatorsControllerGetFundingRateHistory: (params?: RequestParams) => Promise<AxiosResponse<FundingRateHistoryResponse, any, {}>>;
|
|
1598
1598
|
marketsControllerGetMarkets: (query?: {
|
|
1599
1599
|
skip?: number;
|
|
1600
1600
|
limit?: number;
|
|
1601
1601
|
isWhitelisted?: boolean;
|
|
1602
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MarketsResponse, any>>;
|
|
1602
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MarketsResponse, any, {}>>;
|
|
1603
1603
|
marketsControllerGetMarketTrades: (query: {
|
|
1604
1604
|
skip?: number;
|
|
1605
1605
|
limit?: number;
|
|
1606
1606
|
marketId: number;
|
|
1607
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MarketTradesResponse, any>>;
|
|
1607
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MarketTradesResponse, any, {}>>;
|
|
1608
1608
|
marketsControllerGetChartData: (query: {
|
|
1609
1609
|
marketId: number;
|
|
1610
1610
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1611
1611
|
startTimestamp?: number;
|
|
1612
1612
|
endTimestamp?: number;
|
|
1613
|
-
}, params?: RequestParams) => Promise<AxiosResponse<ChartResponse, any>>;
|
|
1613
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ChartResponse, any, {}>>;
|
|
1614
1614
|
marketsControllerGetChartDataV2: (query: {
|
|
1615
1615
|
marketId: number;
|
|
1616
1616
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1617
1617
|
startTimestamp?: number;
|
|
1618
1618
|
endTimestamp?: number;
|
|
1619
|
-
}, params?: RequestParams) => Promise<AxiosResponse<ChartResponseV2, any>>;
|
|
1619
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ChartResponseV2, any, {}>>;
|
|
1620
1620
|
marketsControllerGetHistoricalData: (query: {
|
|
1621
1621
|
marketId: number;
|
|
1622
1622
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1623
1623
|
startTimestamp?: number;
|
|
1624
1624
|
endTimestamp?: number;
|
|
1625
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalDataChartResponse, any>>;
|
|
1625
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalDataChartResponse, any, {}>>;
|
|
1626
1626
|
marketsControllerGetHistoricalUnderlyingApr: (query: {
|
|
1627
1627
|
marketId: number;
|
|
1628
1628
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
1629
1629
|
startTimestamp?: number;
|
|
1630
1630
|
endTimestamp?: number;
|
|
1631
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any>>;
|
|
1631
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any, {}>>;
|
|
1632
1632
|
marketsControllerGetHistoricalUnderlyingAprv2: (query: {
|
|
1633
1633
|
assetSymbol: string;
|
|
1634
1634
|
exchange: string;
|
|
1635
1635
|
timeFrame: number;
|
|
1636
1636
|
startTimestamp?: number;
|
|
1637
1637
|
endTimestamp?: number;
|
|
1638
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any>>;
|
|
1638
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any, {}>>;
|
|
1639
1639
|
marketsControllerGetHistoricalUnderlyingAprv3: (query: {
|
|
1640
1640
|
assetSymbol: string;
|
|
1641
1641
|
exchange: string;
|
|
1642
1642
|
timeFrame: 3600 | 14400 | 28800 | 86400;
|
|
1643
1643
|
startTimestamp: number;
|
|
1644
1644
|
endTimestamp: number;
|
|
1645
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any>>;
|
|
1646
|
-
marketsControllerGetMarketInfo: (marketId: number, params?: RequestParams) => Promise<AxiosResponse<MarketResponse, any>>;
|
|
1645
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalUnderlyingAPRChartResponse, any, {}>>;
|
|
1646
|
+
marketsControllerGetMarketInfo: (marketId: number, params?: RequestParams) => Promise<AxiosResponse<MarketResponse, any, {}>>;
|
|
1647
1647
|
};
|
|
1648
1648
|
orderBooks: {
|
|
1649
1649
|
orderBooksControllerGetOrderBooksByMarketId: (marketId: number, query: {
|
|
1650
1650
|
tickSize: 0.00001 | 0.0001 | 0.001 | 0.01 | 0.1;
|
|
1651
|
-
}, params?: RequestParams) => Promise<AxiosResponse<OrderBooksResponse, any>>;
|
|
1651
|
+
}, params?: RequestParams) => Promise<AxiosResponse<OrderBooksResponse, any, {}>>;
|
|
1652
1652
|
};
|
|
1653
1653
|
amm: {
|
|
1654
1654
|
ammControllerGetAllVaultStates: (query?: {
|
|
1655
1655
|
account?: string;
|
|
1656
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetAllVaultResponse, any>>;
|
|
1656
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetAllVaultResponse, any, {}>>;
|
|
1657
1657
|
ammControllerGetSingleVaultState: (query: {
|
|
1658
1658
|
marketId: number;
|
|
1659
1659
|
account?: string;
|
|
1660
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetSingleVaultResponse, any>>;
|
|
1660
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetSingleVaultResponse, any, {}>>;
|
|
1661
1661
|
ammControllerGetVaultApyChart: (query: {
|
|
1662
1662
|
timeFrame: "1m" | "5m" | "1h" | "1d" | "1w";
|
|
1663
1663
|
startTimestamp?: number;
|
|
1664
1664
|
endTimestamp?: number;
|
|
1665
1665
|
marketId: number;
|
|
1666
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetVaultApyChartResponse, any>>;
|
|
1666
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetVaultApyChartResponse, any, {}>>;
|
|
1667
1667
|
ammControllerGetVaultApyChartV2: (query: {
|
|
1668
1668
|
timeFrame: "1m" | "5m" | "1h" | "1d" | "1w";
|
|
1669
1669
|
startTimestamp?: number;
|
|
1670
1670
|
endTimestamp?: number;
|
|
1671
1671
|
ammId: number;
|
|
1672
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetVaultApyChartResponse, any>>;
|
|
1673
|
-
ammControllerGetAmmInfoByAmmId: (ammId: number, params?: RequestParams) => Promise<AxiosResponse<GetAMMInfoByAmmIdResponse, any>>;
|
|
1672
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetVaultApyChartResponse, any, {}>>;
|
|
1673
|
+
ammControllerGetAmmInfoByAmmId: (ammId: number, params?: RequestParams) => Promise<AxiosResponse<GetAMMInfoByAmmIdResponse, any, {}>>;
|
|
1674
1674
|
ammControllerGetAmmRewards: (query: {
|
|
1675
1675
|
user: string;
|
|
1676
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetUserRewardResponse, any>>;
|
|
1676
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetUserRewardResponse, any, {}>>;
|
|
1677
1677
|
};
|
|
1678
1678
|
merkels: {
|
|
1679
|
-
merklesControllerGetMerkleByUserAndCampaign: (campaignId: string, user: string, params?: RequestParams) => Promise<AxiosResponse<UserMerkleResponse, any>>;
|
|
1679
|
+
merklesControllerGetMerkleByUserAndCampaign: (campaignId: string, user: string, params?: RequestParams) => Promise<AxiosResponse<UserMerkleResponse, any, {}>>;
|
|
1680
1680
|
};
|
|
1681
1681
|
simulations: {
|
|
1682
1682
|
simulationsControllerGetDepositV2: (query: {
|
|
@@ -1685,18 +1685,18 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1685
1685
|
amount: string;
|
|
1686
1686
|
accountId: number;
|
|
1687
1687
|
marketId: number;
|
|
1688
|
-
}, params?: RequestParams) => Promise<AxiosResponse<DepositSimulationResponse, any>>;
|
|
1688
|
+
}, params?: RequestParams) => Promise<AxiosResponse<DepositSimulationResponse, any, {}>>;
|
|
1689
1689
|
simulationsControllerGetWithdraw: (query: {
|
|
1690
1690
|
userAddress: string;
|
|
1691
1691
|
tokenId: number;
|
|
1692
1692
|
amount: string;
|
|
1693
|
-
}, params?: RequestParams) => Promise<AxiosResponse<WithdrawSimulationResponse, any>>;
|
|
1693
|
+
}, params?: RequestParams) => Promise<AxiosResponse<WithdrawSimulationResponse, any, {}>>;
|
|
1694
1694
|
simulationsControllerGetCashTransfer: (query: {
|
|
1695
1695
|
userAddress: string;
|
|
1696
1696
|
marketId: number;
|
|
1697
1697
|
isDeposit: boolean;
|
|
1698
1698
|
amount: string;
|
|
1699
|
-
}, params?: RequestParams) => Promise<AxiosResponse<CashTransferSimulationResponse, any>>;
|
|
1699
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CashTransferSimulationResponse, any, {}>>;
|
|
1700
1700
|
simulationsControllerGetCashSwap: (query: {
|
|
1701
1701
|
userAddress: string;
|
|
1702
1702
|
accountId: number;
|
|
@@ -1708,7 +1708,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1708
1708
|
unscaledEstReceived: string;
|
|
1709
1709
|
extRouter: string;
|
|
1710
1710
|
extCalldata: string;
|
|
1711
|
-
}, params?: RequestParams) => Promise<AxiosResponse<CashSwapSimulationResponse, any>>;
|
|
1711
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CashSwapSimulationResponse, any, {}>>;
|
|
1712
1712
|
simulationsControllerGetPlaceOrderV2: (query: {
|
|
1713
1713
|
marketId: number;
|
|
1714
1714
|
side: 0 | 1;
|
|
@@ -1717,13 +1717,13 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1717
1717
|
tif: 0 | 1 | 2 | 3 | 4;
|
|
1718
1718
|
slippage?: number;
|
|
1719
1719
|
marketAcc?: string;
|
|
1720
|
-
}, params?: RequestParams) => Promise<AxiosResponse<PlaceOrderSimulationResponseV2, any>>;
|
|
1720
|
+
}, params?: RequestParams) => Promise<AxiosResponse<PlaceOrderSimulationResponseV2, any, {}>>;
|
|
1721
1721
|
simulationsControllerGetCancelOrder: (query: {
|
|
1722
1722
|
marketAcc: string;
|
|
1723
1723
|
marketId: number;
|
|
1724
1724
|
cancelAll: boolean;
|
|
1725
1725
|
orderIds?: string;
|
|
1726
|
-
}, params?: RequestParams) => Promise<AxiosResponse<CancelOrderSimulationResponse, any>>;
|
|
1726
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CancelOrderSimulationResponse, any, {}>>;
|
|
1727
1727
|
simulationsControllerCloseActiveMarketPositionV2: (query: {
|
|
1728
1728
|
marketId: number;
|
|
1729
1729
|
side: 0 | 1;
|
|
@@ -1732,36 +1732,36 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1732
1732
|
tif: 0 | 1 | 2 | 3 | 4;
|
|
1733
1733
|
slippage?: number;
|
|
1734
1734
|
marketAcc: string;
|
|
1735
|
-
}, params?: RequestParams) => Promise<AxiosResponse<PlaceOrderSimulationResponseV2, any>>;
|
|
1735
|
+
}, params?: RequestParams) => Promise<AxiosResponse<PlaceOrderSimulationResponseV2, any, {}>>;
|
|
1736
1736
|
simulationsControllerGetAddLiquiditySingleCashToAmm: (query: {
|
|
1737
1737
|
userAddress: string;
|
|
1738
1738
|
accountId: number;
|
|
1739
1739
|
marketId: number;
|
|
1740
1740
|
netCashIn: string;
|
|
1741
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AddLiquiditySingleCashSimulationResponse, any>>;
|
|
1741
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AddLiquiditySingleCashSimulationResponse, any, {}>>;
|
|
1742
1742
|
simulationsControllerGetRemoveLiquiditySingleCashFromAmm: (query: {
|
|
1743
1743
|
userAddress: string;
|
|
1744
1744
|
accountId: number;
|
|
1745
1745
|
marketId: number;
|
|
1746
1746
|
lpToRemove: string;
|
|
1747
|
-
}, params?: RequestParams) => Promise<AxiosResponse<RemoveLiquiditySingleCashSimulationResponse, any>>;
|
|
1748
|
-
simulationsControllerGetDualMarketPlaceOrder: (data: DualMarketPlaceOrderSimulationQueryDto, params?: RequestParams) => Promise<AxiosResponse<DualMarketPlaceOrderSimulationResponse, any>>;
|
|
1747
|
+
}, params?: RequestParams) => Promise<AxiosResponse<RemoveLiquiditySingleCashSimulationResponse, any, {}>>;
|
|
1748
|
+
simulationsControllerGetDualMarketPlaceOrder: (data: DualMarketPlaceOrderSimulationQueryDto, params?: RequestParams) => Promise<AxiosResponse<DualMarketPlaceOrderSimulationResponse, any, {}>>;
|
|
1749
1749
|
};
|
|
1750
1750
|
assets: {
|
|
1751
|
-
assetsControllerGetAllCollateralAssets: (params?: RequestParams) => Promise<AxiosResponse<AssetsResponse, any>>;
|
|
1752
|
-
assetsControllerGetAllAssets: (params?: RequestParams) => Promise<AxiosResponse<AssetsResponse, any>>;
|
|
1751
|
+
assetsControllerGetAllCollateralAssets: (params?: RequestParams) => Promise<AxiosResponse<AssetsResponse, any, {}>>;
|
|
1752
|
+
assetsControllerGetAllAssets: (params?: RequestParams) => Promise<AxiosResponse<AssetsResponse, any, {}>>;
|
|
1753
1753
|
assetsControllerGetHistoricalPriceV1: (query: {
|
|
1754
1754
|
symbol: string;
|
|
1755
1755
|
startTimestamp?: number;
|
|
1756
1756
|
endTimestamp?: number;
|
|
1757
1757
|
timeFrame?: number;
|
|
1758
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalPriceV1Response, any>>;
|
|
1758
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalPriceV1Response, any, {}>>;
|
|
1759
1759
|
assetsControllerGetHistoricalPriceV2: (query: {
|
|
1760
1760
|
symbol: string;
|
|
1761
1761
|
startTimestamp?: number;
|
|
1762
1762
|
endTimestamp?: number;
|
|
1763
1763
|
timeFrame?: 300 | 3600 | 14400 | 28800 | 86400 | 604800;
|
|
1764
|
-
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalPriceResponse, any>>;
|
|
1764
|
+
}, params?: RequestParams) => Promise<AxiosResponse<HistoricalPriceResponse, any, {}>>;
|
|
1765
1765
|
};
|
|
1766
1766
|
calldata: {
|
|
1767
1767
|
calldataControllerGetDepositCalldataV2: (query: {
|
|
@@ -1770,27 +1770,27 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1770
1770
|
amount: string;
|
|
1771
1771
|
accountId: number;
|
|
1772
1772
|
marketId: number;
|
|
1773
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any>>;
|
|
1773
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any, {}>>;
|
|
1774
1774
|
calldataControllerGetVaultPayTreasuryCalldata: (query: {
|
|
1775
1775
|
userAddress: string;
|
|
1776
1776
|
tokenId: number;
|
|
1777
1777
|
amount: string;
|
|
1778
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any>>;
|
|
1778
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any, {}>>;
|
|
1779
1779
|
calldataControllerGetWithdrawRequestCalldata: (query: {
|
|
1780
1780
|
userAddress: string;
|
|
1781
1781
|
tokenId: number;
|
|
1782
1782
|
amount: string;
|
|
1783
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any>>;
|
|
1783
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any, {}>>;
|
|
1784
1784
|
calldataControllerGetWithdrawCancelCalldata: (query: {
|
|
1785
1785
|
userAddress: string;
|
|
1786
1786
|
tokenId: number;
|
|
1787
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any>>;
|
|
1787
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetCalldataResponse, any, {}>>;
|
|
1788
1788
|
calldataControllerGetPositionTransferCalldataV3: (query: {
|
|
1789
1789
|
payTreasuryAmount?: string;
|
|
1790
1790
|
marketId: number;
|
|
1791
1791
|
isDeposit: boolean;
|
|
1792
1792
|
amount: string;
|
|
1793
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1793
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1794
1794
|
calldataControllerGetPlaceOrderCalldataV4: (query: {
|
|
1795
1795
|
marketId: number;
|
|
1796
1796
|
side: 0 | 1;
|
|
@@ -1801,17 +1801,17 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1801
1801
|
marketAcc: string;
|
|
1802
1802
|
payTreasuryAmount?: string;
|
|
1803
1803
|
autoExitMarket?: boolean;
|
|
1804
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1805
|
-
calldataControllerGetBulkPlaceOrderCalldataV7: (data: BulkPlaceOrderQueryDtoV5, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1806
|
-
calldataControllerGetBulkPlaceOrderCalldataV6: (data: BulkPlaceOrderQueryDtoV4, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1807
|
-
calldataControllerGetBulkPlaceOrderCalldataV3: (data: BulkPlaceOrderQueryDtoV2, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1804
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1805
|
+
calldataControllerGetBulkPlaceOrderCalldataV7: (data: BulkPlaceOrderQueryDtoV5, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1806
|
+
calldataControllerGetBulkPlaceOrderCalldataV6: (data: BulkPlaceOrderQueryDtoV4, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1807
|
+
calldataControllerGetBulkPlaceOrderCalldataV3: (data: BulkPlaceOrderQueryDtoV2, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1808
1808
|
calldataControllerGetCancelOrderCalldataV3: (query: {
|
|
1809
1809
|
payTreasuryAmount?: string;
|
|
1810
1810
|
marketAcc: string;
|
|
1811
1811
|
marketId: number;
|
|
1812
1812
|
cancelAll: boolean;
|
|
1813
1813
|
orderIds?: string;
|
|
1814
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1814
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1815
1815
|
calldataControllerGetCloseActiveMarketPositionV4: (query: {
|
|
1816
1816
|
marketId: number;
|
|
1817
1817
|
side: 0 | 1;
|
|
@@ -1822,7 +1822,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1822
1822
|
marketAcc: string;
|
|
1823
1823
|
payTreasuryAmount?: string;
|
|
1824
1824
|
autoExitMarket?: boolean;
|
|
1825
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1825
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1826
1826
|
calldataControllerGetAddLiquiditySingleCashToAmmCalldataV3: (query: {
|
|
1827
1827
|
payTreasuryAmount?: string;
|
|
1828
1828
|
userAddress: string;
|
|
@@ -1830,7 +1830,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1830
1830
|
marketId: number;
|
|
1831
1831
|
netCashIn: string;
|
|
1832
1832
|
minLpOut: string;
|
|
1833
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1833
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1834
1834
|
calldataControllerGetAddLiquiditySingleCashToAmmCalldataV4: (query: {
|
|
1835
1835
|
payTreasuryAmount?: string;
|
|
1836
1836
|
userAddress: string;
|
|
@@ -1838,50 +1838,50 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1838
1838
|
marketId: number;
|
|
1839
1839
|
netCashIn: string;
|
|
1840
1840
|
minLpOut: string;
|
|
1841
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV3, any>>;
|
|
1841
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV3, any, {}>>;
|
|
1842
1842
|
calldataControllerGetRemoveLiquiditySingleCashFromAmmCalldataV3: (query: {
|
|
1843
1843
|
payTreasuryAmount?: string;
|
|
1844
1844
|
marketId: number;
|
|
1845
1845
|
lpToRemove: string;
|
|
1846
1846
|
minCashOut: string;
|
|
1847
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1847
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1848
1848
|
calldataControllerGetRemoveLiquiditySingleCashFromAmmCalldataV4: (query: {
|
|
1849
1849
|
payTreasuryAmount?: string;
|
|
1850
1850
|
marketId: number;
|
|
1851
1851
|
lpToRemove: string;
|
|
1852
1852
|
minCashOut: string;
|
|
1853
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV3, any>>;
|
|
1853
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV3, any, {}>>;
|
|
1854
1854
|
calldataControllerGetEnterExitMarketsCalldata: (query: {
|
|
1855
1855
|
isCross: boolean;
|
|
1856
1856
|
marketIds?: string;
|
|
1857
1857
|
isEnter: boolean;
|
|
1858
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1858
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1859
1859
|
calldataControllerGetPayTreasuryCalldataV2: (query: {
|
|
1860
1860
|
isCross: boolean;
|
|
1861
1861
|
marketId: number;
|
|
1862
1862
|
usdAmount: number;
|
|
1863
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1864
|
-
calldataControllerGetDualMarketPlaceOrderCalldata: (data: DualMarketPlaceOrderQueryDto, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any>>;
|
|
1863
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1864
|
+
calldataControllerGetDualMarketPlaceOrderCalldata: (data: DualMarketPlaceOrderQueryDto, params?: RequestParams) => Promise<AxiosResponse<BulkAgentExecuteParamsResponseV2, any, {}>>;
|
|
1865
1865
|
};
|
|
1866
1866
|
accounts: {
|
|
1867
1867
|
accountsControllerGetUserSettings: (query: {
|
|
1868
1868
|
userAddress: string;
|
|
1869
1869
|
accountId: number;
|
|
1870
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AccountSettingsResponse, any>>;
|
|
1871
|
-
accountsControllerUpdateAccountSettings: (data: UpdateAccountSettingBodyDto, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
1870
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AccountSettingsResponse, any, {}>>;
|
|
1871
|
+
accountsControllerUpdateAccountSettings: (data: UpdateAccountSettingBodyDto, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
1872
1872
|
accountsControllerGetAccountGasBalance: (query: {
|
|
1873
1873
|
userAddress: string;
|
|
1874
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AccountGasBalanceResponse, any>>;
|
|
1874
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AccountGasBalanceResponse, any, {}>>;
|
|
1875
1875
|
accountsControllerGetGasConsumptionHistory: (query: {
|
|
1876
1876
|
userAddress: string;
|
|
1877
1877
|
limit?: number;
|
|
1878
1878
|
skip?: number;
|
|
1879
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AccountGasConsumptionHistoryResponse, any>>;
|
|
1880
|
-
accountsControllerSetAgentSession: (data: SetAgentSessionDto, params?: RequestParams) => Promise<AxiosResponse<AgentSessionResponse, any>>;
|
|
1881
|
-
accountsControllerVerifyAgentSession: (data: AgentSessionQueryDto, params?: RequestParams) => Promise<AxiosResponse<AgentSessionResponse, any>>;
|
|
1879
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AccountGasConsumptionHistoryResponse, any, {}>>;
|
|
1880
|
+
accountsControllerSetAgentSession: (data: SetAgentSessionDto, params?: RequestParams) => Promise<AxiosResponse<AgentSessionResponse, any, {}>>;
|
|
1881
|
+
accountsControllerVerifyAgentSession: (data: AgentSessionQueryDto, params?: RequestParams) => Promise<AxiosResponse<AgentSessionResponse, any, {}>>;
|
|
1882
1882
|
};
|
|
1883
1883
|
categories: {
|
|
1884
|
-
categoriesControllerGetAllCategories: (params?: RequestParams) => Promise<AxiosResponse<CategoriesResponse, any>>;
|
|
1884
|
+
categoriesControllerGetAllCategories: (params?: RequestParams) => Promise<AxiosResponse<CategoriesResponse, any, {}>>;
|
|
1885
1885
|
};
|
|
1886
1886
|
pnL: {
|
|
1887
1887
|
pnlControllerGetPnlTransactions: (query: {
|
|
@@ -1891,7 +1891,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1891
1891
|
limit?: number;
|
|
1892
1892
|
skip?: number;
|
|
1893
1893
|
tokenId?: number;
|
|
1894
|
-
}, params?: RequestParams) => Promise<AxiosResponse<PnlTransactionsResponse, any>>;
|
|
1894
|
+
}, params?: RequestParams) => Promise<AxiosResponse<PnlTransactionsResponse, any, {}>>;
|
|
1895
1895
|
pnlControllerGetLimitOrders: (query: {
|
|
1896
1896
|
userAddress: string;
|
|
1897
1897
|
accountId: number;
|
|
@@ -1901,7 +1901,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1901
1901
|
isActive?: boolean;
|
|
1902
1902
|
orderType?: 0 | 1 | 2 | 3;
|
|
1903
1903
|
orderBy?: string;
|
|
1904
|
-
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponse, any>>;
|
|
1904
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponse, any, {}>>;
|
|
1905
1905
|
pnlControllerGetLimitOrdersV2: (query: {
|
|
1906
1906
|
userAddress: string;
|
|
1907
1907
|
accountId: number;
|
|
@@ -1912,7 +1912,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1912
1912
|
orderType?: string;
|
|
1913
1913
|
orderBy?: string;
|
|
1914
1914
|
tokenId?: number;
|
|
1915
|
-
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponseV2, any>>;
|
|
1915
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponseV2, any, {}>>;
|
|
1916
1916
|
pnlControllerGetFilledLimitOrders: (query?: {
|
|
1917
1917
|
userAddress?: string;
|
|
1918
1918
|
accountId?: number;
|
|
@@ -1922,32 +1922,32 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1922
1922
|
orderType?: 0 | 1 | 2 | 3;
|
|
1923
1923
|
status?: 0 | 1 | 2 | 3 | 4;
|
|
1924
1924
|
orderBy?: string;
|
|
1925
|
-
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponse, any>>;
|
|
1925
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LimitOrdersResponse, any, {}>>;
|
|
1926
1926
|
pnlControllerGetTransferLogs: (query: {
|
|
1927
1927
|
skip?: number;
|
|
1928
1928
|
limit?: number;
|
|
1929
1929
|
root: string;
|
|
1930
1930
|
accountId: number;
|
|
1931
1931
|
tokenId?: number;
|
|
1932
|
-
}, params?: RequestParams) => Promise<AxiosResponse<TransferLogsResponse, any>>;
|
|
1932
|
+
}, params?: RequestParams) => Promise<AxiosResponse<TransferLogsResponse, any, {}>>;
|
|
1933
1933
|
pnlControllerSharePositionPnl: (query: {
|
|
1934
1934
|
marketAcc: string;
|
|
1935
1935
|
marketId: number;
|
|
1936
|
-
}, params?: RequestParams) => Promise<AxiosResponse<SharePositionPnlResponse, any>>;
|
|
1936
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SharePositionPnlResponse, any, {}>>;
|
|
1937
1937
|
pnlControllerSharePositionPnlV2: (query: {
|
|
1938
1938
|
marketAcc: string;
|
|
1939
1939
|
marketId: number;
|
|
1940
|
-
}, params?: RequestParams) => Promise<AxiosResponse<SharePositionPnlResponseV2, any>>;
|
|
1940
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SharePositionPnlResponseV2, any, {}>>;
|
|
1941
1941
|
pnlControllerGetMarketAccCumulativePnl: (query: {
|
|
1942
1942
|
marketAcc: string;
|
|
1943
1943
|
marketId: number;
|
|
1944
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MarketAccCumulativePnlResponse, any>>;
|
|
1944
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MarketAccCumulativePnlResponse, any, {}>>;
|
|
1945
1945
|
pnlControllerGetClosedPositions: (query: {
|
|
1946
1946
|
root: string;
|
|
1947
1947
|
status: "closed" | "matured";
|
|
1948
1948
|
skip?: number;
|
|
1949
1949
|
limit?: number;
|
|
1950
|
-
}, params?: RequestParams) => Promise<AxiosResponse<ClosedPositionsResponse, any>>;
|
|
1950
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ClosedPositionsResponse, any, {}>>;
|
|
1951
1951
|
pnlControllerGetPositionsInSync: (query?: {
|
|
1952
1952
|
marketId?: number;
|
|
1953
1953
|
root?: string;
|
|
@@ -1955,13 +1955,13 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1955
1955
|
maxEventIndex?: number;
|
|
1956
1956
|
skip?: number;
|
|
1957
1957
|
limit?: number;
|
|
1958
|
-
}, params?: RequestParams) => Promise<AxiosResponse<PositionsInSyncResponse, any>>;
|
|
1958
|
+
}, params?: RequestParams) => Promise<AxiosResponse<PositionsInSyncResponse, any, {}>>;
|
|
1959
1959
|
pnlControllerGetMarketAccCashes: (query?: {
|
|
1960
1960
|
marketAccs?: string;
|
|
1961
1961
|
maxEventIndex?: number;
|
|
1962
1962
|
skip?: number;
|
|
1963
1963
|
limit?: number;
|
|
1964
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MarketAccCashesResponse, any>>;
|
|
1964
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MarketAccCashesResponse, any, {}>>;
|
|
1965
1965
|
};
|
|
1966
1966
|
settlement: {
|
|
1967
1967
|
settlementControllerGetSettlements: (query: {
|
|
@@ -1971,52 +1971,52 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
1971
1971
|
accountId: number;
|
|
1972
1972
|
marketId?: number;
|
|
1973
1973
|
tokenId?: number;
|
|
1974
|
-
}, params?: RequestParams) => Promise<AxiosResponse<SettlementsResponse, any>>;
|
|
1974
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SettlementsResponse, any, {}>>;
|
|
1975
1975
|
};
|
|
1976
1976
|
collaterals: {
|
|
1977
1977
|
collateralControllerGetAllCollateralSummary: (query: {
|
|
1978
1978
|
userAddress: string;
|
|
1979
1979
|
accountId: number;
|
|
1980
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AllCollateralSummaryResponse, any>>;
|
|
1980
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AllCollateralSummaryResponse, any, {}>>;
|
|
1981
1981
|
collateralControllerGetSingleCollateral: (query: {
|
|
1982
1982
|
userAddress: string;
|
|
1983
1983
|
accountId: number;
|
|
1984
1984
|
tokenId: number;
|
|
1985
|
-
}, params?: RequestParams) => Promise<AxiosResponse<SingleCollateralSummaryResponse, any>>;
|
|
1985
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SingleCollateralSummaryResponse, any, {}>>;
|
|
1986
1986
|
};
|
|
1987
1987
|
depositBox: {
|
|
1988
|
-
depositBoxControllerGetAssets: (params?: RequestParams) => Promise<AxiosResponse<DepositBoxAssetsResponse, any>>;
|
|
1988
|
+
depositBoxControllerGetAssets: (params?: RequestParams) => Promise<AxiosResponse<DepositBoxAssetsResponse, any, {}>>;
|
|
1989
1989
|
depositBoxControllerGetDepositBoxBalances: (query: {
|
|
1990
1990
|
root: string;
|
|
1991
1991
|
boxId?: number;
|
|
1992
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxBalancesResponse, any>>;
|
|
1993
|
-
depositBoxControllerPrepareDepositFromBox: (data: PrepareDepositFromBoxDto, params?: RequestParams) => Promise<AxiosResponse<PrepareDepositFromBoxMessageResponse, any>>;
|
|
1992
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxBalancesResponse, any, {}>>;
|
|
1993
|
+
depositBoxControllerPrepareDepositFromBox: (data: PrepareDepositFromBoxDto, params?: RequestParams) => Promise<AxiosResponse<PrepareDepositFromBoxMessageResponse, any, {}>>;
|
|
1994
1994
|
depositBoxControllerGetAvailableDepositBoxId: (query: {
|
|
1995
1995
|
root: string;
|
|
1996
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIdResponse, any>>;
|
|
1997
|
-
depositBoxControllerCreateDepositBoxIntent: (data: CreateDepositBoxIntentDto, params?: RequestParams) => Promise<AxiosResponse<CreateDepositBoxIntentResponse, any>>;
|
|
1998
|
-
depositBoxControllerPatchDepositBoxIntentBridging: (id: string, data: PatchDepositBoxIntentBridgingDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
1999
|
-
depositBoxControllerPatchDepositBoxIntentCanceled: (id: string, data: PatchDepositBoxIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
2000
|
-
depositBoxControllerPatchDepositBoxIntentFailed: (id: string, data: PatchDepositBoxIntentFailedDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
2001
|
-
depositBoxControllerPatchDepositBoxIntentDismissed: (id: string, data: PatchDepositBoxIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
1996
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIdResponse, any, {}>>;
|
|
1997
|
+
depositBoxControllerCreateDepositBoxIntent: (data: CreateDepositBoxIntentDto, params?: RequestParams) => Promise<AxiosResponse<CreateDepositBoxIntentResponse, any, {}>>;
|
|
1998
|
+
depositBoxControllerPatchDepositBoxIntentBridging: (id: string, data: PatchDepositBoxIntentBridgingDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
1999
|
+
depositBoxControllerPatchDepositBoxIntentCanceled: (id: string, data: PatchDepositBoxIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2000
|
+
depositBoxControllerPatchDepositBoxIntentFailed: (id: string, data: PatchDepositBoxIntentFailedDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2001
|
+
depositBoxControllerPatchDepositBoxIntentDismissed: (id: string, data: PatchDepositBoxIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2002
2002
|
depositBoxControllerGetDepositBoxIntents: (query: {
|
|
2003
2003
|
root: string;
|
|
2004
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIntentsResponse, any>>;
|
|
2005
|
-
depositBoxControllerCreateWithdrawIntent: (data: CreateWithdrawIntentDto, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
2006
|
-
depositBoxControllerPatchWithdrawIntentBridged: (id: string, data: PatchWithdrawIntentBridgedDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
2007
|
-
depositBoxControllerPatchWithdrawIntentDone: (id: string, data: PatchWithdrawIntentDoneDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
2008
|
-
depositBoxControllerPatchWithdrawIntentCanceled: (id: string, data: PatchWithdrawIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any>>;
|
|
2004
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIntentsResponse, any, {}>>;
|
|
2005
|
+
depositBoxControllerCreateWithdrawIntent: (data: CreateWithdrawIntentDto, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
2006
|
+
depositBoxControllerPatchWithdrawIntentBridged: (id: string, data: PatchWithdrawIntentBridgedDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2007
|
+
depositBoxControllerPatchWithdrawIntentDone: (id: string, data: PatchWithdrawIntentDoneDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2008
|
+
depositBoxControllerPatchWithdrawIntentCanceled: (id: string, data: PatchWithdrawIntentCanceledDto, params?: RequestParams) => Promise<AxiosResponse<PatchWithdrawIntentResponse, any, {}>>;
|
|
2009
2009
|
depositBoxControllerGetWithdrawIntents: (query: {
|
|
2010
2010
|
root: string;
|
|
2011
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetWithdrawIntentsResponse, any>>;
|
|
2012
|
-
depositBoxControllerGetWithdrawIntent: (id: string, params?: RequestParams) => Promise<AxiosResponse<GetWithdrawIntentResponse, any>>;
|
|
2013
|
-
depositBoxControllerGetDepositBoxIntent: (id: string, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIntentResponse, any>>;
|
|
2014
|
-
depositBoxControllerPrepareTransferToBox: (data: PrepareTransferToBoxDto, params?: RequestParams) => Promise<AxiosResponse<PrepareTransferToBoxResponse, any>>;
|
|
2015
|
-
depositBoxControllerPrepareCollateralSwap: (data: PrepareCollateralSwapDto, params?: RequestParams) => Promise<AxiosResponse<PrepareCollateralSwapResponse, any>>;
|
|
2016
|
-
depositBoxControllerPrepareDepositFromBoxV2: (data: PrepareDepositFromBoxV2Dto, params?: RequestParams) => Promise<AxiosResponse<PrepareDepositFromBoxMessageResponse, any>>;
|
|
2017
|
-
depositBoxControllerQuoteBscBridgeV2: (data: QuoteBscBridgeV2Dto, params?: RequestParams) => Promise<AxiosResponse<QuoteBscBridgeResponse, any>>;
|
|
2018
|
-
depositBoxControllerQuoteBridge: (data: QuoteBridgeDto, params?: RequestParams) => Promise<AxiosResponse<QuoteBridgeResponse, any>>;
|
|
2019
|
-
depositBoxControllerQuoteWithdraw: (data: QuoteWithdrawDto, params?: RequestParams) => Promise<AxiosResponse<QuoteWithdrawResponse, any>>;
|
|
2011
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetWithdrawIntentsResponse, any, {}>>;
|
|
2012
|
+
depositBoxControllerGetWithdrawIntent: (id: string, params?: RequestParams) => Promise<AxiosResponse<GetWithdrawIntentResponse, any, {}>>;
|
|
2013
|
+
depositBoxControllerGetDepositBoxIntent: (id: string, params?: RequestParams) => Promise<AxiosResponse<GetDepositBoxIntentResponse, any, {}>>;
|
|
2014
|
+
depositBoxControllerPrepareTransferToBox: (data: PrepareTransferToBoxDto, params?: RequestParams) => Promise<AxiosResponse<PrepareTransferToBoxResponse, any, {}>>;
|
|
2015
|
+
depositBoxControllerPrepareCollateralSwap: (data: PrepareCollateralSwapDto, params?: RequestParams) => Promise<AxiosResponse<PrepareCollateralSwapResponse, any, {}>>;
|
|
2016
|
+
depositBoxControllerPrepareDepositFromBoxV2: (data: PrepareDepositFromBoxV2Dto, params?: RequestParams) => Promise<AxiosResponse<PrepareDepositFromBoxMessageResponse, any, {}>>;
|
|
2017
|
+
depositBoxControllerQuoteBscBridgeV2: (data: QuoteBscBridgeV2Dto, params?: RequestParams) => Promise<AxiosResponse<QuoteBscBridgeResponse, any, {}>>;
|
|
2018
|
+
depositBoxControllerQuoteBridge: (data: QuoteBridgeDto, params?: RequestParams) => Promise<AxiosResponse<QuoteBridgeResponse, any, {}>>;
|
|
2019
|
+
depositBoxControllerQuoteWithdraw: (data: QuoteWithdrawDto, params?: RequestParams) => Promise<AxiosResponse<QuoteWithdrawResponse, any, {}>>;
|
|
2020
2020
|
};
|
|
2021
2021
|
portfolio: {
|
|
2022
2022
|
portfolioControllerGetBalanceChart: (query: {
|
|
@@ -2024,49 +2024,49 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2024
2024
|
accountId: number;
|
|
2025
2025
|
time: "7d" | "30d" | "60d" | "90d" | "all";
|
|
2026
2026
|
tokenId: number;
|
|
2027
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BalanceChartResponse, any>>;
|
|
2027
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BalanceChartResponse, any, {}>>;
|
|
2028
2028
|
portfolioControllerGetBalanceChartAllTokens: (query: {
|
|
2029
2029
|
userAddress: string;
|
|
2030
2030
|
accountId: number;
|
|
2031
2031
|
time: "7d" | "30d" | "60d" | "90d" | "all";
|
|
2032
|
-
}, params?: RequestParams) => Promise<AxiosResponse<BalanceChartAllTokensResponse, any>>;
|
|
2032
|
+
}, params?: RequestParams) => Promise<AxiosResponse<BalanceChartAllTokensResponse, any, {}>>;
|
|
2033
2033
|
};
|
|
2034
2034
|
configs: {
|
|
2035
2035
|
configsControllerGetGlobalConfigs: (query?: {
|
|
2036
2036
|
root?: string;
|
|
2037
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GlobalConfigsResponse, any>>;
|
|
2037
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GlobalConfigsResponse, any, {}>>;
|
|
2038
2038
|
};
|
|
2039
2039
|
vePendle: {
|
|
2040
|
-
vePendleControllerGetBalance: (user: string, params?: RequestParams) => Promise<AxiosResponse<GetVePendleBalanceResponse, any>>;
|
|
2040
|
+
vePendleControllerGetBalance: (user: string, params?: RequestParams) => Promise<AxiosResponse<GetVePendleBalanceResponse, any, {}>>;
|
|
2041
2041
|
};
|
|
2042
2042
|
incentives: {
|
|
2043
2043
|
incentivesControllerGetMakerIncentiveActivities: (maker: string, query?: {
|
|
2044
2044
|
skip?: number;
|
|
2045
2045
|
limit?: number;
|
|
2046
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MakerIncentiveActivitiesResponse, any>>;
|
|
2047
|
-
incentivesControllerGetMakerIncentiveRewards: (maker: string, params?: RequestParams) => Promise<AxiosResponse<MakerIncentiveRewardsResponse, any>>;
|
|
2046
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MakerIncentiveActivitiesResponse, any, {}>>;
|
|
2047
|
+
incentivesControllerGetMakerIncentiveRewards: (maker: string, params?: RequestParams) => Promise<AxiosResponse<MakerIncentiveRewardsResponse, any, {}>>;
|
|
2048
2048
|
incentivesControllerGetMakerIncentiveStatistics: (query: {
|
|
2049
2049
|
maker: string;
|
|
2050
2050
|
marketId: number;
|
|
2051
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MakerFilledVolumeIncentiveResponse, any>>;
|
|
2051
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MakerFilledVolumeIncentiveResponse, any, {}>>;
|
|
2052
2052
|
incentivesControllerGetMakerIncentiveStatisticsV2: (query: {
|
|
2053
2053
|
maker: string;
|
|
2054
2054
|
marketId: number;
|
|
2055
|
-
}, params?: RequestParams) => Promise<AxiosResponse<MarketMakerIncentiveStatisticsV2Response, any>>;
|
|
2055
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MarketMakerIncentiveStatisticsV2Response, any, {}>>;
|
|
2056
2056
|
};
|
|
2057
2057
|
volume: {
|
|
2058
2058
|
volumeControllerGetVolume: (query: {
|
|
2059
2059
|
user: string;
|
|
2060
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetVolumeResponse, any>>;
|
|
2060
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetVolumeResponse, any, {}>>;
|
|
2061
2061
|
};
|
|
2062
2062
|
referral: {
|
|
2063
|
-
referralControllerGetUserReferralInfo: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<GetUserReferralInfoResponse, any>>;
|
|
2064
|
-
referralControllerCreateReferralCode: (userAddress: string, data: CreateReferralBodyDto, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
2065
|
-
referralControllerCheckReferralExist: (data: CheckReferralExistBodyDto, params?: RequestParams) => Promise<AxiosResponse<CheckReferralExistResponse, any>>;
|
|
2066
|
-
referralControllerJoinReferralCode: (userAddress: string, data: JoinReferralBodyDto, params?: RequestParams) => Promise<AxiosResponse<JoinReferralResponse, any>>;
|
|
2067
|
-
referralControllerGetReferralRewards: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<ReferralRewardResponse, any>>;
|
|
2068
|
-
referralControllerGetReferralRewardsInfo: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<UserReferralRewardsResponse, any>>;
|
|
2069
|
-
referralControllerGetReferralActivitiesV2: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<ReferralActivitiesV2Response, any>>;
|
|
2063
|
+
referralControllerGetUserReferralInfo: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<GetUserReferralInfoResponse, any, {}>>;
|
|
2064
|
+
referralControllerCreateReferralCode: (userAddress: string, data: CreateReferralBodyDto, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
2065
|
+
referralControllerCheckReferralExist: (data: CheckReferralExistBodyDto, params?: RequestParams) => Promise<AxiosResponse<CheckReferralExistResponse, any, {}>>;
|
|
2066
|
+
referralControllerJoinReferralCode: (userAddress: string, data: JoinReferralBodyDto, params?: RequestParams) => Promise<AxiosResponse<JoinReferralResponse, any, {}>>;
|
|
2067
|
+
referralControllerGetReferralRewards: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<ReferralRewardResponse, any, {}>>;
|
|
2068
|
+
referralControllerGetReferralRewardsInfo: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<UserReferralRewardsResponse, any, {}>>;
|
|
2069
|
+
referralControllerGetReferralActivitiesV2: (userAddress: string, params?: RequestParams) => Promise<AxiosResponse<ReferralActivitiesV2Response, any, {}>>;
|
|
2070
2070
|
};
|
|
2071
2071
|
gasPrice: {
|
|
2072
2072
|
gasPriceControllerGetCurrentGasPrice: (params?: RequestParams) => Promise<AxiosResponse<{
|
|
@@ -2075,10 +2075,10 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2075
2075
|
actualGasPriceUsd?: number;
|
|
2076
2076
|
timestamp?: number;
|
|
2077
2077
|
chainId?: number;
|
|
2078
|
-
}, any>>;
|
|
2078
|
+
}, any, {}>>;
|
|
2079
2079
|
gasPriceControllerEstimateOrderGasCost: (params?: RequestParams) => Promise<AxiosResponse<{
|
|
2080
2080
|
usdValue?: number;
|
|
2081
|
-
}, any>>;
|
|
2081
|
+
}, any, {}>>;
|
|
2082
2082
|
};
|
|
2083
2083
|
leaderboard: {
|
|
2084
2084
|
leaderboardControllerGetLeaderboard: (query: {
|
|
@@ -2086,20 +2086,20 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2086
2086
|
tokenId: number;
|
|
2087
2087
|
limit?: number;
|
|
2088
2088
|
offset?: number;
|
|
2089
|
-
}, params?: RequestParams) => Promise<AxiosResponse<LeaderboardResponse, any>>;
|
|
2089
|
+
}, params?: RequestParams) => Promise<AxiosResponse<LeaderboardResponse, any, {}>>;
|
|
2090
2090
|
leaderboardControllerSearchUser: (query: {
|
|
2091
2091
|
userAddress: string;
|
|
2092
2092
|
accountId: number;
|
|
2093
2093
|
period: "all_time" | "30d" | "7d";
|
|
2094
2094
|
tokenId: number;
|
|
2095
|
-
}, params?: RequestParams) => Promise<AxiosResponse<UserSearchResponse, any>>;
|
|
2095
|
+
}, params?: RequestParams) => Promise<AxiosResponse<UserSearchResponse, any, {}>>;
|
|
2096
2096
|
};
|
|
2097
2097
|
charts: {
|
|
2098
2098
|
chartsControllerGetChartData: (query: {
|
|
2099
2099
|
timeFrame: "5m" | "1h" | "1d" | "1w";
|
|
2100
2100
|
startTimestamp?: number;
|
|
2101
2101
|
endTimestamp?: number;
|
|
2102
|
-
}, params?: RequestParams) => Promise<AxiosResponse<FearGreedIndexResponse, any>>;
|
|
2102
|
+
}, params?: RequestParams) => Promise<AxiosResponse<FearGreedIndexResponse, any, {}>>;
|
|
2103
2103
|
};
|
|
2104
2104
|
moonPhases: {
|
|
2105
2105
|
moonPhaseControllerGetMoonPhasesByYear: (query: {
|
|
@@ -2114,24 +2114,24 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2114
2114
|
phase?: string;
|
|
2115
2115
|
time?: string;
|
|
2116
2116
|
}[];
|
|
2117
|
-
}, any>>;
|
|
2117
|
+
}, any, {}>>;
|
|
2118
2118
|
};
|
|
2119
2119
|
proxyExternal: {
|
|
2120
|
-
proxyExternalControllerProxyChatBot: (productId: string, data: Function, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
2121
|
-
proxyExternalControllerProxyUpvoteBot: (data: Function, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
2120
|
+
proxyExternalControllerProxyChatBot: (productId: string, data: Function, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
2121
|
+
proxyExternalControllerProxyUpvoteBot: (data: Function, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
2122
2122
|
};
|
|
2123
2123
|
otc: {
|
|
2124
|
-
otcControllerCheckEligibility: (data: CheckEligibilityDto, params?: RequestParams) => Promise<AxiosResponse<CheckEligibilityResponseDto, any>>;
|
|
2125
|
-
otcControllerSubmitOtcRequest: (data: SubmitOtcRequestDto, params?: RequestParams) => Promise<AxiosResponse<SubmitOtcRequestResponseDto, any>>;
|
|
2124
|
+
otcControllerCheckEligibility: (data: CheckEligibilityDto, params?: RequestParams) => Promise<AxiosResponse<CheckEligibilityResponseDto, any, {}>>;
|
|
2125
|
+
otcControllerSubmitOtcRequest: (data: SubmitOtcRequestDto, params?: RequestParams) => Promise<AxiosResponse<SubmitOtcRequestResponseDto, any, {}>>;
|
|
2126
2126
|
otcControllerGetOtcRequests: (query: {
|
|
2127
2127
|
account: string;
|
|
2128
2128
|
signature: string;
|
|
2129
2129
|
agent: string;
|
|
2130
2130
|
timestamp: number;
|
|
2131
|
-
}, params?: RequestParams) => Promise<AxiosResponse<GetOtcRequestsResponseDto, any>>;
|
|
2131
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetOtcRequestsResponseDto, any, {}>>;
|
|
2132
2132
|
};
|
|
2133
2133
|
strategyPositions: {
|
|
2134
|
-
strategyPositionsControllerCreatePosition: (data: CreateStrategyPositionDto, params?: RequestParams) => Promise<AxiosResponse<CreateStrategyPositionResponse, any>>;
|
|
2134
|
+
strategyPositionsControllerCreatePosition: (data: CreateStrategyPositionDto, params?: RequestParams) => Promise<AxiosResponse<CreateStrategyPositionResponse, any, {}>>;
|
|
2135
2135
|
strategyPositionsControllerGetPositions: (query: {
|
|
2136
2136
|
account: string;
|
|
2137
2137
|
signature: string;
|
|
@@ -2140,7 +2140,7 @@ export declare class Sdk<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2140
2140
|
accountId: number;
|
|
2141
2141
|
skip?: number;
|
|
2142
2142
|
limit?: number;
|
|
2143
|
-
}, params?: RequestParams) => Promise<AxiosResponse<StrategyPositionsResponse, any>>;
|
|
2144
|
-
strategyPositionsControllerDeletePosition: (data: DeleteStrategyPositionDto, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
2143
|
+
}, params?: RequestParams) => Promise<AxiosResponse<StrategyPositionsResponse, any, {}>>;
|
|
2144
|
+
strategyPositionsControllerDeletePosition: (data: DeleteStrategyPositionDto, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|