@symmio/trading-core 4.4.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/candles/adapters/tradingview/map-resolution.d.ts.map +1 -1
  2. package/dist/candles/adapters/tradingview/map-resolution.js +2 -0
  3. package/dist/candles/adapters/tradingview/map-resolution.js.map +1 -1
  4. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts.map +1 -1
  5. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js +6 -4
  6. package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js.map +1 -1
  7. package/dist/candles/history-query.d.ts +67 -0
  8. package/dist/candles/history-query.d.ts.map +1 -0
  9. package/dist/candles/history-query.js +80 -0
  10. package/dist/candles/history-query.js.map +1 -0
  11. package/dist/candles/index.d.ts +3 -0
  12. package/dist/candles/index.d.ts.map +1 -1
  13. package/dist/candles/merge-candle-pages.d.ts +5 -0
  14. package/dist/candles/merge-candle-pages.d.ts.map +1 -0
  15. package/dist/candles/merge-candle-pages.js +13 -0
  16. package/dist/candles/merge-candle-pages.js.map +1 -0
  17. package/dist/candles/query.d.ts +5 -1
  18. package/dist/candles/query.d.ts.map +1 -1
  19. package/dist/candles/query.js +3 -2
  20. package/dist/candles/query.js.map +1 -1
  21. package/dist/candles/refresh-candle-history.d.ts +31 -0
  22. package/dist/candles/refresh-candle-history.d.ts.map +1 -0
  23. package/dist/candles/refresh-candle-history.js +91 -0
  24. package/dist/candles/refresh-candle-history.js.map +1 -0
  25. package/dist/candles/resolution.d.ts +3 -3
  26. package/dist/candles/resolution.d.ts.map +1 -1
  27. package/dist/candles/resolution.js +1 -0
  28. package/dist/candles/resolution.js.map +1 -1
  29. package/dist/candles/sources/binance/create-binance-candle-source.d.ts.map +1 -1
  30. package/dist/candles/sources/binance/create-binance-candle-source.js +3 -1
  31. package/dist/candles/sources/binance/create-binance-candle-source.js.map +1 -1
  32. package/dist/candles/sources/lowcap/create-lowcap-candle-source.d.ts +35 -0
  33. package/dist/candles/sources/lowcap/create-lowcap-candle-source.d.ts.map +1 -0
  34. package/dist/candles/sources/lowcap/create-lowcap-candle-source.js +104 -0
  35. package/dist/candles/sources/lowcap/create-lowcap-candle-source.js.map +1 -0
  36. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.d.ts +4 -0
  37. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.d.ts.map +1 -0
  38. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.js +40 -0
  39. package/dist/candles/sources/lowcap/create-lowcap-symbol-loader.js.map +1 -0
  40. package/dist/candles/sources/lowcap/get-lowcap-candles.d.ts +12 -0
  41. package/dist/candles/sources/lowcap/get-lowcap-candles.d.ts.map +1 -0
  42. package/dist/candles/sources/lowcap/get-lowcap-candles.js +48 -0
  43. package/dist/candles/sources/lowcap/get-lowcap-candles.js.map +1 -0
  44. package/dist/candles/sources/lowcap/index.d.ts +2 -0
  45. package/dist/candles/sources/lowcap/index.d.ts.map +1 -0
  46. package/dist/candles/sources/lowcap/lowcap-candle-time.d.ts +9 -0
  47. package/dist/candles/sources/lowcap/lowcap-candle-time.d.ts.map +1 -0
  48. package/dist/candles/sources/lowcap/lowcap-candle-time.js +24 -0
  49. package/dist/candles/sources/lowcap/lowcap-candle-time.js.map +1 -0
  50. package/dist/candles/sources/lowcap/map-resolution.d.ts +16 -0
  51. package/dist/candles/sources/lowcap/map-resolution.d.ts.map +1 -0
  52. package/dist/candles/sources/lowcap/map-resolution.js +26 -0
  53. package/dist/candles/sources/lowcap/map-resolution.js.map +1 -0
  54. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.d.ts +12 -0
  55. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.d.ts.map +1 -0
  56. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.js +8 -0
  57. package/dist/candles/sources/lowcap/resolve-lowcap-symbol.js.map +1 -0
  58. package/dist/candles/sources/lowcap/watch-lowcap-candles.d.ts +19 -0
  59. package/dist/candles/sources/lowcap/watch-lowcap-candles.d.ts.map +1 -0
  60. package/dist/candles/sources/lowcap/watch-lowcap-candles.js +104 -0
  61. package/dist/candles/sources/lowcap/watch-lowcap-candles.js.map +1 -0
  62. package/dist/candles/types.d.ts +32 -16
  63. package/dist/candles/types.d.ts.map +1 -1
  64. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.d.ts +20 -0
  65. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.d.ts.map +1 -0
  66. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.js +29 -0
  67. package/dist/gasless/get-gasless-batch-funding/batch-fee-approvals.js.map +1 -0
  68. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.d.ts +43 -0
  69. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.d.ts.map +1 -0
  70. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.js +96 -0
  71. package/dist/gasless/get-gasless-batch-funding/get-gasless-batch-funding.js.map +1 -0
  72. package/dist/gasless/get-gasless-batch-funding/index.d.ts +4 -0
  73. package/dist/gasless/get-gasless-batch-funding/index.d.ts.map +1 -0
  74. package/dist/gasless/get-gasless-batch-funding/query.d.ts +31 -0
  75. package/dist/gasless/get-gasless-batch-funding/query.d.ts.map +1 -0
  76. package/dist/gasless/get-gasless-batch-funding/query.js +22 -0
  77. package/dist/gasless/get-gasless-batch-funding/query.js.map +1 -0
  78. package/dist/gasless/get-gasless-batch-funding/types.d.ts +80 -0
  79. package/dist/gasless/get-gasless-batch-funding/types.d.ts.map +1 -0
  80. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.d.ts +33 -0
  81. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.d.ts.map +1 -0
  82. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.js +31 -0
  83. package/dist/gasless/get-gasless-margin-funding/get-gasless-margin-funding.js.map +1 -0
  84. package/dist/gasless/get-gasless-margin-funding/index.d.ts +4 -0
  85. package/dist/gasless/get-gasless-margin-funding/index.d.ts.map +1 -0
  86. package/dist/gasless/get-gasless-margin-funding/query.d.ts +31 -0
  87. package/dist/gasless/get-gasless-margin-funding/query.d.ts.map +1 -0
  88. package/dist/gasless/get-gasless-margin-funding/query.js +22 -0
  89. package/dist/gasless/get-gasless-margin-funding/query.js.map +1 -0
  90. package/dist/gasless/get-gasless-margin-funding/types.d.ts +27 -0
  91. package/dist/gasless/get-gasless-margin-funding/types.d.ts.map +1 -0
  92. package/dist/gasless/index.d.ts +2 -0
  93. package/dist/gasless/index.d.ts.map +1 -1
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +505 -498
  97. package/dist/pools/listing-config/to-listing-config.d.ts +10 -3
  98. package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -1
  99. package/dist/pools/listing-config/to-listing-config.js +5 -1
  100. package/dist/pools/listing-config/to-listing-config.js.map +1 -1
  101. package/dist/pools/types/generated/listing-backend.d.ts +266 -1
  102. package/dist/pools/types/generated/listing-backend.d.ts.map +1 -1
  103. package/dist/pools/types/generated/listing-backend.js.map +1 -1
  104. package/dist/pools/types.d.ts +7 -0
  105. package/dist/pools/types.d.ts.map +1 -1
  106. package/dist/pools/types.js.map +1 -1
  107. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.d.ts +39 -0
  108. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.d.ts.map +1 -0
  109. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.js +43 -0
  110. package/dist/price-service/enigma/ohlcv/fetch-enigma-ohlcv.js.map +1 -0
  111. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.d.ts +67 -0
  112. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.d.ts.map +1 -0
  113. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.js +15 -0
  114. package/dist/price-service/enigma/ohlcv/generated/enigma-price-service-ohlcv.js.map +1 -0
  115. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.d.ts +21 -0
  116. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.d.ts.map +1 -0
  117. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.js +36 -0
  118. package/dist/price-service/enigma/ohlcv/parse-enigma-ohlcv.js.map +1 -0
  119. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.d.ts +2 -0
  120. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.d.ts.map +1 -1
  121. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js +12 -8
  122. package/dist/price-service/enigma/symbols-info/get-enigma-price-service-symbols-info.js.map +1 -1
  123. package/package.json +1 -1
@@ -1,5 +1,8 @@
1
1
  import { ListingConfig } from '../types.js';
2
- import { ClientConfigResponse } from '../types/generated/listing-backend.js';
2
+ import { ClientConfigResponse, SupportedDepositChainConfig } from '../types/generated/listing-backend.js';
3
+ type CompatibleDepositChain = Omit<SupportedDepositChainConfig, "usd_token"> & {
4
+ usd_token?: SupportedDepositChainConfig["usd_token"] | null;
5
+ };
3
6
  /**
4
7
  * Map the listing service's raw `ClientConfigResponse` into the SDK's
5
8
  * {@link ListingConfig}.
@@ -7,14 +10,18 @@ import { ClientConfigResponse } from '../types/generated/listing-backend.js';
7
10
  * The three `*_usdc` figures are required 18-decimal strings; each is parsed
8
11
  * with {@link toListingValue} and defaulted to `0n` if the service ever returns
9
12
  * a malformed value (`toListingValue` returns `null` there). The wire's
10
- * snake_case becomes the SDK's camelCase.
13
+ * snake_case becomes the SDK's camelCase. USD-token addresses and native
14
+ * decimals are copied verbatim, independently of the 18-decimal money fields.
15
+ * Missing or null USD-token metadata is omitted for older deployments.
11
16
  *
12
17
  * @param raw - The service's `/v2/configs` response body.
13
18
  * @returns The normalized listing config.
14
19
  */
15
- export declare function toListingConfig(raw: Omit<Partial<ClientConfigResponse>, "rate_limits"> & {
20
+ export declare function toListingConfig(raw: Omit<Partial<ClientConfigResponse>, "rate_limits" | "supported_deposit_chains"> & {
21
+ supported_deposit_chains?: CompatibleDepositChain[];
16
22
  rate_limits?: Partial<ClientConfigResponse["rate_limits"]>;
17
23
  minimum_initial_deposit_usdc?: string | null;
18
24
  recommended_initial_deposit_usdc?: string | null;
19
25
  }): ListingConfig;
26
+ export {};
20
27
  //# sourceMappingURL=to-listing-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"to-listing-config.d.ts","sourceRoot":"","sources":["../../../src/pools/listing-config/to-listing-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAA0C,MAAM,UAAU,CAAC;AAEtF,OAAO,KAAK,EAAE,oBAAoB,EAA+B,MAAM,oCAAoC,CAAC;AAe5G;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAAE,aAAa,CAAC,GAAG;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC3D,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD,GACA,aAAa,CAsCf"}
1
+ {"version":3,"file":"to-listing-config.d.ts","sourceRoot":"","sources":["../../../src/pools/listing-config/to-listing-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAA0C,MAAM,UAAU,CAAC;AAEtF,OAAO,KAAK,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAG5G,KAAK,sBAAsB,GAAG,IAAI,CAAC,2BAA2B,EAAE,WAAW,CAAC,GAAG;IAC7E,SAAS,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;CAC7D,CAAC;AAkBF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,EAAE,aAAa,GAAG,0BAA0B,CAAC,GAAG;IACrF,wBAAwB,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACpD,WAAW,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC3D,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,gCAAgC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClD,GACA,aAAa,CAsCf"}
@@ -3,7 +3,11 @@ import { toListingValue as e } from "../markets/to-listing-market.js";
3
3
  function t(e) {
4
4
  return {
5
5
  chainId: e.chain_id,
6
- chainName: e.chain_name
6
+ chainName: e.chain_name,
7
+ ...e.usd_token == null ? {} : { usdToken: {
8
+ address: e.usd_token.address,
9
+ decimals: e.usd_token.decimals
10
+ } }
7
11
  };
8
12
  }
9
13
  function n(n) {
@@ -1 +1 @@
1
- {"version":3,"file":"to-listing-config.js","names":[],"sources":["../../../src/pools/listing-config/to-listing-config.ts"],"sourcesContent":["import { toListingValue } from \"../markets/to-listing-market\";\nimport type { ListingConfig, ListingDepositChain, ListingRateLimits } from \"../types\";\nimport { ListingDepositChainId } from \"../types\";\nimport type { ClientConfigResponse, SupportedDepositChainConfig } from \"../types/generated/listing-backend\";\n\n/**\n * Map one raw `SupportedDepositChainConfig` into a {@link ListingDepositChain}.\n *\n * @param raw - One entry of the config's `supported_deposit_chains` array.\n * @returns The normalized deposit chain.\n */\nfunction toListingDepositChain(raw: SupportedDepositChainConfig): ListingDepositChain {\n return {\n chainId: raw.chain_id as ListingDepositChainId,\n chainName: raw.chain_name,\n };\n}\n\n/**\n * Map the listing service's raw `ClientConfigResponse` into the SDK's\n * {@link ListingConfig}.\n *\n * The three `*_usdc` figures are required 18-decimal strings; each is parsed\n * with {@link toListingValue} and defaulted to `0n` if the service ever returns\n * a malformed value (`toListingValue` returns `null` there). The wire's\n * snake_case becomes the SDK's camelCase.\n *\n * @param raw - The service's `/v2/configs` response body.\n * @returns The normalized listing config.\n */\nexport function toListingConfig(\n raw: Omit<Partial<ClientConfigResponse>, \"rate_limits\"> & {\n rate_limits?: Partial<ClientConfigResponse[\"rate_limits\"]>;\n minimum_initial_deposit_usdc?: string | null;\n recommended_initial_deposit_usdc?: string | null;\n },\n): ListingConfig {\n const legacyMinimum =\n \"minimum_initial_deposit_usdc\" in raw && typeof raw.minimum_initial_deposit_usdc === \"string\"\n ? raw.minimum_initial_deposit_usdc\n : undefined;\n const legacyRecommended =\n \"recommended_initial_deposit_usdc\" in raw && typeof raw.recommended_initial_deposit_usdc === \"string\"\n ? raw.recommended_initial_deposit_usdc\n : undefined;\n const isLegacy = legacyMinimum != null || legacyRecommended != null;\n const minimumDepositUsdc = toListingValue(isLegacy ? legacyMinimum : raw.minimum_deposit_usdc);\n const recommendedDepositUsdc = toListingValue(raw.recommended_deposit_usdc ?? legacyRecommended);\n const bounds = raw.max_leverage_bounds;\n const maxLeverageBounds =\n bounds && Number.isFinite(bounds.minimum) && Number.isFinite(bounds.maximum) && bounds.minimum <= bounds.maximum\n ? { minimum: bounds.minimum, maximum: bounds.maximum }\n : null;\n const rateLimits: ListingRateLimits = {\n marketConfigUpdatesPerDay: raw.rate_limits?.market_config_updates_per_day ?? null,\n profitClaimsPerDay: raw.rate_limits?.profit_claims_per_day ?? null,\n };\n\n return {\n recommendedDepositUsdc,\n minimumDepositUsdc,\n legacyUniversalDepositFloorUsdc: isLegacy ? toListingValue(raw.minimum_deposit_usdc) : null,\n reportedListingFeeUsdc: toListingValue(raw.listing_fee_usdc),\n maxLeverageBounds,\n reportedMarketConfigUpdatesPerDay: raw.rate_limits?.market_config_updates_per_day ?? null,\n reportedProfitClaimsPerDay: raw.rate_limits?.profit_claims_per_day ?? null,\n reportedProtocolRewardSharePercent: raw.protocol_reward_share_percent ?? null,\n recommendedInitialDepositUsdc: recommendedDepositUsdc ?? 0n,\n minimumInitialDepositUsdc: minimumDepositUsdc ?? 0n,\n listingFeeUsdc: toListingValue(raw.listing_fee_usdc) ?? 0n,\n supportedDepositChains: (raw.supported_deposit_chains ?? []).map(toListingDepositChain),\n rateLimits,\n protocolRewardSharePercent: raw.protocol_reward_share_percent ?? 0,\n };\n}\n"],"mappings":";;AAWA,SAAS,EAAsB,GAAuD;CACpF,OAAO;EACL,SAAS,EAAI;EACb,WAAW,EAAI;CACjB;AACF;AAcA,SAAgB,EACd,GAKe;CACf,IAAM,IACJ,kCAAkC,KAAO,OAAO,EAAI,gCAAiC,WACjF,EAAI,+BACJ,KAAA,GACA,IACJ,sCAAsC,KAAO,OAAO,EAAI,oCAAqC,WACzF,EAAI,mCACJ,KAAA,GACA,IAAW,KAAiB,QAAQ,KAAqB,MACzD,IAAqB,EAAe,IAAW,IAAgB,EAAI,oBAAoB,GACvF,IAAyB,EAAe,EAAI,4BAA4B,CAAiB,GACzF,IAAS,EAAI,qBACb,IACJ,KAAU,OAAO,SAAS,EAAO,OAAO,KAAK,OAAO,SAAS,EAAO,OAAO,KAAK,EAAO,WAAW,EAAO,UACrG;EAAE,SAAS,EAAO;EAAS,SAAS,EAAO;CAAQ,IACnD,MACA,IAAgC;EACpC,2BAA2B,EAAI,aAAa,iCAAiC;EAC7E,oBAAoB,EAAI,aAAa,yBAAyB;CAChE;CAEA,OAAO;EACL;EACA;EACA,iCAAiC,IAAW,EAAe,EAAI,oBAAoB,IAAI;EACvF,wBAAwB,EAAe,EAAI,gBAAgB;EAC3D;EACA,mCAAmC,EAAI,aAAa,iCAAiC;EACrF,4BAA4B,EAAI,aAAa,yBAAyB;EACtE,oCAAoC,EAAI,iCAAiC;EACzE,+BAA+B,KAA0B;EACzD,2BAA2B,KAAsB;EACjD,gBAAgB,EAAe,EAAI,gBAAgB,KAAK;EACxD,yBAAyB,EAAI,4BAA4B,CAAC,GAAG,IAAI,CAAqB;EACtF;EACA,4BAA4B,EAAI,iCAAiC;CACnE;AACF"}
1
+ {"version":3,"file":"to-listing-config.js","names":[],"sources":["../../../src/pools/listing-config/to-listing-config.ts"],"sourcesContent":["import { toListingValue } from \"../markets/to-listing-market\";\nimport type { ListingConfig, ListingDepositChain, ListingRateLimits } from \"../types\";\nimport { ListingDepositChainId } from \"../types\";\nimport type { ClientConfigResponse, SupportedDepositChainConfig } from \"../types/generated/listing-backend\";\n\n// Older deployments omit USD-token metadata; tolerate null at the response boundary too.\ntype CompatibleDepositChain = Omit<SupportedDepositChainConfig, \"usd_token\"> & {\n usd_token?: SupportedDepositChainConfig[\"usd_token\"] | null;\n};\n\n/**\n * Map one raw `SupportedDepositChainConfig` into a {@link ListingDepositChain}.\n *\n * @param raw - One entry of the config's `supported_deposit_chains` array.\n * @returns The normalized deposit chain.\n */\nfunction toListingDepositChain(raw: CompatibleDepositChain): ListingDepositChain {\n return {\n chainId: raw.chain_id as ListingDepositChainId,\n chainName: raw.chain_name,\n ...(raw.usd_token == null\n ? {}\n : { usdToken: { address: raw.usd_token.address, decimals: raw.usd_token.decimals } }),\n };\n}\n\n/**\n * Map the listing service's raw `ClientConfigResponse` into the SDK's\n * {@link ListingConfig}.\n *\n * The three `*_usdc` figures are required 18-decimal strings; each is parsed\n * with {@link toListingValue} and defaulted to `0n` if the service ever returns\n * a malformed value (`toListingValue` returns `null` there). The wire's\n * snake_case becomes the SDK's camelCase. USD-token addresses and native\n * decimals are copied verbatim, independently of the 18-decimal money fields.\n * Missing or null USD-token metadata is omitted for older deployments.\n *\n * @param raw - The service's `/v2/configs` response body.\n * @returns The normalized listing config.\n */\nexport function toListingConfig(\n raw: Omit<Partial<ClientConfigResponse>, \"rate_limits\" | \"supported_deposit_chains\"> & {\n supported_deposit_chains?: CompatibleDepositChain[];\n rate_limits?: Partial<ClientConfigResponse[\"rate_limits\"]>;\n minimum_initial_deposit_usdc?: string | null;\n recommended_initial_deposit_usdc?: string | null;\n },\n): ListingConfig {\n const legacyMinimum =\n \"minimum_initial_deposit_usdc\" in raw && typeof raw.minimum_initial_deposit_usdc === \"string\"\n ? raw.minimum_initial_deposit_usdc\n : undefined;\n const legacyRecommended =\n \"recommended_initial_deposit_usdc\" in raw && typeof raw.recommended_initial_deposit_usdc === \"string\"\n ? raw.recommended_initial_deposit_usdc\n : undefined;\n const isLegacy = legacyMinimum != null || legacyRecommended != null;\n const minimumDepositUsdc = toListingValue(isLegacy ? legacyMinimum : raw.minimum_deposit_usdc);\n const recommendedDepositUsdc = toListingValue(raw.recommended_deposit_usdc ?? legacyRecommended);\n const bounds = raw.max_leverage_bounds;\n const maxLeverageBounds =\n bounds && Number.isFinite(bounds.minimum) && Number.isFinite(bounds.maximum) && bounds.minimum <= bounds.maximum\n ? { minimum: bounds.minimum, maximum: bounds.maximum }\n : null;\n const rateLimits: ListingRateLimits = {\n marketConfigUpdatesPerDay: raw.rate_limits?.market_config_updates_per_day ?? null,\n profitClaimsPerDay: raw.rate_limits?.profit_claims_per_day ?? null,\n };\n\n return {\n recommendedDepositUsdc,\n minimumDepositUsdc,\n legacyUniversalDepositFloorUsdc: isLegacy ? toListingValue(raw.minimum_deposit_usdc) : null,\n reportedListingFeeUsdc: toListingValue(raw.listing_fee_usdc),\n maxLeverageBounds,\n reportedMarketConfigUpdatesPerDay: raw.rate_limits?.market_config_updates_per_day ?? null,\n reportedProfitClaimsPerDay: raw.rate_limits?.profit_claims_per_day ?? null,\n reportedProtocolRewardSharePercent: raw.protocol_reward_share_percent ?? null,\n recommendedInitialDepositUsdc: recommendedDepositUsdc ?? 0n,\n minimumInitialDepositUsdc: minimumDepositUsdc ?? 0n,\n listingFeeUsdc: toListingValue(raw.listing_fee_usdc) ?? 0n,\n supportedDepositChains: (raw.supported_deposit_chains ?? []).map(toListingDepositChain),\n rateLimits,\n protocolRewardSharePercent: raw.protocol_reward_share_percent ?? 0,\n };\n}\n"],"mappings":";;AAgBA,SAAS,EAAsB,GAAkD;CAC/E,OAAO;EACL,SAAS,EAAI;EACb,WAAW,EAAI;EACf,GAAI,EAAI,aAAa,OACjB,CAAC,IACD,EAAE,UAAU;GAAE,SAAS,EAAI,UAAU;GAAS,UAAU,EAAI,UAAU;EAAS,EAAE;CACvF;AACF;AAgBA,SAAgB,EACd,GAMe;CACf,IAAM,IACJ,kCAAkC,KAAO,OAAO,EAAI,gCAAiC,WACjF,EAAI,+BACJ,KAAA,GACA,IACJ,sCAAsC,KAAO,OAAO,EAAI,oCAAqC,WACzF,EAAI,mCACJ,KAAA,GACA,IAAW,KAAiB,QAAQ,KAAqB,MACzD,IAAqB,EAAe,IAAW,IAAgB,EAAI,oBAAoB,GACvF,IAAyB,EAAe,EAAI,4BAA4B,CAAiB,GACzF,IAAS,EAAI,qBACb,IACJ,KAAU,OAAO,SAAS,EAAO,OAAO,KAAK,OAAO,SAAS,EAAO,OAAO,KAAK,EAAO,WAAW,EAAO,UACrG;EAAE,SAAS,EAAO;EAAS,SAAS,EAAO;CAAQ,IACnD,MACA,IAAgC;EACpC,2BAA2B,EAAI,aAAa,iCAAiC;EAC7E,oBAAoB,EAAI,aAAa,yBAAyB;CAChE;CAEA,OAAO;EACL;EACA;EACA,iCAAiC,IAAW,EAAe,EAAI,oBAAoB,IAAI;EACvF,wBAAwB,EAAe,EAAI,gBAAgB;EAC3D;EACA,mCAAmC,EAAI,aAAa,iCAAiC;EACrF,4BAA4B,EAAI,aAAa,yBAAyB;EACtE,oCAAoC,EAAI,iCAAiC;EACzE,+BAA+B,KAA0B;EACzD,2BAA2B,KAAsB;EACjD,gBAAgB,EAAe,EAAI,gBAAgB,KAAK;EACxD,yBAAyB,EAAI,4BAA4B,CAAC,GAAG,IAAI,CAAqB;EACtF;EACA,4BAA4B,EAAI,iCAAiC;CACnE;AACF"}
@@ -169,11 +169,19 @@ export interface ClaimProfitResponseSchema {
169
169
  /** Blockchain transaction hash for the claim transfer */
170
170
  transaction_hash?: string | null;
171
171
  }
172
+ export interface UsdTokenConfig {
173
+ /** USD token address sent to the Price service as mint_quote, returned verbatim (a case-sensitive SPL mint on Solana). */
174
+ address: string;
175
+ /** Native decimals of the USD token, not a 1e18 scale. */
176
+ decimals: number;
177
+ }
172
178
  export interface SupportedDepositChainConfig {
173
179
  /** Numeric chain identifier clients must send with market requests. */
174
180
  chain_id: number;
175
181
  /** Human-readable name of the supported deposit chain. */
176
182
  chain_name: string;
183
+ /** USD token Listing uses for Price calls on this chain: USDC on most chains, USDT on BSC, and USDG on Robinhood Chain. */
184
+ usd_token: UsdTokenConfig;
177
185
  }
178
186
  export interface ClientRateLimits {
179
187
  /** Maximum successful market configuration updates allowed per authenticated user and market in a rolling 24-hour window. */
@@ -369,6 +377,7 @@ export interface GetMarketResponseSchema {
369
377
  short_position_upnl: string | null;
370
378
  is_locked?: boolean | null;
371
379
  lock_reasons?: string[] | null;
380
+ delist_reason?: string | null;
372
381
  }
373
382
  export type ValidationErrorCtx = {
374
383
  [key: string]: unknown;
@@ -383,6 +392,17 @@ export interface ValidationError {
383
392
  export interface HTTPValidationError {
384
393
  detail?: ValidationError[];
385
394
  }
395
+ export interface ProfitMarketIdentity {
396
+ token_address: string;
397
+ chain_id: SupportedDepositChains;
398
+ }
399
+ export interface LPProfitBatchRequest {
400
+ /**
401
+ * @minItems 1
402
+ * @maxItems 50
403
+ */
404
+ markets: ProfitMarketIdentity[];
405
+ }
386
406
  export interface LPTokenProfitSchema {
387
407
  /** @pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ */
388
408
  user_balance_in_tokens: string;
@@ -399,6 +419,28 @@ export interface LPTokenProfitSchema {
399
419
  /** @pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ */
400
420
  pending_withdraw_lp_amount: string;
401
421
  }
422
+ export interface ProfitSuccess {
423
+ token_address: string;
424
+ chain_id: SupportedDepositChains;
425
+ status?: "success";
426
+ data: LPTokenProfitSchema;
427
+ }
428
+ export interface ProfitEmpty {
429
+ token_address: string;
430
+ chain_id: SupportedDepositChains;
431
+ status?: "empty";
432
+ error_code: number;
433
+ }
434
+ export interface ProfitFailed {
435
+ token_address: string;
436
+ chain_id: SupportedDepositChains;
437
+ status?: "failed";
438
+ error_code: number;
439
+ error_message: string;
440
+ }
441
+ export interface LPProfitBatchResponse {
442
+ results: (ProfitSuccess | ProfitEmpty | ProfitFailed)[];
443
+ }
402
444
  export interface LoginRequest {
403
445
  message: CustomSiweMessage;
404
446
  /** @pattern ^0x([0-9a-fA-F]{2})*$ */
@@ -418,6 +460,44 @@ export interface MaintenanceFeeRecordsResponse {
418
460
  total: number;
419
461
  items: MaintenanceFeeRecord[];
420
462
  }
463
+ export interface MarketListingProgressResponse {
464
+ market_id: string;
465
+ market_status: string;
466
+ token_decimal: number;
467
+ symmio_symbol_id: number | null;
468
+ /** First listing time in epoch seconds. */
469
+ listing_time: number | null;
470
+ /** Latest relisting time in epoch seconds. */
471
+ relist_time: number | null;
472
+ first_swap_deposit_detected: boolean;
473
+ /** Listing deposit amount scaled by 1e18, as a decimal string. */
474
+ first_swap_deposit_amount: string | null;
475
+ swap_paid_wallet_id: string | null;
476
+ /** Last completed listing step; null before the first step completes. */
477
+ listing_step_completed: string | null;
478
+ listing_error_code: number | null;
479
+ listing_error_detail: string | null;
480
+ /** Listing fee transfer hash; a Solana signature on Solana markets. */
481
+ listing_swap_fee_tx_hash: string | null;
482
+ /** Token amount the Swap holder received from the listing deposit transfer, scaled by 1e18, as a decimal string. Lower than first_swap_deposit_amount for a tax token; null until notify_swap_deposit reads it. */
483
+ listing_swap_received_amount: string | null;
484
+ listing_swap_request_id: string | null;
485
+ /** USDC produced by the listing swap, scaled by 1e18, as a decimal string. */
486
+ listing_swap_actual_out: string | null;
487
+ listing_platform_fee_withdraw_id: string | null;
488
+ listing_platform_fee_tx_hash: string | null;
489
+ /** Stored count; never clamped. */
490
+ user_listing_retry_count: number;
491
+ /** Epoch seconds. */
492
+ last_listing_retry_at: number | null;
493
+ /** Stored count; never clamped. */
494
+ worker_listing_retry_count: number;
495
+ /** Epoch seconds. */
496
+ last_listing_worker_retry_at: number | null;
497
+ user_retry_limit: number;
498
+ user_retry_cooldown_seconds: number;
499
+ worker_retry_limit: number;
500
+ }
421
501
  export interface MarketListingStatusResponse {
422
502
  current_step?: string | null;
423
503
  steps: string[];
@@ -475,6 +555,8 @@ export interface MarketSearchItem {
475
555
  price_driven_apy_30d?: string | null;
476
556
  price_driven_apy_lifetime?: string | null;
477
557
  liquidity?: string | null;
558
+ available_to_long?: string | null;
559
+ available_to_short?: string | null;
478
560
  tvl?: string | null;
479
561
  open_interest?: string | null;
480
562
  listing_time?: number | null;
@@ -545,6 +627,8 @@ export interface UserMarketSearchItem {
545
627
  price_driven_apy_lifetime?: string | null;
546
628
  liquidity?: string | null;
547
629
  open_interest?: string | null;
630
+ available_to_long?: string | null;
631
+ available_to_short?: string | null;
548
632
  vol24h?: string | null;
549
633
  tvl?: string | null;
550
634
  listing_time?: number | null;
@@ -689,6 +773,37 @@ export interface TokenMetaDataResponse {
689
773
  export interface TotalRewardSchema {
690
774
  total_reward: string;
691
775
  }
776
+ export declare enum TransferStep {
777
+ swap_transfer = "swap_transfer",
778
+ swap_balance = "swap_balance",
779
+ inventory = "inventory",
780
+ finalize = "finalize",
781
+ sync_max_leverage = "sync_max_leverage",
782
+ completed = "completed"
783
+ }
784
+ export interface TransferTaskSchema {
785
+ task_id: string;
786
+ step: TransferStep;
787
+ deposit_ids: string[];
788
+ /** Locked deposit total scaled by 1e18, as a decimal string. */
789
+ locked_total: string;
790
+ /** Token amount the Swap holder received from swap_tx_hash, scaled by 1e18, as a decimal string. Inventory and LP credit use it; lower than locked_total for a tax token. Null until it is read. */
791
+ swap_received_amount: string | null;
792
+ /** USD price per whole token scaled by 1e18, as a decimal string. */
793
+ usdc_price: string | null;
794
+ swap_tx_hash: string | null;
795
+ /** Epoch seconds. */
796
+ swap_balance_at: number | null;
797
+ /** Epoch seconds. */
798
+ inventory_at: number | null;
799
+ retry_count: number;
800
+ /** Last task error; URL paths and queries are redacted. */
801
+ error_message: string | null;
802
+ /** Epoch seconds. */
803
+ create_time: number | null;
804
+ /** Epoch seconds. */
805
+ modify_time: number | null;
806
+ }
692
807
  export interface UpdateMarketConfigRequestSchema {
693
808
  /** EVM or Solana blockchain address */
694
809
  token_contract_address: string;
@@ -738,6 +853,96 @@ export interface UserShareResponse {
738
853
  /** @pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ */
739
854
  user_balance_in_usdc: string;
740
855
  }
856
+ export declare enum WithdrawOperationState {
857
+ calculating_amounts = "calculating_amounts",
858
+ stored_in_listing = "stored_in_listing",
859
+ request_to_collect = "request_to_collect",
860
+ collected_in_inventory = "collected_in_inventory",
861
+ withdraw_from_swap = "withdraw_from_swap",
862
+ burned_in_inventory = "burned_in_inventory",
863
+ completed = "completed"
864
+ }
865
+ export declare enum WithdrawOperationStatus {
866
+ in_progres = "in_progres",
867
+ done = "done",
868
+ canceled = "canceled"
869
+ }
870
+ export interface WithdrawOperationSchema {
871
+ /** Operation ID, also the Inventory request ID and Swap withdraw ID. */
872
+ withdraw_operation_id: string;
873
+ state: WithdrawOperationState;
874
+ status: WithdrawOperationStatus;
875
+ /** Token amount scaled by 1e18, as a decimal string: 0 at calculating_amounts, requested from stored_in_listing, collected from collected_in_inventory, and paid by Swap from withdraw_from_swap. */
876
+ token_amount: string;
877
+ /** USDC amount scaled by 1e18, as a decimal string: 0 at calculating_amounts, requested from stored_in_listing, collected from collected_in_inventory, and paid by Swap from withdraw_from_swap. */
878
+ usdc_amount: string;
879
+ /** Legacy ratio, as a decimal string. */
880
+ token_ratio: string;
881
+ start_retry_count: number;
882
+ automatic_execution: boolean;
883
+ automatic_execution_blocked: boolean;
884
+ /** Epoch seconds. */
885
+ create_time: number;
886
+ /** Epoch seconds. */
887
+ modify_time: number;
888
+ }
889
+ export interface UserTransactionSchema {
890
+ transaction_id: string;
891
+ wallet_id: string;
892
+ /** System deposit wallet public key, returned verbatim. */
893
+ wallet_public_key: string;
894
+ market_id: string | null;
895
+ token_contract_address: string | null;
896
+ chain_id: number | null;
897
+ token_decimal: number | null;
898
+ transaction_type: TransactionType;
899
+ /** Stored status, including transferred, which public history reports as success. */
900
+ transaction_status: TransactionStatus;
901
+ /** Deposit token amount or withdrawn LP shares, scaled by 1e18, as a decimal string. Null for a deposit whose wallet has no market. */
902
+ amount: string | null;
903
+ /** Withdraw token amount scaled by 1e18, as a decimal string: the request-time LP-value estimate, replaced by the actual Swap payout on completion. Null for deposits. */
904
+ token_amount: string | null;
905
+ /** Withdraw USDC amount scaled by 1e18, as a decimal string: the request-time LP-value estimate, replaced by the actual Swap payout on completion. Null for deposits. */
906
+ usdc_amount: string | null;
907
+ /** Outgoing Swap transfer: the deposit wallet transfer to the Swap holder for a deposit, or the Swap payout for a withdraw. */
908
+ swap_transaction_hash: string | null;
909
+ refund_transaction_hash: string | null;
910
+ refund_address: string | null;
911
+ /** Epoch seconds. */
912
+ refund_time: number | null;
913
+ withdraw_address: string | null;
914
+ /** False after an operator canceled a withdraw operation: the pending withdraw then waits for an explicit operator start. */
915
+ withdraw_automatic_start_allowed: boolean;
916
+ /** Epoch seconds. */
917
+ transaction_time: number | null;
918
+ /** Epoch seconds. */
919
+ create_time: number | null;
920
+ /** Epoch seconds. */
921
+ modify_time: number | null;
922
+ /** Deposit transfer tasks containing this transaction, oldest first. */
923
+ transfer_tasks?: TransferTaskSchema[];
924
+ /** Every operation of this withdraw, including canceled, oldest first. */
925
+ withdraw_operations?: WithdrawOperationSchema[];
926
+ }
927
+ export interface UserWalletSchema {
928
+ wallet_id: string;
929
+ /** System deposit wallet public key, returned verbatim: an EVM address or a case-sensitive Solana base58 public key. */
930
+ wallet_public_key: string;
931
+ market_id: string | null;
932
+ token_contract_address: string | null;
933
+ chain_id: number | null;
934
+ token_ticker: string | null;
935
+ market_status: MarketStatus | null;
936
+ /** Wallet creation time in epoch seconds. */
937
+ create_time: number | null;
938
+ /** Deposit and withdraw transactions of this wallet; 0 when none exist. */
939
+ transaction_count: number;
940
+ }
941
+ export interface UserWalletsSchema {
942
+ items: UserWalletSchema[];
943
+ /** Total filtered wallet count before pagination. */
944
+ total: number;
945
+ }
741
946
  export interface WeeklyListingLimitResponse {
742
947
  limit: number;
743
948
  remaining: number;
@@ -753,6 +958,7 @@ export interface WithdrawRequest {
753
958
  description?: string | null;
754
959
  }
755
960
  export declare enum UtilsPaginationDependenciesSortField1 {
961
+ sum_of_oi = "sum_of_oi",
756
962
  is_locked = "is_locked",
757
963
  liquidity = "liquidity",
758
964
  tvl = "tvl",
@@ -780,6 +986,7 @@ export declare enum UtilsPaginationDependenciesSortField1 {
780
986
  user_revenue = "user_revenue"
781
987
  }
782
988
  export declare enum UtilsPaginationDependenciesSortField2 {
989
+ sum_of_oi = "sum_of_oi",
783
990
  is_locked = "is_locked",
784
991
  liquidity = "liquidity",
785
992
  tvl = "tvl",
@@ -1162,6 +1369,13 @@ export type GetMarketListingStatusV2MarketListingStatusGetParams = {
1162
1369
  token_contract_address: string;
1163
1370
  deposit_chain: SupportedDepositChains;
1164
1371
  };
1372
+ export type GetMarketListingProgressV2MarketListingProgressGetParams = {
1373
+ /**
1374
+ * EVM or Solana blockchain address
1375
+ */
1376
+ token_contract_address: string;
1377
+ deposit_chain: SupportedDepositChains;
1378
+ };
1165
1379
  export type GetPoolsV2PoolsGetParams = {
1166
1380
  /**
1167
1381
  * EVM or Solana blockchain address
@@ -1253,6 +1467,25 @@ export type GetUserFinancialHistoryV2UserReportsUserAddressDailyGetParams = {
1253
1467
  */
1254
1468
  limit?: number;
1255
1469
  };
1470
+ export type ListUserWalletsV2UserReportsUserAddressWalletsGetParams = {
1471
+ /**
1472
+ * Filter by market token address
1473
+ */
1474
+ token_contract_address?: string | null;
1475
+ /**
1476
+ * Filter by market deposit chain
1477
+ */
1478
+ chain_id?: SupportedDepositChains | null;
1479
+ /**
1480
+ * @minimum 0
1481
+ */
1482
+ offset?: number;
1483
+ /**
1484
+ * @minimum 1
1485
+ * @maximum 100
1486
+ */
1487
+ limit?: number;
1488
+ };
1256
1489
  /**
1257
1490
  * @summary Request Nonce
1258
1491
  */
@@ -1291,9 +1524,16 @@ export declare const getMarketUserMetricsV2MarketUserMetricsGet: (params: GetMar
1291
1524
  */
1292
1525
  export declare const getDepositAddressV2MarketDepositAddressPost: (depositRequestSchemaV2: DepositRequestSchemaV2, options?: AxiosRequestConfig) => Promise<AxiosResponse<DepositResponseSchemaV2>>;
1293
1526
  /**
1294
- * @summary Add a new market for listing
1527
+ * Deprecated: use POST /v2/market/list-market instead.
1528
+ * @deprecated
1529
+ * @summary List or relist a market (deprecated)
1295
1530
  */
1296
1531
  export declare const addMarketV2MarketAddMarketPost: (addMarketDepositRequestSchemaV2: AddMarketDepositRequestSchemaV2, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddMarketDepositResponseSchemaV2>>;
1532
+ /**
1533
+ * Accepts tax tokens; liquidity is credited using actual transferred amounts.
1534
+ * @summary List or relist a market
1535
+ */
1536
+ export declare const listMarketV2MarketListMarketPost: (addMarketDepositRequestSchemaV2: AddMarketDepositRequestSchemaV2, options?: AxiosRequestConfig) => Promise<AxiosResponse<AddMarketDepositResponseSchemaV2>>;
1297
1537
  /**
1298
1538
  * @summary Get user market config opinion
1299
1539
  */
@@ -1372,6 +1612,11 @@ export declare const getMaintenanceFeeRecordsV2MarketMaintenanceFeesGet: (params
1372
1612
  * @summary Get market listing status
1373
1613
  */
1374
1614
  export declare const getMarketListingStatusV2MarketListingStatusGet: (params: GetMarketListingStatusV2MarketListingStatusGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<MarketListingStatusResponse>>;
1615
+ /**
1616
+ * Returns the market's stored listing progress, retry counts, and configured retry limits. A market without a progress row returns null or zero progress fields. This internal endpoint is protected by X-API-Key and the service connection limit.
1617
+ * @summary Get market listing progress
1618
+ */
1619
+ export declare const getMarketListingProgressV2MarketListingProgressGet: (params: GetMarketListingProgressV2MarketListingProgressGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<MarketListingProgressResponse>>;
1375
1620
  /**
1376
1621
  * @summary Get weekly market listing limit status
1377
1622
  */
@@ -1409,6 +1654,11 @@ export declare const getUserRewardChartV2ProfitChartRewardsGet: (options?: Axios
1409
1654
  * @summary Get total reward for one user
1410
1655
  */
1411
1656
  export declare const getUserTotalRewardV2ProfitTotalRewardGet: (params: GetUserTotalRewardV2ProfitTotalRewardGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<TotalRewardSchema>>;
1657
+ /**
1658
+ * Returns the authenticated user’s LP profit for up to 50 markets.
1659
+ * @summary Get LP profit for multiple markets
1660
+ */
1661
+ export declare const searchProfitsV2ProfitSearchPost: (lPProfitBatchRequest: LPProfitBatchRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<LPProfitBatchResponse>>;
1412
1662
  /**
1413
1663
  * Returns the authenticated user's LP shares (user_lp_amount), LP token/USDC balances, claimable reward, and deposited token amount for the given market token.
1414
1664
  * @summary Get profit data per token for authenticated user
@@ -1424,6 +1674,16 @@ export declare const getUserFinancialSummaryV2UserReportsUserAddressSummaryGet:
1424
1674
  * @summary List a user's daily financial history
1425
1675
  */
1426
1676
  export declare const getUserFinancialHistoryV2UserReportsUserAddressDailyGet: (userAddress: string, params: GetUserFinancialHistoryV2UserReportsUserAddressDailyGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<UserFinancialHistorySchema>>;
1677
+ /**
1678
+ * Returns every deposit wallet of the user, including wallets without transactions, sorted by creation time descending. The user address is matched case-insensitively. This internal endpoint is protected by X-API-Key and the service connection limit.
1679
+ * @summary List a user's deposit wallets
1680
+ */
1681
+ export declare const listUserWalletsV2UserReportsUserAddressWalletsGet: (userAddress: string, params?: ListUserWalletsV2UserReportsUserAddressWalletsGetParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<UserWalletsSchema>>;
1682
+ /**
1683
+ * Returns the user's stored transaction with its wallet and market, plus the transfer tasks of a deposit or every withdraw operation of a withdraw. A transaction of another user returns 404. This internal endpoint is protected by X-API-Key and the service connection limit.
1684
+ * @summary Get a user's transaction with its workflow records
1685
+ */
1686
+ export declare const getUserTransactionV2UserReportsUserAddressTransactionsTransactionIdGet: (userAddress: string, transactionId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<UserTransactionSchema>>;
1427
1687
  export type RequestNonceV2AuthNoncePostResult = AxiosResponse<NonceResponseSchema>;
1428
1688
  export type GetSignInMessageV2AuthSignInMessageGetResult = AxiosResponse<SignInMessageResponseSchema>;
1429
1689
  export type LoginV2AuthLoginPostResult = AxiosResponse<Token>;
@@ -1434,6 +1694,7 @@ export type GetMarketMetricsV2MarketMetricsGetResult = AxiosResponse<MarketMetri
1434
1694
  export type GetMarketUserMetricsV2MarketUserMetricsGetResult = AxiosResponse<GetMarketUserMetricsV2MarketUserMetricsGet200>;
1435
1695
  export type GetDepositAddressV2MarketDepositAddressPostResult = AxiosResponse<DepositResponseSchemaV2>;
1436
1696
  export type AddMarketV2MarketAddMarketPostResult = AxiosResponse<AddMarketDepositResponseSchemaV2>;
1697
+ export type ListMarketV2MarketListMarketPostResult = AxiosResponse<AddMarketDepositResponseSchemaV2>;
1437
1698
  export type GetMarketConfigV2MarketConfigGetResult = AxiosResponse<UpdateMarketConfigResponseSchema>;
1438
1699
  export type UpdateMarketConfigV2MarketConfigPostResult = AxiosResponse<UpdateMarketConfigResponseSchema>;
1439
1700
  export type RetryListingV2MarketRetryListingPostResult = AxiosResponse<RetryListingResponseSchema>;
@@ -1452,6 +1713,7 @@ export type SearchUserTransactionsV2MarketUserTransactionsStartSizeGetResult = A
1452
1713
  export type GetMarketV2MarketGetResult = AxiosResponse<GetMarketResponseSchema>;
1453
1714
  export type GetMaintenanceFeeRecordsV2MarketMaintenanceFeesGetResult = AxiosResponse<MaintenanceFeeRecordsResponse>;
1454
1715
  export type GetMarketListingStatusV2MarketListingStatusGetResult = AxiosResponse<MarketListingStatusResponse>;
1716
+ export type GetMarketListingProgressV2MarketListingProgressGetResult = AxiosResponse<MarketListingProgressResponse>;
1455
1717
  export type GetWeeklyListingLimitV2MarketWeeklyListingLimitGetResult = AxiosResponse<WeeklyListingLimitResponse>;
1456
1718
  export type GetPoolsV2PoolsGetResult = AxiosResponse<GetPoolsV2PoolsGet200>;
1457
1719
  export type ClaimProfitV2ClaimPostResult = AxiosResponse<ClaimProfitResponseSchema>;
@@ -1460,7 +1722,10 @@ export type PostSearchClaimsV2ClaimSearchStartSizeGetResult = AxiosResponse<Sear
1460
1722
  export type GetClientConfigV2ConfigsGetResult = AxiosResponse<ClientConfigResponse>;
1461
1723
  export type GetUserRewardChartV2ProfitChartRewardsGetResult = AxiosResponse<UserMarketRewardChartSchema[]>;
1462
1724
  export type GetUserTotalRewardV2ProfitTotalRewardGetResult = AxiosResponse<TotalRewardSchema>;
1725
+ export type SearchProfitsV2ProfitSearchPostResult = AxiosResponse<LPProfitBatchResponse>;
1463
1726
  export type GetProfitByTokenV2ProfitTokenContractAddressGetResult = AxiosResponse<LPTokenProfitSchema>;
1464
1727
  export type GetUserFinancialSummaryV2UserReportsUserAddressSummaryGetResult = AxiosResponse<UserFinancialSummarySchema>;
1465
1728
  export type GetUserFinancialHistoryV2UserReportsUserAddressDailyGetResult = AxiosResponse<UserFinancialHistorySchema>;
1729
+ export type ListUserWalletsV2UserReportsUserAddressWalletsGetResult = AxiosResponse<UserWalletsSchema>;
1730
+ export type GetUserTransactionV2UserReportsUserAddressTransactionsTransactionIdGetResult = AxiosResponse<UserTransactionSchema>;
1466
1731
  //# sourceMappingURL=listing-backend.d.ts.map