@evergonlabs/tmi-protocol-api-client 0.21.1 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -4
- package/dist/index.d.ts +62 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -2662,7 +2662,6 @@ type PostIssuanceErc20DeployData = {
|
|
|
2662
2662
|
supplyCap: string;
|
|
2663
2663
|
defaultTokenAdmin: string;
|
|
2664
2664
|
minter: string;
|
|
2665
|
-
gatingSigner?: string;
|
|
2666
2665
|
};
|
|
2667
2666
|
path?: never;
|
|
2668
2667
|
query?: never;
|
|
@@ -2670,7 +2669,7 @@ type PostIssuanceErc20DeployData = {
|
|
|
2670
2669
|
};
|
|
2671
2670
|
type PostIssuanceErc20DeployResponses = {
|
|
2672
2671
|
/**
|
|
2673
|
-
* Returns transaction data for deploying
|
|
2672
|
+
* Returns transaction data for deploying an ERC20 token via factory
|
|
2674
2673
|
*/
|
|
2675
2674
|
200: {
|
|
2676
2675
|
data: string;
|
|
@@ -2684,6 +2683,36 @@ type PostIssuanceErc20DeployResponses = {
|
|
|
2684
2683
|
};
|
|
2685
2684
|
};
|
|
2686
2685
|
type PostIssuanceErc20DeployResponse = PostIssuanceErc20DeployResponses[keyof PostIssuanceErc20DeployResponses];
|
|
2686
|
+
type PostIssuanceErc20DeployGatedData = {
|
|
2687
|
+
body?: {
|
|
2688
|
+
chainId: 11155111 | 72080;
|
|
2689
|
+
tokenName: string;
|
|
2690
|
+
tokenSymbol: string;
|
|
2691
|
+
supplyCap: string;
|
|
2692
|
+
defaultTokenAdmin: string;
|
|
2693
|
+
minter: string;
|
|
2694
|
+
gatingSigner?: string;
|
|
2695
|
+
};
|
|
2696
|
+
path?: never;
|
|
2697
|
+
query?: never;
|
|
2698
|
+
url: '/issuance/erc20/deployGated';
|
|
2699
|
+
};
|
|
2700
|
+
type PostIssuanceErc20DeployGatedResponses = {
|
|
2701
|
+
/**
|
|
2702
|
+
* Returns transaction data for deploying a gated ERC20 token via factory
|
|
2703
|
+
*/
|
|
2704
|
+
200: {
|
|
2705
|
+
data: string;
|
|
2706
|
+
to: string;
|
|
2707
|
+
details: {
|
|
2708
|
+
functionName: string;
|
|
2709
|
+
address: string;
|
|
2710
|
+
abi: Array<unknown>;
|
|
2711
|
+
args: Array<unknown>;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
};
|
|
2715
|
+
type PostIssuanceErc20DeployGatedResponse = PostIssuanceErc20DeployGatedResponses[keyof PostIssuanceErc20DeployGatedResponses];
|
|
2687
2716
|
type GetIssuanceErc20GetDeployEventData = {
|
|
2688
2717
|
body?: never;
|
|
2689
2718
|
path?: never;
|
|
@@ -2981,7 +3010,6 @@ type PostIssuanceErc721DeployData = {
|
|
|
2981
3010
|
baseURI: string;
|
|
2982
3011
|
defaultTokenAdmin: string;
|
|
2983
3012
|
minter: string;
|
|
2984
|
-
gatingSigner?: string;
|
|
2985
3013
|
};
|
|
2986
3014
|
path?: never;
|
|
2987
3015
|
query?: never;
|
|
@@ -3003,6 +3031,36 @@ type PostIssuanceErc721DeployResponses = {
|
|
|
3003
3031
|
};
|
|
3004
3032
|
};
|
|
3005
3033
|
type PostIssuanceErc721DeployResponse = PostIssuanceErc721DeployResponses[keyof PostIssuanceErc721DeployResponses];
|
|
3034
|
+
type PostIssuanceErc721DeployGatedData = {
|
|
3035
|
+
body?: {
|
|
3036
|
+
chainId: 11155111 | 72080;
|
|
3037
|
+
tokenName: string;
|
|
3038
|
+
tokenSymbol: string;
|
|
3039
|
+
baseURI: string;
|
|
3040
|
+
defaultTokenAdmin: string;
|
|
3041
|
+
minter: string;
|
|
3042
|
+
gatingSigner?: string;
|
|
3043
|
+
};
|
|
3044
|
+
path?: never;
|
|
3045
|
+
query?: never;
|
|
3046
|
+
url: '/issuance/erc721/deployGated';
|
|
3047
|
+
};
|
|
3048
|
+
type PostIssuanceErc721DeployGatedResponses = {
|
|
3049
|
+
/**
|
|
3050
|
+
* Returns transaction data for deploying a gated ERC721 token via factory
|
|
3051
|
+
*/
|
|
3052
|
+
200: {
|
|
3053
|
+
data: string;
|
|
3054
|
+
to: string;
|
|
3055
|
+
details: {
|
|
3056
|
+
functionName: string;
|
|
3057
|
+
address: string;
|
|
3058
|
+
abi: Array<unknown>;
|
|
3059
|
+
args: Array<unknown>;
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
type PostIssuanceErc721DeployGatedResponse = PostIssuanceErc721DeployGatedResponses[keyof PostIssuanceErc721DeployGatedResponses];
|
|
3006
3064
|
type GetIssuanceErc721GetDeployEventData = {
|
|
3007
3065
|
body?: never;
|
|
3008
3066
|
path?: never;
|
|
@@ -5076,4 +5134,4 @@ type ApiResponse<T> = {
|
|
|
5076
5134
|
};
|
|
5077
5135
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
5078
5136
|
|
|
5079
|
-
export { type ApiClient, type ApiResponse, type ClientOptions, type GetGeneralBalanceData, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetIssuanceErc20GetDeployEventData, type GetIssuanceErc20GetDeployEventResponse, type GetIssuanceErc20GetDeployEventResponses, type GetIssuanceErc721GetDeployEventData, type GetIssuanceErc721GetDeployEventResponse, type GetIssuanceErc721GetDeployEventResponses, type GetIssuanceProxyDeployProxyAdminData, type GetIssuanceProxyDeployProxyAdminResponse, type GetIssuanceProxyDeployProxyAdminResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsPlatformsInitCompilotData, type GetV0FractionsPlatformsInitCompilotResponse, type GetV0FractionsPlatformsInitCompilotResponses, type GetV0FractionsPlatformsInitNftFractionsCompilotData, type GetV0FractionsPlatformsInitNftFractionsCompilotResponse, type GetV0FractionsPlatformsInitNftFractionsCompilotResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GetV0FractionsSalesGetFractionsCreatedEventData, type GetV0FractionsSalesGetFractionsCreatedEventResponse, type GetV0FractionsSalesGetFractionsCreatedEventResponses, type GetV0FractionsSalesGetVaultAddressData, type GetV0FractionsSalesGetVaultAddressResponse, type GetV0FractionsSalesGetVaultAddressResponses, type GetV0FractionsSalesGetWithdrawEventData, type GetV0FractionsSalesGetWithdrawEventResponse, type GetV0FractionsSalesGetWithdrawEventResponses, type GetV0FractionsSalesVestingGetClaimVestedTokensEventData, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponse, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses, type IApiConfig, type IEnv, type IEnvName, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostIssuanceErc20ApproveData, type PostIssuanceErc20ApproveResponse, type PostIssuanceErc20ApproveResponses, type PostIssuanceErc20BurnData, type PostIssuanceErc20BurnResponse, type PostIssuanceErc20BurnResponses, type PostIssuanceErc20DeployData, type PostIssuanceErc20DeployResponse, type PostIssuanceErc20DeployResponses, type PostIssuanceErc20GrantRoleData, type PostIssuanceErc20GrantRoleResponse, type PostIssuanceErc20GrantRoleResponses, type PostIssuanceErc20InitializeData, type PostIssuanceErc20InitializeResponse, type PostIssuanceErc20InitializeResponses, type PostIssuanceErc20MintData, type PostIssuanceErc20MintResponse, type PostIssuanceErc20MintResponses, type PostIssuanceErc20RecoverData, type PostIssuanceErc20RecoverResponse, type PostIssuanceErc20RecoverResponses, type PostIssuanceErc20RenounceRoleData, type PostIssuanceErc20RenounceRoleResponse, type PostIssuanceErc20RenounceRoleResponses, type PostIssuanceErc20RevokeRoleData, type PostIssuanceErc20RevokeRoleResponse, type PostIssuanceErc20RevokeRoleResponses, type PostIssuanceErc20TransferData, type PostIssuanceErc20TransferFromData, type PostIssuanceErc20TransferFromResponse, type PostIssuanceErc20TransferFromResponses, type PostIssuanceErc20TransferResponse, type PostIssuanceErc20TransferResponses, type PostIssuanceErc721ApproveData, type PostIssuanceErc721ApproveResponse, type PostIssuanceErc721ApproveResponses, type PostIssuanceErc721BurnData, type PostIssuanceErc721BurnResponse, type PostIssuanceErc721BurnResponses, type PostIssuanceErc721DeployData, type PostIssuanceErc721DeployResponse, type PostIssuanceErc721DeployResponses, type PostIssuanceErc721GrantRoleData, type PostIssuanceErc721GrantRoleResponse, type PostIssuanceErc721GrantRoleResponses, type PostIssuanceErc721InitializeData, type PostIssuanceErc721InitializeResponse, type PostIssuanceErc721InitializeResponses, type PostIssuanceErc721MintData, type PostIssuanceErc721MintResponse, type PostIssuanceErc721MintResponses, type PostIssuanceErc721RecoverData, type PostIssuanceErc721RecoverResponse, type PostIssuanceErc721RecoverResponses, type PostIssuanceErc721RenounceRoleData, type PostIssuanceErc721RenounceRoleResponse, type PostIssuanceErc721RenounceRoleResponses, type PostIssuanceErc721RevokeRoleData, type PostIssuanceErc721RevokeRoleResponse, type PostIssuanceErc721RevokeRoleResponses, type PostIssuanceErc721SetBaseUriData, type PostIssuanceErc721SetBaseUriResponse, type PostIssuanceErc721SetBaseUriResponses, type PostIssuanceErc721SetTokenUriData, type PostIssuanceErc721SetTokenUriResponse, type PostIssuanceErc721SetTokenUriResponses, type PostIssuanceErc721TransferFromData, type PostIssuanceErc721TransferFromResponse, type PostIssuanceErc721TransferFromResponses, type PostIssuanceProxyDeployTransparentProxyData, type PostIssuanceProxyDeployTransparentProxyResponse, type PostIssuanceProxyDeployTransparentProxyResponses, type PostIssuanceProxyUpgradeTransparentProxyData, type PostIssuanceProxyUpgradeTransparentProxyResponse, type PostIssuanceProxyUpgradeTransparentProxyResponses, type PostNextFractionsLendingBuybackData, type PostNextFractionsLendingBuybackResponse, type PostNextFractionsLendingBuybackResponses, type PostNextFractionsLendingCreateSaleData, type PostNextFractionsLendingCreateSaleResponse, type PostNextFractionsLendingCreateSaleResponses, type PostNextFractionsLendingDeployData, type PostNextFractionsLendingDeployResponse, type PostNextFractionsLendingDeployResponses, type PostNextFractionsLendingPurchaseData, type PostNextFractionsLendingPurchaseResponse, type PostNextFractionsLendingPurchaseResponses, type PostNextFractionsLendingSetCollateralPriceData, type PostNextFractionsLendingSetCollateralPriceResponse, type PostNextFractionsLendingSetCollateralPriceResponses, type PostNextFractionsPlatformsDeployNftFractionsData, type PostNextFractionsPlatformsDeployNftFractionsResponse, type PostNextFractionsPlatformsDeployNftFractionsResponses, type PostNextFractionsSalesNftFractionsData, type PostNextFractionsSalesNftFractionsResponse, type PostNextFractionsSalesNftFractionsResponses, 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 PostStakingTemplatesRwaV0DistributeRewardsData, type PostStakingTemplatesRwaV0DistributeRewardsResponse, type PostStakingTemplatesRwaV0DistributeRewardsResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, 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 PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployNidData, type PostV0FractionsPlatformsDeployNidResponse, type PostV0FractionsPlatformsDeployNidResponses, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesActivityData, type PostV0FractionsSalesActivityResponse, type PostV0FractionsSalesActivityResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCheckAndJumpToNonFundedData, type PostV0FractionsSalesCheckAndJumpToNonFundedResponse, type PostV0FractionsSalesCheckAndJumpToNonFundedResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesFractionsData, type PostV0FractionsSalesFractionsResponse, type PostV0FractionsSalesFractionsResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesPurchaseStatisticsData, type PostV0FractionsSalesPurchaseStatisticsResponse, type PostV0FractionsSalesPurchaseStatisticsResponses, type PostV0FractionsSalesReceiveFundsAfterNonFundedData, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponse, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponses, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsData, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponse, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponses, type PostV0FractionsSalesRecoverData, type PostV0FractionsSalesRecoverResponse, type PostV0FractionsSalesRecoverResponses, type PostV0FractionsSalesRejectData, type PostV0FractionsSalesRejectResponse, type PostV0FractionsSalesRejectResponses, type PostV0FractionsSalesSearchData, type PostV0FractionsSalesSearchResponse, type PostV0FractionsSalesSearchResponses, type PostV0FractionsSalesSetFeeCapLimitData, type PostV0FractionsSalesSetFeeCapLimitResponse, type PostV0FractionsSalesSetFeeCapLimitResponses, type PostV0FractionsSalesStatisticsData, type PostV0FractionsSalesStatisticsResponse, type PostV0FractionsSalesStatisticsResponses, type PostV0FractionsSalesUnlockWrappedAssetsData, type PostV0FractionsSalesUnlockWrappedAssetsResponse, type PostV0FractionsSalesUnlockWrappedAssetsResponses, type PostV0FractionsSalesVestingClaimData, type PostV0FractionsSalesVestingClaimResponse, type PostV0FractionsSalesVestingClaimResponses, type PostV0FractionsSalesVestingClaimStatisticsData, type PostV0FractionsSalesVestingClaimStatisticsResponse, type PostV0FractionsSalesVestingClaimStatisticsResponses, type PostV0FractionsSalesVestingEditCliffData, type PostV0FractionsSalesVestingEditCliffResponse, type PostV0FractionsSalesVestingEditCliffResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PostV0FractionsSalesWithdrawSearchData, type PostV0FractionsSalesWithdrawSearchResponse, type PostV0FractionsSalesWithdrawSearchResponses, type PostV0FractionsSigAuthDataData, type PostV0FractionsSigAuthDataResponse, type PostV0FractionsSigAuthDataResponses, type PostV0FractionsSigNonceData, type PostV0FractionsSigNonceResponse, type PostV0FractionsSigNonceResponses, type PostV0FractionsStatisticsData, type PostV0FractionsStatisticsHoldersData, type PostV0FractionsStatisticsHoldersResponse, type PostV0FractionsStatisticsHoldersResponses, type PostV0FractionsStatisticsResponse, type PostV0FractionsStatisticsResponses, type PostV0FractionsStatisticsSalesData, type PostV0FractionsStatisticsSalesResponse, type PostV0FractionsStatisticsSalesResponses, type PostV0FractionsStatisticsTtvData, type PostV0FractionsStatisticsTtvResponse, type PostV0FractionsStatisticsTtvResponses, api, envs, getEnv, handleApiResponse };
|
|
5137
|
+
export { type ApiClient, type ApiResponse, type ClientOptions, type GetGeneralBalanceData, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetIssuanceErc20GetDeployEventData, type GetIssuanceErc20GetDeployEventResponse, type GetIssuanceErc20GetDeployEventResponses, type GetIssuanceErc721GetDeployEventData, type GetIssuanceErc721GetDeployEventResponse, type GetIssuanceErc721GetDeployEventResponses, type GetIssuanceProxyDeployProxyAdminData, type GetIssuanceProxyDeployProxyAdminResponse, type GetIssuanceProxyDeployProxyAdminResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsPlatformsInitCompilotData, type GetV0FractionsPlatformsInitCompilotResponse, type GetV0FractionsPlatformsInitCompilotResponses, type GetV0FractionsPlatformsInitNftFractionsCompilotData, type GetV0FractionsPlatformsInitNftFractionsCompilotResponse, type GetV0FractionsPlatformsInitNftFractionsCompilotResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GetV0FractionsSalesGetFractionsCreatedEventData, type GetV0FractionsSalesGetFractionsCreatedEventResponse, type GetV0FractionsSalesGetFractionsCreatedEventResponses, type GetV0FractionsSalesGetVaultAddressData, type GetV0FractionsSalesGetVaultAddressResponse, type GetV0FractionsSalesGetVaultAddressResponses, type GetV0FractionsSalesGetWithdrawEventData, type GetV0FractionsSalesGetWithdrawEventResponse, type GetV0FractionsSalesGetWithdrawEventResponses, type GetV0FractionsSalesVestingGetClaimVestedTokensEventData, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponse, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses, type IApiConfig, type IEnv, type IEnvName, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostIssuanceErc20ApproveData, type PostIssuanceErc20ApproveResponse, type PostIssuanceErc20ApproveResponses, type PostIssuanceErc20BurnData, type PostIssuanceErc20BurnResponse, type PostIssuanceErc20BurnResponses, type PostIssuanceErc20DeployData, type PostIssuanceErc20DeployGatedData, type PostIssuanceErc20DeployGatedResponse, type PostIssuanceErc20DeployGatedResponses, type PostIssuanceErc20DeployResponse, type PostIssuanceErc20DeployResponses, type PostIssuanceErc20GrantRoleData, type PostIssuanceErc20GrantRoleResponse, type PostIssuanceErc20GrantRoleResponses, type PostIssuanceErc20InitializeData, type PostIssuanceErc20InitializeResponse, type PostIssuanceErc20InitializeResponses, type PostIssuanceErc20MintData, type PostIssuanceErc20MintResponse, type PostIssuanceErc20MintResponses, type PostIssuanceErc20RecoverData, type PostIssuanceErc20RecoverResponse, type PostIssuanceErc20RecoverResponses, type PostIssuanceErc20RenounceRoleData, type PostIssuanceErc20RenounceRoleResponse, type PostIssuanceErc20RenounceRoleResponses, type PostIssuanceErc20RevokeRoleData, type PostIssuanceErc20RevokeRoleResponse, type PostIssuanceErc20RevokeRoleResponses, type PostIssuanceErc20TransferData, type PostIssuanceErc20TransferFromData, type PostIssuanceErc20TransferFromResponse, type PostIssuanceErc20TransferFromResponses, type PostIssuanceErc20TransferResponse, type PostIssuanceErc20TransferResponses, type PostIssuanceErc721ApproveData, type PostIssuanceErc721ApproveResponse, type PostIssuanceErc721ApproveResponses, type PostIssuanceErc721BurnData, type PostIssuanceErc721BurnResponse, type PostIssuanceErc721BurnResponses, type PostIssuanceErc721DeployData, type PostIssuanceErc721DeployGatedData, type PostIssuanceErc721DeployGatedResponse, type PostIssuanceErc721DeployGatedResponses, type PostIssuanceErc721DeployResponse, type PostIssuanceErc721DeployResponses, type PostIssuanceErc721GrantRoleData, type PostIssuanceErc721GrantRoleResponse, type PostIssuanceErc721GrantRoleResponses, type PostIssuanceErc721InitializeData, type PostIssuanceErc721InitializeResponse, type PostIssuanceErc721InitializeResponses, type PostIssuanceErc721MintData, type PostIssuanceErc721MintResponse, type PostIssuanceErc721MintResponses, type PostIssuanceErc721RecoverData, type PostIssuanceErc721RecoverResponse, type PostIssuanceErc721RecoverResponses, type PostIssuanceErc721RenounceRoleData, type PostIssuanceErc721RenounceRoleResponse, type PostIssuanceErc721RenounceRoleResponses, type PostIssuanceErc721RevokeRoleData, type PostIssuanceErc721RevokeRoleResponse, type PostIssuanceErc721RevokeRoleResponses, type PostIssuanceErc721SetBaseUriData, type PostIssuanceErc721SetBaseUriResponse, type PostIssuanceErc721SetBaseUriResponses, type PostIssuanceErc721SetTokenUriData, type PostIssuanceErc721SetTokenUriResponse, type PostIssuanceErc721SetTokenUriResponses, type PostIssuanceErc721TransferFromData, type PostIssuanceErc721TransferFromResponse, type PostIssuanceErc721TransferFromResponses, type PostIssuanceProxyDeployTransparentProxyData, type PostIssuanceProxyDeployTransparentProxyResponse, type PostIssuanceProxyDeployTransparentProxyResponses, type PostIssuanceProxyUpgradeTransparentProxyData, type PostIssuanceProxyUpgradeTransparentProxyResponse, type PostIssuanceProxyUpgradeTransparentProxyResponses, type PostNextFractionsLendingBuybackData, type PostNextFractionsLendingBuybackResponse, type PostNextFractionsLendingBuybackResponses, type PostNextFractionsLendingCreateSaleData, type PostNextFractionsLendingCreateSaleResponse, type PostNextFractionsLendingCreateSaleResponses, type PostNextFractionsLendingDeployData, type PostNextFractionsLendingDeployResponse, type PostNextFractionsLendingDeployResponses, type PostNextFractionsLendingPurchaseData, type PostNextFractionsLendingPurchaseResponse, type PostNextFractionsLendingPurchaseResponses, type PostNextFractionsLendingSetCollateralPriceData, type PostNextFractionsLendingSetCollateralPriceResponse, type PostNextFractionsLendingSetCollateralPriceResponses, type PostNextFractionsPlatformsDeployNftFractionsData, type PostNextFractionsPlatformsDeployNftFractionsResponse, type PostNextFractionsPlatformsDeployNftFractionsResponses, type PostNextFractionsSalesNftFractionsData, type PostNextFractionsSalesNftFractionsResponse, type PostNextFractionsSalesNftFractionsResponses, 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 PostStakingTemplatesRwaV0DistributeRewardsData, type PostStakingTemplatesRwaV0DistributeRewardsResponse, type PostStakingTemplatesRwaV0DistributeRewardsResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, 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 PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployNidData, type PostV0FractionsPlatformsDeployNidResponse, type PostV0FractionsPlatformsDeployNidResponses, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesActivityData, type PostV0FractionsSalesActivityResponse, type PostV0FractionsSalesActivityResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCheckAndJumpToNonFundedData, type PostV0FractionsSalesCheckAndJumpToNonFundedResponse, type PostV0FractionsSalesCheckAndJumpToNonFundedResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesFractionsData, type PostV0FractionsSalesFractionsResponse, type PostV0FractionsSalesFractionsResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesPurchaseStatisticsData, type PostV0FractionsSalesPurchaseStatisticsResponse, type PostV0FractionsSalesPurchaseStatisticsResponses, type PostV0FractionsSalesReceiveFundsAfterNonFundedData, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponse, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponses, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsData, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponse, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponses, type PostV0FractionsSalesRecoverData, type PostV0FractionsSalesRecoverResponse, type PostV0FractionsSalesRecoverResponses, type PostV0FractionsSalesRejectData, type PostV0FractionsSalesRejectResponse, type PostV0FractionsSalesRejectResponses, type PostV0FractionsSalesSearchData, type PostV0FractionsSalesSearchResponse, type PostV0FractionsSalesSearchResponses, type PostV0FractionsSalesSetFeeCapLimitData, type PostV0FractionsSalesSetFeeCapLimitResponse, type PostV0FractionsSalesSetFeeCapLimitResponses, type PostV0FractionsSalesStatisticsData, type PostV0FractionsSalesStatisticsResponse, type PostV0FractionsSalesStatisticsResponses, type PostV0FractionsSalesUnlockWrappedAssetsData, type PostV0FractionsSalesUnlockWrappedAssetsResponse, type PostV0FractionsSalesUnlockWrappedAssetsResponses, type PostV0FractionsSalesVestingClaimData, type PostV0FractionsSalesVestingClaimResponse, type PostV0FractionsSalesVestingClaimResponses, type PostV0FractionsSalesVestingClaimStatisticsData, type PostV0FractionsSalesVestingClaimStatisticsResponse, type PostV0FractionsSalesVestingClaimStatisticsResponses, type PostV0FractionsSalesVestingEditCliffData, type PostV0FractionsSalesVestingEditCliffResponse, type PostV0FractionsSalesVestingEditCliffResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PostV0FractionsSalesWithdrawSearchData, type PostV0FractionsSalesWithdrawSearchResponse, type PostV0FractionsSalesWithdrawSearchResponses, type PostV0FractionsSigAuthDataData, type PostV0FractionsSigAuthDataResponse, type PostV0FractionsSigAuthDataResponses, type PostV0FractionsSigNonceData, type PostV0FractionsSigNonceResponse, type PostV0FractionsSigNonceResponses, type PostV0FractionsStatisticsData, type PostV0FractionsStatisticsHoldersData, type PostV0FractionsStatisticsHoldersResponse, type PostV0FractionsStatisticsHoldersResponses, type PostV0FractionsStatisticsResponse, type PostV0FractionsStatisticsResponses, type PostV0FractionsStatisticsSalesData, type PostV0FractionsStatisticsSalesResponse, type PostV0FractionsStatisticsSalesResponses, type PostV0FractionsStatisticsTtvData, type PostV0FractionsStatisticsTtvResponse, type PostV0FractionsStatisticsTtvResponses, api, envs, getEnv, handleApiResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -2662,7 +2662,6 @@ type PostIssuanceErc20DeployData = {
|
|
|
2662
2662
|
supplyCap: string;
|
|
2663
2663
|
defaultTokenAdmin: string;
|
|
2664
2664
|
minter: string;
|
|
2665
|
-
gatingSigner?: string;
|
|
2666
2665
|
};
|
|
2667
2666
|
path?: never;
|
|
2668
2667
|
query?: never;
|
|
@@ -2670,7 +2669,7 @@ type PostIssuanceErc20DeployData = {
|
|
|
2670
2669
|
};
|
|
2671
2670
|
type PostIssuanceErc20DeployResponses = {
|
|
2672
2671
|
/**
|
|
2673
|
-
* Returns transaction data for deploying
|
|
2672
|
+
* Returns transaction data for deploying an ERC20 token via factory
|
|
2674
2673
|
*/
|
|
2675
2674
|
200: {
|
|
2676
2675
|
data: string;
|
|
@@ -2684,6 +2683,36 @@ type PostIssuanceErc20DeployResponses = {
|
|
|
2684
2683
|
};
|
|
2685
2684
|
};
|
|
2686
2685
|
type PostIssuanceErc20DeployResponse = PostIssuanceErc20DeployResponses[keyof PostIssuanceErc20DeployResponses];
|
|
2686
|
+
type PostIssuanceErc20DeployGatedData = {
|
|
2687
|
+
body?: {
|
|
2688
|
+
chainId: 11155111 | 72080;
|
|
2689
|
+
tokenName: string;
|
|
2690
|
+
tokenSymbol: string;
|
|
2691
|
+
supplyCap: string;
|
|
2692
|
+
defaultTokenAdmin: string;
|
|
2693
|
+
minter: string;
|
|
2694
|
+
gatingSigner?: string;
|
|
2695
|
+
};
|
|
2696
|
+
path?: never;
|
|
2697
|
+
query?: never;
|
|
2698
|
+
url: '/issuance/erc20/deployGated';
|
|
2699
|
+
};
|
|
2700
|
+
type PostIssuanceErc20DeployGatedResponses = {
|
|
2701
|
+
/**
|
|
2702
|
+
* Returns transaction data for deploying a gated ERC20 token via factory
|
|
2703
|
+
*/
|
|
2704
|
+
200: {
|
|
2705
|
+
data: string;
|
|
2706
|
+
to: string;
|
|
2707
|
+
details: {
|
|
2708
|
+
functionName: string;
|
|
2709
|
+
address: string;
|
|
2710
|
+
abi: Array<unknown>;
|
|
2711
|
+
args: Array<unknown>;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
};
|
|
2715
|
+
type PostIssuanceErc20DeployGatedResponse = PostIssuanceErc20DeployGatedResponses[keyof PostIssuanceErc20DeployGatedResponses];
|
|
2687
2716
|
type GetIssuanceErc20GetDeployEventData = {
|
|
2688
2717
|
body?: never;
|
|
2689
2718
|
path?: never;
|
|
@@ -2981,7 +3010,6 @@ type PostIssuanceErc721DeployData = {
|
|
|
2981
3010
|
baseURI: string;
|
|
2982
3011
|
defaultTokenAdmin: string;
|
|
2983
3012
|
minter: string;
|
|
2984
|
-
gatingSigner?: string;
|
|
2985
3013
|
};
|
|
2986
3014
|
path?: never;
|
|
2987
3015
|
query?: never;
|
|
@@ -3003,6 +3031,36 @@ type PostIssuanceErc721DeployResponses = {
|
|
|
3003
3031
|
};
|
|
3004
3032
|
};
|
|
3005
3033
|
type PostIssuanceErc721DeployResponse = PostIssuanceErc721DeployResponses[keyof PostIssuanceErc721DeployResponses];
|
|
3034
|
+
type PostIssuanceErc721DeployGatedData = {
|
|
3035
|
+
body?: {
|
|
3036
|
+
chainId: 11155111 | 72080;
|
|
3037
|
+
tokenName: string;
|
|
3038
|
+
tokenSymbol: string;
|
|
3039
|
+
baseURI: string;
|
|
3040
|
+
defaultTokenAdmin: string;
|
|
3041
|
+
minter: string;
|
|
3042
|
+
gatingSigner?: string;
|
|
3043
|
+
};
|
|
3044
|
+
path?: never;
|
|
3045
|
+
query?: never;
|
|
3046
|
+
url: '/issuance/erc721/deployGated';
|
|
3047
|
+
};
|
|
3048
|
+
type PostIssuanceErc721DeployGatedResponses = {
|
|
3049
|
+
/**
|
|
3050
|
+
* Returns transaction data for deploying a gated ERC721 token via factory
|
|
3051
|
+
*/
|
|
3052
|
+
200: {
|
|
3053
|
+
data: string;
|
|
3054
|
+
to: string;
|
|
3055
|
+
details: {
|
|
3056
|
+
functionName: string;
|
|
3057
|
+
address: string;
|
|
3058
|
+
abi: Array<unknown>;
|
|
3059
|
+
args: Array<unknown>;
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
type PostIssuanceErc721DeployGatedResponse = PostIssuanceErc721DeployGatedResponses[keyof PostIssuanceErc721DeployGatedResponses];
|
|
3006
3064
|
type GetIssuanceErc721GetDeployEventData = {
|
|
3007
3065
|
body?: never;
|
|
3008
3066
|
path?: never;
|
|
@@ -5076,4 +5134,4 @@ type ApiResponse<T> = {
|
|
|
5076
5134
|
};
|
|
5077
5135
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
5078
5136
|
|
|
5079
|
-
export { type ApiClient, type ApiResponse, type ClientOptions, type GetGeneralBalanceData, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetIssuanceErc20GetDeployEventData, type GetIssuanceErc20GetDeployEventResponse, type GetIssuanceErc20GetDeployEventResponses, type GetIssuanceErc721GetDeployEventData, type GetIssuanceErc721GetDeployEventResponse, type GetIssuanceErc721GetDeployEventResponses, type GetIssuanceProxyDeployProxyAdminData, type GetIssuanceProxyDeployProxyAdminResponse, type GetIssuanceProxyDeployProxyAdminResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsPlatformsInitCompilotData, type GetV0FractionsPlatformsInitCompilotResponse, type GetV0FractionsPlatformsInitCompilotResponses, type GetV0FractionsPlatformsInitNftFractionsCompilotData, type GetV0FractionsPlatformsInitNftFractionsCompilotResponse, type GetV0FractionsPlatformsInitNftFractionsCompilotResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GetV0FractionsSalesGetFractionsCreatedEventData, type GetV0FractionsSalesGetFractionsCreatedEventResponse, type GetV0FractionsSalesGetFractionsCreatedEventResponses, type GetV0FractionsSalesGetVaultAddressData, type GetV0FractionsSalesGetVaultAddressResponse, type GetV0FractionsSalesGetVaultAddressResponses, type GetV0FractionsSalesGetWithdrawEventData, type GetV0FractionsSalesGetWithdrawEventResponse, type GetV0FractionsSalesGetWithdrawEventResponses, type GetV0FractionsSalesVestingGetClaimVestedTokensEventData, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponse, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses, type IApiConfig, type IEnv, type IEnvName, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostIssuanceErc20ApproveData, type PostIssuanceErc20ApproveResponse, type PostIssuanceErc20ApproveResponses, type PostIssuanceErc20BurnData, type PostIssuanceErc20BurnResponse, type PostIssuanceErc20BurnResponses, type PostIssuanceErc20DeployData, type PostIssuanceErc20DeployResponse, type PostIssuanceErc20DeployResponses, type PostIssuanceErc20GrantRoleData, type PostIssuanceErc20GrantRoleResponse, type PostIssuanceErc20GrantRoleResponses, type PostIssuanceErc20InitializeData, type PostIssuanceErc20InitializeResponse, type PostIssuanceErc20InitializeResponses, type PostIssuanceErc20MintData, type PostIssuanceErc20MintResponse, type PostIssuanceErc20MintResponses, type PostIssuanceErc20RecoverData, type PostIssuanceErc20RecoverResponse, type PostIssuanceErc20RecoverResponses, type PostIssuanceErc20RenounceRoleData, type PostIssuanceErc20RenounceRoleResponse, type PostIssuanceErc20RenounceRoleResponses, type PostIssuanceErc20RevokeRoleData, type PostIssuanceErc20RevokeRoleResponse, type PostIssuanceErc20RevokeRoleResponses, type PostIssuanceErc20TransferData, type PostIssuanceErc20TransferFromData, type PostIssuanceErc20TransferFromResponse, type PostIssuanceErc20TransferFromResponses, type PostIssuanceErc20TransferResponse, type PostIssuanceErc20TransferResponses, type PostIssuanceErc721ApproveData, type PostIssuanceErc721ApproveResponse, type PostIssuanceErc721ApproveResponses, type PostIssuanceErc721BurnData, type PostIssuanceErc721BurnResponse, type PostIssuanceErc721BurnResponses, type PostIssuanceErc721DeployData, type PostIssuanceErc721DeployResponse, type PostIssuanceErc721DeployResponses, type PostIssuanceErc721GrantRoleData, type PostIssuanceErc721GrantRoleResponse, type PostIssuanceErc721GrantRoleResponses, type PostIssuanceErc721InitializeData, type PostIssuanceErc721InitializeResponse, type PostIssuanceErc721InitializeResponses, type PostIssuanceErc721MintData, type PostIssuanceErc721MintResponse, type PostIssuanceErc721MintResponses, type PostIssuanceErc721RecoverData, type PostIssuanceErc721RecoverResponse, type PostIssuanceErc721RecoverResponses, type PostIssuanceErc721RenounceRoleData, type PostIssuanceErc721RenounceRoleResponse, type PostIssuanceErc721RenounceRoleResponses, type PostIssuanceErc721RevokeRoleData, type PostIssuanceErc721RevokeRoleResponse, type PostIssuanceErc721RevokeRoleResponses, type PostIssuanceErc721SetBaseUriData, type PostIssuanceErc721SetBaseUriResponse, type PostIssuanceErc721SetBaseUriResponses, type PostIssuanceErc721SetTokenUriData, type PostIssuanceErc721SetTokenUriResponse, type PostIssuanceErc721SetTokenUriResponses, type PostIssuanceErc721TransferFromData, type PostIssuanceErc721TransferFromResponse, type PostIssuanceErc721TransferFromResponses, type PostIssuanceProxyDeployTransparentProxyData, type PostIssuanceProxyDeployTransparentProxyResponse, type PostIssuanceProxyDeployTransparentProxyResponses, type PostIssuanceProxyUpgradeTransparentProxyData, type PostIssuanceProxyUpgradeTransparentProxyResponse, type PostIssuanceProxyUpgradeTransparentProxyResponses, type PostNextFractionsLendingBuybackData, type PostNextFractionsLendingBuybackResponse, type PostNextFractionsLendingBuybackResponses, type PostNextFractionsLendingCreateSaleData, type PostNextFractionsLendingCreateSaleResponse, type PostNextFractionsLendingCreateSaleResponses, type PostNextFractionsLendingDeployData, type PostNextFractionsLendingDeployResponse, type PostNextFractionsLendingDeployResponses, type PostNextFractionsLendingPurchaseData, type PostNextFractionsLendingPurchaseResponse, type PostNextFractionsLendingPurchaseResponses, type PostNextFractionsLendingSetCollateralPriceData, type PostNextFractionsLendingSetCollateralPriceResponse, type PostNextFractionsLendingSetCollateralPriceResponses, type PostNextFractionsPlatformsDeployNftFractionsData, type PostNextFractionsPlatformsDeployNftFractionsResponse, type PostNextFractionsPlatformsDeployNftFractionsResponses, type PostNextFractionsSalesNftFractionsData, type PostNextFractionsSalesNftFractionsResponse, type PostNextFractionsSalesNftFractionsResponses, 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 PostStakingTemplatesRwaV0DistributeRewardsData, type PostStakingTemplatesRwaV0DistributeRewardsResponse, type PostStakingTemplatesRwaV0DistributeRewardsResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, 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 PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployNidData, type PostV0FractionsPlatformsDeployNidResponse, type PostV0FractionsPlatformsDeployNidResponses, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesActivityData, type PostV0FractionsSalesActivityResponse, type PostV0FractionsSalesActivityResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCheckAndJumpToNonFundedData, type PostV0FractionsSalesCheckAndJumpToNonFundedResponse, type PostV0FractionsSalesCheckAndJumpToNonFundedResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesFractionsData, type PostV0FractionsSalesFractionsResponse, type PostV0FractionsSalesFractionsResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesPurchaseStatisticsData, type PostV0FractionsSalesPurchaseStatisticsResponse, type PostV0FractionsSalesPurchaseStatisticsResponses, type PostV0FractionsSalesReceiveFundsAfterNonFundedData, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponse, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponses, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsData, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponse, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponses, type PostV0FractionsSalesRecoverData, type PostV0FractionsSalesRecoverResponse, type PostV0FractionsSalesRecoverResponses, type PostV0FractionsSalesRejectData, type PostV0FractionsSalesRejectResponse, type PostV0FractionsSalesRejectResponses, type PostV0FractionsSalesSearchData, type PostV0FractionsSalesSearchResponse, type PostV0FractionsSalesSearchResponses, type PostV0FractionsSalesSetFeeCapLimitData, type PostV0FractionsSalesSetFeeCapLimitResponse, type PostV0FractionsSalesSetFeeCapLimitResponses, type PostV0FractionsSalesStatisticsData, type PostV0FractionsSalesStatisticsResponse, type PostV0FractionsSalesStatisticsResponses, type PostV0FractionsSalesUnlockWrappedAssetsData, type PostV0FractionsSalesUnlockWrappedAssetsResponse, type PostV0FractionsSalesUnlockWrappedAssetsResponses, type PostV0FractionsSalesVestingClaimData, type PostV0FractionsSalesVestingClaimResponse, type PostV0FractionsSalesVestingClaimResponses, type PostV0FractionsSalesVestingClaimStatisticsData, type PostV0FractionsSalesVestingClaimStatisticsResponse, type PostV0FractionsSalesVestingClaimStatisticsResponses, type PostV0FractionsSalesVestingEditCliffData, type PostV0FractionsSalesVestingEditCliffResponse, type PostV0FractionsSalesVestingEditCliffResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PostV0FractionsSalesWithdrawSearchData, type PostV0FractionsSalesWithdrawSearchResponse, type PostV0FractionsSalesWithdrawSearchResponses, type PostV0FractionsSigAuthDataData, type PostV0FractionsSigAuthDataResponse, type PostV0FractionsSigAuthDataResponses, type PostV0FractionsSigNonceData, type PostV0FractionsSigNonceResponse, type PostV0FractionsSigNonceResponses, type PostV0FractionsStatisticsData, type PostV0FractionsStatisticsHoldersData, type PostV0FractionsStatisticsHoldersResponse, type PostV0FractionsStatisticsHoldersResponses, type PostV0FractionsStatisticsResponse, type PostV0FractionsStatisticsResponses, type PostV0FractionsStatisticsSalesData, type PostV0FractionsStatisticsSalesResponse, type PostV0FractionsStatisticsSalesResponses, type PostV0FractionsStatisticsTtvData, type PostV0FractionsStatisticsTtvResponse, type PostV0FractionsStatisticsTtvResponses, api, envs, getEnv, handleApiResponse };
|
|
5137
|
+
export { type ApiClient, type ApiResponse, type ClientOptions, type GetGeneralBalanceData, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetIssuanceErc20GetDeployEventData, type GetIssuanceErc20GetDeployEventResponse, type GetIssuanceErc20GetDeployEventResponses, type GetIssuanceErc721GetDeployEventData, type GetIssuanceErc721GetDeployEventResponse, type GetIssuanceErc721GetDeployEventResponses, type GetIssuanceProxyDeployProxyAdminData, type GetIssuanceProxyDeployProxyAdminResponse, type GetIssuanceProxyDeployProxyAdminResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GetV0FractionsMarketsDeployEventData, type GetV0FractionsMarketsDeployEventResponse, type GetV0FractionsMarketsDeployEventResponses, type GetV0FractionsMarketsGetData, type GetV0FractionsMarketsGetError, type GetV0FractionsMarketsGetErrors, type GetV0FractionsMarketsGetResponse, type GetV0FractionsMarketsGetResponses, type GetV0FractionsPlatformsInitCompilotData, type GetV0FractionsPlatformsInitCompilotResponse, type GetV0FractionsPlatformsInitCompilotResponses, type GetV0FractionsPlatformsInitNftFractionsCompilotData, type GetV0FractionsPlatformsInitNftFractionsCompilotResponse, type GetV0FractionsPlatformsInitNftFractionsCompilotResponses, type GetV0FractionsRolesData, type GetV0FractionsRolesResponse, type GetV0FractionsRolesResponses, type GetV0FractionsSalesGetFractionsCreatedEventData, type GetV0FractionsSalesGetFractionsCreatedEventResponse, type GetV0FractionsSalesGetFractionsCreatedEventResponses, type GetV0FractionsSalesGetVaultAddressData, type GetV0FractionsSalesGetVaultAddressResponse, type GetV0FractionsSalesGetVaultAddressResponses, type GetV0FractionsSalesGetWithdrawEventData, type GetV0FractionsSalesGetWithdrawEventResponse, type GetV0FractionsSalesGetWithdrawEventResponses, type GetV0FractionsSalesVestingGetClaimVestedTokensEventData, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponse, type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses, type IApiConfig, type IEnv, type IEnvName, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostIssuanceErc20ApproveData, type PostIssuanceErc20ApproveResponse, type PostIssuanceErc20ApproveResponses, type PostIssuanceErc20BurnData, type PostIssuanceErc20BurnResponse, type PostIssuanceErc20BurnResponses, type PostIssuanceErc20DeployData, type PostIssuanceErc20DeployGatedData, type PostIssuanceErc20DeployGatedResponse, type PostIssuanceErc20DeployGatedResponses, type PostIssuanceErc20DeployResponse, type PostIssuanceErc20DeployResponses, type PostIssuanceErc20GrantRoleData, type PostIssuanceErc20GrantRoleResponse, type PostIssuanceErc20GrantRoleResponses, type PostIssuanceErc20InitializeData, type PostIssuanceErc20InitializeResponse, type PostIssuanceErc20InitializeResponses, type PostIssuanceErc20MintData, type PostIssuanceErc20MintResponse, type PostIssuanceErc20MintResponses, type PostIssuanceErc20RecoverData, type PostIssuanceErc20RecoverResponse, type PostIssuanceErc20RecoverResponses, type PostIssuanceErc20RenounceRoleData, type PostIssuanceErc20RenounceRoleResponse, type PostIssuanceErc20RenounceRoleResponses, type PostIssuanceErc20RevokeRoleData, type PostIssuanceErc20RevokeRoleResponse, type PostIssuanceErc20RevokeRoleResponses, type PostIssuanceErc20TransferData, type PostIssuanceErc20TransferFromData, type PostIssuanceErc20TransferFromResponse, type PostIssuanceErc20TransferFromResponses, type PostIssuanceErc20TransferResponse, type PostIssuanceErc20TransferResponses, type PostIssuanceErc721ApproveData, type PostIssuanceErc721ApproveResponse, type PostIssuanceErc721ApproveResponses, type PostIssuanceErc721BurnData, type PostIssuanceErc721BurnResponse, type PostIssuanceErc721BurnResponses, type PostIssuanceErc721DeployData, type PostIssuanceErc721DeployGatedData, type PostIssuanceErc721DeployGatedResponse, type PostIssuanceErc721DeployGatedResponses, type PostIssuanceErc721DeployResponse, type PostIssuanceErc721DeployResponses, type PostIssuanceErc721GrantRoleData, type PostIssuanceErc721GrantRoleResponse, type PostIssuanceErc721GrantRoleResponses, type PostIssuanceErc721InitializeData, type PostIssuanceErc721InitializeResponse, type PostIssuanceErc721InitializeResponses, type PostIssuanceErc721MintData, type PostIssuanceErc721MintResponse, type PostIssuanceErc721MintResponses, type PostIssuanceErc721RecoverData, type PostIssuanceErc721RecoverResponse, type PostIssuanceErc721RecoverResponses, type PostIssuanceErc721RenounceRoleData, type PostIssuanceErc721RenounceRoleResponse, type PostIssuanceErc721RenounceRoleResponses, type PostIssuanceErc721RevokeRoleData, type PostIssuanceErc721RevokeRoleResponse, type PostIssuanceErc721RevokeRoleResponses, type PostIssuanceErc721SetBaseUriData, type PostIssuanceErc721SetBaseUriResponse, type PostIssuanceErc721SetBaseUriResponses, type PostIssuanceErc721SetTokenUriData, type PostIssuanceErc721SetTokenUriResponse, type PostIssuanceErc721SetTokenUriResponses, type PostIssuanceErc721TransferFromData, type PostIssuanceErc721TransferFromResponse, type PostIssuanceErc721TransferFromResponses, type PostIssuanceProxyDeployTransparentProxyData, type PostIssuanceProxyDeployTransparentProxyResponse, type PostIssuanceProxyDeployTransparentProxyResponses, type PostIssuanceProxyUpgradeTransparentProxyData, type PostIssuanceProxyUpgradeTransparentProxyResponse, type PostIssuanceProxyUpgradeTransparentProxyResponses, type PostNextFractionsLendingBuybackData, type PostNextFractionsLendingBuybackResponse, type PostNextFractionsLendingBuybackResponses, type PostNextFractionsLendingCreateSaleData, type PostNextFractionsLendingCreateSaleResponse, type PostNextFractionsLendingCreateSaleResponses, type PostNextFractionsLendingDeployData, type PostNextFractionsLendingDeployResponse, type PostNextFractionsLendingDeployResponses, type PostNextFractionsLendingPurchaseData, type PostNextFractionsLendingPurchaseResponse, type PostNextFractionsLendingPurchaseResponses, type PostNextFractionsLendingSetCollateralPriceData, type PostNextFractionsLendingSetCollateralPriceResponse, type PostNextFractionsLendingSetCollateralPriceResponses, type PostNextFractionsPlatformsDeployNftFractionsData, type PostNextFractionsPlatformsDeployNftFractionsResponse, type PostNextFractionsPlatformsDeployNftFractionsResponses, type PostNextFractionsSalesNftFractionsData, type PostNextFractionsSalesNftFractionsResponse, type PostNextFractionsSalesNftFractionsResponses, 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 PostStakingTemplatesRwaV0DistributeRewardsData, type PostStakingTemplatesRwaV0DistributeRewardsResponse, type PostStakingTemplatesRwaV0DistributeRewardsResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, 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 PostV0FractionsFractionsApproveWrapperAsErc20SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc20SpenderResponses, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderData, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponse, type PostV0FractionsFractionsApproveWrapperAsErc721SpenderResponses, type PostV0FractionsFractionsApproveWrapperData, type PostV0FractionsFractionsApproveWrapperResponse, type PostV0FractionsFractionsApproveWrapperResponses, type PostV0FractionsMarketsSearchData, type PostV0FractionsMarketsSearchResponse, type PostV0FractionsMarketsSearchResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidData, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawNidResponses, type PostV0FractionsPlatformsDeployContinuousWithdrawResponse, type PostV0FractionsPlatformsDeployContinuousWithdrawResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployNidData, type PostV0FractionsPlatformsDeployNidResponse, type PostV0FractionsPlatformsDeployNidResponses, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesActivityData, type PostV0FractionsSalesActivityResponse, type PostV0FractionsSalesActivityResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCheckAndJumpToNonFundedData, type PostV0FractionsSalesCheckAndJumpToNonFundedResponse, type PostV0FractionsSalesCheckAndJumpToNonFundedResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesFractionsData, type PostV0FractionsSalesFractionsResponse, type PostV0FractionsSalesFractionsResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesPurchaseStatisticsData, type PostV0FractionsSalesPurchaseStatisticsResponse, type PostV0FractionsSalesPurchaseStatisticsResponses, type PostV0FractionsSalesReceiveFundsAfterNonFundedData, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponse, type PostV0FractionsSalesReceiveFundsAfterNonFundedResponses, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsData, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponse, type PostV0FractionsSalesReceiveNonPurchasedWrappedAssetsResponses, type PostV0FractionsSalesRecoverData, type PostV0FractionsSalesRecoverResponse, type PostV0FractionsSalesRecoverResponses, type PostV0FractionsSalesRejectData, type PostV0FractionsSalesRejectResponse, type PostV0FractionsSalesRejectResponses, type PostV0FractionsSalesSearchData, type PostV0FractionsSalesSearchResponse, type PostV0FractionsSalesSearchResponses, type PostV0FractionsSalesSetFeeCapLimitData, type PostV0FractionsSalesSetFeeCapLimitResponse, type PostV0FractionsSalesSetFeeCapLimitResponses, type PostV0FractionsSalesStatisticsData, type PostV0FractionsSalesStatisticsResponse, type PostV0FractionsSalesStatisticsResponses, type PostV0FractionsSalesUnlockWrappedAssetsData, type PostV0FractionsSalesUnlockWrappedAssetsResponse, type PostV0FractionsSalesUnlockWrappedAssetsResponses, type PostV0FractionsSalesVestingClaimData, type PostV0FractionsSalesVestingClaimResponse, type PostV0FractionsSalesVestingClaimResponses, type PostV0FractionsSalesVestingClaimStatisticsData, type PostV0FractionsSalesVestingClaimStatisticsResponse, type PostV0FractionsSalesVestingClaimStatisticsResponses, type PostV0FractionsSalesVestingEditCliffData, type PostV0FractionsSalesVestingEditCliffResponse, type PostV0FractionsSalesVestingEditCliffResponses, type PostV0FractionsSalesWithdrawPaymentTokenData, type PostV0FractionsSalesWithdrawPaymentTokenResponse, type PostV0FractionsSalesWithdrawPaymentTokenResponses, type PostV0FractionsSalesWithdrawSearchData, type PostV0FractionsSalesWithdrawSearchResponse, type PostV0FractionsSalesWithdrawSearchResponses, type PostV0FractionsSigAuthDataData, type PostV0FractionsSigAuthDataResponse, type PostV0FractionsSigAuthDataResponses, type PostV0FractionsSigNonceData, type PostV0FractionsSigNonceResponse, type PostV0FractionsSigNonceResponses, type PostV0FractionsStatisticsData, type PostV0FractionsStatisticsHoldersData, type PostV0FractionsStatisticsHoldersResponse, type PostV0FractionsStatisticsHoldersResponses, type PostV0FractionsStatisticsResponse, type PostV0FractionsStatisticsResponses, type PostV0FractionsStatisticsSalesData, type PostV0FractionsStatisticsSalesResponse, type PostV0FractionsStatisticsSalesResponses, type PostV0FractionsStatisticsTtvData, type PostV0FractionsStatisticsTtvResponse, type PostV0FractionsStatisticsTtvResponses, api, envs, getEnv, handleApiResponse };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createClient as Ft}from"@hey-api/client-fetch";var s=async e=>(e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),o=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),a=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r)),e),n=async e=>(e.createdAt=new Date(e.createdAt),e),p=async e=>(e=e.map(r=>(r.unlockTimestamp=new Date(r.unlockTimestamp),r.startTimestamp=new Date(r.startTimestamp),r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),l=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r)),e),i=async e=>(e.unlockTimestamp=new Date(e.unlockTimestamp),e.startTimestamp=new Date(e.startTimestamp),e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),c=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),u=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),k=async e=>(e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),T=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e);var h=async e=>(e=e.map(r=>(r.timeline.startDate=new Date(r.timeline.startDate),r.timeline.endDate=new Date(r.timeline.endDate),r.vesting.cliffDate=new Date(r.vesting.cliffDate),r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),S=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e);import{createClient as Ot,createConfig as ft}from"@hey-api/client-fetch";var t=Ot(ft({baseUrl:"http://localhost:3000"}));var R=e=>(e.client??t).get({responseTransformer:s,url:"/staking/platforms/get/v0",...e}),P=e=>(e?.client??t).post({responseTransformer:o,url:"/staking/platforms/search/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),E=e=>(e?.client??t).post({responseTransformer:a,url:"/staking/pools/searchPools/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),w=e=>(e.client??t).get({responseTransformer:n,url:"/staking/pools/getPool/v0",...e}),d=e=>(e?.client??t).post({responseTransformer:p,url:"/staking/stakes/searchStakes/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),V=e=>(e?.client??t).post({responseTransformer:l,url:"/staking/stakes/searchStakeEvents/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),g=e=>(e.client??t).get({responseTransformer:i,url:"/staking/stakes/getStake/v0",...e}),m=e=>(e?.client??t).get({url:"/staking/roles/getRoles/v0",...e}),O=e=>(e?.client??t).post({url:"/staking/roles/grantRole/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),f=e=>(e?.client??t).post({responseTransformer:c,url:"/staking/roles/searchRoles/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),F=e=>(e?.client??t).post({responseTransformer:u,url:"/staking/roles/searchRoleEvents/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),D=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getPlatformDeployEvent",...e}),x=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getStakeEvent",...e}),v=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getCreatePoolEvent",...e}),y=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),G=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),C=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),I=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),A=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),b=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),N=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),L=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getPlatformDeployEvent",...e}),j=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getStakeEvent",...e}),W=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getCreatePoolEvent",...e}),U=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),B=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),M=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),z=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),J=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),H=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),K=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),q=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getPlatformDeployEvent",...e}),_=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getStakeEvent",...e}),Q=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getCreatePoolEvent",...e}),X=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Y=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Z=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),$=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ee=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),te=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),re=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),se=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/distributeRewards",...e,headers:{"Content-Type":"application/json",...e?.headers}}),oe=e=>(e.client??t).get({responseTransformer:k,url:"/v0/fractions/markets/get",...e}),ae=e=>(e?.client??t).post({responseTransformer:T,url:"/v0/fractions/markets/search",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ne=e=>(e.client??t).get({url:"/v0/fractions/markets/deployEvent",...e}),pe=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),le=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployContinuousWithdraw",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ie=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployContinuousWithdrawNid",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ce=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployNid",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ue=e=>(e.client??t).get({url:"/v0/fractions/platforms/initCompilot",...e});var ke=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapper",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Te=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapperAsErc20Spender",...e,headers:{"Content-Type":"application/json",...e?.headers}}),he=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapperAsErc721Spender",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Se=e=>(e?.client??t).get({url:"/v0/fractions/roles",...e}),Re=e=>(e?.client??t).post({url:"/v0/fractions/roles/grant",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Pe=e=>(e?.client??t).post({url:"/v0/fractions/sales/fractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ee=e=>(e.client??t).get({url:"/v0/fractions/sales/getFractionsCreatedEvent",...e}),we=e=>(e?.client??t).post({url:"/v0/fractions/sales/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),de=e=>(e?.client??t).post({url:"/v0/fractions/sales/reject",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ve=e=>(e?.client??t).post({url:"/v0/fractions/sales/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ge=e=>(e?.client??t).post({url:"/v0/fractions/sales/complete",...e,headers:{"Content-Type":"application/json",...e?.headers}}),me=e=>(e?.client??t).post({url:"/v0/fractions/sales/unlockWrappedAssets",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Oe=e=>(e?.client??t).post({url:"/v0/fractions/sales/purchase",...e,headers:{"Content-Type":"application/json",...e?.headers}}),fe=e=>(e?.client??t).post({url:"/v0/fractions/sales/purchase/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Fe=e=>(e?.client??t).post({url:"/v0/fractions/sales/withdrawPaymentToken",...e,headers:{"Content-Type":"application/json",...e?.headers}}),De=e=>(e?.client??t).post({url:"/v0/fractions/sales/receiveFundsAfterNonFunded",...e,headers:{"Content-Type":"application/json",...e?.headers}}),xe=e=>(e?.client??t).post({url:"/v0/fractions/sales/checkAndJumpToNonFunded",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ve=e=>(e?.client??t).post({url:"/v0/fractions/sales/receiveNonPurchasedWrappedAssets",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ye=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/editCliff",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ge=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/claim",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ce=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/claim/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ie=e=>(e.client??t).get({url:"/v0/fractions/sales/vesting/getClaimVestedTokensEvent",...e}),Ae=e=>(e?.client??t).post({responseTransformer:h,url:"/v0/fractions/sales/search",...e,headers:{"Content-Type":"application/json",...e?.headers}}),be=e=>(e?.client??t).post({responseTransformer:S,url:"/v0/fractions/sales/activity",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ne=e=>(e?.client??t).post({url:"/v0/fractions/sales/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Le=e=>(e?.client??t).post({url:"/v0/fractions/sales/setFeeCapLimit",...e,headers:{"Content-Type":"application/json",...e?.headers}}),je=e=>(e.client??t).get({url:"/v0/fractions/sales/getWithdrawEvent",...e});var We=e=>(e?.client??t).post({url:"/v0/fractions/sig/nonce",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ue=e=>(e?.client??t).post({url:"/v0/fractions/sig/authData",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Be=e=>(e?.client??t).post({url:"/general/estimateGas",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Me=e=>(e.client??t).get({url:"/general/balance",...e}),ze=e=>(e?.client??t).post({url:"/general/balances",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Je=e=>(e?.client??t).post({url:"/general/searchBalances",...e,headers:{"Content-Type":"application/json",...e?.headers}}),He=e=>(e?.client??t).post({url:"/issuance/erc20/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Ke=e=>(e?.client??t).post({url:"/issuance/erc20/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),qe=e=>(e?.client??t).post({url:"/issuance/erc20/burn",...e,headers:{"Content-Type":"application/json",...e?.headers}}),_e=e=>(e?.client??t).post({url:"/issuance/erc20/mint",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Qe=e=>(e?.client??t).post({url:"/issuance/erc20/transfer",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Xe=e=>(e?.client??t).post({url:"/issuance/erc20/transferFrom",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ye=e=>(e?.client??t).post({url:"/issuance/erc20/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ze=e=>(e?.client??t).post({url:"/issuance/erc20/grantRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),$e=e=>(e?.client??t).post({url:"/issuance/erc20/revokeRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),et=e=>(e?.client??t).post({url:"/issuance/erc20/renounceRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),tt=e=>(e?.client??t).post({url:"/issuance/erc20/initialize",...e,headers:{"Content-Type":"application/json",...e?.headers}}),rt=e=>(e?.client??t).post({url:"/issuance/erc721/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}});var st=e=>(e?.client??t).post({url:"/issuance/erc721/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ot=e=>(e?.client??t).post({url:"/issuance/erc721/burn",...e,headers:{"Content-Type":"application/json",...e?.headers}}),at=e=>(e?.client??t).post({url:"/issuance/erc721/mint",...e,headers:{"Content-Type":"application/json",...e?.headers}}),nt=e=>(e?.client??t).post({url:"/issuance/erc721/transferFrom",...e,headers:{"Content-Type":"application/json",...e?.headers}}),pt=e=>(e?.client??t).post({url:"/issuance/erc721/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),lt=e=>(e?.client??t).post({url:"/issuance/erc721/grantRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),it=e=>(e?.client??t).post({url:"/issuance/erc721/revokeRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ct=e=>(e?.client??t).post({url:"/issuance/erc721/renounceRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ut=e=>(e?.client??t).post({url:"/issuance/erc721/setBaseURI",...e,headers:{"Content-Type":"application/json",...e?.headers}}),kt=e=>(e?.client??t).post({url:"/issuance/erc721/setTokenURI",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Tt=e=>(e?.client??t).post({url:"/issuance/erc721/initialize",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ht=e=>(e?.client??t).get({url:"/issuance/proxy/deployProxyAdmin",...e}),St=e=>(e?.client??t).post({url:"/issuance/proxy/deployTransparentProxy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Rt=e=>(e?.client??t).post({url:"/issuance/proxy/upgradeTransparentProxy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Pt=e=>(e?.client??t).post({url:"/next/fractions/platforms/deployNftFractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Et=e=>(e?.client??t).post({url:"/next/fractions/sales/nftFractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),wt=e=>(e?.client??t).post({url:"/next/fractions/lending/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),dt=e=>(e?.client??t).post({url:"/next/fractions/lending/createSale",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Vt=e=>(e?.client??t).post({url:"/next/fractions/lending/purchase",...e,headers:{"Content-Type":"application/json",...e?.headers}}),gt=e=>(e?.client??t).post({url:"/next/fractions/lending/setCollateralPrice",...e,headers:{"Content-Type":"application/json",...e?.headers}}),mt=e=>(e?.client??t).post({url:"/next/fractions/lending/buyback",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Mt={createClient:(e,r={})=>Ft({baseUrl:e.env.baseUrl,...r,headers:{Authorization:e.apiKey,...r.headers}}),general:{searchBalances:Je,getBalances:ze,getBalance:Me,estimateGas:Be},stakingTemplates:{reputation:{createPlatform:N,createPool:b,getReward:y,partialUnstake:G,restake:C,stake:I,unstake:A,getCreatePoolEvent:v,getPlatformDeployEvent:D,getStakeEvent:x},reputationLock:{createPlatform:K,createPool:H,getReward:U,partialUnstake:B,restake:M,stake:z,unstake:J,getCreatePoolEvent:W,getPlatformDeployEvent:L,getStakeEvent:j},rwa:{createPlatform:re,createPool:te,getReward:X,distributeRewards:se,partialUnstake:Y,restake:Z,stake:$,unstake:ee,getCreatePoolEvent:Q,getPlatformDeployEvent:q,getStakeEvent:_}},staking:{roles:{getRoles:m,grantRole:O,searchRoles:f,searchRoleEvents:F},stakes:{getStake:g,searchStakes:d,searchStakeEvents:V},pools:{getPool:w,searchPools:E},platforms:{getPlatform:R,searchPlatforms:P}},fractions:{market:{deployMarket:pe,deployNidMarket:ce,deployContinousWithdrawal:le,deployContinousWithdrawalNid:ie,getMarketDeployedEvent:ne,search:ae,get:oe,initCompilot:ue},roles:{grantRole:Re,getRoles:Se},sales:{createFractions:Pe,approveSale:we,rejectSale:de,recover:Ve,completeSale:ge,purchaseSale:Oe,investorStatistics:fe,activity:be,statistics:Ne,withdrawPaymentToken:Fe,receiveFundsAfterNonFunded:De,getFractionsCreatedEvent:Ee,search:Ae,getWithdrawEvent:je,setFeeCapLimit:Le,unlockWrappedAssets:me,checkAndJumpToNonFunded:xe,receiveNonPurchased:ve,vesting:{claim:Ge,claimStatistics:Ce,getClaimVestedTokensEvent:Ie,editCliff:ye}},approvals:{approveWrapper:ke,approveWrapperToSpendErc20:Te,approveWrapperToSpendErc721:he},sig:{getAuthData:Ue,getNonce:We},issuance:{erc20:{deploy:He,approve:Ke,burn:qe,mint:_e,transfer:Qe,transferFrom:Xe,recover:Ye,grantRole:Ze,revokeRole:$e,renounceRole:et,initialize:tt},erc721:{deploy:rt,approve:st,burn:ot,mint:at,transferFrom:nt,recover:pt,grantRole:lt,revokeRole:it,renounceRole:ct,setBaseURI:ut,setTokenURI:kt,initialize:Tt},proxy:{deployProxyAdmin:ht,deployTransparentUpgradeableProxy:St,upgradeProxy:Rt}}},next:{fractions:{platforms:{deployNftFractionsMarket:Pt},sales:{createNftFractions:Et},lending:{deploy:wt,createSale:dt,buyback:mt,setCollateralPrice:gt,purchase:Vt}}}};import{apiEnvs as Dt,getApiEnv as xt}from"@evergonlabs/tmi-protocol-shared/envs";var qt=Dt,_t=xt;function Xt(e){if(e.error)throw e.error;if(!e.data)throw new Error("No response provided from the API");return e.data}export{Mt as api,qt as envs,_t as getEnv,Xt as handleApiResponse};
|
|
1
|
+
import{createClient as Dt}from"@hey-api/client-fetch";var s=async e=>(e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),o=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),a=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r)),e),n=async e=>(e.createdAt=new Date(e.createdAt),e),p=async e=>(e=e.map(r=>(r.unlockTimestamp=new Date(r.unlockTimestamp),r.startTimestamp=new Date(r.startTimestamp),r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),l=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r)),e),i=async e=>(e.unlockTimestamp=new Date(e.unlockTimestamp),e.startTimestamp=new Date(e.startTimestamp),e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),c=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),u=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),T=async e=>(e.createdAt=new Date(e.createdAt),e.updatedAt=new Date(e.updatedAt),e),k=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e);var h=async e=>(e=e.map(r=>(r.timeline.startDate=new Date(r.timeline.startDate),r.timeline.endDate=new Date(r.timeline.endDate),r.vesting.cliffDate=new Date(r.vesting.cliffDate),r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e),S=async e=>(e=e.map(r=>(r.createdAt=new Date(r.createdAt),r.updatedAt=new Date(r.updatedAt),r)),e);import{createClient as mt,createConfig as ft}from"@hey-api/client-fetch";var t=mt(ft({baseUrl:"http://localhost:3000"}));var P=e=>(e.client??t).get({responseTransformer:s,url:"/staking/platforms/get/v0",...e}),R=e=>(e?.client??t).post({responseTransformer:o,url:"/staking/platforms/search/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),E=e=>(e?.client??t).post({responseTransformer:a,url:"/staking/pools/searchPools/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),w=e=>(e.client??t).get({responseTransformer:n,url:"/staking/pools/getPool/v0",...e}),d=e=>(e?.client??t).post({responseTransformer:p,url:"/staking/stakes/searchStakes/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),V=e=>(e?.client??t).post({responseTransformer:l,url:"/staking/stakes/searchStakeEvents/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),g=e=>(e.client??t).get({responseTransformer:i,url:"/staking/stakes/getStake/v0",...e}),O=e=>(e?.client??t).get({url:"/staking/roles/getRoles/v0",...e}),m=e=>(e?.client??t).post({url:"/staking/roles/grantRole/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),f=e=>(e?.client??t).post({responseTransformer:c,url:"/staking/roles/searchRoles/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),D=e=>(e?.client??t).post({responseTransformer:u,url:"/staking/roles/searchRoleEvents/v0",...e,headers:{"Content-Type":"application/json",...e?.headers}}),F=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getPlatformDeployEvent",...e}),x=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getStakeEvent",...e}),v=e=>(e.client??t).get({url:"/stakingTemplates/reputation/v0/getCreatePoolEvent",...e}),y=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),G=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),C=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),I=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),A=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),b=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),N=e=>(e?.client??t).post({url:"/stakingTemplates/reputation/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),j=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getPlatformDeployEvent",...e}),L=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getStakeEvent",...e}),W=e=>(e.client??t).get({url:"/stakingTemplates/reputationLock/v0/getCreatePoolEvent",...e}),U=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),B=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),M=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),z=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),J=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),H=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),K=e=>(e?.client??t).post({url:"/stakingTemplates/reputationLock/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),q=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getPlatformDeployEvent",...e}),_=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getStakeEvent",...e}),Q=e=>(e.client??t).get({url:"/stakingTemplates/rwa/v0/getCreatePoolEvent",...e}),X=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/getReward",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Y=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/partialUnstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Z=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/restake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),$=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/stake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ee=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/unstake",...e,headers:{"Content-Type":"application/json",...e?.headers}}),te=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/createPool",...e,headers:{"Content-Type":"application/json",...e?.headers}}),re=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/createPlatform",...e,headers:{"Content-Type":"application/json",...e?.headers}}),se=e=>(e?.client??t).post({url:"/stakingTemplates/rwa/v0/distributeRewards",...e,headers:{"Content-Type":"application/json",...e?.headers}}),oe=e=>(e.client??t).get({responseTransformer:T,url:"/v0/fractions/markets/get",...e}),ae=e=>(e?.client??t).post({responseTransformer:k,url:"/v0/fractions/markets/search",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ne=e=>(e.client??t).get({url:"/v0/fractions/markets/deployEvent",...e}),pe=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),le=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployContinuousWithdraw",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ie=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployContinuousWithdrawNid",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ce=e=>(e?.client??t).post({url:"/v0/fractions/platforms/deployNid",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ue=e=>(e.client??t).get({url:"/v0/fractions/platforms/initCompilot",...e});var Te=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapper",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ke=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapperAsErc20Spender",...e,headers:{"Content-Type":"application/json",...e?.headers}}),he=e=>(e?.client??t).post({url:"/v0/fractions/fractions/approveWrapperAsErc721Spender",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Se=e=>(e?.client??t).get({url:"/v0/fractions/roles",...e}),Pe=e=>(e?.client??t).post({url:"/v0/fractions/roles/grant",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Re=e=>(e?.client??t).post({url:"/v0/fractions/sales/fractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ee=e=>(e.client??t).get({url:"/v0/fractions/sales/getFractionsCreatedEvent",...e}),we=e=>(e?.client??t).post({url:"/v0/fractions/sales/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),de=e=>(e?.client??t).post({url:"/v0/fractions/sales/reject",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ve=e=>(e?.client??t).post({url:"/v0/fractions/sales/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ge=e=>(e?.client??t).post({url:"/v0/fractions/sales/complete",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Oe=e=>(e?.client??t).post({url:"/v0/fractions/sales/unlockWrappedAssets",...e,headers:{"Content-Type":"application/json",...e?.headers}}),me=e=>(e?.client??t).post({url:"/v0/fractions/sales/purchase",...e,headers:{"Content-Type":"application/json",...e?.headers}}),fe=e=>(e?.client??t).post({url:"/v0/fractions/sales/purchase/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}});var De=e=>(e?.client??t).post({url:"/v0/fractions/sales/withdrawPaymentToken",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Fe=e=>(e?.client??t).post({url:"/v0/fractions/sales/receiveFundsAfterNonFunded",...e,headers:{"Content-Type":"application/json",...e?.headers}}),xe=e=>(e?.client??t).post({url:"/v0/fractions/sales/checkAndJumpToNonFunded",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ve=e=>(e?.client??t).post({url:"/v0/fractions/sales/receiveNonPurchasedWrappedAssets",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ye=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/editCliff",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ge=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/claim",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ce=e=>(e?.client??t).post({url:"/v0/fractions/sales/vesting/claim/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ie=e=>(e.client??t).get({url:"/v0/fractions/sales/vesting/getClaimVestedTokensEvent",...e}),Ae=e=>(e?.client??t).post({responseTransformer:h,url:"/v0/fractions/sales/search",...e,headers:{"Content-Type":"application/json",...e?.headers}}),be=e=>(e?.client??t).post({responseTransformer:S,url:"/v0/fractions/sales/activity",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ne=e=>(e?.client??t).post({url:"/v0/fractions/sales/statistics",...e,headers:{"Content-Type":"application/json",...e?.headers}}),je=e=>(e?.client??t).post({url:"/v0/fractions/sales/setFeeCapLimit",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Le=e=>(e.client??t).get({url:"/v0/fractions/sales/getWithdrawEvent",...e});var We=e=>(e?.client??t).post({url:"/v0/fractions/sig/nonce",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ue=e=>(e?.client??t).post({url:"/v0/fractions/sig/authData",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Be=e=>(e?.client??t).post({url:"/general/estimateGas",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Me=e=>(e.client??t).get({url:"/general/balance",...e}),ze=e=>(e?.client??t).post({url:"/general/balances",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Je=e=>(e?.client??t).post({url:"/general/searchBalances",...e,headers:{"Content-Type":"application/json",...e?.headers}}),He=e=>(e?.client??t).post({url:"/issuance/erc20/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Ke=e=>(e?.client??t).post({url:"/issuance/erc20/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),qe=e=>(e?.client??t).post({url:"/issuance/erc20/burn",...e,headers:{"Content-Type":"application/json",...e?.headers}}),_e=e=>(e?.client??t).post({url:"/issuance/erc20/mint",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Qe=e=>(e?.client??t).post({url:"/issuance/erc20/transfer",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Xe=e=>(e?.client??t).post({url:"/issuance/erc20/transferFrom",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ye=e=>(e?.client??t).post({url:"/issuance/erc20/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ze=e=>(e?.client??t).post({url:"/issuance/erc20/grantRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),$e=e=>(e?.client??t).post({url:"/issuance/erc20/revokeRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),et=e=>(e?.client??t).post({url:"/issuance/erc20/renounceRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),tt=e=>(e?.client??t).post({url:"/issuance/erc20/initialize",...e,headers:{"Content-Type":"application/json",...e?.headers}}),rt=e=>(e?.client??t).post({url:"/issuance/erc721/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}});var st=e=>(e?.client??t).post({url:"/issuance/erc721/approve",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ot=e=>(e?.client??t).post({url:"/issuance/erc721/burn",...e,headers:{"Content-Type":"application/json",...e?.headers}}),at=e=>(e?.client??t).post({url:"/issuance/erc721/mint",...e,headers:{"Content-Type":"application/json",...e?.headers}}),nt=e=>(e?.client??t).post({url:"/issuance/erc721/transferFrom",...e,headers:{"Content-Type":"application/json",...e?.headers}}),pt=e=>(e?.client??t).post({url:"/issuance/erc721/recover",...e,headers:{"Content-Type":"application/json",...e?.headers}}),lt=e=>(e?.client??t).post({url:"/issuance/erc721/grantRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),it=e=>(e?.client??t).post({url:"/issuance/erc721/revokeRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ct=e=>(e?.client??t).post({url:"/issuance/erc721/renounceRole",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ut=e=>(e?.client??t).post({url:"/issuance/erc721/setBaseURI",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Tt=e=>(e?.client??t).post({url:"/issuance/erc721/setTokenURI",...e,headers:{"Content-Type":"application/json",...e?.headers}}),kt=e=>(e?.client??t).post({url:"/issuance/erc721/initialize",...e,headers:{"Content-Type":"application/json",...e?.headers}}),ht=e=>(e?.client??t).get({url:"/issuance/proxy/deployProxyAdmin",...e}),St=e=>(e?.client??t).post({url:"/issuance/proxy/deployTransparentProxy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Pt=e=>(e?.client??t).post({url:"/issuance/proxy/upgradeTransparentProxy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Rt=e=>(e?.client??t).post({url:"/next/fractions/platforms/deployNftFractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Et=e=>(e?.client??t).post({url:"/next/fractions/sales/nftFractions",...e,headers:{"Content-Type":"application/json",...e?.headers}}),wt=e=>(e?.client??t).post({url:"/next/fractions/lending/deploy",...e,headers:{"Content-Type":"application/json",...e?.headers}}),dt=e=>(e?.client??t).post({url:"/next/fractions/lending/createSale",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Vt=e=>(e?.client??t).post({url:"/next/fractions/lending/purchase",...e,headers:{"Content-Type":"application/json",...e?.headers}}),gt=e=>(e?.client??t).post({url:"/next/fractions/lending/setCollateralPrice",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Ot=e=>(e?.client??t).post({url:"/next/fractions/lending/buyback",...e,headers:{"Content-Type":"application/json",...e?.headers}});var Mt={createClient:(e,r={})=>Dt({baseUrl:e.env.baseUrl,...r,headers:{Authorization:e.apiKey,...r.headers}}),general:{searchBalances:Je,getBalances:ze,getBalance:Me,estimateGas:Be},stakingTemplates:{reputation:{createPlatform:N,createPool:b,getReward:y,partialUnstake:G,restake:C,stake:I,unstake:A,getCreatePoolEvent:v,getPlatformDeployEvent:F,getStakeEvent:x},reputationLock:{createPlatform:K,createPool:H,getReward:U,partialUnstake:B,restake:M,stake:z,unstake:J,getCreatePoolEvent:W,getPlatformDeployEvent:j,getStakeEvent:L},rwa:{createPlatform:re,createPool:te,getReward:X,distributeRewards:se,partialUnstake:Y,restake:Z,stake:$,unstake:ee,getCreatePoolEvent:Q,getPlatformDeployEvent:q,getStakeEvent:_}},staking:{roles:{getRoles:O,grantRole:m,searchRoles:f,searchRoleEvents:D},stakes:{getStake:g,searchStakes:d,searchStakeEvents:V},pools:{getPool:w,searchPools:E},platforms:{getPlatform:P,searchPlatforms:R}},fractions:{market:{deployMarket:pe,deployNidMarket:ce,deployContinousWithdrawal:le,deployContinousWithdrawalNid:ie,getMarketDeployedEvent:ne,search:ae,get:oe,initCompilot:ue},roles:{grantRole:Pe,getRoles:Se},sales:{createFractions:Re,approveSale:we,rejectSale:de,recover:Ve,completeSale:ge,purchaseSale:me,investorStatistics:fe,activity:be,statistics:Ne,withdrawPaymentToken:De,receiveFundsAfterNonFunded:Fe,getFractionsCreatedEvent:Ee,search:Ae,getWithdrawEvent:Le,setFeeCapLimit:je,unlockWrappedAssets:Oe,checkAndJumpToNonFunded:xe,receiveNonPurchased:ve,vesting:{claim:Ge,claimStatistics:Ce,getClaimVestedTokensEvent:Ie,editCliff:ye}},approvals:{approveWrapper:Te,approveWrapperToSpendErc20:ke,approveWrapperToSpendErc721:he},sig:{getAuthData:Ue,getNonce:We},issuance:{erc20:{deploy:He,approve:Ke,burn:qe,mint:_e,transfer:Qe,transferFrom:Xe,recover:Ye,grantRole:Ze,revokeRole:$e,renounceRole:et,initialize:tt},erc721:{deploy:rt,approve:st,burn:ot,mint:at,transferFrom:nt,recover:pt,grantRole:lt,revokeRole:it,renounceRole:ct,setBaseURI:ut,setTokenURI:Tt,initialize:kt},proxy:{deployProxyAdmin:ht,deployTransparentUpgradeableProxy:St,upgradeProxy:Pt}}},next:{fractions:{platforms:{deployNftFractionsMarket:Rt},sales:{createNftFractions:Et},lending:{deploy:wt,createSale:dt,buyback:Ot,setCollateralPrice:gt,purchase:Vt}}}};import{apiEnvs as Ft,getApiEnv as xt}from"@evergonlabs/tmi-protocol-shared/envs";var qt=Ft,_t=xt;function Xt(e){if(e.error)throw e.error;if(!e.data)throw new Error("No response provided from the API");return e.data}export{Mt as api,qt as envs,_t as getEnv,Xt as handleApiResponse};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|