@poolzfinance/api4 1.13.9 → 1.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/approvedContracts.d.ts +2 -1
- package/dist/endpoints/poolxTokenomicsV2.d.ts +6 -0
- package/dist/endpoints/vaultsV2.d.ts +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.modern.js +14 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +15 -0
- package/dist/types/graphql/graphql.d.ts +114 -0
- package/package.json +3 -1
package/dist/index.module.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e,{useContext as n,useCallback as i}from"react";import{useMutation as a,HttpLink as t,ApolloClient as d,from as o,InMemoryCache as l,ApolloProvider as r,useQuery as m,useLazyQuery as u,gql 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)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},N.apply(null,arguments)}var p=e.createContext(null),S=function(){return e.useContext(p)},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"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreatePoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"poolzBackId"},value:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}}},{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminGetAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminGetAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PhaseId"}},{kind:"Field",name:{kind:"Name",value:"WhiteList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]}}]},A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminListOfPoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminListOfPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminReadAssets"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReadAssetsRequest"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminReadAssets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Assets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Dispensers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"WeiAmount"}}]}},{kind:"Field",name:{kind:"Name",value:"Taken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsRefunded"}}]}}]}}]}}]}}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminWriteAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AdminWriteAllocation"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminWriteAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},D={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetApprovedContracts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"approvedContracts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"onlyApproved"},value:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ContractAddress"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"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"}}]}}]}}]},T={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"}}]}}]}}]}}]},F={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"}}]}}]}}]},b={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"}}]}}]}}]},V={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"}}]}}]}}]}}]}}]}}]},C={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"}}]}}]}}]}}]},P={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"}}]}}]}}]},$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]},x={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"}}]}}]}}]},E={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"}}]}}]}}]},q={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"}}]}}]}}]},j={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"}}]}}]},W={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"}}]}}]}}]},z={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"}}]}}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},U={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"}}]}}]}}]},w={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"}}]}}]}}]},O={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"}}]}}]}}]},M={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"}}]}}]}}]},G={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"}}]}}]}}]}}]},L={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"}}]}}]}}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyInvest"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myInvest"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"TokenName"}},{kind:"Field",name:{kind:"Name",value:"TokenSymbol"}}]}}]}}]},H={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"}}]}}]}}]},Q={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"}}]}}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRoles"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRoles"}}]}}]},Y={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"}}]}}]}}]},J={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"}}]}}]}}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectIdToPoolzBackId"},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:"projectIdToPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}]}]}}]},Z={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"}}]}}]}}]},ee={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"}}]}}]}}]},ne={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"}}]}}]}}]},ie={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"}}]}}]}}]},ae={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"}}]}}]}}]},te={__proto__:null,AdminCreatePoolzBackIdDocument:y,AdminGetAllocationDocument:g,AdminListOfPoolzBackIdDocument:A,AdminReadAssetsDocument:I,AdminWriteAllocationDocument:f,GetApprovedContractsDocument:D,BoostProxyDataDocument:h,BoostProxyUsersDocument:T,DaoSenderHistoryDocument:F,AdminCreateAssetDocument:b,MyAssetsDocument:V,RetrieveSignatureDocument:C,GenerateSignatureDocument:P,MyQueryDocument:$,GenerateTokenFromSignatureDocument:x,GenerateMyInvestSignatureDocument:E,GetLeaderboardByAddressDocument:q,GetLeaderboardDocument:j,LogoutDocument:B,MyAllocationDocument:W,MyUpcomingAllocationDocument:z,SetMyAgreeDocument:R,MyDataDocument:U,AddEvmWalletDocument:w,DeleteEvmWalletDocument:O,AddNonEvmWalletDocument:M,DeleteNonEvmWalletDocument:G,UpdateNonEvmWalletDocument:L,MyInvestDocument:K,MyInvestedDocument:H,KycDocument:Q,MyRolesDocument:_,PoolxPriceDocument:Y,GetPoolxTokenomicsDocument:J,ProjectIdToPoolzBackIdDocument:X,MySignUpV3Document:Z,AdminSignUpV3Document:ee,ProjectSignUpV3Document:ne,TokenInfoDocument:ie,DataDocument:ae},de={"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n":y,"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n":g,"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}":A,"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}":I,"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n":f,"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":D,"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}":h,"\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}":T,"\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":F,"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}":b,"\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}":V,"\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}":C,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":P,"\n query MyQuery {\n time\n}":$,"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}":x,"\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n":E,"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}":q,"\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}":j,"\n mutation Logout {\n logout\n }\n":B,"\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }":W,"\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }":z,"\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}":U,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":w,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":O,"\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}":M,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":G,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":L,"\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\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}":H,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":Q,"\n query MyRoles {\n myRoles\n }":_,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":Y,"\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":J,"\n query ProjectIdToPoolzBackId($projectId: String!) {\n projectIdToPoolzBackId(projectId: $projectId)\n }\n":X,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":Z,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":ee,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":ne,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":ie,"\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n":ae};function oe(e){var n;return null!=(n=de[e])?n:{}}var le,re="0x0000000000000000000000000000000000000000",me=oe("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),ue=function(){return a(me,{fetchPolicy:"no-cache",context:{headers:{Authorization:re}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(le||(le={}));var ke=function(n){var i=n.children,a=e.useContext(p).apiState,t=a[0],d=a[1],o=t.account,l=t.privatTokenStatus,r=t.siweResult,m=ue()[0];return e.useEffect(function(){o&&l===le.REQUESTED&&r&&function(){try{return Promise.resolve(m({variables:r,fetchPolicy:"no-cache"})).then(function(e){var n=e.data;null!=n&&n.generateTokenFromSignature&&(localStorage.setItem(o,n.generateTokenFromSignature.token),d(function(e){return N({},e,{siweResult:null,privatTokenStatus:le.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[o,l,r,m]),e.createElement(e.Fragment,null,i)},se=function(n){var i=n.children,a=n.account,m=n.options,u=m.siweCallBack,k=m.uri,v=e.useState({account:void 0,userDenied:!1,privatTokenStatus:le.NOT_REQUESTED,siweResult:null}),S=v[0],y=v[1],g=e.useMemo(function(){return[S,y]},[S]),A=e.useRef(!1),I=e.useRef(S),f=e.useRef(u),D=function(e){y(function(n){var i=e(n);return I.current=i,i})},h=e.useMemo(function(){return{apiState:g,siweCallBack:u}},[g,f]),T=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!==le.REQUESTED)return D(function(e){return N({},e,{privatTokenStatus:le.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)}},[]),F=e.useMemo(function(){var e=s(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&T()}),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:re})}}),i=new t({uri:k});return new d({link:o([e,n,i]),cache:new l})},[k,T]);return e.useEffect(function(){a&&D(function(e){return N({},e,{account:a})})},[a,y]),e.useEffect(function(){localStorage.getItem(String(a))||(I.current=S,T())},[T,S]),e.useEffect(function(){f.current=u},[u]),e.createElement(p.Provider,{value:h},e.createElement(r,{client:F},e.createElement(ke,null,i)))},ce=oe("\n query MyQuery {\n time\n}"),ve=function(){var e=m(ce,{context:{headers:{Authorization:re}}});return{loading:e.loading,error:e.error,data:e.data}},Ne=function(){return u(ce,{context:{headers:{Authorization:re}}})},pe=oe("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),Se=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(pe,{skip:a===le.REQUESTED||!i,context:{headers:{Authorization:t}}})},ye=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return u(pe,{context:{headers:{Authorization:i}}})},ge=oe("\n mutation setMyAgree {\n setMyAgree\n}"),Ae=oe("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),Ie=oe("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),fe=oe("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),De=oe("\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}"),he=oe("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),Te=oe("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),Fe=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ie,{context:{headers:{Authorization:i}}})},be=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(fe,{context:{headers:{Authorization:i}}})},Ve=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(De,{context:{headers:{Authorization:i}}})},Ce=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(ge,{context:{headers:{Authorization:i}}})},Pe=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(Ae,{skip:a===le.REQUESTED||!i,context:{headers:{Authorization:t}}})},$e=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(he,{context:{headers:{Authorization:i}}})},xe=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(Te,{context:{headers:{Authorization:i}}})},Ee=oe("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),qe=oe("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),je=function(e){return m(Ee,{skip:!e,context:{headers:{Authorization:re}},variables:{address:e}})},Be=function(){return m(qe,{context:{headers:{Authorization:re}}})},We=oe("\n query MyRoles {\n myRoles\n }"),ze=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(We,{skip:a===le.REQUESTED||!i,context:{headers:{Authorization:t}}})},Re=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return u(We,{context:{headers:{Authorization:i}}})},Ue=oe("\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}"),we=oe("\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}"),Oe=function(e){return m(we,{skip:!e,context:{headers:{Authorization:re}},variables:{campaignCodes:null!=e?e:[]}})},Me=function(e){return m(Ue,{skip:!(null!=e&&e.length),context:{headers:{Authorization:re}},variables:{campaignCodes:null!=e?e:[]}})},Ge=function(){return u(we,{context:{headers:{Authorization:re}}})},Le=oe("\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"),Ke=function(){return m(Le,{context:{headers:{Authorization:re}}})},He=oe("\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"),Qe=function(e,n,i){return m(He,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:re}},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"})},_e=function(){return u(He,{context:{headers:{Authorization:re}}})},Ye=oe("\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"),Je=function(e){return m(Ye,{skip:null===e,context:{headers:{Authorization:re}},variables:{onlyApproved:e}})},Xe=oe("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),Ze=function(){return m(Xe,{context:{headers:{Authorization:re}}})},en=oe("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),nn=function(e){return m(en,{variables:{hashKey:e},context:{headers:{Authorization:re}}})},an=function(e,n){var i=v(e+"-"+n).toString();return nn(i)},tn=oe("\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"),dn=function(e){return m(tn,{variables:{page:e},context:{headers:{Authorization:re}}})},on=oe("\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 m(on,{skip:a===le.REQUESTED||!i,context:{headers:{Authorization:t}}})},rn=oe("\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\n }\n }\n"),mn=function(){var n=e.useContext(p).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(rn,{skip:a===le.REQUESTED||!i,context:{headers:{Authorization:t}}})},un=oe("\n mutation Logout {\n logout\n }\n"),kn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(un,{context:{headers:{Authorization:i}},onCompleted:function(){localStorage.removeItem(String(n))}})},sn=function(){var e=n(p),a=e.apiState[0],t=e.siweCallBack,d=ue()[0];return i(function(){try{var e,n=a.account,i=a.userDenied;if(!n)return Promise.resolve(null);if(!i)return Promise.resolve(localStorage.getItem(n));var o=function(n,i){try{var a=Promise.resolve(t()).then(function(n){return Promise.resolve(d({variables:n,fetchPolicy:"no-cache"})).then(function(n){var i=n.data;return null!=i&&i.generateTokenFromSignature?(e=1,i.generateTokenFromSignature.token):(e=1,null)})})}catch(e){return i(e)}return a&&a.then?a.then(void 0,i):a}(0,function(e){console.error("useGetToken error",e)});return Promise.resolve(o&&o.then?o.then(function(n){return e?n:null}):e?o:null)}catch(e){return Promise.reject(e)}},[a,t,d])},cn=oe("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),vn=oe("\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}"),Nn=oe("\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}"),pn=oe("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),Sn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Nn,{context:{headers:{Authorization:i}}})},yn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(vn,{context:{headers:{Authorization:i}}})},gn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(cn,{context:{headers:{Authorization:i}}})},An=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(pn,{context:{headers:{Authorization:i}}})},In=oe("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),fn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(In,{context:{headers:{Authorization:i}}})},Dn=oe("\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"),hn=oe("\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"),Tn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Dn,{context:{headers:{Authorization:i}}})},Fn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(hn,{context:{headers:{Authorization:i}}})},bn=k("\n query ProjectIdToPoolzBackId($projectId: String!) {\n projectIdToPoolzBackId(projectId: $projectId)\n }\n"),Vn=function(e,n){return m(bn,{context:{headers:{Authorization:re}},variables:{projectId:e},skip:Boolean(null==n?void 0:n.skip)})},Cn=oe("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),Pn=oe("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),$n=oe("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),xn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Cn,{context:{headers:{Authorization:i}}})},En=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Pn,{context:{headers:{Authorization:i}}})},qn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a($n,{context:{headers:{Authorization:i}}})},jn=oe("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"),Bn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(jn,{context:{headers:{Authorization:i}}})},Wn=oe("\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"),zn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return a(Wn,{context:{headers:{Authorization:i}}})},Rn=oe("\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"),Un=function(n){var i=e.useContext(p).apiState[0].account,a=i&&localStorage.getItem(i);return m(Rn,{context:{headers:{Authorization:a}},variables:{projectId:n}})},wn=function(){var n=e.useContext(p).apiState[0].account,i=n&&localStorage.getItem(n);return u(Rn,{context:{headers:{Authorization:i}}})},On=oe("\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"),Mn=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(On,{context:{headers:{Authorization:i}}})},Gn=oe("\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"),Ln=function(){var n=e.useContext(p).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Gn,{context:{headers:{Authorization:i}}})};export{se as API4Provider,te as types,S as useAPI4State,Fe as useAddEvmWallet,gn as useAdminCreateAsset,Bn as useAdminCreatePoolzBackId,Un as useAdminGetAllocation,zn as useAdminWriteAllocation,Je as useApprovedContracts,Me as useBoostData,Oe as useBoostUsers,dn as useDaoSenderHistory,be as useDeleteEvmWallet,$e as useDeleteNonEvmWallet,An as useGenerateSignature,ve as useGetCurrentTime,ue as useGetGeneratedToken,Se as useGetKYCStatus,sn as useGetToken,wn as useLazyAdminGetAllocation,Mn as useLazyAdminListOfPoolzBackId,Ln as useLazyAdminReadAssets,Ge as useLazyBoostUsers,fn as useLazyGenerateInvestSignature,En as useLazyGetAdminSignUpV3,Ne as useLazyGetCurrentTime,xn as useLazyGetMySignUpV3,_e as useLazyGetVaults,ye as useLazyKYCStatus,Tn as useLazyMyAllowcation,yn as useLazyMyAsset,Re as useLazyMyRoles,Fn as useLazyMyUpcomingAllowcation,Sn as useLazyRetrieveSignature,Be as useLeaderboard,je as useLeaderboardByAddress,kn as useLogout,Pe as useMyData,mn as useMyInvest,ln as useMyInvested,ze as useMyRoles,Ze as usePoolxPrice,Ke as usePoolxTokenomics,Vn as useProjectIdToPoolzBackId,Ce as useSetMyAgree,qn as useSetMySignUpV3,Ve as useSetNonEvmWallet,nn as useTokenInfo,an as useTokenInfoByChainAndAddress,xe as useUpdateNonEvmWallet,Qe as useVaults};
|
|
1
|
+
import e,{useContext as n,useCallback as i}from"react";import{useMutation as a,HttpLink as t,ApolloClient as d,from as o,InMemoryCache as l,ApolloProvider as r,useQuery as m,useLazyQuery as u,gql 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 p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},p.apply(null,arguments)}var N=e.createContext(null),S=function(){return e.useContext(N)},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"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"chainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminCreatePoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}},{kind:"Argument",name:{kind:"Name",value:"poolzBackId"},value:{kind:"Variable",name:{kind:"Name",value:"poolzBackId"}}},{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},g={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminGetAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminGetAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"PhaseId"}},{kind:"Field",name:{kind:"Name",value:"WhiteList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]}}]},A={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminListOfPoolzBackId"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminListOfPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}}]}}]}}]},I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminReadAssets"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"request"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReadAssetsRequest"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminReadAssets"},arguments:[{kind:"Argument",name:{kind:"Name",value:"request"},value:{kind:"Variable",name:{kind:"Name",value:"request"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Assets"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"Dispensers"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"UserAddress"}},{kind:"Field",name:{kind:"Name",value:"Builders"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"WeiAmount"}}]}},{kind:"Field",name:{kind:"Name",value:"Taken"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsRefunded"}}]}}]}}]}}]}}]}}]},f={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AdminWriteAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"AdminWriteAllocation"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adminWriteAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}]}]}}]},h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetApprovedContracts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"approvedContracts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"onlyApproved"},value:{kind:"Variable",name:{kind:"Name",value:"onlyApproved"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ContractAddress"}},{kind:"Field",name:{kind:"Name",value:"Status"}}]}}]}}]},D={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetApprovedContractsV2"},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:"onlyApproved"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"approvedContractsV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"chainId"},value:{kind:"Variable",name:{kind:"Name",value:"chainId"}}},{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"}},{kind:"Field",name:{kind:"Name",value:"BlockNumber"}},{kind:"Field",name:{kind:"Name",value:"BlockTimestamp"}},{kind:"Field",name:{kind:"Name",value:"TransactionHash"}}]}}]}}]},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"}}]}}]}}]},F={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"}}]}}]}}]}}]},b={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"}}]}}]}}]},V={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"}}]}}]}}]},C={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"}}]}}]}}]}}]}}]}}]},P={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"}}]}}]}}]},$={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"}}]}}]}}]},E={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:"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"}}]}}]},z={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"}}]}}]}}]},R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyUpcomingAllocation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myUpcomingAllocation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectIDs"},value:{kind:"Variable",name:{kind:"Name",value:"projectIDs"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolzBackId"}},{kind:"Field",name:{kind:"Name",value:"Amount"}}]}}]}}]},U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setMyAgree"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setMyAgree"}}]}}]},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"}}]}}]}}]},O={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"}}]}}]}}]},M={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"}}]}}]}}]},L={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"}}]}}]}}]},G={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"}}]}}]}}]}}]},H={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"}}]}}]}}]}}]},K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyInvest"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myInvest"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ProjectId"}},{kind:"Field",name:{kind:"Name",value:"PoolId"}},{kind:"Field",name:{kind:"Name",value:"ChainId"}},{kind:"Field",name:{kind:"Name",value:"Token"}},{kind:"Field",name:{kind:"Name",value:"Amount"}},{kind:"Field",name:{kind:"Name",value:"TokenName"}},{kind:"Field",name:{kind:"Name",value:"TokenSymbol"}}]}}]}}]},_={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"}}]}}]}}]},Q={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"}}]}}]}}]},Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyRoles"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"myRoles"}}]}}]},J={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"}}]}}]}}]},X={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"}}]}}]}}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PoolxTokenomicsV2_Simple"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxTokenomicsV2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CirculatingSupply"}},{kind:"Field",name:{kind:"Name",value:"Locked"}}]}}]}}]},ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PoolxTokenomicsV2_Full"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"poolxTokenomicsV2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CirculatingSupply"}},{kind:"Field",name:{kind:"Name",value:"Locked"}},{kind:"Field",name:{kind:"Name",value:"InternalSum"}},{kind:"Field",name:{kind:"Name",value:"ExternalSum"}},{kind:"Field",name:{kind:"Name",value:"External"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Name"}},{kind:"Field",name:{kind:"Name",value:"Balance"}}]}},{kind:"Field",name:{kind:"Name",value:"Internal"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Name"}},{kind:"Field",name:{kind:"Name",value:"Balance"}}]}}]}}]}}]},ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectIdToPoolzBackId"},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:"projectIdToPoolzBackId"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}]}]}}]},ie={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"}}]}}]}}]},ae={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"}}]}}]}}]},te={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"}}]}}]}}]},de={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"}}]}}]}}]},oe={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"}}]}}]}}]},le={__proto__:null,AdminCreatePoolzBackIdDocument:y,AdminGetAllocationDocument:g,AdminListOfPoolzBackIdDocument:A,AdminReadAssetsDocument:I,AdminWriteAllocationDocument:f,GetApprovedContractsDocument:h,GetApprovedContractsV2Document:D,BoostProxyDataDocument:T,BoostProxyUsersDocument:F,DaoSenderHistoryDocument:b,AdminCreateAssetDocument:V,MyAssetsDocument:C,RetrieveSignatureDocument:P,GenerateSignatureDocument:x,MyQueryDocument:$,GenerateTokenFromSignatureDocument:q,GenerateMyInvestSignatureDocument:E,GetLeaderboardByAddressDocument:j,GetLeaderboardDocument:B,LogoutDocument:W,MyAllocationDocument:z,MyUpcomingAllocationDocument:R,SetMyAgreeDocument:U,MyDataDocument:w,AddEvmWalletDocument:O,DeleteEvmWalletDocument:M,AddNonEvmWalletDocument:L,DeleteNonEvmWalletDocument:G,UpdateNonEvmWalletDocument:H,MyInvestDocument:K,MyInvestedDocument:_,KycDocument:Q,MyRolesDocument:Y,PoolxPriceDocument:J,GetPoolxTokenomicsDocument:X,PoolxTokenomicsV2_SimpleDocument:Z,PoolxTokenomicsV2_FullDocument:ee,ProjectIdToPoolzBackIdDocument:ne,MySignUpV3Document:ie,AdminSignUpV3Document:ae,ProjectSignUpV3Document:te,TokenInfoDocument:de,DataDocument:oe},re={"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n":y,"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n":g,"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}":A,"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}":I,"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n":f,"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }":h,"\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }":D,"\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}":F,"\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":b,"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}":V,"\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}":C,"\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}":P,"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}":x,"\n query MyQuery {\n time\n}":$,"\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":E,"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}":j,"\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 }":z,"\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }":R,"\n mutation setMyAgree {\n setMyAgree\n}":U,"\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}":w,"\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":O,"\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}":M,"\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}":L,"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":G,"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}":H,"\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\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}":_,"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}":Q,"\n query MyRoles {\n myRoles\n }":Y,"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }":J,"\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":X,"\n query PoolxTokenomicsV2_Simple {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n }\n }\n":Z,"\n query PoolxTokenomicsV2_Full {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n InternalSum\n ExternalSum\n External {\n Name\n Balance\n }\n Internal {\n Name\n Balance\n }\n }\n }\n":ee,"\n query ProjectIdToPoolzBackId($projectId: String!) {\n projectIdToPoolzBackId(projectId: $projectId)\n }\n":ne,"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n":ie,"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n":ae,"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n":te,"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n":de,"\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":oe};function me(e){var n;return null!=(n=re[e])?n:{}}var ue,ke="0x0000000000000000000000000000000000000000",se=me("\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"),ce=function(){return a(se,{fetchPolicy:"no-cache",context:{headers:{Authorization:ke}}})};!function(e){e[e.NOT_REQUESTED=0]="NOT_REQUESTED",e[e.REQUESTED=1]="REQUESTED",e[e.RECEIVED=2]="RECEIVED"}(ue||(ue={}));var ve,pe,Ne,Se=function(n){var i=n.children,a=e.useContext(N).apiState,t=a[0],d=a[1],o=t.account,l=t.privatTokenStatus,r=t.siweResult,m=ce()[0];return e.useEffect(function(){o&&l===ue.REQUESTED&&r&&function(){try{return Promise.resolve(m({variables:r,fetchPolicy:"no-cache"})).then(function(e){var n=e.data;null!=n&&n.generateTokenFromSignature&&(localStorage.setItem(o,n.generateTokenFromSignature.token),d(function(e){return p({},e,{siweResult:null,privatTokenStatus:ue.RECEIVED})}))})}catch(e){return Promise.reject(e)}}()},[o,l,r,m]),e.createElement(e.Fragment,null,i)},ye=function(n){var i=n.children,a=n.account,m=n.options,u=m.siweCallBack,k=m.uri,v=e.useState({account:void 0,userDenied:!1,privatTokenStatus:ue.NOT_REQUESTED,siweResult:null}),S=v[0],y=v[1],g=e.useMemo(function(){return[S,y]},[S]),A=e.useRef(!1),I=e.useRef(S),f=e.useRef(u),h=function(e){y(function(n){var i=e(n);return I.current=i,i})},D=e.useMemo(function(){return{apiState:g,siweCallBack:u}},[g,f]),T=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!==ue.REQUESTED)return h(function(e){return p({},e,{privatTokenStatus:ue.REQUESTED})}),localStorage.removeItem(n),Promise.resolve(f.current()).then(function(e){h(function(n){return p({},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&&h(function(e){return p({},e,{userDenied:!0})})})}catch(e){return t(!0,e)}return d&&d.then?d.then(t.bind(null,!1),t.bind(null,!0)):t(!1,d)}(0,function(e,n){if(A.current=!1,e)throw n;return n}))}catch(e){return Promise.reject(e)}},[]),F=e.useMemo(function(){var e=s(function(e){var n=e.networkError;n&&"statusCode"in n&&(401===n.statusCode||403===n.statusCode)&&T()}),n=c(function(e,n){var i,a=localStorage.getItem(String(I.current.account));return null!=(i=n.headers)&&i.Authorization?{}:{headers:p({},n.headers,{Authorization:null!=a?a:ke})}}),i=new t({uri:k});return new d({link:o([e,n,i]),cache:new l})},[k,T]);return e.useEffect(function(){a&&h(function(e){return p({},e,{account:a})})},[a,y]),e.useEffect(function(){localStorage.getItem(String(a))||(I.current=S,T())},[T,S]),e.useEffect(function(){f.current=u},[u]),e.createElement(N.Provider,{value:D},e.createElement(r,{client:F},e.createElement(Se,null,i)))},ge=me("\n query MyQuery {\n time\n}"),Ae=function(){var e=m(ge,{context:{headers:{Authorization:ke}}});return{loading:e.loading,error:e.error,data:e.data}},Ie=function(){return u(ge,{context:{headers:{Authorization:ke}}})},fe=me("\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"),he=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(fe,{skip:a===ue.REQUESTED||!i,context:{headers:{Authorization:t}}})},De=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(fe,{context:{headers:{Authorization:i}}})},Te=me("\n mutation setMyAgree {\n setMyAgree\n}"),Fe=me("\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"),be=me("\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),Ve=me("\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"),Ce=me("\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}"),Pe=me("\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),xe=me("\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"),$e=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(be,{context:{headers:{Authorization:i}}})},qe=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ve,{context:{headers:{Authorization:i}}})},Ee=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ce,{context:{headers:{Authorization:i}}})},je=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Te,{context:{headers:{Authorization:i}}})},Be=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(Fe,{skip:a===ue.REQUESTED||!i,context:{headers:{Authorization:t}}})},We=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Pe,{context:{headers:{Authorization:i}}})},ze=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(xe,{context:{headers:{Authorization:i}}})},Re=me("\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}"),Ue=me("\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"),we=function(e){return m(Re,{skip:!e,context:{headers:{Authorization:ke}},variables:{address:e}})},Oe=function(){return m(Ue,{context:{headers:{Authorization:ke}}})},Me=me("\n query MyRoles {\n myRoles\n }"),Le=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(Me,{skip:a===ue.REQUESTED||!i,context:{headers:{Authorization:t}}})},Ge=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(Me,{context:{headers:{Authorization:i}}})},He=me("\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}"),Ke=me("\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}"),_e=function(e){return m(Ke,{skip:!e,context:{headers:{Authorization:ke}},variables:{campaignCodes:null!=e?e:[]}})},Qe=function(e){return m(He,{skip:!(null!=e&&e.length),context:{headers:{Authorization:ke}},variables:{campaignCodes:null!=e?e:[]}})},Ye=function(){return u(Ke,{context:{headers:{Authorization:ke}}})},Je=me("\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"),Xe=function(){return m(Je,{context:{headers:{Authorization:ke}}})},Ze=me("\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"),en=function(e,n,i){return m(Ze,{variables:{chainId:e,tokenAddress:n,fetchBalance:i},context:{headers:{Authorization:ke}},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"})},nn=function(){return u(Ze,{context:{headers:{Authorization:ke}}})},an=k(ve||(pe=["\n query VaultsV2($chainId: Int!) {\n vaultsV2(chainId: $chainId) {\n VaultId\n VaultAddress\n Token\n WeiBalance\n DepositStatus\n WithdrawStatus\n RoyaltyReceiver\n RoyaltyFeeNumerator\n }\n }\n"],Ne||(Ne=pe.slice(0)),pe.raw=Ne,ve=pe)),tn=function(e){return m(an,{variables:{chainId:e},skip:null==e,context:{headers:{Authorization:ke}},notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-and-network"})},dn=function(){return u(an,{context:{headers:{Authorization:ke}}})},on=me("\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }"),ln=function(e,n){return m(on,{skip:null===n||null===e,context:{headers:{Authorization:ke}},variables:{chainId:e,onlyApproved:n}})},rn=me("\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"),mn=function(){return m(rn,{context:{headers:{Authorization:ke}}})},un=me("\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"),kn=function(e){return m(un,{variables:{hashKey:e},context:{headers:{Authorization:ke}}})},sn=function(e,n){var i=v(e+"-"+n).toString();return kn(i)},cn=me("\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"),vn=function(e){return m(cn,{variables:{page:e},context:{headers:{Authorization:ke}}})},pn=me("\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}"),Nn=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(pn,{skip:a===ue.REQUESTED||!i,context:{headers:{Authorization:t}}})},Sn=me("\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\n }\n }\n"),yn=function(){var n=e.useContext(N).apiState[0],i=n.account,a=n.privatTokenStatus,t=i&&localStorage.getItem(i);return m(Sn,{skip:a===ue.REQUESTED||!i,context:{headers:{Authorization:t}}})},gn=me("\n mutation Logout {\n logout\n }\n"),An=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(gn,{context:{headers:{Authorization:i}},onCompleted:function(){localStorage.removeItem(String(n))}})},In=function(){var e=n(N),a=e.apiState[0],t=e.siweCallBack,d=ce()[0];return i(function(){try{var e,n=a.account,i=a.userDenied;if(!n)return Promise.resolve(null);if(!i)return Promise.resolve(localStorage.getItem(n));var o=function(n,i){try{var a=Promise.resolve(t()).then(function(n){return Promise.resolve(d({variables:n,fetchPolicy:"no-cache"})).then(function(n){var i=n.data;return null!=i&&i.generateTokenFromSignature?(e=1,i.generateTokenFromSignature.token):(e=1,null)})})}catch(e){return i(e)}return a&&a.then?a.then(void 0,i):a}(0,function(e){console.error("useGetToken error",e)});return Promise.resolve(o&&o.then?o.then(function(n){return e?n:null}):e?o:null)}catch(e){return Promise.reject(e)}},[a,t,d])},fn=me("\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}"),hn=me("\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}"),Dn=me("\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}"),Tn=me("\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}"),Fn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Dn,{context:{headers:{Authorization:i}}})},bn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(hn,{context:{headers:{Authorization:i}}})},Vn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(fn,{context:{headers:{Authorization:i}}})},Cn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Tn,{context:{headers:{Authorization:i}}})},Pn=me("\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"),xn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Pn,{context:{headers:{Authorization:i}}})},$n=me("\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"),qn=me("\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"),En=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u($n,{context:{headers:{Authorization:i}}})},jn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(qn,{context:{headers:{Authorization:i}}})},Bn=k("\n query ProjectIdToPoolzBackId($projectId: String!) {\n projectIdToPoolzBackId(projectId: $projectId)\n }\n"),Wn=function(e,n){return m(Bn,{context:{headers:{Authorization:ke}},variables:{projectId:e},skip:Boolean(null==n?void 0:n.skip)})},zn=me("\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"),Rn=me("\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"),Un=me("\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"),wn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(zn,{context:{headers:{Authorization:i}}})},On=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Rn,{context:{headers:{Authorization:i}}})},Mn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Un,{context:{headers:{Authorization:i}}})},Ln=me("\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"),Gn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Ln,{context:{headers:{Authorization:i}}})},Hn=me("\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"),Kn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return a(Hn,{context:{headers:{Authorization:i}}})},_n=me("\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"),Qn=function(n){var i=e.useContext(N).apiState[0].account,a=i&&localStorage.getItem(i);return m(_n,{context:{headers:{Authorization:a}},variables:{projectId:n}})},Yn=function(){var n=e.useContext(N).apiState[0].account,i=n&&localStorage.getItem(n);return u(_n,{context:{headers:{Authorization:i}}})},Jn=me("\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"),Xn=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Jn,{context:{headers:{Authorization:i}}})},Zn=me("\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"),ei=function(){var n=e.useContext(N).apiState[0].account,i=n?localStorage.getItem(n):null;return u(Zn,{context:{headers:{Authorization:i}}})},ni=me("\n query PoolxTokenomicsV2_Simple {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n }\n }\n"),ii=me("\n query PoolxTokenomicsV2_Full {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n InternalSum\n ExternalSum\n External {\n Name\n Balance\n }\n Internal {\n Name\n Balance\n }\n }\n }\n"),ai=function(){return m(ni,{context:{headers:{Authorization:ke}}})},ti=function(){return m(ii,{context:{headers:{Authorization:ke}}})};export{ye as API4Provider,le as types,S as useAPI4State,$e as useAddEvmWallet,Vn as useAdminCreateAsset,Gn as useAdminCreatePoolzBackId,Qn as useAdminGetAllocation,Kn as useAdminWriteAllocation,ln as useApprovedContracts,Qe as useBoostData,_e as useBoostUsers,vn as useDaoSenderHistory,qe as useDeleteEvmWallet,We as useDeleteNonEvmWallet,Cn as useGenerateSignature,Ae as useGetCurrentTime,ce as useGetGeneratedToken,he as useGetKYCStatus,In as useGetToken,Yn as useLazyAdminGetAllocation,Xn as useLazyAdminListOfPoolzBackId,ei as useLazyAdminReadAssets,Ye as useLazyBoostUsers,xn as useLazyGenerateInvestSignature,On as useLazyGetAdminSignUpV3,Ie as useLazyGetCurrentTime,wn as useLazyGetMySignUpV3,nn as useLazyGetVaults,dn as useLazyGetVaultsV2,De as useLazyKYCStatus,En as useLazyMyAllowcation,bn as useLazyMyAsset,Ge as useLazyMyRoles,jn as useLazyMyUpcomingAllowcation,Fn as useLazyRetrieveSignature,Oe as useLeaderboard,we as useLeaderboardByAddress,An as useLogout,Be as useMyData,yn as useMyInvest,Nn as useMyInvested,Le as useMyRoles,mn as usePoolxPrice,Xe as usePoolxTokenomics,ti as usePoolxTokenomicsFull,ai as usePoolxTokenomicsSimple,Wn as useProjectIdToPoolzBackId,je as useSetMyAgree,Mn as useSetMySignUpV3,Ee as useSetNonEvmWallet,kn as useTokenInfo,sn as useTokenInfoByChainAndAddress,ze as useUpdateNonEvmWallet,en as useVaults,tn as useVaultsV2};
|
|
2
2
|
//# sourceMappingURL=index.module.js.map
|