@poolzfinance/api4 1.12.9 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -1
- package/dist/endpoints/adminGetAllocation.d.ts +3 -3
- package/dist/endpoints/adminReadAssets.d.ts +3 -0
- package/dist/endpoints/approvedContracts.d.ts +3 -3
- package/dist/endpoints/boostProxy.d.ts +6 -6
- package/dist/endpoints/daoSenderHistory.d.ts +3 -3
- package/dist/endpoints/leaderboard.d.ts +3 -3
- package/dist/endpoints/myRoles.d.ts +6 -0
- package/dist/endpoints/simpleUrlShortener.d.ts +3 -6
- package/dist/endpoints/tokenInfo.d.ts +6 -6
- package/dist/endpoints/vaults.d.ts +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -11
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +5 -90
- package/dist/types/graphql/graphql.d.ts +55 -291
- package/package.json +18 -13
- package/dist/endpoints/adminCleanCache.d.ts +0 -7
- package/dist/endpoints/adminListOfCollateral.d.ts +0 -6
- package/dist/endpoints/autoSignUp.d.ts +0 -31
- package/dist/endpoints/getDownloader.d.ts +0 -0
- package/dist/endpoints/investedERC20.d.ts +0 -6
- package/dist/endpoints/myRole.d.ts +0 -6
- package/dist/endpoints/mySignUpCheck.d.ts +0 -3
- package/dist/endpoints/seasonPass.d.ts +0 -31
- package/dist/endpoints/signupV2.d.ts +0 -17
- package/dist/endpoints/status.d.ts +0 -3
- package/dist/endpoints/tokenRefundsNFT.d.ts +0 -4
package/dist/index.module.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e,{useContext as n,useCallback as i}from"react";import{useMutation as a,HttpLink as t,ApolloClient as d,from as o,InMemoryCache as l,ApolloProvider as m,useQuery as r,useLazyQuery as u}from"@apollo/client";export*from"@apollo/client";import{onError as k}from"@apollo/client/link/error";import{setContext as s}from"@apollo/client/link/context";import c from"crypto-js/sha256";function v(){return v=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},v.apply(this,arguments)}var N=e.createContext(null),p=function(){return e.useContext(N)},S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminCleanCache"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCleanCache"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"messages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"Field",name:{kind:"Name",value:"errors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"Field",name:{kind:"Name",value:"success"}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminCreatePoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreatePoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"poolzBackId"},value:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}}},{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminGetAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminGetAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PhaseId"}},{kind:"Field",name:{kind:"Name",value:"WhiteList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]}}]},A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminListOfCollateral"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collateralAddress"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminListOfCollateral"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}},{kind:"Argument",name:{kind:"Name",value:"collateralAddress"},value:{kind:"Variable",name:{kind:"Name",value:"collateralAddress"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"TokenAmountInWei"}},{kind:"Field",name:{kind:"Name",value:"MainCoinAmountInWei"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]},I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminListOfPoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminListOfPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminWriteAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AdminWriteAllocation"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminWriteAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},D={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetApprovedContracts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"approvedContracts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"onlyApproved"},value:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ContractAddress"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminAutoSignUp"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"note"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminAutoSignUp"},arguments:[{kind:"Argument",name:{kind:"Name",value:"note"},value:{kind:"Variable",name:{kind:"Name",value:"note"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"PoolzAmount"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},b={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminAutoSignUpAll"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminAutoSignUp"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"PoolzAmount"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},F={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addAutoSignUp"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolzAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"note"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addAutoSignUp"},arguments:[{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}},{kind:"Argument",name:{kind:"Name",value:"poolzAmount"},value:{kind:"Variable",name:{kind:"Name",value:"poolzAmount"}}},{kind:"Argument",name:{kind:"Name",value:"note"},value:{kind:"Variable",name:{kind:"Name",value:"note"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"PoolzAmount"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},T={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateAutoSignUp"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolzAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"note"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateAutoSignUp"},arguments:[{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}},{kind:"Argument",name:{kind:"Name",value:"poolzAmount"},value:{kind:"Variable",name:{kind:"Name",value:"poolzAmount"}}},{kind:"Argument",name:{kind:"Name",value:"note"},value:{kind:"Variable",name:{kind:"Name",value:"note"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"PoolzAmount"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},V={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteAutoSignUp"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteAutoSignUp"},arguments:[{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"PoolzAmount"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BoostProxyData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"boostProxy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"campaignCodes"},value:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Actions"}},{kind:"Field",name:{kind:"Name",value:"Participants"}},{kind:"Field",name:{kind:"Name",value:"TotalUsers"}},{kind:"Field",name:{kind:"Name",value:"DataKey"}},{kind:"Field",name:{kind:"Name",value:"CampaignName"}},{kind:"Field",name:{kind:"Name",value:"TotalEntries"}},{kind:"Field",name:{kind:"Name",value:"CampaignCode"}}]}}]}}]},P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BoostProxyUsers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"boostProxy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"campaignCodes"},value:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Actions"}},{kind:"Field",name:{kind:"Name",value:"Participants"}},{kind:"Field",name:{kind:"Name",value:"TotalUsers"}},{kind:"Field",name:{kind:"Name",value:"CampaignName"}},{kind:"Field",name:{kind:"Name",value:"TotalEntries"}},{kind:"Field",name:{kind:"Name",value:"CampaignCode"}},{kind:"Field",name:{kind:"Name",value:"DataKey"}},{kind:"Field",name:{kind:"Name",value:"Users"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"Entries"}}]}}]}}]}}]},C={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DaoSenderHistory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"daoSenderHistory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"UserCount"}},{kind:"Field",name:{kind:"Name",value:"TotalAmount"}}]}},{kind:"Field",name:{kind:"Name",value:"currentPage"}},{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]},U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminCreateAsset"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateAssetRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreateAsset"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"Request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"StatusCode"}}]}}]}}]},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyAssets"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myAssets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TotalAssets"}},{kind:"Field",name:{kind:"Name",value:"Assets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"RefundFinishTime"}},{kind:"Field",name:{kind:"Name",value:"WithdrawalDetail"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"RefundDetail"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]}}]}}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RetrieveSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RetrieveSignatureRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"retrieveSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Receiver"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Signature"}},{kind:"Field",name:{kind:"Name",value:"IsRefund"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GenerateSignatureRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ValidFrom"}},{kind:"Field",name:{kind:"Name",value:"CurrentTime"}}]}}]}}]},q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateTokenFromSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"eip4361message"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"signature"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateTokenFromSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"eip4361message"},value:{kind:"Variable",name:{kind:"Name",value:"eip4361message"}}},{kind:"Argument",name:{kind:"Name",value:"signature"},value:{kind:"Variable",name:{kind:"Name",value:"signature"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}},{kind:"Field",name:{kind:"Name",value:"validUntil"}}]}}]}}]},O={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GenerateMyInvestSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"weiAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateMyInvestSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"weiAmount"},value:{kind:"Variable",name:{kind:"Name",value:"weiAmount"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Signature"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InvestedErc20"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"investedErc20Id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"investedErc20"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"investedErc20Id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Wallet"}},{kind:"Field",name:{kind:"Name",value:"AmountIn"}},{kind:"Field",name:{kind:"Name",value:"TokenOut"}}]}}]}}]},w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getLeaderboardByAddress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leaderBoard"},arguments:[{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Rank"}}]}}]}}]},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getLeaderboard"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leaderBoard"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Rank"}},{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"Logout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logout"}}]}}]},M={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"EndTime"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyUpcomingAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myUpcomingAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},G={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}},{kind:"Field",name:{kind:"Name",value:"EvmWallets"}}]}}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},Q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}},{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}},{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}}]}}]}}]},Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}},{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}}]}}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyInvested"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myInvestmentsErc20"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"BlockSignedAt"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"Id"}}]}},{kind:"Field",name:{kind:"Name",value:"myInvestmentsETH"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"BlockSignedAt"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Id"}}]}}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"KYC"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myProxyKYC"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Proxy"}},{kind:"Field",name:{kind:"Name",value:"RequestStatus"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRole"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRole"}}]}}]},ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SignUpCheck"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mySignUpCheck"},arguments:[{kind:"Argument",name:{kind:"Name",value:"poolIDs"},value:{kind:"Variable",name:{kind:"Name",value:"poolIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"SignUp"}}]}}]}}]},ie={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PoolxPrice"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxPrice"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Price"}},{kind:"Field",name:{kind:"Name",value:"Timestamp"}}]}}]}}]},ae={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPoolxTokenomics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxTokenomics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CirculatingSupply"}},{kind:"Field",name:{kind:"Name",value:"Locked"}},{kind:"Field",name:{kind:"Name",value:"Data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TotalSupply"}},{kind:"Field",name:{kind:"Name",value:"BuyBack"}},{kind:"Field",name:{kind:"Name",value:"LockedDealV2"}},{kind:"Field",name:{kind:"Name",value:"DelayVault"}},{kind:"Field",name:{kind:"Name",value:"DelayVaultV2"}},{kind:"Field",name:{kind:"Name",value:"Reserved"}}]}},{kind:"Field",name:{kind:"Name",value:"Trade"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Sum"}},{kind:"Field",name:{kind:"Name",value:"Huobi"}},{kind:"Field",name:{kind:"Name",value:"GateIO"}},{kind:"Field",name:{kind:"Name",value:"PancakeSwapV3_01"}},{kind:"Field",name:{kind:"Name",value:"PancakeSwapV3"}},{kind:"Field",name:{kind:"Name",value:"Mexc"}}]}}]}}]}}]},te={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SeasonPass"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"seasonPass"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},de={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateSeasonPass"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Owner"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Amount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ValidUntil"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Note"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createSeasonPass"},arguments:[{kind:"Argument",name:{kind:"Name",value:"seasonPass"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"Owner"},value:{kind:"Variable",name:{kind:"Name",value:"Owner"}}},{kind:"ObjectField",name:{kind:"Name",value:"Amount"},value:{kind:"Variable",name:{kind:"Name",value:"Amount"}}},{kind:"ObjectField",name:{kind:"Name",value:"ValidUntil"},value:{kind:"Variable",name:{kind:"Name",value:"ValidUntil"}}},{kind:"ObjectField",name:{kind:"Name",value:"Note"},value:{kind:"Variable",name:{kind:"Name",value:"Note"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},oe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSeasonPass"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Owner"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Amount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ValidUntil"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Note"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateSeasonPass"},arguments:[{kind:"Argument",name:{kind:"Name",value:"seasonPass"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"Owner"},value:{kind:"Variable",name:{kind:"Name",value:"Owner"}}},{kind:"ObjectField",name:{kind:"Name",value:"Amount"},value:{kind:"Variable",name:{kind:"Name",value:"Amount"}}},{kind:"ObjectField",name:{kind:"Name",value:"ValidUntil"},value:{kind:"Variable",name:{kind:"Name",value:"ValidUntil"}}},{kind:"ObjectField",name:{kind:"Name",value:"Note"},value:{kind:"Variable",name:{kind:"Name",value:"Note"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},le={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteSeasonPass"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"owner"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"note"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteSeasonPass"},arguments:[{kind:"Argument",name:{kind:"Name",value:"owner"},value:{kind:"Variable",name:{kind:"Name",value:"owner"}}},{kind:"Argument",name:{kind:"Name",value:"note"},value:{kind:"Variable",name:{kind:"Name",value:"note"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Note"}}]}}]}}]},me={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MySignUpV2"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mySignUpV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"SignedUp"}}]}}]}}]},re={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminSignUpV2"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminSignUpV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"minPoolxAmount"},value:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},ue={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ProjectSignUpV2"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectSignUpV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"JoinedTime"}}]}}]}}]},ke={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MySignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mySignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"SignedUp"}}]}}]}}]},se={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminSignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminSignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"minPoolxAmount"},value:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},ce={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ProjectSignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectSignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"JoinedTime"}}]}}]}}]},ve={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimpleUrlShortener"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TxHashChainIdInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"simpleUrlShortener"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ShortUrl"}},{kind:"Field",name:{kind:"Name",value:"ContainerText"}},{kind:"Field",name:{kind:"Name",value:"UrlToScan"}},{kind:"Field",name:{kind:"Name",value:"XPostText"}}]}}]}}]},Ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Status"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"RpcUrl"}},{kind:"Field",name:{kind:"Name",value:"CovalentLastBlock"}},{kind:"Field",name:{kind:"Name",value:"SecondsToWarning"}},{kind:"Field",name:{kind:"Name",value:"SecondsToError"}},{kind:"Field",name:{kind:"Name",value:"BlockPerSecond"}},{kind:"Field",name:{kind:"Name",value:"Events"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Active"}},{kind:"Field",name:{kind:"Name",value:"StartingBlock"}},{kind:"Field",name:{kind:"Name",value:"EndingBlock"}},{kind:"Field",name:{kind:"Name",value:"ResponseType"}}]}}]}}]}}]},pe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TokenInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hashKey"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hashKey"},value:{kind:"Variable",name:{kind:"Name",value:"hashKey"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"Decimals"}},{kind:"Field",name:{kind:"Name",value:"Name"}},{kind:"Field",name:{kind:"Name",value:"Symbol"}},{kind:"Field",name:{kind:"Name",value:"TotalSupply"}}]}}]}}]},Se={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TokenRefundsNFT"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenRefundsNFT"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}},{kind:"Argument",name:{kind:"Name",value:"poolId"},value:{kind:"Variable",name:{kind:"Name",value:"poolId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"BlockSignedAt"}},{kind:"Field",name:{kind:"Name",value:"From"}},{kind:"Field",name:{kind:"Name",value:"TokensRefunded"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TokenId"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}},{kind:"Field",name:{kind:"Name",value:"TokenOut"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TokenId"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]}}]},ge={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Data"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tokenAddress"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fetchBalance"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vaults"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}},{kind:"Argument",name:{kind:"Name",value:"tokenAddress"},value:{kind:"Variable",name:{kind:"Name",value:"tokenAddress"}}},{kind:"Argument",name:{kind:"Name",value:"fetchBalance"},value:{kind:"Variable",name:{kind:"Name",value:"fetchBalance"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"VaultId"}},{kind:"Field",name:{kind:"Name",value:"VaultAddress"}},{kind:"Field",name:{kind:"Name",value:"VaultCreationTx"}},{kind:"Field",name:{kind:"Name",value:"TokenAddress"}},{kind:"Field",name:{kind:"Name",value:"TokenName"}},{kind:"Field",name:{kind:"Name",value:"TokenSymbol"}},{kind:"Field",name:{kind:"Name",value:"TokenDecimals"}},{kind:"Field",name:{kind:"Name",value:"Balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"BalanceOfToken"}},{kind:"Field",name:{kind:"Name",value:"FetchTime"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"ChainId"}}]}}]}}]},ye={__proto__:null,AdminCleanCacheDocument:S,AdminCreatePoolzBackIdDocument:g,AdminGetAllocationDocument:y,AdminListOfCollateralDocument:A,AdminListOfPoolzBackIdDocument:I,AdminWriteAllocationDocument:f,GetApprovedContractsDocument:D,AdminAutoSignUpDocument:h,AdminAutoSignUpAllDocument:b,AddAutoSignUpDocument:F,UpdateAutoSignUpDocument:T,DeleteAutoSignUpDocument:V,BoostProxyDataDocument:$,BoostProxyUsersDocument:P,DaoSenderHistoryDocument:C,AdminCreateAssetDocument:U,MyAssetsDocument:x,RetrieveSignatureDocument:E,GenerateSignatureDocument:j,MyQueryDocument:q,GenerateTokenFromSignatureDocument:z,GenerateMyInvestSignatureDocument:O,InvestedErc20Document:B,GetLeaderboardByAddressDocument:w,GetLeaderboardDocument:W,LogoutDocument:R,MyAllocationDocument:M,MyUpcomingAllocationDocument:L,SetMyAgreeDocument:G,MyDataDocument:H,AddEvmWalletDocument:K,DeleteEvmWalletDocument:Q,AddNonEvmWalletDocument:_,DeleteNonEvmWalletDocument:J,UpdateNonEvmWalletDocument:Y,MyInvestedDocument:X,KycDocument:Z,MyRoleDocument:ee,SignUpCheckDocument:ne,PoolxPriceDocument:ie,GetPoolxTokenomicsDocument:ae,SeasonPassDocument:te,CreateSeasonPassDocument:de,UpdateSeasonPassDocument:oe,DeleteSeasonPassDocument:le,MySignUpV2Document:me,AdminSignUpV2Document:re,ProjectSignUpV2Document:ue,MySignUpV3Document:ke,AdminSignUpV3Document:se,ProjectSignUpV3Document:ce,SimpleUrlShortenerDocument:ve,StatusDocument:Ne,TokenInfoDocument:pe,TokenRefundsNftDocument:Se,DataDocument:ge},Ae={"\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}":S,"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n":g,"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n":y,"\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}":A,"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}":I,"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n":f,"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":D,"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }":h,"\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }":b,"\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }":F,"\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }":T,"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }":V,"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}":$,"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}":P,"\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n":C,"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}":U,"\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n TotalAssets\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}":x,"\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}":E,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":j,"\n query MyQuery {\n time\n}":q,"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}":z,"\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n":O,"\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}":B,"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}":w,"\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}":W,"\n mutation Logout {\n logout\n }\n":R,"\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }":M,"\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }":L,"\n mutation setMyAgree {\n setMyAgree\n}":G,"\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}":H,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":K,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":Q,"\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}":_,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":J,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":Y,"\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}":X,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":Z,"\n query MyRole {\n myRole\n}":ee,"\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }":ne,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":ie,"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n":ae,"\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":te,"\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":de,"\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":oe,"\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":le,"\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":me,"\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":re,"\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":ue,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":ke,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":se,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":ce,"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}":ve,"\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }":Ne,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":pe,"\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}":Se,"\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n":ge};function Ie(e){var n;return null!=(n=Ae[e])?n:{}}var fe,De="0x0000000000000000000000000000000000000000",he=Ie("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),be=function(){return a(he,{fetchPolicy:"no-cache",context:{headers:{Authorization:De}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(fe||(fe={}));var Fe=function(n){var i=n.children,a=e.useContext(N).apiState,t=a[0],d=a[1],o=t.account,l=t.privatTokenStatus,m=t.siweResult,r=be()[0];return e.useEffect(function(){o&&l===fe.REQUESTED&&m&&function(){try{return Promise.resolve(r({variables:m,fetchPolicy:"no-cache"})).then(function(e){var n=e.data;null!=n&&n.generateTokenFromSignature&&(localStorage.setItem(o,n.generateTokenFromSignature.token),d(function(e){return v({},e,{siweResult:null,privatTokenStatus:fe.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[o,l,m,r]),e.createElement(e.Fragment,null,i)},Te=function(n){var i=n.children,a=n.account,r=n.options,u=r.siweCallBack,c=r.uri,p=e.useState({account:void 0,userDenied:!1,privatTokenStatus:fe.NOT_REQUESTED,siweResult:null}),S=p[0],g=p[1],y=e.useRef(!1),A=e.useRef(S),I=e.useRef(u),f=function(e){g(function(n){var i=e(n);return A.current=i,i})},D=e.useMemo(function(){return{apiState:p,siweCallBack:u}},[p,I]),h=e.useCallback(function(){try{if(y.current)return Promise.resolve();y.current=!0;var e=A.current,n=e.account,i=e.userDenied,a=e.privatTokenStatus;return Promise.resolve(function(e,t){try{var d=function(e,t){try{var d=function(){var e=function(){if(!i&&n&&a!==fe.REQUESTED)return f(function(e){return v({},e,{privatTokenStatus:fe.REQUESTED})}),localStorage.removeItem(n),Promise.resolve(I.current()).then(function(e){f(function(n){return v({},n,{siweResult:e})})})}();if(e&&e.then)return e.then(function(){})}()}catch(e){return t(e)}return d&&d.then?d.then(void 0,t):d}(0,function(e){var n;(n=e)&&"object"==typeof n&&"code"in n&&4001===e.code&&f(function(e){return v({},e,{userDenied:!0})})})}catch(e){return t(!0,e)}return d&&d.then?d.then(t.bind(null,!1),t.bind(null,!0)):t(!1,d)}(0,function(e,n){if(y.current=!1,e)throw n;return n}))}catch(e){return Promise.reject(e)}},[]),b=e.useMemo(function(){var e=k(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&h()}),n=s(function(e,n){var i,a=localStorage.getItem(String(A.current.account));return null!=(i=n.headers)&&i.Authorization?{}:{headers:v({},n.headers,{Authorization:null!=a?a:De})}}),i=new t({uri:c});return new d({link:o([e,n,i]),cache:new l})},[c,h]);return e.useEffect(function(){a&&f(function(e){return v({},e,{account:a})})},[a,g]),e.useEffect(function(){localStorage.getItem(String(a))||(A.current=S,h())},[h,S]),e.useEffect(function(){I.current=u},[u]),e.createElement(N.Provider,{value:D},e.createElement(m,{client:b},e.createElement(Fe,null,i)))},Ve=Ie("\n query MyQuery {\n time\n}"),$e=function(){var e=r(Ve,{context:{headers:{Authorization:De}}});return{loading:e.loading,error:e.error,data:e.data}},Pe=function(){return u(Ve,{context:{headers:{Authorization:De}}})},Ce=Ie("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),Ue=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return r(Ce,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},xe=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(Ce,{context:{headers:{Authorization:i}}})},Ee=Ie("\n mutation setMyAgree {\n setMyAgree\n}"),je=Ie("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),qe=Ie("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),ze=Ie("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),Oe=Ie("\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}"),Be=Ie("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),we=Ie("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),We=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(qe,{context:{headers:{Authorization:i}}})},Re=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(ze,{context:{headers:{Authorization:i}}})},Me=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Oe,{context:{headers:{Authorization:i}}})},Le=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ee,{context:{headers:{Authorization:i}}})},Ge=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return r(je,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},He=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Be,{context:{headers:{Authorization:i}}})},Ke=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(we,{context:{headers:{Authorization:i}}})},Qe=Ie("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),_e=Ie("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),Je=function(e){return r(Qe,{skip:!e,context:{headers:{Authorization:De}},variables:{address:e}})},Ye=function(){return r(_e,{context:{headers:{Authorization:De}}})},Xe=Ie("\n query MyRole {\n myRole\n}"),Ze=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return r(Xe,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},en=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(Xe,{context:{headers:{Authorization:i}}})},nn=Ie("\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"),an=Ie("\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"),tn=function(e){return r(an,{skip:!e,context:{headers:{Authorization:De}},variables:{campaignCodes:null!=e?e:[]}})},dn=function(e){return r(nn,{skip:void 0===e||!e.length,context:{headers:{Authorization:De}},variables:{campaignCodes:null!=e?e:[]}})},on=function(){return u(an,{context:{headers:{Authorization:De}}})},ln=Ie("\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"),mn=function(){return r(ln,{context:{headers:{Authorization:De}}})},rn=Ie("\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"),un=Ie("\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"),kn=Ie("\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"),sn=Ie("\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"),cn=Ie("\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"),vn=function(){var n=e.useContext(N).apiState[0].account;return n?localStorage.getItem(n):null},Nn=function(n){var i=e.useContext(N).apiState[0],a=i.account,t=i.privatTokenStatus,d=a?localStorage.getItem(a):null;return r(rn,{skip:t===fe.REQUESTED||!a,variables:{note:n},context:{headers:{Authorization:d}}})},pn=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return r(un,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},Sn=function(e,n,i){var t=vn();return a(kn,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:t}}})},gn=function(e,n,i){var t=vn();return a(sn,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:t}}})},yn=function(e){var n=vn();return a(cn,{variables:{address:e},context:{headers:{Authorization:n}}})},An=Ie("\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n"),In=function(e,n,i){return r(An,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:De}},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"})},fn=function(){return u(An,{context:{headers:{Authorization:De}}})},Dn=Ie("\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"),hn=function(e){return r(Dn,{skip:null===e,context:{headers:{Authorization:De}},variables:{onlyApproved:e}})},bn=Ie("\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"),Fn=function(n){var i=e.useContext(N).apiState[0],a=i.account,t=i.privatTokenStatus,d=a&&localStorage.getItem(a);return r(bn,{skip:!n.length||t===fe.REQUESTED||!a,context:{headers:{Authorization:d}},variables:{poolIDs:n}})},Tn=Ie("\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"),Vn=function(){return r(Tn,{context:{headers:{Authorization:De}}})},$n=Ie("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),Pn=function(){return r($n,{context:{headers:{Authorization:De}}})},Cn=Ie("\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}"),Un=function(){var e=xn();return a(Cn,{context:{headers:{Authorization:e}}})},xn=function(){var e=n(N).apiState[0].account;return e?localStorage.getItem(e):null},En=Ie("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),jn=function(e){return r(En,{variables:{hashKey:e},context:{headers:{Authorization:De}}})},qn=function(e,n){var i=c(e+"-"+n).toString();return jn(i)},zn=Ie("\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"),On=function(e,n){return r(zn,{skip:!e,context:{headers:{Authorization:De}},variables:{input:{TxHash:e,ChainId:n}}})},Bn=Ie("\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"),wn=function(e){return r(Bn,{context:{headers:{Authorization:De}},variables:{investedErc20Id:e}})},Wn=function(){return u(Bn,{context:{headers:{Authorization:De}}})},Rn=Ie("\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"),Mn=function(e){return r(Rn,{variables:{page:e},context:{headers:{Authorization:De}}})},Ln=Ie("\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"),Gn=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return r(Ln,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},Hn=Ie("\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Kn=Ie("\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Qn=Ie("\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),_n=Ie("\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Jn=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return r(Hn,{skip:a===fe.REQUESTED||!i,context:{headers:{Authorization:t}}})},Yn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Kn,{context:{headers:{Authorization:i}}})},Xn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Qn,{context:{headers:{Authorization:i}}})},Zn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(_n,{context:{headers:{Authorization:i}}})},ei=function(){var e=n(N),a=e.apiState[0],t=e.siweCallBack,d=be()[0];return i(function(){try{var e,n=a.account,i=a.userDenied;if(!n)return Promise.resolve(null);if(!i)return Promise.resolve(localStorage.getItem(n));var o=function(n,i){try{var a=Promise.resolve(t()).then(function(n){return Promise.resolve(d({variables:n,fetchPolicy:"no-cache"})).then(function(n){var i=n.data;return null!=i&&i.generateTokenFromSignature?(e=1,i.generateTokenFromSignature.token):(e=1,null)})})}catch(e){return i(e)}return a&&a.then?a.then(void 0,i):a}(0,function(e){console.error("useGetToken error",e)});return Promise.resolve(o&&o.then?o.then(function(n){return e?n:null}):e?o:null)}catch(e){return Promise.reject(e)}},[a,t,d])},ni=Ie("\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),ii=Ie("\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),ai=Ie("\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),ti=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(ni,{context:{headers:{Authorization:i}}})},di=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(ii,{context:{headers:{Authorization:i}}})},oi=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(ai,{context:{headers:{Authorization:i}}})},li=function(){var e=ei(),n=a(ai),i=n[0];return[function(n){try{return Promise.resolve(e()).then(function(e){return i(v({},n,{context:{headers:{Authorization:e}}}))})}catch(e){return Promise.reject(e)}},n[1]]},mi=Ie("\n mutation Logout {\n logout\n }\n"),ri=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(mi,{context:{headers:{Authorization:i}},onCompleted:function(){localStorage.removeItem(String(n))}})},ui=Ie("\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"),ki=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(ui,{context:{headers:{Authorization:i}}})},si=Ie("\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}"),ci=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(si,{context:{headers:{Authorization:i}}})},vi=Ie("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),Ni=Ie("\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n TotalAssets\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}"),pi=Ie("\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}"),Si=Ie("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),gi=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(pi,{context:{headers:{Authorization:i}}})},yi=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Ni,{context:{headers:{Authorization:i}}})},Ai=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(vi,{context:{headers:{Authorization:i}}})},Ii=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Si,{context:{headers:{Authorization:i}}})},fi=Ie("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),Di=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(fi,{context:{headers:{Authorization:i}}})},hi=Ie("\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"),bi=Ie("\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"),Fi=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(hi,{context:{headers:{Authorization:i}}})},Ti=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(bi,{context:{headers:{Authorization:i}}})},Vi=Ie("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),$i=Ie("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),Pi=Ie("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),Ci=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Vi,{context:{headers:{Authorization:i}}})},Ui=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u($i,{context:{headers:{Authorization:i}}})},xi=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Pi,{context:{headers:{Authorization:i}}})},Ei=Ie("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"),ji=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ei,{context:{headers:{Authorization:i}}})},qi=Ie("\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"),zi=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(qi,{context:{headers:{Authorization:i}}})},Oi=Ie("\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"),Bi=function(n){var i=e.useContext(N).apiState[0].account,a=i&&localStorage.getItem(i);return r(Oi,{context:{headers:{Authorization:a}},variables:{projectId:n}})},wi=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(Oi,{context:{headers:{Authorization:i}}})},Wi=Ie("\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"),Ri=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Wi,{context:{headers:{Authorization:i}}})};export{Te as API4Provider,ye as types,p as useAPI4State,Sn as useAddAutoSignUp,We as useAddEvmWallet,Un as useAdminCleanCache,Ai as useAdminCreateAsset,ji as useAdminCreatePoolzBackId,Bi as useAdminGetAllocation,zi as useAdminWriteAllocation,hn as useApprovedContracts,dn as useBoostData,tn as useBoostUsers,Yn as useCreateSeasonPass,Mn as useDaoSenderHistory,yn as useDeleteAutoSignUp,Re as useDeleteEvmWallet,He as useDeleteNonEvmWallet,Zn as useDeleteSeasonPass,Ii as useGenerateSignature,Nn as useGetAutoSignUp,pn as useGetAutoSignUpAll,$e as useGetCurrentTime,be as useGetGeneratedToken,Ue as useGetKYCStatus,Jn as useGetSeasonPass,ei as useGetToken,wn as useInvestedERC20,wi as useLazyAdminGetAllocation,ci as useLazyAdminListOfCollateral,Ri as useLazyAdminListOfPoolzBackId,on as useLazyBoostUsers,Di as useLazyGenerateInvestSignature,di as useLazyGetAdminSignUp,Ui as useLazyGetAdminSignUpV3,Pe as useLazyGetCurrentTime,ti as useLazyGetMySignUp,Ci as useLazyGetMySignUpV3,fn as useLazyGetVaults,Wn as useLazyInvestedERC20,xe as useLazyKYCStatus,Fi as useLazyMyAllowcation,yi as useLazyMyAsset,en as useLazyMyRole,Ti as useLazyMyUpcomingAllowcation,gi as useLazyRetrieveSignature,ki as useLazyTokenRefundsNFT,Ye as useLeaderboard,Je as useLeaderboardByAddress,ri as useLogout,Ge as useMyData,Gn as useMyInvested,Ze as useMyRole,Fn as useMySignUpCheck,Pn as usePoolxPrice,mn as usePoolxTokenomics,Le as useSetMyAgree,oi as useSetMySignUp,li as useSetMySignUpBETA,xi as useSetMySignUpV3,Me as useSetNonEvmWallet,On as useSimpleUrlShortener,Vn as useStatus,jn as useTokenInfo,qn as useTokenInfoByChainAndAddress,gn as useUpdateAutoSignUp,Ke as useUpdateNonEvmWallet,Xn as useUpdateSeasonPass,In as useVaults};
|
|
1
|
+
import e,{useContext as n,useCallback as i}from"react";import{useMutation as a,HttpLink as t,ApolloClient as d,from as l,InMemoryCache as o,ApolloProvider as r,useQuery as m,useLazyQuery as u}from"@apollo/client";export*from"@apollo/client";import{onError as k}from"@apollo/client/link/error";import{setContext as s}from"@apollo/client/link/context";import c from"crypto-js/sha256";function v(){return v=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},v.apply(null,arguments)}var N=e.createContext(null),p=function(){return e.useContext(N)},S={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminCreatePoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreatePoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"poolzBackId"},value:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}}},{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminGetAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminGetAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PhaseId"}},{kind:"Field",name:{kind:"Name",value:"WhiteList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminListOfPoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminListOfPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminReadAssets"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReadAssetsRequest"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminReadAssets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Assets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Dispensers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsTaken"}},{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"RefundFinishTime"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]}}]}}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminWriteAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AdminWriteAllocation"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminWriteAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetApprovedContracts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"approvedContracts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"onlyApproved"},value:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ContractAddress"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BoostProxyData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"boostProxy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"campaignCodes"},value:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Actions"}},{kind:"Field",name:{kind:"Name",value:"Participants"}},{kind:"Field",name:{kind:"Name",value:"TotalUsers"}},{kind:"Field",name:{kind:"Name",value:"DataKey"}},{kind:"Field",name:{kind:"Name",value:"CampaignName"}},{kind:"Field",name:{kind:"Name",value:"TotalEntries"}},{kind:"Field",name:{kind:"Name",value:"CampaignCode"}}]}}]}}]},D={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BoostProxyUsers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"boostProxy"},arguments:[{kind:"Argument",name:{kind:"Name",value:"campaignCodes"},value:{kind:"Variable",name:{kind:"Name",value:"campaignCodes"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Actions"}},{kind:"Field",name:{kind:"Name",value:"Participants"}},{kind:"Field",name:{kind:"Name",value:"TotalUsers"}},{kind:"Field",name:{kind:"Name",value:"CampaignName"}},{kind:"Field",name:{kind:"Name",value:"TotalEntries"}},{kind:"Field",name:{kind:"Name",value:"CampaignCode"}},{kind:"Field",name:{kind:"Name",value:"DataKey"}},{kind:"Field",name:{kind:"Name",value:"Users"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"Entries"}}]}}]}}]}}]},T={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DaoSenderHistory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"daoSenderHistory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"UserCount"}},{kind:"Field",name:{kind:"Name",value:"TotalAmount"}}]}},{kind:"Field",name:{kind:"Name",value:"currentPage"}},{kind:"Field",name:{kind:"Name",value:"totalPages"}}]}}]}}]},F={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminCreateAsset"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"Request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateAssetRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreateAsset"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"Request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"StatusCode"}}]}}]}}]},b={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyAssets"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myAssets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TotalAssets"}},{kind:"Field",name:{kind:"Name",value:"Assets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"RefundFinishTime"}},{kind:"Field",name:{kind:"Name",value:"WithdrawalDetail"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"RefundDetail"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]}}]}}]}}]},V={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RetrieveSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RetrieveSignatureRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"retrieveSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"Receiver"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Signature"}},{kind:"Field",name:{kind:"Name",value:"IsRefund"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProviderAddress"}},{kind:"Field",name:{kind:"Name",value:"WeiAmount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"FinishTime"}}]}}]}}]}}]},C={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GenerateSignatureRequest"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ValidFrom"}},{kind:"Field",name:{kind:"Name",value:"CurrentTime"}}]}}]}}]},P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"GenerateTokenFromSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"eip4361message"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"signature"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateTokenFromSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"eip4361message"},value:{kind:"Variable",name:{kind:"Name",value:"eip4361message"}}},{kind:"Argument",name:{kind:"Name",value:"signature"},value:{kind:"Variable",name:{kind:"Name",value:"signature"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"}},{kind:"Field",name:{kind:"Name",value:"validUntil"}}]}}]}}]},x={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GenerateMyInvestSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"weiAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateMyInvestSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"weiAmount"},value:{kind:"Variable",name:{kind:"Name",value:"weiAmount"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Signature"}},{kind:"Field",name:{kind:"Name",value:"ValidUntil"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getLeaderboardByAddress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leaderBoard"},arguments:[{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Rank"}}]}}]}}]},q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getLeaderboard"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leaderBoard"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Rank"}},{kind:"Field",name:{kind:"Name",value:"Owner"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"Logout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logout"}}]}}]},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"StartTime"}},{kind:"Field",name:{kind:"Name",value:"EndTime"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyUpcomingAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myUpcomingAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myData"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}},{kind:"Field",name:{kind:"Name",value:"EvmWallets"}}]}}]}}]},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},O={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}},{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}},{kind:"Field",name:{kind:"Name",value:"EvmWallet"}}]}}]}}]},M={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}}]}}]}}]},G={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateNonEvmWallet"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wallet"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateNonEvmWallet"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainName"},value:{kind:"Variable",name:{kind:"Name",value:"chainName"}}},{kind:"Argument",name:{kind:"Name",value:"wallet"},value:{kind:"Variable",name:{kind:"Name",value:"wallet"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Agree"}},{kind:"Field",name:{kind:"Name",value:"NonEvmWallet"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainName"}},{kind:"Field",name:{kind:"Name",value:"Wallet"}}]}}]}}]}}]},L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyInvested"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myInvestmentsErc20"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"BlockSignedAt"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"Id"}}]}},{kind:"Field",name:{kind:"Name",value:"myInvestmentsETH"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"TxHash"}},{kind:"Field",name:{kind:"Name",value:"BlockSignedAt"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"Id"}}]}}]}}]},H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"KYC"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myProxyKYC"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Proxy"}},{kind:"Field",name:{kind:"Name",value:"RequestStatus"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRoles"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRoles"}}]}}]},Q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PoolxPrice"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxPrice"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Price"}},{kind:"Field",name:{kind:"Name",value:"Timestamp"}}]}}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPoolxTokenomics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxTokenomics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CirculatingSupply"}},{kind:"Field",name:{kind:"Name",value:"Locked"}},{kind:"Field",name:{kind:"Name",value:"Data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"TotalSupply"}},{kind:"Field",name:{kind:"Name",value:"BuyBack"}},{kind:"Field",name:{kind:"Name",value:"LockedDealV2"}},{kind:"Field",name:{kind:"Name",value:"DelayVault"}},{kind:"Field",name:{kind:"Name",value:"DelayVaultV2"}},{kind:"Field",name:{kind:"Name",value:"Reserved"}}]}},{kind:"Field",name:{kind:"Name",value:"Trade"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Sum"}},{kind:"Field",name:{kind:"Name",value:"Huobi"}},{kind:"Field",name:{kind:"Name",value:"GateIO"}},{kind:"Field",name:{kind:"Name",value:"PancakeSwapV3_01"}},{kind:"Field",name:{kind:"Name",value:"PancakeSwapV3"}},{kind:"Field",name:{kind:"Name",value:"Mexc"}}]}}]}}]}}]},Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MySignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mySignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"SignedUp"}}]}}]}}]},J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminSignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminSignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"minPoolxAmount"},value:{kind:"Variable",name:{kind:"Name",value:"minPoolxAmount"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ProjectSignUpV3"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectSignUpV3"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"JoinedTime"}}]}}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SimpleUrlShortener"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TxHashChainIdInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"simpleUrlShortener"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ShortUrl"}},{kind:"Field",name:{kind:"Name",value:"ContainerText"}},{kind:"Field",name:{kind:"Name",value:"UrlToScan"}},{kind:"Field",name:{kind:"Name",value:"XPostText"}}]}}]}}]},ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TokenInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hashKey"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tokenInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hashKey"},value:{kind:"Variable",name:{kind:"Name",value:"hashKey"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Address"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"Decimals"}},{kind:"Field",name:{kind:"Name",value:"Name"}},{kind:"Field",name:{kind:"Name",value:"Symbol"}},{kind:"Field",name:{kind:"Name",value:"TotalSupply"}}]}}]}}]},ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Data"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tokenAddress"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fetchBalance"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vaults"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}},{kind:"Argument",name:{kind:"Name",value:"tokenAddress"},value:{kind:"Variable",name:{kind:"Name",value:"tokenAddress"}}},{kind:"Argument",name:{kind:"Name",value:"fetchBalance"},value:{kind:"Variable",name:{kind:"Name",value:"fetchBalance"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"VaultId"}},{kind:"Field",name:{kind:"Name",value:"VaultAddress"}},{kind:"Field",name:{kind:"Name",value:"VaultCreationTx"}},{kind:"Field",name:{kind:"Name",value:"TokenAddress"}},{kind:"Field",name:{kind:"Name",value:"TokenName"}},{kind:"Field",name:{kind:"Name",value:"TokenSymbol"}},{kind:"Field",name:{kind:"Name",value:"TokenDecimals"}},{kind:"Field",name:{kind:"Name",value:"Balance"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"BalanceOfToken"}},{kind:"Field",name:{kind:"Name",value:"FetchTime"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"ChainId"}}]}}]}}]},ie={__proto__:null,AdminCreatePoolzBackIdDocument:S,AdminGetAllocationDocument:y,AdminListOfPoolzBackIdDocument:g,AdminReadAssetsDocument:A,AdminWriteAllocationDocument:f,GetApprovedContractsDocument:h,BoostProxyDataDocument:I,BoostProxyUsersDocument:D,DaoSenderHistoryDocument:T,AdminCreateAssetDocument:F,MyAssetsDocument:b,RetrieveSignatureDocument:V,GenerateSignatureDocument:C,MyQueryDocument:P,GenerateTokenFromSignatureDocument:$,GenerateMyInvestSignatureDocument:x,GetLeaderboardByAddressDocument:E,GetLeaderboardDocument:q,LogoutDocument:j,MyAllocationDocument:B,MyUpcomingAllocationDocument:W,SetMyAgreeDocument:U,MyDataDocument:R,AddEvmWalletDocument:z,DeleteEvmWalletDocument:w,AddNonEvmWalletDocument:O,DeleteNonEvmWalletDocument:M,UpdateNonEvmWalletDocument:G,MyInvestedDocument:L,KycDocument:H,MyRolesDocument:K,PoolxPriceDocument:Q,GetPoolxTokenomicsDocument:_,MySignUpV3Document:Y,AdminSignUpV3Document:J,ProjectSignUpV3Document:X,SimpleUrlShortenerDocument:Z,TokenInfoDocument:ee,DataDocument:ne},ae={"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n":S,"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n":y,"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}":g,"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n IsTaken\n UserAddress\n RefundFinishTime\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}":A,"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n":f,"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":h,"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}":I,"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}":D,"\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n":T,"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}":F,"\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n TotalAssets\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}":b,"\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}":V,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":C,"\n query MyQuery {\n time\n}":P,"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}":$,"\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n":x,"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}":E,"\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}":q,"\n mutation Logout {\n logout\n }\n":j,"\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }":B,"\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }":W,"\n mutation setMyAgree {\n setMyAgree\n}":U,"\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}":R,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":z,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":w,"\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}":O,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":M,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":G,"\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}":L,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":H,"\n query MyRoles {\n myRoles\n }":K,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":Q,"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n":_,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":Y,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":J,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":X,"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}":Z,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":ee,"\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n":ne};function te(e){var n;return null!=(n=ae[e])?n:{}}var de,le="0x0000000000000000000000000000000000000000",oe=te("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),re=function(){return a(oe,{fetchPolicy:"no-cache",context:{headers:{Authorization:le}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(de||(de={}));var me=function(n){var i=n.children,a=e.useContext(N).apiState,t=a[0],d=a[1],l=t.account,o=t.privatTokenStatus,r=t.siweResult,m=re()[0];return e.useEffect(function(){l&&o===de.REQUESTED&&r&&function(){try{return Promise.resolve(m({variables:r,fetchPolicy:"no-cache"})).then(function(e){var n=e.data;null!=n&&n.generateTokenFromSignature&&(localStorage.setItem(l,n.generateTokenFromSignature.token),d(function(e){return v({},e,{siweResult:null,privatTokenStatus:de.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[l,o,r,m]),e.createElement(e.Fragment,null,i)},ue=function(n){var i=n.children,a=n.account,m=n.options,u=m.siweCallBack,c=m.uri,p=e.useState({account:void 0,userDenied:!1,privatTokenStatus:de.NOT_REQUESTED,siweResult:null}),S=p[0],y=p[1],g=e.useMemo(function(){return[S,y]},[S]),A=e.useRef(!1),f=e.useRef(S),h=e.useRef(u),I=function(e){y(function(n){var i=e(n);return f.current=i,i})},D=e.useMemo(function(){return{apiState:g,siweCallBack:u}},[g,h]),T=e.useCallback(function(){try{if(A.current)return Promise.resolve();A.current=!0;var e=f.current,n=e.account,i=e.userDenied,a=e.privatTokenStatus;return Promise.resolve(function(e,t){try{var d=function(e,t){try{var d=function(){var e=function(){if(!i&&n&&a!==de.REQUESTED)return I(function(e){return v({},e,{privatTokenStatus:de.REQUESTED})}),localStorage.removeItem(n),Promise.resolve(h.current()).then(function(e){I(function(n){return v({},n,{siweResult:e})})})}();if(e&&e.then)return e.then(function(){})}()}catch(e){return t(e)}return d&&d.then?d.then(void 0,t):d}(0,function(e){var n;(n=e)&&"object"==typeof n&&"code"in n&&4001===e.code&&I(function(e){return v({},e,{userDenied:!0})})})}catch(e){return t(!0,e)}return d&&d.then?d.then(t.bind(null,!1),t.bind(null,!0)):t(!1,d)}(0,function(e,n){if(A.current=!1,e)throw n;return n}))}catch(e){return Promise.reject(e)}},[]),F=e.useMemo(function(){var e=k(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&T()}),n=s(function(e,n){var i,a=localStorage.getItem(String(f.current.account));return null!=(i=n.headers)&&i.Authorization?{}:{headers:v({},n.headers,{Authorization:null!=a?a:le})}}),i=new t({uri:c});return new d({link:l([e,n,i]),cache:new o})},[c,T]);return e.useEffect(function(){a&&I(function(e){return v({},e,{account:a})})},[a,y]),e.useEffect(function(){localStorage.getItem(String(a))||(f.current=S,T())},[T,S]),e.useEffect(function(){h.current=u},[u]),e.createElement(N.Provider,{value:D},e.createElement(r,{client:F},e.createElement(me,null,i)))},ke=te("\n query MyQuery {\n time\n}"),se=function(){var e=m(ke,{context:{headers:{Authorization:le}}});return{loading:e.loading,error:e.error,data:e.data}},ce=function(){return u(ke,{context:{headers:{Authorization:le}}})},ve=te("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),Ne=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(ve,{skip:a===de.REQUESTED||!i,context:{headers:{Authorization:t}}})},pe=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(ve,{context:{headers:{Authorization:i}}})},Se=te("\n mutation setMyAgree {\n setMyAgree\n}"),ye=te("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),ge=te("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),Ae=te("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),fe=te("\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}"),he=te("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),Ie=te("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),De=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(ge,{context:{headers:{Authorization:i}}})},Te=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ae,{context:{headers:{Authorization:i}}})},Fe=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(fe,{context:{headers:{Authorization:i}}})},be=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Se,{context:{headers:{Authorization:i}}})},Ve=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(ye,{skip:a===de.REQUESTED||!i,context:{headers:{Authorization:t}}})},Ce=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(he,{context:{headers:{Authorization:i}}})},Pe=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ie,{context:{headers:{Authorization:i}}})},$e=te("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),xe=te("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),Ee=function(e){return m($e,{skip:!e,context:{headers:{Authorization:le}},variables:{address:e}})},qe=function(){return m(xe,{context:{headers:{Authorization:le}}})},je=te("\n query MyRoles {\n myRoles\n }"),Be=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(je,{skip:a===de.REQUESTED||!i,context:{headers:{Authorization:t}}})},We=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(je,{context:{headers:{Authorization:i}}})},Ue=te("\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"),Re=te("\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"),ze=function(e){return m(Re,{skip:!e,context:{headers:{Authorization:le}},variables:{campaignCodes:null!=e?e:[]}})},we=function(e){return m(Ue,{skip:!(null!=e&&e.length),context:{headers:{Authorization:le}},variables:{campaignCodes:null!=e?e:[]}})},Oe=function(){return u(Re,{context:{headers:{Authorization:le}}})},Me=te("\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"),Ge=function(){return m(Me,{context:{headers:{Authorization:le}}})},Le=te("\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n"),He=function(e,n,i){return m(Le,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:le}},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"})},Ke=function(){return u(Le,{context:{headers:{Authorization:le}}})},Qe=te("\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"),_e=function(e){return m(Qe,{skip:null===e,context:{headers:{Authorization:le}},variables:{onlyApproved:e}})},Ye=te("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),Je=function(){return m(Ye,{context:{headers:{Authorization:le}}})},Xe=te("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),Ze=function(e){return m(Xe,{variables:{hashKey:e},context:{headers:{Authorization:le}}})},en=function(e,n){var i=c(e+"-"+n).toString();return Ze(i)},nn=te("\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"),an=function(e,n){return m(nn,{skip:!e,context:{headers:{Authorization:le}},variables:{input:{TxHash:e,ChainId:n}}})},tn=te("\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"),dn=function(e){return m(tn,{variables:{page:e},context:{headers:{Authorization:le}}})},ln=te("\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"),on=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(ln,{skip:a===de.REQUESTED||!i,context:{headers:{Authorization:t}}})},rn=te("\n mutation Logout {\n logout\n }\n"),mn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(rn,{context:{headers:{Authorization:i}},onCompleted:function(){localStorage.removeItem(String(n))}})},un=function(){var e=n(N),a=e.apiState[0],t=e.siweCallBack,d=re()[0];return i(function(){try{var e,n=a.account,i=a.userDenied;if(!n)return Promise.resolve(null);if(!i)return Promise.resolve(localStorage.getItem(n));var l=function(n,i){try{var a=Promise.resolve(t()).then(function(n){return Promise.resolve(d({variables:n,fetchPolicy:"no-cache"})).then(function(n){var i=n.data;return null!=i&&i.generateTokenFromSignature?(e=1,i.generateTokenFromSignature.token):(e=1,null)})})}catch(e){return i(e)}return a&&a.then?a.then(void 0,i):a}(0,function(e){console.error("useGetToken error",e)});return Promise.resolve(l&&l.then?l.then(function(n){return e?n:null}):e?l:null)}catch(e){return Promise.reject(e)}},[a,t,d])},kn=te("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),sn=te("\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n TotalAssets\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}"),cn=te("\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}"),vn=te("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),Nn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(cn,{context:{headers:{Authorization:i}}})},pn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(sn,{context:{headers:{Authorization:i}}})},Sn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(kn,{context:{headers:{Authorization:i}}})},yn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(vn,{context:{headers:{Authorization:i}}})},gn=te("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),An=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(gn,{context:{headers:{Authorization:i}}})},fn=te("\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"),hn=te("\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"),In=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(fn,{context:{headers:{Authorization:i}}})},Dn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(hn,{context:{headers:{Authorization:i}}})},Tn=te("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),Fn=te("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),bn=te("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),Vn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Tn,{context:{headers:{Authorization:i}}})},Cn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Fn,{context:{headers:{Authorization:i}}})},Pn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(bn,{context:{headers:{Authorization:i}}})},$n=te("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"),xn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a($n,{context:{headers:{Authorization:i}}})},En=te("\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"),qn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(En,{context:{headers:{Authorization:i}}})},jn=te("\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"),Bn=function(n){var i=e.useContext(N).apiState[0].account,a=i&&localStorage.getItem(i);return m(jn,{context:{headers:{Authorization:a}},variables:{projectId:n}})},Wn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(jn,{context:{headers:{Authorization:i}}})},Un=te("\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"),Rn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Un,{context:{headers:{Authorization:i}}})},zn=te("\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n IsTaken\n UserAddress\n RefundFinishTime\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}"),wn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(zn,{context:{headers:{Authorization:i}}})};export{ue as API4Provider,ie as types,p as useAPI4State,De as useAddEvmWallet,Sn as useAdminCreateAsset,xn as useAdminCreatePoolzBackId,Bn as useAdminGetAllocation,qn as useAdminWriteAllocation,_e as useApprovedContracts,we as useBoostData,ze as useBoostUsers,dn as useDaoSenderHistory,Te as useDeleteEvmWallet,Ce as useDeleteNonEvmWallet,yn as useGenerateSignature,se as useGetCurrentTime,re as useGetGeneratedToken,Ne as useGetKYCStatus,un as useGetToken,Wn as useLazyAdminGetAllocation,Rn as useLazyAdminListOfPoolzBackId,wn as useLazyAdminReadAssets,Oe as useLazyBoostUsers,An as useLazyGenerateInvestSignature,Cn as useLazyGetAdminSignUpV3,ce as useLazyGetCurrentTime,Vn as useLazyGetMySignUpV3,Ke as useLazyGetVaults,pe as useLazyKYCStatus,In as useLazyMyAllowcation,pn as useLazyMyAsset,We as useLazyMyRoles,Dn as useLazyMyUpcomingAllowcation,Nn as useLazyRetrieveSignature,qe as useLeaderboard,Ee as useLeaderboardByAddress,mn as useLogout,Ve as useMyData,on as useMyInvested,Be as useMyRoles,Je as usePoolxPrice,Ge as usePoolxTokenomics,be as useSetMyAgree,Pn as useSetMySignUpV3,Fe as useSetNonEvmWallet,an as useSimpleUrlShortener,Ze as useTokenInfo,en as useTokenInfoByChainAndAddress,Pe as useUpdateNonEvmWallet,He as useVaults};
|
|
2
2
|
//# sourceMappingURL=index.module.js.map
|