@poolzfinance/api4 1.13.0 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/adminReadAssets.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +3 -63
- package/dist/types/graphql/graphql.d.ts +25 -227
- package/package.json +1 -1
|
@@ -12,18 +12,12 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
12
12
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
13
13
|
*/
|
|
14
14
|
type Documents = {
|
|
15
|
-
"\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}": typeof types.AdminCleanCacheDocument;
|
|
16
15
|
"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n": typeof types.AdminCreatePoolzBackIdDocument;
|
|
17
16
|
"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n": typeof types.AdminGetAllocationDocument;
|
|
18
|
-
"\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}": typeof types.AdminListOfCollateralDocument;
|
|
19
17
|
"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
|
|
18
|
+
"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n IsTaken\n UserAddress\n Builders {\n WeiAmount\n }\n }\n }\n }\n}": typeof types.AdminReadAssetsDocument;
|
|
20
19
|
"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
|
|
21
20
|
"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": typeof types.GetApprovedContractsDocument;
|
|
22
|
-
"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": typeof types.AdminAutoSignUpDocument;
|
|
23
|
-
"\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }": typeof types.AdminAutoSignUpAllDocument;
|
|
24
|
-
"\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": typeof types.AddAutoSignUpDocument;
|
|
25
|
-
"\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": typeof types.UpdateAutoSignUpDocument;
|
|
26
|
-
"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }": typeof types.DeleteAutoSignUpDocument;
|
|
27
21
|
"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": typeof types.BoostProxyDataDocument;
|
|
28
22
|
"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": typeof types.BoostProxyUsersDocument;
|
|
29
23
|
"\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n": typeof types.DaoSenderHistoryDocument;
|
|
@@ -51,17 +45,11 @@ type Documents = {
|
|
|
51
45
|
"\n query MyRoles {\n myRoles\n }": typeof types.MyRolesDocument;
|
|
52
46
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": typeof types.PoolxPriceDocument;
|
|
53
47
|
"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n": typeof types.GetPoolxTokenomicsDocument;
|
|
54
|
-
"\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": typeof types.SeasonPassDocument;
|
|
55
|
-
"\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": typeof types.CreateSeasonPassDocument;
|
|
56
|
-
"\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": typeof types.UpdateSeasonPassDocument;
|
|
57
|
-
"\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": typeof types.DeleteSeasonPassDocument;
|
|
58
48
|
"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n": typeof types.MySignUpV3Document;
|
|
59
49
|
"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n": typeof types.AdminSignUpV3Document;
|
|
60
50
|
"\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n": typeof types.ProjectSignUpV3Document;
|
|
61
51
|
"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}": typeof types.SimpleUrlShortenerDocument;
|
|
62
|
-
"\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }": typeof types.StatusDocument;
|
|
63
52
|
"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n": typeof types.TokenInfoDocument;
|
|
64
|
-
"\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}": typeof types.TokenRefundsNftDocument;
|
|
65
53
|
"\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n": typeof types.DataDocument;
|
|
66
54
|
};
|
|
67
55
|
declare const documents: Documents;
|
|
@@ -78,10 +66,6 @@ declare const documents: Documents;
|
|
|
78
66
|
* Please regenerate the types.
|
|
79
67
|
*/
|
|
80
68
|
export declare function gql(source: string): unknown;
|
|
81
|
-
/**
|
|
82
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
83
|
-
*/
|
|
84
|
-
export declare function gql(source: "\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}"): (typeof documents)["\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}"];
|
|
85
69
|
/**
|
|
86
70
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
87
71
|
*/
|
|
@@ -93,11 +77,11 @@ export declare function gql(source: "\n query AdminGetAllocation($projectId: St
|
|
|
93
77
|
/**
|
|
94
78
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
95
79
|
*/
|
|
96
|
-
export declare function gql(source: "\n query
|
|
80
|
+
export declare function gql(source: "\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"): (typeof documents)["\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"];
|
|
97
81
|
/**
|
|
98
82
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
99
83
|
*/
|
|
100
|
-
export declare function gql(source: "\n query
|
|
84
|
+
export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n IsTaken\n UserAddress\n Builders {\n WeiAmount\n }\n }\n }\n }\n}"): (typeof documents)["\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n IsTaken\n UserAddress\n Builders {\n WeiAmount\n }\n }\n }\n }\n}"];
|
|
101
85
|
/**
|
|
102
86
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
103
87
|
*/
|
|
@@ -106,26 +90,6 @@ export declare function gql(source: "\n mutation AdminWriteAllocation($input: A
|
|
|
106
90
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
107
91
|
*/
|
|
108
92
|
export declare function gql(source: "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"): (typeof documents)["\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"];
|
|
109
|
-
/**
|
|
110
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
111
|
-
*/
|
|
112
|
-
export declare function gql(source: "\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
113
|
-
/**
|
|
114
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
115
|
-
*/
|
|
116
|
-
export declare function gql(source: "\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
117
|
-
/**
|
|
118
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
119
|
-
*/
|
|
120
|
-
export declare function gql(source: "\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
121
|
-
/**
|
|
122
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
123
|
-
*/
|
|
124
|
-
export declare function gql(source: "\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
125
|
-
/**
|
|
126
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
127
|
-
*/
|
|
128
|
-
export declare function gql(source: "\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
129
93
|
/**
|
|
130
94
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
131
95
|
*/
|
|
@@ -234,22 +198,6 @@ export declare function gql(source: "\n query PoolxPrice {\n poolxPrice {\n
|
|
|
234
198
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
235
199
|
*/
|
|
236
200
|
export declare function gql(source: "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"): (typeof documents)["\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"];
|
|
237
|
-
/**
|
|
238
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
239
|
-
*/
|
|
240
|
-
export declare function gql(source: "\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
|
|
241
|
-
/**
|
|
242
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
243
|
-
*/
|
|
244
|
-
export declare function gql(source: "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
|
|
245
|
-
/**
|
|
246
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
247
|
-
*/
|
|
248
|
-
export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
|
|
249
|
-
/**
|
|
250
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
251
|
-
*/
|
|
252
|
-
export declare function gql(source: "\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
|
|
253
201
|
/**
|
|
254
202
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
255
203
|
*/
|
|
@@ -266,18 +214,10 @@ export declare function gql(source: "\n mutation ProjectSignUpV3($projectId: St
|
|
|
266
214
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
267
215
|
*/
|
|
268
216
|
export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"];
|
|
269
|
-
/**
|
|
270
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
271
|
-
*/
|
|
272
|
-
export declare function gql(source: "\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"): (typeof documents)["\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"];
|
|
273
217
|
/**
|
|
274
218
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
275
219
|
*/
|
|
276
220
|
export declare function gql(source: "\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"): (typeof documents)["\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"];
|
|
277
|
-
/**
|
|
278
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
279
|
-
*/
|
|
280
|
-
export declare function gql(source: "\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"): (typeof documents)["\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"];
|
|
281
221
|
/**
|
|
282
222
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
283
223
|
*/
|
|
@@ -653,9 +653,8 @@ export type Query = {
|
|
|
653
653
|
boostProxy: Array<BoostProxy>;
|
|
654
654
|
daoSenderHistory: DaoSenderHistoryPage;
|
|
655
655
|
generateMyInvestSignature: GenerateMyInvestSignature;
|
|
656
|
-
/** @deprecated Will be updated to myInvested (archive) */
|
|
657
656
|
investedErc20: Array<InvestedErc20>;
|
|
658
|
-
/** @deprecated
|
|
657
|
+
/** @deprecated This endpoint is deprecated. */
|
|
659
658
|
kolInvestedErc20: Array<KolInvestedErc20>;
|
|
660
659
|
leaderBoard: Array<LeaderBoard>;
|
|
661
660
|
myAllocation: MyAllocation;
|
|
@@ -663,14 +662,11 @@ export type Query = {
|
|
|
663
662
|
myData?: Maybe<MyData>;
|
|
664
663
|
/** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
|
|
665
664
|
myInvestSum: MyInvestSum;
|
|
666
|
-
/** @deprecated Will be updated to myInvested (archive) */
|
|
667
665
|
myInvestmentsETH: Array<MyInvestmentsEth>;
|
|
668
|
-
/** @deprecated Will be updated to myInvested (archive) */
|
|
669
666
|
myInvestmentsErc20: Array<MyInvestmentsErc20>;
|
|
670
667
|
myProxyKYC: KycProxy;
|
|
671
668
|
/** @deprecated Use 'myRoles' endpoint. */
|
|
672
669
|
myRole: Scalars['String']['output'];
|
|
673
|
-
/** @deprecated Will be removed */
|
|
674
670
|
myRoles: Array<Scalars['String']['output']>;
|
|
675
671
|
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
676
672
|
mySignUpCheck: Array<SignUpCheck>;
|
|
@@ -1093,30 +1089,6 @@ export type VaultsDataBalance = {
|
|
|
1093
1089
|
BalanceOfToken: Scalars['Float']['output'];
|
|
1094
1090
|
FetchTime: Scalars['Int']['output'];
|
|
1095
1091
|
};
|
|
1096
|
-
export type AdminCleanCacheMutationVariables = Exact<{
|
|
1097
|
-
[key: string]: never;
|
|
1098
|
-
}>;
|
|
1099
|
-
export type AdminCleanCacheMutation = {
|
|
1100
|
-
__typename?: 'Mutation';
|
|
1101
|
-
adminCleanCache: {
|
|
1102
|
-
__typename?: 'CleanCache';
|
|
1103
|
-
success: boolean;
|
|
1104
|
-
result: {
|
|
1105
|
-
__typename?: 'CleanCacheResult';
|
|
1106
|
-
id: string;
|
|
1107
|
-
};
|
|
1108
|
-
messages: Array<{
|
|
1109
|
-
__typename?: 'CleanCacheMessage';
|
|
1110
|
-
code: number;
|
|
1111
|
-
message: string;
|
|
1112
|
-
}>;
|
|
1113
|
-
errors: Array<{
|
|
1114
|
-
__typename?: 'CleanCacheError';
|
|
1115
|
-
code: number;
|
|
1116
|
-
message: string;
|
|
1117
|
-
}>;
|
|
1118
|
-
};
|
|
1119
|
-
};
|
|
1120
1092
|
export type AdminCreatePoolzBackIdMutationVariables = Exact<{
|
|
1121
1093
|
projectId: Scalars['String']['input'];
|
|
1122
1094
|
poolzBackId: Scalars['Int']['input'];
|
|
@@ -1145,22 +1117,6 @@ export type AdminGetAllocationQuery = {
|
|
|
1145
1117
|
}> | null;
|
|
1146
1118
|
}>;
|
|
1147
1119
|
};
|
|
1148
|
-
export type AdminListOfCollateralQueryVariables = Exact<{
|
|
1149
|
-
chainId: Scalars['Int']['input'];
|
|
1150
|
-
collateralAddress: Scalars['String']['input'];
|
|
1151
|
-
limit: Scalars['Int']['input'];
|
|
1152
|
-
page: Scalars['Int']['input'];
|
|
1153
|
-
}>;
|
|
1154
|
-
export type AdminListOfCollateralQuery = {
|
|
1155
|
-
__typename?: 'Query';
|
|
1156
|
-
adminListOfCollateral: Array<{
|
|
1157
|
-
__typename?: 'AdminListOfCollateral';
|
|
1158
|
-
PoolId: number;
|
|
1159
|
-
TokenAmountInWei: string;
|
|
1160
|
-
MainCoinAmountInWei: string;
|
|
1161
|
-
FinishTime: number;
|
|
1162
|
-
}>;
|
|
1163
|
-
};
|
|
1164
1120
|
export type AdminListOfPoolzBackIdQueryVariables = Exact<{
|
|
1165
1121
|
projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1166
1122
|
}>;
|
|
@@ -1172,6 +1128,29 @@ export type AdminListOfPoolzBackIdQuery = {
|
|
|
1172
1128
|
PoolzBackId: number;
|
|
1173
1129
|
}>;
|
|
1174
1130
|
};
|
|
1131
|
+
export type AdminReadAssetsQueryVariables = Exact<{
|
|
1132
|
+
request: Array<ReadAssetsRequest> | ReadAssetsRequest;
|
|
1133
|
+
}>;
|
|
1134
|
+
export type AdminReadAssetsQuery = {
|
|
1135
|
+
__typename?: 'Query';
|
|
1136
|
+
adminReadAssets: {
|
|
1137
|
+
__typename?: 'ReadAssetsResponse';
|
|
1138
|
+
Assets: Array<{
|
|
1139
|
+
__typename?: 'ReadAssetResponse_Asset';
|
|
1140
|
+
ChainId: number;
|
|
1141
|
+
PoolId: number;
|
|
1142
|
+
Dispensers: Array<{
|
|
1143
|
+
__typename?: 'ReadAssetResponse_Dispenser';
|
|
1144
|
+
IsTaken: boolean;
|
|
1145
|
+
UserAddress: string;
|
|
1146
|
+
Builders: Array<{
|
|
1147
|
+
__typename?: 'ReadAssetResponse_Builder';
|
|
1148
|
+
WeiAmount: string;
|
|
1149
|
+
}>;
|
|
1150
|
+
}>;
|
|
1151
|
+
}>;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1175
1154
|
export type AdminWriteAllocationMutationVariables = Exact<{
|
|
1176
1155
|
input: AdminWriteAllocation;
|
|
1177
1156
|
}>;
|
|
@@ -1190,70 +1169,6 @@ export type GetApprovedContractsQuery = {
|
|
|
1190
1169
|
Status: boolean;
|
|
1191
1170
|
}>;
|
|
1192
1171
|
};
|
|
1193
|
-
export type AdminAutoSignUpQueryVariables = Exact<{
|
|
1194
|
-
note?: InputMaybe<Scalars['String']['input']>;
|
|
1195
|
-
}>;
|
|
1196
|
-
export type AdminAutoSignUpQuery = {
|
|
1197
|
-
__typename?: 'Query';
|
|
1198
|
-
adminAutoSignUp: Array<{
|
|
1199
|
-
__typename?: 'AdminAutoSignUp';
|
|
1200
|
-
Address: string;
|
|
1201
|
-
PoolzAmount: number;
|
|
1202
|
-
Note: string;
|
|
1203
|
-
}>;
|
|
1204
|
-
};
|
|
1205
|
-
export type AdminAutoSignUpAllQueryVariables = Exact<{
|
|
1206
|
-
[key: string]: never;
|
|
1207
|
-
}>;
|
|
1208
|
-
export type AdminAutoSignUpAllQuery = {
|
|
1209
|
-
__typename?: 'Query';
|
|
1210
|
-
adminAutoSignUp: Array<{
|
|
1211
|
-
__typename?: 'AdminAutoSignUp';
|
|
1212
|
-
Address: string;
|
|
1213
|
-
PoolzAmount: number;
|
|
1214
|
-
Note: string;
|
|
1215
|
-
}>;
|
|
1216
|
-
};
|
|
1217
|
-
export type AddAutoSignUpMutationVariables = Exact<{
|
|
1218
|
-
address: Scalars['String']['input'];
|
|
1219
|
-
poolzAmount: Scalars['Float']['input'];
|
|
1220
|
-
note: Scalars['String']['input'];
|
|
1221
|
-
}>;
|
|
1222
|
-
export type AddAutoSignUpMutation = {
|
|
1223
|
-
__typename?: 'Mutation';
|
|
1224
|
-
addAutoSignUp: {
|
|
1225
|
-
__typename?: 'AdminAutoSignUp';
|
|
1226
|
-
Address: string;
|
|
1227
|
-
PoolzAmount: number;
|
|
1228
|
-
Note: string;
|
|
1229
|
-
};
|
|
1230
|
-
};
|
|
1231
|
-
export type UpdateAutoSignUpMutationVariables = Exact<{
|
|
1232
|
-
address: Scalars['String']['input'];
|
|
1233
|
-
poolzAmount: Scalars['Float']['input'];
|
|
1234
|
-
note: Scalars['String']['input'];
|
|
1235
|
-
}>;
|
|
1236
|
-
export type UpdateAutoSignUpMutation = {
|
|
1237
|
-
__typename?: 'Mutation';
|
|
1238
|
-
updateAutoSignUp: {
|
|
1239
|
-
__typename?: 'AdminAutoSignUp';
|
|
1240
|
-
Address: string;
|
|
1241
|
-
PoolzAmount: number;
|
|
1242
|
-
Note: string;
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
|
-
export type DeleteAutoSignUpMutationVariables = Exact<{
|
|
1246
|
-
address: Scalars['String']['input'];
|
|
1247
|
-
}>;
|
|
1248
|
-
export type DeleteAutoSignUpMutation = {
|
|
1249
|
-
__typename?: 'Mutation';
|
|
1250
|
-
deleteAutoSignUp: {
|
|
1251
|
-
__typename?: 'AdminAutoSignUp';
|
|
1252
|
-
Address: string;
|
|
1253
|
-
PoolzAmount: number;
|
|
1254
|
-
Note: string;
|
|
1255
|
-
};
|
|
1256
|
-
};
|
|
1257
1172
|
export type BoostProxyDataQueryVariables = Exact<{
|
|
1258
1173
|
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1259
1174
|
}>;
|
|
@@ -1654,65 +1569,6 @@ export type GetPoolxTokenomicsQuery = {
|
|
|
1654
1569
|
};
|
|
1655
1570
|
};
|
|
1656
1571
|
};
|
|
1657
|
-
export type SeasonPassQueryVariables = Exact<{
|
|
1658
|
-
[key: string]: never;
|
|
1659
|
-
}>;
|
|
1660
|
-
export type SeasonPassQuery = {
|
|
1661
|
-
__typename?: 'Query';
|
|
1662
|
-
seasonPass: Array<{
|
|
1663
|
-
__typename?: 'SeasonPass';
|
|
1664
|
-
Owner: string;
|
|
1665
|
-
Amount: number;
|
|
1666
|
-
ValidUntil: number;
|
|
1667
|
-
Note: string;
|
|
1668
|
-
}>;
|
|
1669
|
-
};
|
|
1670
|
-
export type CreateSeasonPassMutationVariables = Exact<{
|
|
1671
|
-
Owner: Scalars['String']['input'];
|
|
1672
|
-
Amount: Scalars['Float']['input'];
|
|
1673
|
-
ValidUntil: Scalars['Int']['input'];
|
|
1674
|
-
Note: Scalars['String']['input'];
|
|
1675
|
-
}>;
|
|
1676
|
-
export type CreateSeasonPassMutation = {
|
|
1677
|
-
__typename?: 'Mutation';
|
|
1678
|
-
createSeasonPass: {
|
|
1679
|
-
__typename?: 'SeasonPass';
|
|
1680
|
-
Owner: string;
|
|
1681
|
-
Amount: number;
|
|
1682
|
-
ValidUntil: number;
|
|
1683
|
-
Note: string;
|
|
1684
|
-
};
|
|
1685
|
-
};
|
|
1686
|
-
export type UpdateSeasonPassMutationVariables = Exact<{
|
|
1687
|
-
Owner: Scalars['String']['input'];
|
|
1688
|
-
Amount: Scalars['Float']['input'];
|
|
1689
|
-
ValidUntil: Scalars['Int']['input'];
|
|
1690
|
-
Note: Scalars['String']['input'];
|
|
1691
|
-
}>;
|
|
1692
|
-
export type UpdateSeasonPassMutation = {
|
|
1693
|
-
__typename?: 'Mutation';
|
|
1694
|
-
updateSeasonPass: {
|
|
1695
|
-
__typename?: 'SeasonPass';
|
|
1696
|
-
Owner: string;
|
|
1697
|
-
Amount: number;
|
|
1698
|
-
ValidUntil: number;
|
|
1699
|
-
Note: string;
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
export type DeleteSeasonPassMutationVariables = Exact<{
|
|
1703
|
-
owner: Scalars['String']['input'];
|
|
1704
|
-
note: Scalars['String']['input'];
|
|
1705
|
-
}>;
|
|
1706
|
-
export type DeleteSeasonPassMutation = {
|
|
1707
|
-
__typename?: 'Mutation';
|
|
1708
|
-
deleteSeasonPass: {
|
|
1709
|
-
__typename?: 'SeasonPass';
|
|
1710
|
-
Owner: string;
|
|
1711
|
-
Amount: number;
|
|
1712
|
-
ValidUntil: number;
|
|
1713
|
-
Note: string;
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
1572
|
export type MySignUpV3QueryVariables = Exact<{
|
|
1717
1573
|
projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1718
1574
|
}>;
|
|
@@ -1761,29 +1617,6 @@ export type SimpleUrlShortenerQuery = {
|
|
|
1761
1617
|
XPostText: string;
|
|
1762
1618
|
} | null;
|
|
1763
1619
|
};
|
|
1764
|
-
export type StatusQueryVariables = Exact<{
|
|
1765
|
-
[key: string]: never;
|
|
1766
|
-
}>;
|
|
1767
|
-
export type StatusQuery = {
|
|
1768
|
-
__typename?: 'Query';
|
|
1769
|
-
status: Array<{
|
|
1770
|
-
__typename?: 'Status';
|
|
1771
|
-
ChainId: number;
|
|
1772
|
-
ChainName: string;
|
|
1773
|
-
RpcUrl: string;
|
|
1774
|
-
CovalentLastBlock: number;
|
|
1775
|
-
SecondsToWarning: number;
|
|
1776
|
-
SecondsToError: number;
|
|
1777
|
-
BlockPerSecond: number;
|
|
1778
|
-
Events: Array<{
|
|
1779
|
-
__typename?: 'StatusEvents';
|
|
1780
|
-
Active: boolean;
|
|
1781
|
-
StartingBlock: number;
|
|
1782
|
-
EndingBlock: number;
|
|
1783
|
-
ResponseType: string;
|
|
1784
|
-
}>;
|
|
1785
|
-
}>;
|
|
1786
|
-
};
|
|
1787
1620
|
export type TokenInfoQueryVariables = Exact<{
|
|
1788
1621
|
hashKey: Scalars['String']['input'];
|
|
1789
1622
|
}>;
|
|
@@ -1799,29 +1632,6 @@ export type TokenInfoQuery = {
|
|
|
1799
1632
|
TotalSupply: number;
|
|
1800
1633
|
} | null;
|
|
1801
1634
|
};
|
|
1802
|
-
export type TokenRefundsNftQueryVariables = Exact<{
|
|
1803
|
-
chainId: Scalars['Int']['input'];
|
|
1804
|
-
poolId: Scalars['Int']['input'];
|
|
1805
|
-
}>;
|
|
1806
|
-
export type TokenRefundsNftQuery = {
|
|
1807
|
-
__typename?: 'Query';
|
|
1808
|
-
tokenRefundsNFT: Array<{
|
|
1809
|
-
__typename?: 'TokenRefundsNFT';
|
|
1810
|
-
TxHash: string;
|
|
1811
|
-
BlockSignedAt: number;
|
|
1812
|
-
From: string;
|
|
1813
|
-
TokensRefunded: {
|
|
1814
|
-
__typename?: 'TokenRefundsNFT_TokensRefunded';
|
|
1815
|
-
TokenId: number;
|
|
1816
|
-
Amount: number;
|
|
1817
|
-
};
|
|
1818
|
-
TokenOut: {
|
|
1819
|
-
__typename?: 'TokenRefundsNFT_TokenOut';
|
|
1820
|
-
TokenId: number;
|
|
1821
|
-
Amount: number;
|
|
1822
|
-
};
|
|
1823
|
-
}>;
|
|
1824
|
-
};
|
|
1825
1635
|
export type DataQueryVariables = Exact<{
|
|
1826
1636
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
1827
1637
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1849,18 +1659,12 @@ export type DataQuery = {
|
|
|
1849
1659
|
}>;
|
|
1850
1660
|
}>;
|
|
1851
1661
|
};
|
|
1852
|
-
export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, AdminCleanCacheMutationVariables>;
|
|
1853
1662
|
export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
|
|
1854
1663
|
export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
|
|
1855
|
-
export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, AdminListOfCollateralQueryVariables>;
|
|
1856
1664
|
export declare const AdminListOfPoolzBackIdDocument: DocumentNode<AdminListOfPoolzBackIdQuery, AdminListOfPoolzBackIdQueryVariables>;
|
|
1665
|
+
export declare const AdminReadAssetsDocument: DocumentNode<AdminReadAssetsQuery, AdminReadAssetsQueryVariables>;
|
|
1857
1666
|
export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
|
|
1858
1667
|
export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, GetApprovedContractsQueryVariables>;
|
|
1859
|
-
export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, AdminAutoSignUpQueryVariables>;
|
|
1860
|
-
export declare const AdminAutoSignUpAllDocument: DocumentNode<AdminAutoSignUpAllQuery, AdminAutoSignUpAllQueryVariables>;
|
|
1861
|
-
export declare const AddAutoSignUpDocument: DocumentNode<AddAutoSignUpMutation, AddAutoSignUpMutationVariables>;
|
|
1862
|
-
export declare const UpdateAutoSignUpDocument: DocumentNode<UpdateAutoSignUpMutation, UpdateAutoSignUpMutationVariables>;
|
|
1863
|
-
export declare const DeleteAutoSignUpDocument: DocumentNode<DeleteAutoSignUpMutation, DeleteAutoSignUpMutationVariables>;
|
|
1864
1668
|
export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, BoostProxyDataQueryVariables>;
|
|
1865
1669
|
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, BoostProxyUsersQueryVariables>;
|
|
1866
1670
|
export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, DaoSenderHistoryQueryVariables>;
|
|
@@ -1888,15 +1692,9 @@ export declare const KycDocument: DocumentNode<KycQuery, KycQueryVariables>;
|
|
|
1888
1692
|
export declare const MyRolesDocument: DocumentNode<MyRolesQuery, MyRolesQueryVariables>;
|
|
1889
1693
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, PoolxPriceQueryVariables>;
|
|
1890
1694
|
export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, GetPoolxTokenomicsQueryVariables>;
|
|
1891
|
-
export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, SeasonPassQueryVariables>;
|
|
1892
|
-
export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, CreateSeasonPassMutationVariables>;
|
|
1893
|
-
export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, UpdateSeasonPassMutationVariables>;
|
|
1894
|
-
export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, DeleteSeasonPassMutationVariables>;
|
|
1895
1695
|
export declare const MySignUpV3Document: DocumentNode<MySignUpV3Query, MySignUpV3QueryVariables>;
|
|
1896
1696
|
export declare const AdminSignUpV3Document: DocumentNode<AdminSignUpV3Query, AdminSignUpV3QueryVariables>;
|
|
1897
1697
|
export declare const ProjectSignUpV3Document: DocumentNode<ProjectSignUpV3Mutation, ProjectSignUpV3MutationVariables>;
|
|
1898
1698
|
export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, SimpleUrlShortenerQueryVariables>;
|
|
1899
|
-
export declare const StatusDocument: DocumentNode<StatusQuery, StatusQueryVariables>;
|
|
1900
1699
|
export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, TokenInfoQueryVariables>;
|
|
1901
|
-
export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, TokenRefundsNftQueryVariables>;
|
|
1902
1700
|
export declare const DataDocument: DocumentNode<DataQuery, DataQueryVariables>;
|