@poolzfinance/api4 1.12.1 → 1.12.3

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.
@@ -1,2 +1,2 @@
1
- import e,{useMemo as n,useContext as i,useCallback as a}from"react";import{useMutation as t,HttpLink as d,ApolloClient as l,from as o,InMemoryCache as m,ApolloProvider as r,useQuery as u,useLazyQuery as k}from"@apollo/client";export*from"@apollo/client";import{onError as s}from"@apollo/client/link/error";import{setContext as c}from"@apollo/client/link/context";import v from"crypto-js/sha256";function N(){return N=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},N.apply(this,arguments)}var p=e.createContext(null),S=function(){return e.useContext(p)},g={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"}}]}}]}}]},y={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"}}}}],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"}}}],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:"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"}}]}}]}}]},f={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:"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"}}]}}]}}]},D={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"}}]}}]}}]},h={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"}}]}}]}}]},F={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"}}]}}]}}]},b={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"}}]}}]}}]},T={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"}}]}}]}}]},V={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"}}]}}]}}]}}]},$={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"}}]}}]}}]},C={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"}}]}}]}}]},P={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"}}]}}]}}]}}]}}]}}]},U={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"}}]}}]}}]}}]},x={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"}}]}}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]},q={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"}}]}}]}}]},j={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"}}]}}]}}]},z={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"}}]}}]}}]},B={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"Logout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logout"}}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},W={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"}}]}}]}}]},M={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"}}]}}]}}]},L={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"}}]}}]}}]},G={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"}}]}}]}}]},H={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"}}]}}]}}]}}]},K={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"}}]}}]}}]}}]},Q={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"}}]}}]}}]},_={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"}}]}}]}}]},J={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRole"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRole"}}]}}]},Y={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"}}]}}]}}]},X={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"}}]}}]}}]},Z={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"}}]}}]}}]}}]},ee={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"}}]}}]}}]},ne={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"}}]}}]}}]},ie={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"}}]}}]}}]},ae={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"}}]}}]}}]},te={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"}}]}}]}}]},de={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"}}]}}]}}]},le={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"}}]}}]}}]},oe={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"}}]}}]}}]},me={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"}}]}}]}}]},re={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"}}]}}]}}]},ue={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"}}]}}]}}]},ke={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"}}]}}]}}]}}]},se={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"}}]}}]}}]},ce={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"}}]}}]}}]}}]},ve={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"}}]}}]}}]},Ne={__proto__:null,AdminCleanCacheDocument:g,AdminCreatePoolzBackIdDocument:y,AdminListOfCollateralDocument:A,GetApprovedContractsDocument:f,AdminAutoSignUpDocument:I,AdminAutoSignUpAllDocument:D,AddAutoSignUpDocument:h,UpdateAutoSignUpDocument:F,DeleteAutoSignUpDocument:b,BoostProxyDataDocument:T,BoostProxyUsersDocument:V,DaoSenderHistoryDocument:$,AdminCreateAssetDocument:C,MyAssetsDocument:P,RetrieveSignatureDocument:U,GenerateSignatureDocument:x,MyQueryDocument:E,GenerateTokenFromSignatureDocument:q,GenerateMyInvestSignatureDocument:O,InvestedErc20Document:j,GetLeaderboardByAddressDocument:z,GetLeaderboardDocument:w,LogoutDocument:B,SetMyAgreeDocument:R,MyDataDocument:W,AddEvmWalletDocument:M,DeleteEvmWalletDocument:L,AddNonEvmWalletDocument:G,DeleteNonEvmWalletDocument:H,UpdateNonEvmWalletDocument:K,MyInvestedDocument:Q,KycDocument:_,MyRoleDocument:J,SignUpCheckDocument:Y,PoolxPriceDocument:X,GetPoolxTokenomicsDocument:Z,SeasonPassDocument:ee,CreateSeasonPassDocument:ne,UpdateSeasonPassDocument:ie,DeleteSeasonPassDocument:ae,MySignUpV2Document:te,AdminSignUpV2Document:de,ProjectSignUpV2Document:le,MySignUpV3Document:oe,AdminSignUpV3Document:me,ProjectSignUpV3Document:re,SimpleUrlShortenerDocument:ue,StatusDocument:ke,TokenInfoDocument:se,TokenRefundsNftDocument:ce,DataDocument:ve},pe={"\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}":g,"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\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 GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":f,"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }":I,"\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }":D,"\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 }":h,"\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 }":F,"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }":b,"\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}":T,"\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}":V,"\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":$,"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}":C,"\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}":P,"\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}":U,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":x,"\n query MyQuery {\n time\n}":E,"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}":q,"\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}":j,"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}":z,"\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}":w,"\n mutation Logout {\n logout\n }\n":B,"\n mutation setMyAgree {\n setMyAgree\n}":R,"\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}":W,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":M,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":L,"\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}":G,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":H,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":K,"\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}":Q,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":_,"\n query MyRole {\n myRole\n}":J,"\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }":Y,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":X,"\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":Z,"\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":ee,"\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":ne,"\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":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":ae,"\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":te,"\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":de,"\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":le,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":oe,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":me,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":re,"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}":ue,"\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 }":ke,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":se,"\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}":ce,"\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":ve};function Se(e){var n;return null!=(n=pe[e])?n:{}}var ge,ye="0x0000000000000000000000000000000000000000",Ae=Se("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),fe=function(){return t(Ae,{fetchPolicy:"no-cache",context:{headers:{Authorization:ye}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(ge||(ge={}));var Ie=function(n){var i=n.children,a=e.useContext(p).apiState,t=a[0],d=a[1],l=t.account,o=t.privatTokenStatus,m=t.siweResult,r=fe()[0];return e.useEffect(function(){l&&o===ge.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(l,n.generateTokenFromSignature.token),d(function(e){return N({},e,{siweResult:null,privatTokenStatus:ge.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[l,o,m,r]),e.createElement(e.Fragment,null,i)},De=function(i){var a=i.children,t=i.account,u=i.options,k=u.siweCallBack,v=u.uri,S=e.useState({account:void 0,userDenied:!1,privatTokenStatus:ge.NOT_REQUESTED,siweResult:null}),g=S[0],y=S[1],A=e.useRef(!1),f=e.useRef(g),I=e.useRef(k),D=function(e){y(function(n){var i=e(n);return f.current=i,i})},h=e.useMemo(function(){return{apiState:S,siweCallBack:I.current}},[S]),F=n(function(){return!(!t||!localStorage.getItem(String(t)))},[t]),b=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!==ge.REQUESTED)return D(function(e){return N({},e,{privatTokenStatus:ge.REQUESTED})}),localStorage.removeItem(n),Promise.resolve(I.current()).then(function(e){D(function(n){return N({},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&&D(function(e){return N({},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)}},[]),T=e.useMemo(function(){var e=s(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&b()}),n=c(function(e,n){var i,a=localStorage.getItem(String(f.current.account));return null!=(i=n.headers)&&i.Authorization?{}:{headers:N({},n.headers,{Authorization:null!=a?a:ye})}}),i=new d({uri:v});return new l({link:o([e,n,i]),cache:new m})},[v,b]);return e.useEffect(function(){D(function(e){return N({},e,{account:t})})},[t]),e.useEffect(function(){F||b()},[F,b]),e.useEffect(function(){I.current=k},[k]),e.createElement(p.Provider,{value:h},e.createElement(r,{client:T},e.createElement(Ie,null,a)))},he=Se("\n query MyQuery {\n time\n}"),Fe=function(){var e=u(he,{context:{headers:{Authorization:ye}}});return{loading:e.loading,error:e.error,data:e.data}},be=function(){return k(he,{context:{headers:{Authorization:ye}}})},Te=Se("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),Ve=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Te,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},$e=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(Te,{context:{headers:{Authorization:i}}})},Ce=Se("\n mutation setMyAgree {\n setMyAgree\n}"),Pe=Se("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),Ue=Se("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),xe=Se("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),Ee=Se("\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}"),qe=Se("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),Oe=Se("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),je=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Ue,{context:{headers:{Authorization:i}}})},ze=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(xe,{context:{headers:{Authorization:i}}})},we=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Ee,{context:{headers:{Authorization:i}}})},Be=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Ce,{context:{headers:{Authorization:i}}})},Re=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Pe,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},We=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(qe,{context:{headers:{Authorization:i}}})},Me=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Oe,{context:{headers:{Authorization:i}}})},Le=Se("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),Ge=Se("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),He=function(e){return u(Le,{skip:!e,context:{headers:{Authorization:ye}},variables:{address:e}})},Ke=function(){return u(Ge,{context:{headers:{Authorization:ye}}})},Qe=Se("\n query MyRole {\n myRole\n}"),_e=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Qe,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},Je=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(Qe,{context:{headers:{Authorization:i}}})},Ye=Se("\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}"),Xe=Se("\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 u(Xe,{skip:!e,context:{headers:{Authorization:ye}},variables:{campaignCodes:null!=e?e:[]}})},en=function(e){return u(Ye,{skip:void 0===e||!e.length,context:{headers:{Authorization:ye}},variables:{campaignCodes:null!=e?e:[]}})},nn=function(){return k(Xe,{context:{headers:{Authorization:ye}}})},an=Se("\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"),tn=function(){return u(an,{context:{headers:{Authorization:ye}}})},dn=Se("\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"),ln=Se("\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"),on=Se("\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 }"),mn=Se("\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 }"),rn=Se("\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"),un=function(){var n=e.useContext(p).apiState[0].account;return n?localStorage.getItem(n):null},kn=function(n){var i=e.useContext(p).apiState[0],a=i.account,t=i.privatTokenStatus,d=a?localStorage.getItem(a):null;return u(dn,{skip:t===ge.REQUESTED||!a,variables:{note:n},context:{headers:{Authorization:d}}})},sn=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return u(ln,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},cn=function(e,n,i){var a=un();return t(on,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:a}}})},vn=function(e,n,i){var a=un();return t(mn,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:a}}})},Nn=function(e){var n=un();return t(rn,{variables:{address:e},context:{headers:{Authorization:n}}})},pn=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"),Sn=function(e,n,i){return u(pn,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:ye}}})},gn=function(){return k(pn,{context:{headers:{Authorization:ye}}})},yn=Se("\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"),An=function(e){return u(yn,{skip:null===e,context:{headers:{Authorization:ye}},variables:{onlyApproved:e}})},fn=Se("\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"),In=function(n){var i=e.useContext(p).apiState[0],a=i.account,t=i.privatTokenStatus,d=a&&localStorage.getItem(a);return u(fn,{skip:!n.length||t===ge.REQUESTED||!a,context:{headers:{Authorization:d}},variables:{poolIDs:n}})},Dn=Se("\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 }"),hn=function(){return u(Dn,{context:{headers:{Authorization:ye}}})},Fn=Se("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),bn=function(){return u(Fn,{context:{headers:{Authorization:ye}}})},Tn=Se("\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}"),Vn=function(){var e=$n();return t(Tn,{context:{headers:{Authorization:e}}})},$n=function(){var e=i(p).apiState[0].account;return e?localStorage.getItem(e):null},Cn=Se("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),Pn=function(e){return u(Cn,{variables:{hashKey:e},context:{headers:{Authorization:ye}}})},Un=function(e,n){var i=v(e+"-"+n).toString();return Pn(i)},xn=Se("\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"),En=function(e,n){return u(xn,{skip:!e,context:{headers:{Authorization:ye}},variables:{input:{TxHash:e,ChainId:n}}})},qn=Se("\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"),On=function(e){return u(qn,{context:{headers:{Authorization:ye}},variables:{investedErc20Id:e}})},jn=function(){return k(qn,{context:{headers:{Authorization:ye}}})},zn=Se("\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"),wn=function(e){return u(zn,{variables:{page:e},context:{headers:{Authorization:ye}}})},Bn=Se("\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}"),Rn=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Bn,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},Wn=Se("\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Mn=Se("\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"),Ln=Se("\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"),Gn=Se("\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Hn=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return u(Wn,{skip:a===ge.REQUESTED||!i,context:{headers:{Authorization:t}}})},Kn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Mn,{context:{headers:{Authorization:i}}})},Qn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Ln,{context:{headers:{Authorization:i}}})},_n=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Gn,{context:{headers:{Authorization:i}}})},Jn=function(){var e=i(p),n=e.apiState[0],t=e.siweCallBack,d=fe()[0];return a(function(){try{var e,i=n.account,a=n.userDenied;if(!i)return Promise.resolve(null);if(!a)return Promise.resolve(localStorage.getItem(i));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)}},[n,t,d])},Yn=Se("\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),Xn=Se("\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),Zn=Se("\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),ei=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Yn,{context:{headers:{Authorization:i}}})},ni=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Xn,{context:{headers:{Authorization:i}}})},ii=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Zn,{context:{headers:{Authorization:i}}})},ai=function(){var e=Jn(),n=t(Zn),i=n[0];return[function(n){try{return Promise.resolve(e()).then(function(e){return i(N({},n,{context:{headers:{Authorization:e}}}))})}catch(e){return Promise.reject(e)}},n[1]]},ti=Se("\n mutation Logout {\n logout\n }\n"),di=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ti,{context:{headers:{Authorization:i}}})},li=Se("\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}"),oi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(li,{context:{headers:{Authorization:i}}})},mi=Se("\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}"),ri=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(mi,{context:{headers:{Authorization:i}}})},ui=Se("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),ki=Se("\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}"),si=Se("\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}"),ci=Se("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),vi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(si,{context:{headers:{Authorization:i}}})},Ni=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(ki,{context:{headers:{Authorization:i}}})},pi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ui,{context:{headers:{Authorization:i}}})},Si=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ci,{context:{headers:{Authorization:i}}})},gi=Se("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),yi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(gi,{context:{headers:{Authorization:i}}})},Ai=Se("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),fi=Se("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),Ii=Se("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),Di=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Ai,{context:{headers:{Authorization:i}}})},hi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(fi,{context:{headers:{Authorization:i}}})},Fi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Ii,{context:{headers:{Authorization:i}}})},bi=Se("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n"),Ti=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(bi,{context:{headers:{Authorization:i}}})};export{De as API4Provider,Ne as types,S as useAPI4State,cn as useAddAutoSignUp,je as useAddEvmWallet,Vn as useAdminCleanCache,pi as useAdminCreateAsset,Ti as useAdminCreatePoolzBackId,An as useApprovedContracts,en as useBoostData,Ze as useBoostUsers,Kn as useCreateSeasonPass,wn as useDaoSenderHistory,Nn as useDeleteAutoSignUp,ze as useDeleteEvmWallet,We as useDeleteNonEvmWallet,_n as useDeleteSeasonPass,Si as useGenerateSignature,kn as useGetAutoSignUp,sn as useGetAutoSignUpAll,Fe as useGetCurrentTime,fe as useGetGeneratedToken,Ve as useGetKYCStatus,Hn as useGetSeasonPass,Jn as useGetToken,On as useInvestedERC20,ri as useLazyAdminListOfCollateral,nn as useLazyBoostUsers,yi as useLazyGenerateInvestSignature,ni as useLazyGetAdminSignUp,hi as useLazyGetAdminSignUpV3,be as useLazyGetCurrentTime,ei as useLazyGetMySignUp,Di as useLazyGetMySignUpV3,gn as useLazyGetVaults,jn as useLazyInvestedERC20,$e as useLazyKYCStatus,Ni as useLazyMyAsset,Je as useLazyMyRole,vi as useLazyRetrieveSignature,oi as useLazyTokenRefundsNFT,Ke as useLeaderboard,He as useLeaderboardByAddress,di as useLogout,Re as useMyData,Rn as useMyInvested,_e as useMyRole,In as useMySignUpCheck,bn as usePoolxPrice,tn as usePoolxTokenomics,Be as useSetMyAgree,ii as useSetMySignUp,ai as useSetMySignUpBETA,Fi as useSetMySignUpV3,we as useSetNonEvmWallet,En as useSimpleUrlShortener,hn as useStatus,Pn as useTokenInfo,Un as useTokenInfoByChainAndAddress,vn as useUpdateAutoSignUp,Me as useUpdateNonEvmWallet,Qn as useUpdateSeasonPass,Sn as useVaults};
1
+ import e,{useMemo as n,useContext as i,useCallback as a}from"react";import{useMutation as t,HttpLink as d,ApolloClient as l,from as o,InMemoryCache as m,ApolloProvider as r,useQuery as u,useLazyQuery as k}from"@apollo/client";export*from"@apollo/client";import{onError as s}from"@apollo/client/link/error";import{setContext as c}from"@apollo/client/link/context";import v from"crypto-js/sha256";function N(){return N=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},N.apply(this,arguments)}var p=e.createContext(null),S=function(){return e.useContext(p)},g={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"}}]}}]}}]},y={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"}}}}],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"}}}],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:"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:"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"}}}]}]}}]},f={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"}}]}}]}}]},D={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"}}]}}]}}]},h={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"}}]}}]}}]},F={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"}}]}}]}}]},T={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"}}]}}]}}]},V={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"}}]}}]}}]},$={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"}}]}}]}}]},P={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"}}]}}]}}]},U={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"}}]}}]}}]}}]}}]}}]},x={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"}}]}}]}}]}}]},E={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"}}]}}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]},q={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"}}]}}]}}]},z={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"}}]}}]}}]},O={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"}}]}}]}}]},B={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"}}]}}]}}]},W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"Logout"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logout"}}]}}]},R={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"}}]}}]}}]},M={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"}}]}}]}}]},L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},G={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"}}]}}]}}]},H={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"}}]}}]}}]},K={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"}}]}}]}}]},Q={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"}}]}}]}}]},_={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"}}]}}]}}]}}]},J={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"}}]}}]}}]}}]},Y={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"}}]}}]}}]},X={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"}}]}}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRole"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRole"}}]}}]},ee={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"}}]}}]}}]},ne={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"}}]}}]}}]},ie={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"}}]}}]}}]}}]},ae={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"}}]}}]}}]},te={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"}}]}}]}}]},de={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"}}]}}]}}]},oe={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"}}]}}]}}]},me={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"}}]}}]}}]},re={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"}}]}}]}}]},ue={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"}}]}}]}}]},ke={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"}}]}}]}}]},se={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"}}]}}]}}]},ce={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"}}]}}]}}]},ve={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"}}]}}]}}]}}]},Ne={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"}}]}}]}}]},pe={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"}}]}}]}}]}}]},Se={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"}}]}}]}}]},ge={__proto__:null,AdminCleanCacheDocument:g,AdminCreatePoolzBackIdDocument:y,AdminListOfCollateralDocument:A,AdminWriteAllocationDocument:I,GetApprovedContractsDocument:f,AdminAutoSignUpDocument:D,AdminAutoSignUpAllDocument:b,AddAutoSignUpDocument:h,UpdateAutoSignUpDocument:F,DeleteAutoSignUpDocument:T,BoostProxyDataDocument:V,BoostProxyUsersDocument:$,DaoSenderHistoryDocument:C,AdminCreateAssetDocument:P,MyAssetsDocument:U,RetrieveSignatureDocument:x,GenerateSignatureDocument:E,MyQueryDocument:j,GenerateTokenFromSignatureDocument:q,GenerateMyInvestSignatureDocument:z,InvestedErc20Document:O,GetLeaderboardByAddressDocument:w,GetLeaderboardDocument:B,LogoutDocument:W,MyAllocationDocument:R,MyUpcomingAllocationDocument:M,SetMyAgreeDocument:L,MyDataDocument:G,AddEvmWalletDocument:H,DeleteEvmWalletDocument:K,AddNonEvmWalletDocument:Q,DeleteNonEvmWalletDocument:_,UpdateNonEvmWalletDocument:J,MyInvestedDocument:Y,KycDocument:X,MyRoleDocument:Z,SignUpCheckDocument:ee,PoolxPriceDocument:ne,GetPoolxTokenomicsDocument:ie,SeasonPassDocument:ae,CreateSeasonPassDocument:te,UpdateSeasonPassDocument:de,DeleteSeasonPassDocument:le,MySignUpV2Document:oe,AdminSignUpV2Document:me,ProjectSignUpV2Document:re,MySignUpV3Document:ue,AdminSignUpV3Document:ke,ProjectSignUpV3Document:se,SimpleUrlShortenerDocument:ce,StatusDocument:ve,TokenInfoDocument:Ne,TokenRefundsNftDocument:pe,DataDocument:Se},ye={"\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}":g,"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\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 mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n":I,"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":f,"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }":D,"\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 }":h,"\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 }":F,"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }":T,"\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}":V,"\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}":$,"\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}":P,"\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}":U,"\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}":x,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":E,"\n query MyQuery {\n time\n}":j,"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}":q,"\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n":z,"\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}":O,"\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}":B,"\n mutation Logout {\n logout\n }\n":W,"\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }":R,"\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }":M,"\n mutation setMyAgree {\n setMyAgree\n}":L,"\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}":G,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":H,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":K,"\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}":Q,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":_,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":J,"\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}":Y,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":X,"\n query MyRole {\n myRole\n}":Z,"\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }":ee,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":ne,"\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":ie,"\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n":ae,"\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":te,"\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":de,"\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":oe,"\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":me,"\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":re,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":ue,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":ke,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":se,"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}":ce,"\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 }":ve,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":Ne,"\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}":pe,"\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":Se};function Ae(e){var n;return null!=(n=ye[e])?n:{}}var Ie,fe="0x0000000000000000000000000000000000000000",De=Ae("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),be=function(){return t(De,{fetchPolicy:"no-cache",context:{headers:{Authorization:fe}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(Ie||(Ie={}));var he=function(n){var i=n.children,a=e.useContext(p).apiState,t=a[0],d=a[1],l=t.account,o=t.privatTokenStatus,m=t.siweResult,r=be()[0];return e.useEffect(function(){l&&o===Ie.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(l,n.generateTokenFromSignature.token),d(function(e){return N({},e,{siweResult:null,privatTokenStatus:Ie.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[l,o,m,r]),e.createElement(e.Fragment,null,i)},Fe=function(i){var a=i.children,t=i.account,u=i.options,k=u.siweCallBack,v=u.uri,S=e.useState({account:void 0,userDenied:!1,privatTokenStatus:Ie.NOT_REQUESTED,siweResult:null}),g=S[0],y=S[1],A=e.useRef(!1),I=e.useRef(g),f=e.useRef(k),D=function(e){y(function(n){var i=e(n);return I.current=i,i})},b=e.useMemo(function(){return{apiState:S,siweCallBack:f.current}},[S]),h=n(function(){return!(!t||!localStorage.getItem(String(t)))},[t]),F=e.useCallback(function(){try{if(A.current)return Promise.resolve();A.current=!0;var e=I.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!==Ie.REQUESTED)return D(function(e){return N({},e,{privatTokenStatus:Ie.REQUESTED})}),localStorage.removeItem(n),Promise.resolve(f.current()).then(function(e){D(function(n){return N({},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&&D(function(e){return N({},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)}},[]),T=e.useMemo(function(){var e=s(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&F()}),n=c(function(e,n){var i,a=localStorage.getItem(String(I.current.account));return null!=(i=n.headers)&&i.Authorization?{}:{headers:N({},n.headers,{Authorization:null!=a?a:fe})}}),i=new d({uri:v});return new l({link:o([e,n,i]),cache:new m})},[v,F]);return e.useEffect(function(){D(function(e){return N({},e,{account:t})})},[t]),e.useEffect(function(){h||F()},[h,F]),e.useEffect(function(){f.current=k},[k]),e.createElement(p.Provider,{value:b},e.createElement(r,{client:T},e.createElement(he,null,a)))},Te=Ae("\n query MyQuery {\n time\n}"),Ve=function(){var e=u(Te,{context:{headers:{Authorization:fe}}});return{loading:e.loading,error:e.error,data:e.data}},$e=function(){return k(Te,{context:{headers:{Authorization:fe}}})},Ce=Ae("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),Pe=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Ce,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},Ue=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(Ce,{context:{headers:{Authorization:i}}})},xe=Ae("\n mutation setMyAgree {\n setMyAgree\n}"),Ee=Ae("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),je=Ae("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),qe=Ae("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),ze=Ae("\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}"),Oe=Ae("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),we=Ae("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),Be=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(je,{context:{headers:{Authorization:i}}})},We=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(qe,{context:{headers:{Authorization:i}}})},Re=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ze,{context:{headers:{Authorization:i}}})},Me=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(xe,{context:{headers:{Authorization:i}}})},Le=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Ee,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},Ge=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Oe,{context:{headers:{Authorization:i}}})},He=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(we,{context:{headers:{Authorization:i}}})},Ke=Ae("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),Qe=Ae("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),_e=function(e){return u(Ke,{skip:!e,context:{headers:{Authorization:fe}},variables:{address:e}})},Je=function(){return u(Qe,{context:{headers:{Authorization:fe}}})},Ye=Ae("\n query MyRole {\n myRole\n}"),Xe=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Ye,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},Ze=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(Ye,{context:{headers:{Authorization:i}}})},en=Ae("\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}"),nn=Ae("\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}"),an=function(e){return u(nn,{skip:!e,context:{headers:{Authorization:fe}},variables:{campaignCodes:null!=e?e:[]}})},tn=function(e){return u(en,{skip:void 0===e||!e.length,context:{headers:{Authorization:fe}},variables:{campaignCodes:null!=e?e:[]}})},dn=function(){return k(nn,{context:{headers:{Authorization:fe}}})},ln=Ae("\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"),on=function(){return u(ln,{context:{headers:{Authorization:fe}}})},mn=Ae("\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"),rn=Ae("\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"),un=Ae("\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 }"),kn=Ae("\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 }"),sn=Ae("\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"),cn=function(){var n=e.useContext(p).apiState[0].account;return n?localStorage.getItem(n):null},vn=function(n){var i=e.useContext(p).apiState[0],a=i.account,t=i.privatTokenStatus,d=a?localStorage.getItem(a):null;return u(mn,{skip:t===Ie.REQUESTED||!a,variables:{note:n},context:{headers:{Authorization:d}}})},Nn=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return u(rn,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},pn=function(e,n,i){var a=cn();return t(un,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:a}}})},Sn=function(e,n,i){var a=cn();return t(kn,{variables:{address:e,poolzAmount:n,note:i},context:{headers:{Authorization:a}}})},gn=function(e){var n=cn();return t(sn,{variables:{address:e},context:{headers:{Authorization:n}}})},yn=Ae("\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"),An=function(e,n,i){return u(yn,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:fe}}})},In=function(){return k(yn,{context:{headers:{Authorization:fe}}})},fn=Ae("\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"),Dn=function(e){return u(fn,{skip:null===e,context:{headers:{Authorization:fe}},variables:{onlyApproved:e}})},bn=Ae("\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"),hn=function(n){var i=e.useContext(p).apiState[0],a=i.account,t=i.privatTokenStatus,d=a&&localStorage.getItem(a);return u(bn,{skip:!n.length||t===Ie.REQUESTED||!a,context:{headers:{Authorization:d}},variables:{poolIDs:n}})},Fn=Ae("\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 }"),Tn=function(){return u(Fn,{context:{headers:{Authorization:fe}}})},Vn=Ae("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),$n=function(){return u(Vn,{context:{headers:{Authorization:fe}}})},Cn=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}"),Pn=function(){var e=Un();return t(Cn,{context:{headers:{Authorization:e}}})},Un=function(){var e=i(p).apiState[0].account;return e?localStorage.getItem(e):null},xn=Ae("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),En=function(e){return u(xn,{variables:{hashKey:e},context:{headers:{Authorization:fe}}})},jn=function(e,n){var i=v(e+"-"+n).toString();return En(i)},qn=Ae("\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"),zn=function(e,n){return u(qn,{skip:!e,context:{headers:{Authorization:fe}},variables:{input:{TxHash:e,ChainId:n}}})},On=Ae("\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"),wn=function(e){return u(On,{context:{headers:{Authorization:fe}},variables:{investedErc20Id:e}})},Bn=function(){return k(On,{context:{headers:{Authorization:fe}}})},Wn=Ae("\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"),Rn=function(e){return u(Wn,{variables:{page:e},context:{headers:{Authorization:fe}}})},Mn=Ae("\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}"),Ln=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return u(Mn,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},Gn=Ae("\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),Hn=Ae("\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"),Kn=Ae("\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"),Qn=Ae("\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"),_n=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i?localStorage.getItem(i):null;return u(Gn,{skip:a===Ie.REQUESTED||!i,context:{headers:{Authorization:t}}})},Jn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Hn,{context:{headers:{Authorization:i}}})},Yn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Kn,{context:{headers:{Authorization:i}}})},Xn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(Qn,{context:{headers:{Authorization:i}}})},Zn=function(){var e=i(p),n=e.apiState[0],t=e.siweCallBack,d=be()[0];return a(function(){try{var e,i=n.account,a=n.userDenied;if(!i)return Promise.resolve(null);if(!a)return Promise.resolve(localStorage.getItem(i));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)}},[n,t,d])},ei=Ae("\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),ni=Ae("\n query AdminSignUpV2($projectId: Int!, $minPoolxAmount: Int!) {\n adminSignUpV2(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),ii=Ae("\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),ai=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(ei,{context:{headers:{Authorization:i}}})},ti=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(ni,{context:{headers:{Authorization:i}}})},di=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ii,{context:{headers:{Authorization:i}}})},li=function(){var e=Zn(),n=t(ii),i=n[0];return[function(n){try{return Promise.resolve(e()).then(function(e){return i(N({},n,{context:{headers:{Authorization:e}}}))})}catch(e){return Promise.reject(e)}},n[1]]},oi=Ae("\n mutation Logout {\n logout\n }\n"),mi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(oi,{context:{headers:{Authorization:i}}})},ri=Ae("\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}"),ui=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return k(ri,{context:{headers:{Authorization:i}}})},ki=Ae("\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}"),si=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(ki,{context:{headers:{Authorization:i}}})},ci=Ae("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),vi=Ae("\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}"),Ni=Ae("\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}"),pi=Ae("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),Si=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Ni,{context:{headers:{Authorization:i}}})},gi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(vi,{context:{headers:{Authorization:i}}})},yi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ci,{context:{headers:{Authorization:i}}})},Ai=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(pi,{context:{headers:{Authorization:i}}})},Ii=Ae("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),fi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Ii,{context:{headers:{Authorization:i}}})},Di=Ae("\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"),bi=Ae("\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"),hi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Di,{context:{headers:{Authorization:i}}})},Fi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(bi,{context:{headers:{Authorization:i}}})},Ti=Ae("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),Vi=Ae("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),$i=Ae("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),Ci=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Ti,{context:{headers:{Authorization:i}}})},Pi=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return k(Vi,{context:{headers:{Authorization:i}}})},Ui=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t($i,{context:{headers:{Authorization:i}}})},xi=Ae("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n"),Ei=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(xi,{context:{headers:{Authorization:i}}})},ji=Ae("\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"),qi=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return t(ji,{context:{headers:{Authorization:i}}})};export{Fe as API4Provider,ge as types,S as useAPI4State,pn as useAddAutoSignUp,Be as useAddEvmWallet,Pn as useAdminCleanCache,yi as useAdminCreateAsset,Ei as useAdminCreatePoolzBackId,qi as useAdminWriteAllocation,Dn as useApprovedContracts,tn as useBoostData,an as useBoostUsers,Jn as useCreateSeasonPass,Rn as useDaoSenderHistory,gn as useDeleteAutoSignUp,We as useDeleteEvmWallet,Ge as useDeleteNonEvmWallet,Xn as useDeleteSeasonPass,Ai as useGenerateSignature,vn as useGetAutoSignUp,Nn as useGetAutoSignUpAll,Ve as useGetCurrentTime,be as useGetGeneratedToken,Pe as useGetKYCStatus,_n as useGetSeasonPass,Zn as useGetToken,wn as useInvestedERC20,si as useLazyAdminListOfCollateral,dn as useLazyBoostUsers,fi as useLazyGenerateInvestSignature,ti as useLazyGetAdminSignUp,Pi as useLazyGetAdminSignUpV3,$e as useLazyGetCurrentTime,ai as useLazyGetMySignUp,Ci as useLazyGetMySignUpV3,In as useLazyGetVaults,Bn as useLazyInvestedERC20,Ue as useLazyKYCStatus,hi as useLazyMyAllowcation,gi as useLazyMyAsset,Ze as useLazyMyRole,Fi as useLazyMyUpcomingAllowcation,Si as useLazyRetrieveSignature,ui as useLazyTokenRefundsNFT,Je as useLeaderboard,_e as useLeaderboardByAddress,mi as useLogout,Le as useMyData,Ln as useMyInvested,Xe as useMyRole,hn as useMySignUpCheck,$n as usePoolxPrice,on as usePoolxTokenomics,Me as useSetMyAgree,di as useSetMySignUp,li as useSetMySignUpBETA,Ui as useSetMySignUpV3,Re as useSetNonEvmWallet,zn as useSimpleUrlShortener,Tn as useStatus,En as useTokenInfo,jn as useTokenInfoByChainAndAddress,Sn as useUpdateAutoSignUp,He as useUpdateNonEvmWallet,Yn as useUpdateSeasonPass,An as useVaults};
2
2
  //# sourceMappingURL=index.module.js.map