@poolzfinance/api4 1.11.25 → 1.11.27
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/investedERC20.d.ts +3 -0
- package/dist/endpoints/simpleUrlShortener.d.ts +5 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -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/dist/types/graphql/gql.d.ts +14 -7
- package/dist/types/graphql/graphql.d.ts +30 -5
- package/package.json +1 -1
|
@@ -36,10 +36,10 @@ declare const documents: {
|
|
|
36
36
|
"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.DeleteAutoSignUpMutation, types.Exact<{
|
|
37
37
|
address: string;
|
|
38
38
|
}>>;
|
|
39
|
-
"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": DocumentNode<types.BoostProxyDataQuery, types.Exact<{
|
|
39
|
+
"\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}": DocumentNode<types.BoostProxyDataQuery, types.Exact<{
|
|
40
40
|
campaignCodes: string | string[];
|
|
41
41
|
}>>;
|
|
42
|
-
"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
|
|
42
|
+
"\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}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
|
|
43
43
|
campaignCodes: string | string[];
|
|
44
44
|
}>>;
|
|
45
45
|
"\n query MyQuery {\n time\n}": DocumentNode<types.MyQueryQuery, types.Exact<{
|
|
@@ -49,6 +49,9 @@ declare const documents: {
|
|
|
49
49
|
eip4361message: string;
|
|
50
50
|
signature: string;
|
|
51
51
|
}>>;
|
|
52
|
+
"\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}": DocumentNode<types.InvestedErc20Query, types.Exact<{
|
|
53
|
+
investedErc20Id: number;
|
|
54
|
+
}>>;
|
|
52
55
|
"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": DocumentNode<types.GetLeaderboardByAddressQuery, types.Exact<{
|
|
53
56
|
address?: types.InputMaybe<string> | undefined;
|
|
54
57
|
}>>;
|
|
@@ -121,8 +124,8 @@ declare const documents: {
|
|
|
121
124
|
"\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
|
|
122
125
|
[key: string]: never;
|
|
123
126
|
}>>;
|
|
124
|
-
"\
|
|
125
|
-
|
|
127
|
+
"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
|
|
128
|
+
input: types.TxHashChainIdInput;
|
|
126
129
|
}>>;
|
|
127
130
|
"\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 }": DocumentNode<types.StatusQuery, types.Exact<{
|
|
128
131
|
[key: string]: never;
|
|
@@ -180,11 +183,11 @@ export declare function gql(source: "\n mutation deleteAutoSignUp($address: Str
|
|
|
180
183
|
/**
|
|
181
184
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
182
185
|
*/
|
|
183
|
-
export declare function gql(source: "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"): (typeof documents)["\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"];
|
|
186
|
+
export declare function gql(source: "\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 documents)["\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}"];
|
|
184
187
|
/**
|
|
185
188
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
186
189
|
*/
|
|
187
|
-
export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"): (typeof documents)["\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
|
|
190
|
+
export declare function gql(source: "\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 documents)["\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}"];
|
|
188
191
|
/**
|
|
189
192
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
190
193
|
*/
|
|
@@ -193,6 +196,10 @@ export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof
|
|
|
193
196
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
194
197
|
*/
|
|
195
198
|
export declare function gql(source: "\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"): (typeof documents)["\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"];
|
|
199
|
+
/**
|
|
200
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
201
|
+
*/
|
|
202
|
+
export declare function gql(source: "\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"): (typeof documents)["\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"];
|
|
196
203
|
/**
|
|
197
204
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
198
205
|
*/
|
|
@@ -280,7 +287,7 @@ export declare function gql(source: "\n query MySignup {\n mySignup {\n
|
|
|
280
287
|
/**
|
|
281
288
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
282
289
|
*/
|
|
283
|
-
export declare function gql(source: "\
|
|
290
|
+
export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"];
|
|
284
291
|
/**
|
|
285
292
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
286
293
|
*/
|
|
@@ -123,9 +123,11 @@ export type ApprovedContracts = {
|
|
|
123
123
|
};
|
|
124
124
|
export type BoostProxy = {
|
|
125
125
|
__typename?: 'BoostProxy';
|
|
126
|
+
Actions: Scalars['Int']['output'];
|
|
126
127
|
CampaignCode: Scalars['String']['output'];
|
|
127
128
|
CampaignName: Scalars['String']['output'];
|
|
128
129
|
DataKey: Scalars['String']['output'];
|
|
130
|
+
Participants: Scalars['Int']['output'];
|
|
129
131
|
TotalEntries: Scalars['Int']['output'];
|
|
130
132
|
TotalUsers: Scalars['Int']['output'];
|
|
131
133
|
Users: Array<BoostProxyUser>;
|
|
@@ -530,7 +532,7 @@ export type QuerySignUpListArgs = {
|
|
|
530
532
|
id: Scalars['Int']['input'];
|
|
531
533
|
};
|
|
532
534
|
export type QuerySimpleUrlShortenerArgs = {
|
|
533
|
-
|
|
535
|
+
input: TxHashChainIdInput;
|
|
534
536
|
};
|
|
535
537
|
export type QuerySplitDataEncoderArgs = {
|
|
536
538
|
address: Scalars['String']['input'];
|
|
@@ -596,7 +598,7 @@ export type SignUpsTimes = {
|
|
|
596
598
|
};
|
|
597
599
|
export type SimpleUrlShortener = {
|
|
598
600
|
__typename?: 'SimpleUrlShortener';
|
|
599
|
-
|
|
601
|
+
ContainerText: Scalars['String']['output'];
|
|
600
602
|
ShortUrl: Scalars['String']['output'];
|
|
601
603
|
};
|
|
602
604
|
export type Status = {
|
|
@@ -639,6 +641,10 @@ export type TokenRefunds = {
|
|
|
639
641
|
OriginalLeftAmount: Scalars['Float']['output'];
|
|
640
642
|
TxHash: Scalars['String']['output'];
|
|
641
643
|
};
|
|
644
|
+
export type TxHashChainIdInput = {
|
|
645
|
+
ChainId: Scalars['Int']['input'];
|
|
646
|
+
TxHash: Scalars['String']['input'];
|
|
647
|
+
};
|
|
642
648
|
export type UniqueUsers = {
|
|
643
649
|
__typename?: 'UniqueUsers';
|
|
644
650
|
LDv2NewPoolCreated: Scalars['Int']['output'];
|
|
@@ -799,6 +805,8 @@ export type BoostProxyDataQuery = {
|
|
|
799
805
|
__typename?: 'Query';
|
|
800
806
|
boostProxy: Array<{
|
|
801
807
|
__typename?: 'BoostProxy';
|
|
808
|
+
Actions: number;
|
|
809
|
+
Participants: number;
|
|
802
810
|
TotalUsers: number;
|
|
803
811
|
DataKey: string;
|
|
804
812
|
CampaignName: string;
|
|
@@ -813,6 +821,8 @@ export type BoostProxyUsersQuery = {
|
|
|
813
821
|
__typename?: 'Query';
|
|
814
822
|
boostProxy: Array<{
|
|
815
823
|
__typename?: 'BoostProxy';
|
|
824
|
+
Actions: number;
|
|
825
|
+
Participants: number;
|
|
816
826
|
TotalUsers: number;
|
|
817
827
|
CampaignName: string;
|
|
818
828
|
TotalEntries: number;
|
|
@@ -844,6 +854,18 @@ export type GenerateTokenFromSignatureMutation = {
|
|
|
844
854
|
validUntil: number;
|
|
845
855
|
};
|
|
846
856
|
};
|
|
857
|
+
export type InvestedErc20QueryVariables = Exact<{
|
|
858
|
+
investedErc20Id: Scalars['Int']['input'];
|
|
859
|
+
}>;
|
|
860
|
+
export type InvestedErc20Query = {
|
|
861
|
+
__typename?: 'Query';
|
|
862
|
+
investedErc20: Array<{
|
|
863
|
+
__typename?: 'InvestedErc20';
|
|
864
|
+
Wallet: string;
|
|
865
|
+
AmountIn: number;
|
|
866
|
+
TokenOut: number;
|
|
867
|
+
}>;
|
|
868
|
+
};
|
|
847
869
|
export type GetLeaderboardByAddressQueryVariables = Exact<{
|
|
848
870
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
849
871
|
}>;
|
|
@@ -1121,14 +1143,14 @@ export type MySignupQuery = {
|
|
|
1121
1143
|
}>;
|
|
1122
1144
|
};
|
|
1123
1145
|
export type SimpleUrlShortenerQueryVariables = Exact<{
|
|
1124
|
-
|
|
1146
|
+
input: TxHashChainIdInput;
|
|
1125
1147
|
}>;
|
|
1126
1148
|
export type SimpleUrlShortenerQuery = {
|
|
1127
1149
|
__typename?: 'Query';
|
|
1128
1150
|
simpleUrlShortener?: {
|
|
1129
1151
|
__typename?: 'SimpleUrlShortener';
|
|
1130
1152
|
ShortUrl: string;
|
|
1131
|
-
|
|
1153
|
+
ContainerText: string;
|
|
1132
1154
|
} | null;
|
|
1133
1155
|
};
|
|
1134
1156
|
export type StatusQueryVariables = Exact<{
|
|
@@ -1234,6 +1256,9 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
|
|
|
1234
1256
|
eip4361message: Scalars['String']['input'];
|
|
1235
1257
|
signature: Scalars['String']['input'];
|
|
1236
1258
|
}>>;
|
|
1259
|
+
export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Exact<{
|
|
1260
|
+
investedErc20Id: Scalars['Int']['input'];
|
|
1261
|
+
}>>;
|
|
1237
1262
|
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
|
|
1238
1263
|
address?: InputMaybe<string> | undefined;
|
|
1239
1264
|
}>>;
|
|
@@ -1307,7 +1332,7 @@ export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
|
|
|
1307
1332
|
[key: string]: never;
|
|
1308
1333
|
}>>;
|
|
1309
1334
|
export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, Exact<{
|
|
1310
|
-
|
|
1335
|
+
input: TxHashChainIdInput;
|
|
1311
1336
|
}>>;
|
|
1312
1337
|
export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
|
|
1313
1338
|
[key: string]: never;
|