@evergonlabs/tmi-protocol-api-client 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -207,12 +207,6 @@ type RoleAssignment = {
207
207
  */
208
208
  updatedAt: Date;
209
209
  };
210
- type EstimateGasResponse = {
211
- /**
212
- * Amount of gas (in WEI) that is needed for specified transaction
213
- */
214
- value: string;
215
- };
216
210
  type AmountTwoBorder = {
217
211
  /**
218
212
  * The minimum number (uint256) of input packets required to create and maintain a position within the campaign must be less than or equal to maxAmount.
@@ -344,6 +338,156 @@ type LockMultInterval = Array<[
344
338
  string,
345
339
  string
346
340
  ]>;
341
+ /**
342
+ * Details of a transaction that can be sent to the blockchain
343
+ */
344
+ type TransactionSimple = {
345
+ /**
346
+ * Contract execution data
347
+ */
348
+ data: string;
349
+ /**
350
+ * Address of a contract to interact with
351
+ */
352
+ to: string;
353
+ };
354
+ /**
355
+ * Details of a transaction that can be sent to the blockchain
356
+ */
357
+ type DeployMarketTxSchema = TransactionSimple;
358
+ type DeployMarketRequestSchema = {
359
+ /**
360
+ * Supported chain id
361
+ */
362
+ chainId: '11155111' | '31337';
363
+ marketName: string;
364
+ paymentAssets: Array<string>;
365
+ };
366
+ /**
367
+ * Details of a transaction that can be sent to the blockchain
368
+ */
369
+ type CreateFractionsTxSchema = TransactionSimple;
370
+ type CreateFractionsRequestSchema = {
371
+ /**
372
+ * Supported chain id
373
+ */
374
+ chainId: '11155111' | '31337';
375
+ market: unknown;
376
+ wrappedTokens: Array<{
377
+ type: 'ERC20';
378
+ address: unknown;
379
+ values: Array<bigint>;
380
+ } | {
381
+ type: 'ERC721';
382
+ address: unknown;
383
+ tokenIds: Array<bigint>;
384
+ } | {
385
+ type: 'ERC1155';
386
+ address: unknown;
387
+ tokenIds: Array<bigint>;
388
+ values: Array<bigint>;
389
+ }>;
390
+ funding: {
391
+ pricePerFraction: bigint;
392
+ address: unknown;
393
+ };
394
+ fractions: {
395
+ token: unknown;
396
+ symbol: string;
397
+ name: string;
398
+ };
399
+ timeBoundary: {
400
+ start: number;
401
+ end: number;
402
+ };
403
+ cap: {
404
+ soft: bigint;
405
+ hard: bigint;
406
+ };
407
+ };
408
+ /**
409
+ * Details of a transaction that can be sent to the blockchain
410
+ */
411
+ type GrantRoleTxSchema = TransactionSimple;
412
+ type GrantMarketRoleRequestSchema = {
413
+ /**
414
+ * Supported chain id
415
+ */
416
+ chainId: '11155111' | '31337';
417
+ marketAddress: string;
418
+ users: Array<string>;
419
+ role: 'ADMIN' | 'ISSUER' | 'INVESTOR';
420
+ };
421
+ /**
422
+ * Details of a transaction that can be sent to the blockchain
423
+ */
424
+ type ApproveSaleResponseSchema = TransactionSimple;
425
+ type ApproveSaleRequestSchema = {
426
+ /**
427
+ * Supported chain id
428
+ */
429
+ chainId: '11155111' | '31337';
430
+ marketAddress: unknown;
431
+ campaignId: bigint;
432
+ };
433
+ /**
434
+ * Details of a transaction that can be sent to the blockchain
435
+ */
436
+ type CompleteSaleResponseSchema = TransactionSimple;
437
+ type CompleteSaleRequestSchema = {
438
+ /**
439
+ * Supported chain id
440
+ */
441
+ chainId: '11155111' | '31337';
442
+ marketAddress: unknown;
443
+ campaignId: bigint;
444
+ };
445
+ /**
446
+ * Details of a transaction that can be sent to the blockchain
447
+ */
448
+ type PurchaseResponseSchema = TransactionSimple;
449
+ type PurchaseRequestSchema = {
450
+ /**
451
+ * Supported chain id
452
+ */
453
+ chainId: '11155111' | '31337';
454
+ market: unknown;
455
+ campaignId: bigint;
456
+ amountToBuy: bigint;
457
+ };
458
+ /**
459
+ * Details of a transaction that can be sent to the blockchain
460
+ */
461
+ type WithdrawResponseSchema = TransactionSimple;
462
+ type WithdrawRequestSchema = {
463
+ /**
464
+ * Supported chain id
465
+ */
466
+ chainId: '11155111' | '31337';
467
+ market: unknown;
468
+ campaignId: bigint;
469
+ };
470
+ type EstimateGasResponse = {
471
+ /**
472
+ * Amount of gas (in WEI) that is needed for specified transaction
473
+ */
474
+ value: string;
475
+ };
476
+ type TokenBalanceSchema = {
477
+ address: string;
478
+ totalBalance: string;
479
+ name: string | null;
480
+ symbol: string | null;
481
+ decimals: string | null;
482
+ quantityIn: string;
483
+ quantityOut: string;
484
+ };
485
+ type BalancesResponseSchema = {
486
+ balances: Array<TokenBalanceSchema>;
487
+ totalItems: number;
488
+ totalPages: number;
489
+ pageNumber: number;
490
+ };
347
491
  type GetStakingPlatformsGetV0Data = {
348
492
  body?: never;
349
493
  path?: never;
@@ -688,27 +832,6 @@ type PostStakingRolesSearchRoleEventsV0Responses = {
688
832
  200: Array<RoleAssignment>;
689
833
  };
690
834
  type PostStakingRolesSearchRoleEventsV0Response = PostStakingRolesSearchRoleEventsV0Responses[keyof PostStakingRolesSearchRoleEventsV0Responses];
691
- type PostStakingGasEstimateGasV0Data = {
692
- body?: {
693
- /**
694
- * Supported chain id
695
- */
696
- chainId: '11155111' | '31337';
697
- data: string;
698
- from: string;
699
- to: string;
700
- };
701
- path?: never;
702
- query?: never;
703
- url: '/staking/gas/estimateGas/v0';
704
- };
705
- type PostStakingGasEstimateGasV0Responses = {
706
- /**
707
- * Returns estimated gas or estimation error
708
- */
709
- 200: EstimateGasResponse;
710
- };
711
- type PostStakingGasEstimateGasV0Response = PostStakingGasEstimateGasV0Responses[keyof PostStakingGasEstimateGasV0Responses];
712
835
  type GetStakingTemplatesReputationV0GetPlatformDeployEventData = {
713
836
  body?: never;
714
837
  path?: never;
@@ -1644,6 +1767,198 @@ type PostStakingTemplatesRwaV0NotifyRewardsResponses = {
1644
1767
  200: Transaction;
1645
1768
  };
1646
1769
  type PostStakingTemplatesRwaV0NotifyRewardsResponse = PostStakingTemplatesRwaV0NotifyRewardsResponses[keyof PostStakingTemplatesRwaV0NotifyRewardsResponses];
1770
+ type PostV0FractionsPlatformsDeployData = {
1771
+ body?: DeployMarketRequestSchema;
1772
+ path?: never;
1773
+ query?: never;
1774
+ url: '/v0/fractions/platforms/deploy';
1775
+ };
1776
+ type PostV0FractionsPlatformsDeployResponses = {
1777
+ /**
1778
+ * Returns transaction data for deploying a market
1779
+ */
1780
+ 200: DeployMarketTxSchema;
1781
+ };
1782
+ type PostV0FractionsPlatformsDeployResponse = PostV0FractionsPlatformsDeployResponses[keyof PostV0FractionsPlatformsDeployResponses];
1783
+ type PostV0FractionsFractionsFractionsData = {
1784
+ body?: CreateFractionsRequestSchema;
1785
+ path?: never;
1786
+ query?: never;
1787
+ url: '/v0/fractions/fractions/fractions';
1788
+ };
1789
+ type PostV0FractionsFractionsFractionsResponses = {
1790
+ /**
1791
+ * Returns transaction data for creating fractions
1792
+ */
1793
+ 200: CreateFractionsTxSchema;
1794
+ };
1795
+ type PostV0FractionsFractionsFractionsResponse = PostV0FractionsFractionsFractionsResponses[keyof PostV0FractionsFractionsFractionsResponses];
1796
+ type PostV0FractionsRolesGrantData = {
1797
+ body?: GrantMarketRoleRequestSchema;
1798
+ path?: never;
1799
+ query?: never;
1800
+ url: '/v0/fractions/roles/grant';
1801
+ };
1802
+ type PostV0FractionsRolesGrantResponses = {
1803
+ /**
1804
+ * Returns transaction data for deploying a market
1805
+ */
1806
+ 200: GrantRoleTxSchema;
1807
+ };
1808
+ type PostV0FractionsRolesGrantResponse = PostV0FractionsRolesGrantResponses[keyof PostV0FractionsRolesGrantResponses];
1809
+ type PostV0FractionsSalesApproveData = {
1810
+ body?: ApproveSaleRequestSchema;
1811
+ path?: never;
1812
+ query?: never;
1813
+ url: '/v0/fractions/sales/approve';
1814
+ };
1815
+ type PostV0FractionsSalesApproveResponses = {
1816
+ /**
1817
+ * Returns transaction data for approving a sale
1818
+ */
1819
+ 200: ApproveSaleResponseSchema;
1820
+ };
1821
+ type PostV0FractionsSalesApproveResponse = PostV0FractionsSalesApproveResponses[keyof PostV0FractionsSalesApproveResponses];
1822
+ type PostV0FractionsSalesCompleteData = {
1823
+ body?: CompleteSaleRequestSchema;
1824
+ path?: never;
1825
+ query?: never;
1826
+ url: '/v0/fractions/sales/complete';
1827
+ };
1828
+ type PostV0FractionsSalesCompleteResponses = {
1829
+ /**
1830
+ * Returns transaction data for completing a sale
1831
+ */
1832
+ 200: CompleteSaleResponseSchema;
1833
+ };
1834
+ type PostV0FractionsSalesCompleteResponse = PostV0FractionsSalesCompleteResponses[keyof PostV0FractionsSalesCompleteResponses];
1835
+ type PostV0FractionsSalesPurchaseData = {
1836
+ body?: PurchaseRequestSchema;
1837
+ path?: never;
1838
+ query?: never;
1839
+ url: '/v0/fractions/sales/purchase';
1840
+ };
1841
+ type PostV0FractionsSalesPurchaseResponses = {
1842
+ /**
1843
+ * Returns transaction data for making a purchase
1844
+ */
1845
+ 200: PurchaseResponseSchema;
1846
+ };
1847
+ type PostV0FractionsSalesPurchaseResponse = PostV0FractionsSalesPurchaseResponses[keyof PostV0FractionsSalesPurchaseResponses];
1848
+ type PostV0FractionsSalesWithdrawData = {
1849
+ body?: WithdrawRequestSchema;
1850
+ path?: never;
1851
+ query?: never;
1852
+ url: '/v0/fractions/sales/withdraw';
1853
+ };
1854
+ type PostV0FractionsSalesWithdrawResponses = {
1855
+ /**
1856
+ * Returns transaction data for withdrawing fractions from a sale
1857
+ */
1858
+ 200: WithdrawResponseSchema;
1859
+ };
1860
+ type PostV0FractionsSalesWithdrawResponse = PostV0FractionsSalesWithdrawResponses[keyof PostV0FractionsSalesWithdrawResponses];
1861
+ type PostGeneralEstimateGasData = {
1862
+ body?: {
1863
+ /**
1864
+ * Supported chain id
1865
+ */
1866
+ chainId: '11155111' | '31337';
1867
+ data: string;
1868
+ from: string;
1869
+ to: string;
1870
+ };
1871
+ path?: never;
1872
+ query?: never;
1873
+ url: '/general/estimateGas';
1874
+ };
1875
+ type PostGeneralEstimateGasResponses = {
1876
+ /**
1877
+ * Returns estimated gas or estimation error
1878
+ */
1879
+ 200: EstimateGasResponse;
1880
+ };
1881
+ type PostGeneralEstimateGasResponse = PostGeneralEstimateGasResponses[keyof PostGeneralEstimateGasResponses];
1882
+ type GetGeneralBalanceData = {
1883
+ body?: never;
1884
+ path?: never;
1885
+ query: {
1886
+ /**
1887
+ * Supported chain id
1888
+ */
1889
+ chainId: '11155111' | '31337';
1890
+ address: string;
1891
+ contract: string;
1892
+ };
1893
+ url: '/general/balance';
1894
+ };
1895
+ type GetGeneralBalanceErrors = {
1896
+ /**
1897
+ * Zod Error
1898
+ */
1899
+ 400: {
1900
+ status: 400;
1901
+ message: string;
1902
+ };
1903
+ };
1904
+ type GetGeneralBalanceError = GetGeneralBalanceErrors[keyof GetGeneralBalanceErrors];
1905
+ type GetGeneralBalanceResponses = {
1906
+ /**
1907
+ * Returns ERC20 balances of a wallet
1908
+ */
1909
+ 200: {
1910
+ address: string;
1911
+ /**
1912
+ * Amount of tokens in WEI
1913
+ */
1914
+ balance: string;
1915
+ };
1916
+ };
1917
+ type GetGeneralBalanceResponse = GetGeneralBalanceResponses[keyof GetGeneralBalanceResponses];
1918
+ type PostGeneralBalancesData = {
1919
+ body?: {
1920
+ /**
1921
+ * Supported chain id
1922
+ */
1923
+ chainId: '11155111' | '31337';
1924
+ address: string;
1925
+ contracts: Array<string>;
1926
+ };
1927
+ path?: never;
1928
+ query?: never;
1929
+ url: '/general/balances';
1930
+ };
1931
+ type PostGeneralBalancesResponses = {
1932
+ /**
1933
+ * Returns ERC20 balances
1934
+ */
1935
+ 200: Array<TokenBalanceSchema>;
1936
+ };
1937
+ type PostGeneralBalancesResponse = PostGeneralBalancesResponses[keyof PostGeneralBalancesResponses];
1938
+ type PostGeneralSearchBalancesData = {
1939
+ body?: {
1940
+ /**
1941
+ * The ID of the chain.
1942
+ */
1943
+ chainId: '11155111' | '31337';
1944
+ /**
1945
+ * The address to get the balance for.
1946
+ */
1947
+ address: string;
1948
+ page?: number;
1949
+ perPage?: number;
1950
+ };
1951
+ path?: never;
1952
+ query?: never;
1953
+ url: '/general/searchBalances';
1954
+ };
1955
+ type PostGeneralSearchBalancesResponses = {
1956
+ /**
1957
+ * Returns ERC20 balances of a wallet
1958
+ */
1959
+ 200: BalancesResponseSchema;
1960
+ };
1961
+ type PostGeneralSearchBalancesResponse = PostGeneralSearchBalancesResponses[keyof PostGeneralSearchBalancesResponses];
1647
1962
  type ClientOptions = {
1648
1963
  baseUrl: `${string}://${string}` | (string & {});
1649
1964
  };
@@ -1688,6 +2003,18 @@ type IApiConfig = {
1688
2003
  };
1689
2004
  declare const api: {
1690
2005
  createClient: (config: IApiConfig, overrides?: Config) => _hey_api_client_fetch.Client;
2006
+ general: {
2007
+ searchBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralSearchBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalancesResponseSchema, unknown, ThrowOnError>;
2008
+ getBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TokenBalanceSchema[], unknown, ThrowOnError>;
2009
+ getBalance: <ThrowOnError extends boolean = false>(options: Options<GetGeneralBalanceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
2010
+ address: string;
2011
+ balance: string;
2012
+ }, {
2013
+ status: 400;
2014
+ message: string;
2015
+ }, ThrowOnError>;
2016
+ estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralEstimateGasData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, unknown, ThrowOnError>;
2017
+ };
1691
2018
  /**
1692
2019
  * Pre-defined templates for Staking platforms
1693
2020
  * Each template has it's own set of rules, parameters and actions
@@ -1817,9 +2144,15 @@ declare const api: {
1817
2144
  getPlatform: <ThrowOnError extends boolean = false>(options: Options<GetStakingPlatformsGetV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform, GetStakingPlatformsGetV0Error, ThrowOnError>;
1818
2145
  searchPlatforms: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPlatformsSearchV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform[], unknown, ThrowOnError>;
1819
2146
  };
1820
- gas: {
1821
- estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostStakingGasEstimateGasV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, unknown, ThrowOnError>;
1822
- };
2147
+ };
2148
+ fractions: {
2149
+ deployMarket: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsPlatformsDeployData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2150
+ grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsRolesGrantData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2151
+ createFractions: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsFractionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2152
+ approveSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2153
+ comleteSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesCompleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2154
+ purchaseSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesPurchaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
2155
+ withdrawSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesWithdrawData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, unknown, ThrowOnError>;
1823
2156
  };
1824
2157
  };
1825
2158
  type ApiClient = ReturnType<(typeof api)["createClient"]>;
@@ -1833,4 +2166,4 @@ type ApiResponse<T> = {
1833
2166
  };
1834
2167
  declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
1835
2168
 
1836
- export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ClientOptions, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type IApiConfig, type IEnv, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostStakingGasEstimateGasV0Data, type PostStakingGasEstimateGasV0Response, type PostStakingGasEstimateGasV0Responses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type Transaction, api, envs, getEnv, handleApiResponse };
2169
+ export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveSaleRequestSchema, type ApproveSaleResponseSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CompleteSaleResponseSchema, type CreateFractionsRequestSchema, type CreateFractionsTxSchema, type DeployMarketRequestSchema, type DeployMarketTxSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GrantMarketRoleRequestSchema, type GrantRoleTxSchema, type IApiConfig, type IEnv, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawData, type PostV0FractionsSalesWithdrawResponse, type PostV0FractionsSalesWithdrawResponses, type PurchaseRequestSchema, type PurchaseResponseSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type TransactionSimple, type WithdrawRequestSchema, type WithdrawResponseSchema, api, envs, getEnv, handleApiResponse };