@poolzfinance/api4 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=require("react"),i=require("@apollo/client");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,r=/*#__PURE__*/n(e),t=null!=(a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?a:{};exports.API4Provider=function(e){var n=e.children,a=new i.ApolloClient({uri:"https://api4.poolz.finance/graphql",cache:new i.InMemoryCache,headers:{
|
|
1
|
+
var e=require("react"),i=require("@apollo/client");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,r=/*#__PURE__*/n(e),t=null!=(a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?a:{};exports.API4Provider=function(e){var n=e.children,a=new i.ApolloClient({uri:"https://api4.poolz.finance/graphql",cache:new i.InMemoryCache,headers:{Authorization:"0x0000000000000000000000000000000000000000"}});return r.default.createElement(i.ApolloProvider,{client:a},n)},exports.useGetCurrentTime=function(){var e=i.useQuery(t);return{loading:e.loading,error:e.error,data:e.data}};
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts","../src/components/API4Provider.tsx"],"sourcesContent":["/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;","import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n '[Aa]uthorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider"],"names":["_documents$source","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","React","createElement","ApolloProvider","_useQuery","useQuery","loading","error","data"],"mappings":"+HAqCkCA,sBClC5BC,SDmCJD,EEyN6B,CAACE,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxbN,EAAI,CACvC,uBGpCqB,SAAHY,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAYA,aAAC,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAAAA,cAEXC,QAAS,CACP,mBAAoB,gDAIxB,OACEC,UAACC,cAAAC,EAAAA,eAAe,CAAAR,OAAQA,GACrBD,EAGP,4BFXiC,WAC/B,IAAAU,EAAiCC,EAAQA,SAACvB,GAC1C,MAAO,CAAEwB,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts","../src/components/API4Provider.tsx"],"sourcesContent":["/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;","import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n 'Authorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider"],"names":["_documents$source","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","Authorization","React","createElement","ApolloProvider","_useQuery","useQuery","loading","error","data"],"mappings":"+HAqCkCA,sBClC5BC,SDmCJD,EEyN6B,CAACE,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxbN,EAAI,CACvC,uBGpCqB,SAAHY,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAYA,aAAC,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAAAA,cAEXC,QAAS,CACPC,cAAiB,gDAIrB,OACEC,UAACC,cAAAC,EAAAA,eAAe,CAAAT,OAAQA,GACrBD,EAGP,4BFXiC,WAC/B,IAAAW,EAAiCC,EAAQA,SAACxB,GAC1C,MAAO,CAAEyB,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|
package/dist/index.modern.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{ApolloClient as n,InMemoryCache as i,ApolloProvider as a,useQuery as t}from"@apollo/client";const r=({children:t})=>{const r=new n({uri:"https://api4.poolz.finance/graphql",cache:new i,headers:{
|
|
1
|
+
import e from"react";import{ApolloClient as n,InMemoryCache as i,ApolloProvider as a,useQuery as t}from"@apollo/client";const r=({children:t})=>{const r=new n({uri:"https://api4.poolz.finance/graphql",cache:new i,headers:{Authorization:"0x0000000000000000000000000000000000000000"}});return e.createElement(a,{client:r},t)},o=null!=(l={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?l:{};var l;const d=()=>{const{loading:e,error:n,data:i}=t(o);return{loading:e,error:n,data:i}};export{r as API4Provider,d as useGetCurrentTime};
|
|
2
2
|
//# sourceMappingURL=index.modern.js.map
|
package/dist/index.modern.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.modern.js","sources":["../src/components/API4Provider.tsx","../src/endpoints/getCurrentTime.ts","../src/types/graphql/gql.ts","../src/types/graphql/graphql.ts"],"sourcesContent":["import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n '[Aa]uthorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;"],"names":["API4Provider","children","client","ApolloClient","uri","cache","InMemoryCache","headers","React","createElement","ApolloProvider","GET_CURRENT_TIME","_documents$source","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","useGetCurrentTime","loading","error","data","useQuery"],"mappings":"wHAGM,MAAAA,EAAeA,EAAGC,eAEtB,MAAMC,EAAS,IAAIC,EAAa,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAEXC,QAAS,CACP,mBAAoB,gDAIxB,OACEC,EAACC,cAAAC,EAAe,CAAAR,OAAQA,GACrBD,EAAQ,ECbTU,SCmCJC,ECyN6B,CAACC,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eDzNxbL,EAAI,CACvC,EAFgB,IAAkBA,ED7BrB,MAAAW,EAAoBA,KAC/B,MAAMC,QAAEA,EAAOC,MAAEA,EAAKC,KAAEA,GAASC,EAAShB,GAC1C,MAAO,CAAEa,UAASC,QAAOC"}
|
|
1
|
+
{"version":3,"file":"index.modern.js","sources":["../src/components/API4Provider.tsx","../src/endpoints/getCurrentTime.ts","../src/types/graphql/gql.ts","../src/types/graphql/graphql.ts"],"sourcesContent":["import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n 'Authorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;"],"names":["API4Provider","children","client","ApolloClient","uri","cache","InMemoryCache","headers","Authorization","React","createElement","ApolloProvider","GET_CURRENT_TIME","_documents$source","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","useGetCurrentTime","loading","error","data","useQuery"],"mappings":"wHAGM,MAAAA,EAAeA,EAAGC,eAEtB,MAAMC,EAAS,IAAIC,EAAa,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAEXC,QAAS,CACPC,cAAiB,gDAIrB,OACEC,EAACC,cAAAC,EAAe,CAAAT,OAAQA,GACrBD,EAAQ,ECbTW,SCmCJC,ECyN6B,CAACC,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eDzNxbL,EAAI,CACvC,EAFgB,IAAkBA,ED7BrB,MAAAW,EAAoBA,KAC/B,MAAMC,QAAEA,EAAOC,MAAEA,EAAKC,KAAEA,GAASC,EAAShB,GAC1C,MAAO,CAAEa,UAASC,QAAOC"}
|
package/dist/index.module.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{ApolloClient as i,InMemoryCache as n,ApolloProvider as a,useQuery as t}from"@apollo/client";var r,o=function(t){var r=t.children,o=new i({uri:"https://api4.poolz.finance/graphql",cache:new n,headers:{
|
|
1
|
+
import e from"react";import{ApolloClient as i,InMemoryCache as n,ApolloProvider as a,useQuery as t}from"@apollo/client";var r,o=function(t){var r=t.children,o=new i({uri:"https://api4.poolz.finance/graphql",cache:new n,headers:{Authorization:"0x0000000000000000000000000000000000000000"}});return e.createElement(a,{client:o},r)},l=null!=(r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?r:{},d=function(){var e=t(l);return{loading:e.loading,error:e.error,data:e.data}};export{o as API4Provider,d as useGetCurrentTime};
|
|
2
2
|
//# sourceMappingURL=index.module.js.map
|
package/dist/index.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.js","sources":["../src/components/API4Provider.tsx","../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts"],"sourcesContent":["import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n '[Aa]uthorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider","/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;"],"names":["_documents$source","API4Provider","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","React","createElement","ApolloProvider","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","useGetCurrentTime","_useQuery","useQuery","loading","error","data"],"mappings":"wHAGM,ICkC4BA,EDlC5BC,EAAe,SAAHC,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAa,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAEXC,QAAS,CACP,mBAAoB,gDAIxB,OACEC,EAACC,cAAAC,EAAe,CAAAR,OAAQA,GACrBD,EAGP,EEhBMU,SDmCJb,EEyN6B,CAACc,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxblB,EAAI,CACvC,EC/BawB,EAAoB,WAC/B,IAAAC,EAAiCC,EAASb,GAC1C,MAAO,CAAEc,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|
|
1
|
+
{"version":3,"file":"index.module.js","sources":["../src/components/API4Provider.tsx","../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts"],"sourcesContent":["import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n 'Authorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider","/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;"],"names":["_documents$source","API4Provider","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","Authorization","React","createElement","ApolloProvider","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","useGetCurrentTime","_useQuery","useQuery","loading","error","data"],"mappings":"wHAGM,ICkC4BA,EDlC5BC,EAAe,SAAHC,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAa,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAEXC,QAAS,CACPC,cAAiB,gDAIrB,OACEC,EAACC,cAAAC,EAAe,CAAAT,OAAQA,GACrBD,EAGP,EEhBMW,SDmCJd,EEyN6B,CAACe,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxbnB,EAAI,CACvC,EC/BayB,EAAoB,WAC/B,IAAAC,EAAiCC,EAASb,GAC1C,MAAO,CAAEc,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("@apollo/client")):"function"==typeof define&&define.amd?define(["exports","react","@apollo/client"],n):n((e||self).api4={},e.react,e.client)}(this,function(e,n,i){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,o=/*#__PURE__*/t(n),r=null!=(a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?a:{};e.API4Provider=function(e){var n=e.children,t=new i.ApolloClient({uri:"https://api4.poolz.finance/graphql",cache:new i.InMemoryCache,headers:{
|
|
1
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("@apollo/client")):"function"==typeof define&&define.amd?define(["exports","react","@apollo/client"],n):n((e||self).api4={},e.react,e.client)}(this,function(e,n,i){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a,o=/*#__PURE__*/t(n),r=null!=(a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MyQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"time"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"time"}}]}}]})?a:{};e.API4Provider=function(e){var n=e.children,t=new i.ApolloClient({uri:"https://api4.poolz.finance/graphql",cache:new i.InMemoryCache,headers:{Authorization:"0x0000000000000000000000000000000000000000"}});return o.default.createElement(i.ApolloProvider,{client:t},n)},e.useGetCurrentTime=function(){var e=i.useQuery(r);return{loading:e.loading,error:e.error,data:e.data}}});
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts","../src/components/API4Provider.tsx"],"sourcesContent":["/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;","import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n '[Aa]uthorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider"],"names":["_documents$source","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","React","createElement","ApolloProvider","_useQuery","useQuery","loading","error","data"],"mappings":"mYAqCkCA,sBClC5BC,SDmCJD,EEyN6B,CAACE,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxbN,EAAI,CACvC,iBGpCqB,SAAHY,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAYA,aAAC,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAAAA,cAEXC,QAAS,CACP,mBAAoB,gDAIxB,OACEC,UAACC,cAAAC,EAAAA,eAAe,CAAAR,OAAQA,GACrBD,EAGP,sBFXiC,WAC/B,IAAAU,EAAiCC,EAAQA,SAACvB,GAC1C,MAAO,CAAEwB,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/types/graphql/gql.ts","../src/endpoints/getCurrentTime.ts","../src/types/graphql/graphql.ts","../src/components/API4Provider.tsx"],"sourcesContent":["/* eslint-disable */\nimport * as types from './graphql';\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n \"\\n query MyQuery($time: String!) {\\n time\\n}\": types.MyQueryDocument,\n};\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n *\n *\n * @example\n * ```ts\n * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);\n * ```\n *\n * The query argument is unknown!\n * Please regenerate the types.\n */\nexport function gql(source: string): unknown;\n\n/**\n * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function gql(source: \"\\n query MyQuery($time: String!) {\\n time\\n}\"): (typeof documents)[\"\\n query MyQuery($time: String!) {\\n time\\n}\"];\n\nexport function gql(source: string) {\n return (documents as any)[source] ?? {};\n}\n\nexport type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;","import { useQuery } from \"@apollo/client\"\nimport { gql } from \"types/graphql\"\n\nconst GET_CURRENT_TIME = gql(`\n query MyQuery($time: String!) {\n time\n}`)\n\nexport const useGetCurrentTime = () => {\n const { loading, error, data } = useQuery(GET_CURRENT_TIME)\n return { loading, error, data }\n}\n","/* eslint-disable */\nimport { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\nexport type Maybe<T> = T | null;\nexport type InputMaybe<T> = Maybe<T>;\nexport type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\nexport type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };\nexport type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };\nexport type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\n/** All built-in and custom scalars, mapped to their actual values */\nexport type Scalars = {\n ID: { input: string; output: string; }\n String: { input: string; output: string; }\n Boolean: { input: boolean; output: boolean; }\n Int: { input: number; output: number; }\n Float: { input: number; output: number; }\n};\n\nexport type InvestedErc20 = {\n __typename?: 'InvestedErc20';\n AmountIn: Scalars['Float']['output'];\n TokenOut: Scalars['Float']['output'];\n Wallet: Scalars['String']['output'];\n};\n\nexport type LeaderBoard = {\n __typename?: 'LeaderBoard';\n Amount: Scalars['Float']['output'];\n Owner: Scalars['String']['output'];\n Rank: Scalars['Int']['output'];\n VaultAmount: Scalars['Float']['output'];\n};\n\nexport type Mutation = {\n __typename?: 'Mutation';\n generateTokenFromAddress: Scalars['String']['output'];\n generateTokenFromSignature: Scalars['String']['output'];\n sendToMonitor: Scalars['Int']['output'];\n};\n\n\nexport type MutationGenerateTokenFromAddressArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type MutationGenerateTokenFromSignatureArgs = {\n eip4361message: Scalars['String']['input'];\n signature: Scalars['String']['input'];\n};\n\n\nexport type MutationSendToMonitorArgs = {\n input: Scalars['String']['input'];\n};\n\nexport type MySignUp = {\n __typename?: 'MySignUp';\n SignupId: Scalars['Int']['output'];\n};\n\nexport type Query = {\n __typename?: 'Query';\n circulatingSupply: Scalars['Float']['output'];\n investedErc20?: Maybe<Array<Maybe<InvestedErc20>>>;\n leaderBoard?: Maybe<Array<Maybe<LeaderBoard>>>;\n mySignUp?: Maybe<Array<Maybe<MySignUp>>>;\n signUp?: Maybe<Array<Maybe<SignUp>>>;\n signUpAllocation?: Maybe<Array<Maybe<SignUpAllocation>>>;\n signUpList?: Maybe<Array<Maybe<SignUpList>>>;\n signUpsTimes?: Maybe<Array<Maybe<SignUpsTimes>>>;\n status?: Maybe<Array<Maybe<Status>>>;\n statusSettings?: Maybe<StatusSettings>;\n time: Scalars['Int']['output'];\n tokenNetAmounts?: Maybe<Array<Maybe<TokenNetAmounts>>>;\n tokenRefunds?: Maybe<Array<Maybe<TokenRefunds>>>;\n totalPoolzLocked?: Maybe<TotalPoolzLocked>;\n totalSupply?: Maybe<TotalSupply>;\n unlocks?: Maybe<Array<Maybe<Unlocks>>>;\n vaultOut?: Maybe<Array<Maybe<VaultOut>>>;\n};\n\n\nexport type QueryInvestedErc20Args = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryLeaderBoardArgs = {\n address?: InputMaybe<Scalars['String']['input']>;\n timestamp?: InputMaybe<Scalars['Int']['input']>;\n};\n\n\nexport type QueryMySignUpArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QuerySignUpArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QuerySignUpAllocationArgs = {\n bot: Scalars['Float']['input'];\n minamount: Scalars['Int']['input'];\n signupid: Scalars['Int']['input'];\n take: Scalars['Int']['input'];\n top: Scalars['Float']['input'];\n totalallocation: Scalars['Int']['input'];\n winnersratio: Scalars['Float']['input'];\n};\n\n\nexport type QuerySignUpListArgs = {\n id: Scalars['Int']['input'];\n};\n\n\nexport type QueryTokenNetAmountsArgs = {\n contractAddress: Scalars['String']['input'];\n tokenAddress?: InputMaybe<Scalars['String']['input']>;\n};\n\n\nexport type QueryTokenRefundsArgs = {\n chainId: Scalars['Int']['input'];\n decimals?: InputMaybe<Scalars['Int']['input']>;\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n newOwner?: InputMaybe<Scalars['String']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n tokenAddress: Scalars['String']['input'];\n};\n\n\nexport type QueryUnlocksArgs = {\n address: Scalars['String']['input'];\n};\n\n\nexport type QueryVaultOutArgs = {\n fromBlock?: InputMaybe<Scalars['Int']['input']>;\n toBlock?: InputMaybe<Scalars['Int']['input']>;\n};\n\nexport type SignUp = {\n __typename?: 'SignUp';\n Address: Scalars['String']['output'];\n Amount: Scalars['Float']['output'];\n};\n\nexport type SignUpAllocation = {\n __typename?: 'SignUpAllocation';\n Address: Scalars['String']['output'];\n Allocation: Scalars['Float']['output'];\n Poolx: Scalars['Float']['output'];\n Rank: Scalars['Int']['output'];\n};\n\nexport type SignUpList = {\n __typename?: 'SignUpList';\n Address: Scalars['String']['output'];\n};\n\nexport type SignUpsTimes = {\n __typename?: 'SignUpsTimes';\n Address: Scalars['String']['output'];\n EndBlock?: Maybe<Scalars['Int']['output']>;\n EndTime?: Maybe<Scalars['String']['output']>;\n PoolId: Scalars['Int']['output'];\n StartBlock: Scalars['Int']['output'];\n StartTime: Scalars['String']['output'];\n};\n\nexport type Status = {\n __typename?: 'Status';\n ChainId: Scalars['Int']['output'];\n CovalentLastBlock: Scalars['Int']['output'];\n Events?: Maybe<Array<Maybe<StatusEvents>>>;\n};\n\nexport type StatusEvents = {\n __typename?: 'StatusEvents';\n Active: Scalars['Boolean']['output'];\n EndingBlock: Scalars['Int']['output'];\n ResponseType: Scalars['String']['output'];\n StartingBlock: Scalars['Int']['output'];\n};\n\nexport type StatusSettings = {\n __typename?: 'StatusSettings';\n Chains: Array<Maybe<StatusSettingsChains>>;\n SecondsToError: Scalars['Int']['output'];\n SecondsToWarning: Scalars['Int']['output'];\n};\n\nexport type StatusSettingsChains = {\n __typename?: 'StatusSettingsChains';\n BlockPerSecond: Scalars['Float']['output'];\n ChainId: Scalars['Int']['output'];\n};\n\nexport type TokenNetAmounts = {\n __typename?: 'TokenNetAmounts';\n Address: Scalars['String']['output'];\n NetAmount: Scalars['Float']['output'];\n};\n\nexport type TokenRefunds = {\n __typename?: 'TokenRefunds';\n BlockHeight: Scalars['Int']['output'];\n BlockSignedAt: Scalars['String']['output'];\n ChainId: Scalars['Int']['output'];\n NewAmount: Scalars['Float']['output'];\n NewOwner: Scalars['String']['output'];\n NewPoolId: Scalars['Int']['output'];\n OldOwner: Scalars['String']['output'];\n OldPoolId: Scalars['Int']['output'];\n OriginalLeftAmount: Scalars['Float']['output'];\n TxHash: Scalars['String']['output'];\n};\n\nexport type TotalPoolzLocked = {\n __typename?: 'TotalPoolzLocked';\n Locked: Scalars['Float']['output'];\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type TotalSupply = {\n __typename?: 'TotalSupply';\n TotalSupply: Scalars['Float']['output'];\n};\n\nexport type Unlocks = {\n __typename?: 'Unlocks';\n Timespan: Scalars['Int']['output'];\n Total: Scalars['Float']['output'];\n};\n\nexport type VaultOut = {\n __typename?: 'VaultOut';\n Amount: Scalars['Float']['output'];\n LockUntil: Scalars['String']['output'];\n Owner: Scalars['String']['output'];\n};\n\nexport type MyQueryQueryVariables = Exact<{\n time: Scalars['String']['input'];\n}>;\n\n\nexport type MyQueryQuery = { __typename?: 'Query', time: number };\n\n\nexport const MyQueryDocument = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"MyQuery\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}}}],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"time\"}}]}}]} as unknown as DocumentNode<MyQueryQuery, MyQueryQueryVariables>;","import React from \"react\"\nimport { ApolloClient, InMemoryCache, ApolloProvider } from \"@apollo/client\"\n\nconst API4Provider = ({ children }: { children: React.ReactNode }) => {\n\n const client = new ApolloClient({\n uri: \"https://api4.poolz.finance/graphql\",\n cache: new InMemoryCache(),\n\n headers: {\n 'Authorization': '0x0000000000000000000000000000000000000000'\n }\n })\n\n return (\n <ApolloProvider client={client}>\n {children}\n </ApolloProvider>\n )\n}\n\nexport default API4Provider"],"names":["_documents$source","GET_CURRENT_TIME","kind","definitions","operation","name","value","variableDefinitions","variable","type","selectionSet","selections","_ref","children","client","ApolloClient","uri","cache","InMemoryCache","headers","Authorization","React","createElement","ApolloProvider","_useQuery","useQuery","loading","error","data"],"mappings":"mYAqCkCA,sBClC5BC,SDmCJD,EEyN6B,CAACE,KAAO,WAAWC,YAAc,CAAC,CAACD,KAAO,sBAAsBE,UAAY,QAAQC,KAAO,CAACH,KAAO,OAAOI,MAAQ,WAAWC,oBAAsB,CAAC,CAACL,KAAO,qBAAqBM,SAAW,CAACN,KAAO,WAAWG,KAAO,CAACH,KAAO,OAAOI,MAAQ,SAASG,KAAO,CAACP,KAAO,cAAcO,KAAO,CAACP,KAAO,YAAYG,KAAO,CAACH,KAAO,OAAOI,MAAQ,cAAcI,aAAe,CAACR,KAAO,eAAeS,WAAa,CAAC,CAACT,KAAO,QAAQG,KAAO,CAACH,KAAO,OAAOI,MAAQ,eFzNxbN,EAAI,CACvC,iBGpCqB,SAAHY,GAAM,IAAAC,EAAQD,EAARC,SAEhBC,EAAS,IAAIC,EAAYA,aAAC,CAC9BC,IAAK,qCACLC,MAAO,IAAIC,EAAAA,cAEXC,QAAS,CACPC,cAAiB,gDAIrB,OACEC,UAACC,cAAAC,EAAAA,eAAe,CAAAT,OAAQA,GACrBD,EAGP,sBFXiC,WAC/B,IAAAW,EAAiCC,EAAQA,SAACxB,GAC1C,MAAO,CAAEyB,QADMF,EAAPE,QACUC,MADIH,EAALG,MACQC,KADGJ,EAAJI,KAE1B"}
|