@merkl/api 0.10.116 → 0.10.118
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/default.d.ts +1 -1
- package/dist/database/api/.generated/edge.d.ts +1 -1
- package/dist/database/api/.generated/index.d.ts +335 -311
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +15 -2
- package/dist/database/api/.generated/runtime/library.d.ts +195 -79
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.d.ts +1 -1
- package/dist/database/engine/.generated/default.d.ts +1 -1
- package/dist/database/engine/.generated/edge.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +16 -104
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +14 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
- package/dist/database/engine/.generated/wasm.d.ts +1 -1
- package/dist/src/eden/index.d.ts +552 -411
- package/dist/src/index.d.ts +194 -137
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
- package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
- package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
- package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +21 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +8 -9
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
- package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
- package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
- package/dist/src/modules/v4/price/price.service.d.ts +8 -8
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
- package/dist/src/modules/v4/reward/reward.controller.d.ts +11 -8
- package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
- package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
- package/dist/src/modules/v4/reward/reward.service.d.ts +133 -130
- package/dist/src/modules/v4/router.d.ts +194 -137
- package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
- package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
- package/dist/src/modules/v4/status/status.service.d.ts +20 -20
- package/dist/src/modules/v4/user/user.controller.d.ts +79 -43
- package/dist/src/modules/v4/user/user.repository.d.ts +7 -2
- package/dist/src/modules/v4/user/user.service.d.ts +10 -4
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +194 -137
- package/dist/src/routes/v3/blacklist.d.ts +194 -137
- package/dist/src/routes/v3/campaigns.d.ts +194 -137
- package/dist/src/routes/v3/campaignsInfo.d.ts +194 -137
- package/dist/src/routes/v3/multiChainPositions.d.ts +194 -137
- package/dist/src/routes/v3/opportunity.d.ts +194 -137
- package/dist/src/routes/v3/positions.d.ts +194 -137
- package/dist/src/routes/v3/rewards.d.ts +194 -137
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +194 -137
- package/dist/src/routes/v3/userRewards.d.ts +194 -137
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -64,9 +64,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
64
64
|
cumulated: number;
|
65
65
|
timestamp: bigint;
|
66
66
|
breakdowns: {
|
67
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
67
68
|
id: number;
|
68
69
|
identifier: string;
|
69
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
70
70
|
value: number;
|
71
71
|
aprRecordId: string;
|
72
72
|
}[];
|
@@ -76,9 +76,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
76
76
|
total: number;
|
77
77
|
timestamp: bigint;
|
78
78
|
breakdowns: {
|
79
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
79
80
|
id: number;
|
80
81
|
identifier: string;
|
81
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
82
82
|
value: number;
|
83
83
|
tvlRecordId: string;
|
84
84
|
}[];
|
@@ -96,27 +96,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
96
96
|
};
|
97
97
|
id: string;
|
98
98
|
tokens: {
|
99
|
-
|
99
|
+
symbol: string;
|
100
100
|
name: string | null;
|
101
|
+
id: string;
|
101
102
|
chainId: number;
|
102
103
|
address: string;
|
103
|
-
decimals: number;
|
104
|
-
symbol: string;
|
105
104
|
icon: string;
|
105
|
+
decimals: number;
|
106
106
|
verified: boolean;
|
107
107
|
price: number | null;
|
108
108
|
}[];
|
109
109
|
chain: {
|
110
|
-
id: number;
|
111
110
|
name: string;
|
111
|
+
id: number;
|
112
112
|
icon: string;
|
113
113
|
};
|
114
114
|
protocol: {
|
115
|
-
id: string;
|
116
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
117
115
|
name: string;
|
118
|
-
description: string;
|
119
116
|
url: string;
|
117
|
+
description: string;
|
118
|
+
id: string;
|
119
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
120
120
|
icon: string;
|
121
121
|
} | undefined;
|
122
122
|
name: string;
|
@@ -151,9 +151,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
151
151
|
cumulated: number;
|
152
152
|
timestamp: bigint;
|
153
153
|
breakdowns: {
|
154
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
154
155
|
id: number;
|
155
156
|
identifier: string;
|
156
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
157
157
|
value: number;
|
158
158
|
aprRecordId: string;
|
159
159
|
}[];
|
@@ -163,9 +163,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
163
163
|
total: number;
|
164
164
|
timestamp: bigint;
|
165
165
|
breakdowns: {
|
166
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
166
167
|
id: number;
|
167
168
|
identifier: string;
|
168
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
169
169
|
value: number;
|
170
170
|
tvlRecordId: string;
|
171
171
|
}[];
|
@@ -183,27 +183,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
183
183
|
};
|
184
184
|
id: string;
|
185
185
|
tokens: {
|
186
|
-
|
186
|
+
symbol: string;
|
187
187
|
name: string | null;
|
188
|
+
id: string;
|
188
189
|
chainId: number;
|
189
190
|
address: string;
|
190
|
-
decimals: number;
|
191
|
-
symbol: string;
|
192
191
|
icon: string;
|
192
|
+
decimals: number;
|
193
193
|
verified: boolean;
|
194
194
|
price: number | null;
|
195
195
|
}[];
|
196
196
|
chain: {
|
197
|
-
id: number;
|
198
197
|
name: string;
|
198
|
+
id: number;
|
199
199
|
icon: string;
|
200
200
|
};
|
201
201
|
protocol: {
|
202
|
-
id: string;
|
203
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
204
202
|
name: string;
|
205
|
-
description: string;
|
206
203
|
url: string;
|
204
|
+
description: string;
|
205
|
+
id: string;
|
206
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
207
207
|
icon: string;
|
208
208
|
} | undefined;
|
209
209
|
name: string;
|
@@ -220,37 +220,37 @@ export declare const v4: Elysia<"/v4", false, {
|
|
220
220
|
campaigns: ({
|
221
221
|
params: any;
|
222
222
|
chain: {
|
223
|
-
id: number;
|
224
223
|
name: string;
|
224
|
+
id: number;
|
225
225
|
icon: string;
|
226
226
|
};
|
227
227
|
rewardToken: {
|
228
|
-
|
228
|
+
symbol: string;
|
229
229
|
name: string | null;
|
230
|
+
id: string;
|
230
231
|
chainId: number;
|
231
232
|
address: string;
|
232
|
-
decimals: number;
|
233
|
-
symbol: string;
|
234
233
|
icon: string;
|
234
|
+
decimals: number;
|
235
235
|
verified: boolean;
|
236
236
|
price: number | null;
|
237
237
|
};
|
238
238
|
distributionChain: {
|
239
|
-
id: number;
|
240
239
|
name: string;
|
240
|
+
id: number;
|
241
241
|
icon: string;
|
242
242
|
} | undefined;
|
243
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
243
244
|
id: string;
|
245
|
+
subType: number | null;
|
246
|
+
startTimestamp: bigint;
|
247
|
+
endTimestamp: bigint;
|
244
248
|
computeChainId: number;
|
245
249
|
distributionChainId: number;
|
246
250
|
campaignId: string;
|
247
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
248
|
-
subType: number | null;
|
249
251
|
rewardTokenId: string;
|
250
252
|
amount: string;
|
251
253
|
opportunityId: string;
|
252
|
-
startTimestamp: bigint;
|
253
|
-
endTimestamp: bigint;
|
254
254
|
creatorAddress: string;
|
255
255
|
} | null)[];
|
256
256
|
}) | null | undefined;
|
@@ -285,9 +285,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
285
285
|
cumulated: number;
|
286
286
|
timestamp: bigint;
|
287
287
|
breakdowns: {
|
288
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
288
289
|
id: number;
|
289
290
|
identifier: string;
|
290
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
291
291
|
value: number;
|
292
292
|
aprRecordId: string;
|
293
293
|
}[];
|
@@ -297,9 +297,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
297
297
|
total: number;
|
298
298
|
timestamp: bigint;
|
299
299
|
breakdowns: {
|
300
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
300
301
|
id: number;
|
301
302
|
identifier: string;
|
302
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
303
303
|
value: number;
|
304
304
|
tvlRecordId: string;
|
305
305
|
}[];
|
@@ -317,27 +317,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
317
317
|
};
|
318
318
|
id: string;
|
319
319
|
tokens: {
|
320
|
-
|
320
|
+
symbol: string;
|
321
321
|
name: string | null;
|
322
|
+
id: string;
|
322
323
|
chainId: number;
|
323
324
|
address: string;
|
324
|
-
decimals: number;
|
325
|
-
symbol: string;
|
326
325
|
icon: string;
|
326
|
+
decimals: number;
|
327
327
|
verified: boolean;
|
328
328
|
price: number | null;
|
329
329
|
}[];
|
330
330
|
chain: {
|
331
|
-
id: number;
|
332
331
|
name: string;
|
332
|
+
id: number;
|
333
333
|
icon: string;
|
334
334
|
};
|
335
335
|
protocol: {
|
336
|
-
id: string;
|
337
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
338
336
|
name: string;
|
339
|
-
description: string;
|
340
337
|
url: string;
|
338
|
+
description: string;
|
339
|
+
id: string;
|
340
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
341
341
|
icon: string;
|
342
342
|
} | undefined;
|
343
343
|
name: string;
|
@@ -409,18 +409,18 @@ export declare const v4: Elysia<"/v4", false, {
|
|
409
409
|
};
|
410
410
|
response: {
|
411
411
|
200: {
|
412
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
412
413
|
id: string;
|
414
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
415
|
+
subType: number | null;
|
416
|
+
startTimestamp: bigint;
|
417
|
+
endTimestamp: bigint;
|
413
418
|
computeChainId: number;
|
414
419
|
distributionChainId: number;
|
415
420
|
campaignId: string;
|
416
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
417
|
-
subType: number | null;
|
418
421
|
rewardTokenId: string;
|
419
422
|
amount: string;
|
420
423
|
opportunityId: string;
|
421
|
-
startTimestamp: bigint;
|
422
|
-
endTimestamp: bigint;
|
423
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
424
424
|
creatorAddress: string;
|
425
425
|
} | undefined;
|
426
426
|
};
|
@@ -450,37 +450,37 @@ export declare const v4: Elysia<"/v4", false, {
|
|
450
450
|
200: ({
|
451
451
|
params: any;
|
452
452
|
chain: {
|
453
|
-
id: number;
|
454
453
|
name: string;
|
454
|
+
id: number;
|
455
455
|
icon: string;
|
456
456
|
};
|
457
457
|
rewardToken: {
|
458
|
-
|
458
|
+
symbol: string;
|
459
459
|
name: string | null;
|
460
|
+
id: string;
|
460
461
|
chainId: number;
|
461
462
|
address: string;
|
462
|
-
decimals: number;
|
463
|
-
symbol: string;
|
464
463
|
icon: string;
|
464
|
+
decimals: number;
|
465
465
|
verified: boolean;
|
466
466
|
price: number | null;
|
467
467
|
};
|
468
468
|
distributionChain: {
|
469
|
-
id: number;
|
470
469
|
name: string;
|
470
|
+
id: number;
|
471
471
|
icon: string;
|
472
472
|
} | undefined;
|
473
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
473
474
|
id: string;
|
475
|
+
subType: number | null;
|
476
|
+
startTimestamp: bigint;
|
477
|
+
endTimestamp: bigint;
|
474
478
|
computeChainId: number;
|
475
479
|
distributionChainId: number;
|
476
480
|
campaignId: string;
|
477
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
478
|
-
subType: number | null;
|
479
481
|
rewardTokenId: string;
|
480
482
|
amount: string;
|
481
483
|
opportunityId: string;
|
482
|
-
startTimestamp: bigint;
|
483
|
-
endTimestamp: bigint;
|
484
484
|
creatorAddress: string;
|
485
485
|
} | null)[];
|
486
486
|
};
|
@@ -758,9 +758,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
758
758
|
params: Record<never, string>;
|
759
759
|
query: {
|
760
760
|
items?: number | undefined;
|
761
|
-
chainId?: number | undefined;
|
762
761
|
page?: number | undefined;
|
763
|
-
|
762
|
+
chainId: number;
|
763
|
+
campaignId: string;
|
764
764
|
};
|
765
765
|
headers: unknown;
|
766
766
|
response: {
|
@@ -777,13 +777,16 @@ export declare const v4: Elysia<"/v4", false, {
|
|
777
777
|
params: Record<never, string>;
|
778
778
|
query: {
|
779
779
|
items?: number | undefined;
|
780
|
-
chainId?: number | undefined;
|
781
780
|
page?: number | undefined;
|
782
|
-
|
781
|
+
chainId: number;
|
782
|
+
campaignId: string;
|
783
783
|
};
|
784
784
|
headers: unknown;
|
785
785
|
response: {
|
786
|
-
200:
|
786
|
+
200: {
|
787
|
+
campaignId: string;
|
788
|
+
amount: bigint;
|
789
|
+
};
|
787
790
|
};
|
788
791
|
};
|
789
792
|
};
|
@@ -886,15 +889,15 @@ export declare const v4: Elysia<"/v4", false, {
|
|
886
889
|
params: Record<never, string>;
|
887
890
|
query: {
|
888
891
|
items?: number | undefined;
|
889
|
-
chainId?: number | undefined;
|
890
892
|
page?: number | undefined;
|
891
|
-
|
893
|
+
chainId: number;
|
894
|
+
campaignId: string;
|
892
895
|
};
|
893
896
|
headers: unknown;
|
894
897
|
response: {
|
895
898
|
200: {
|
896
899
|
count: number;
|
897
|
-
}
|
900
|
+
};
|
898
901
|
};
|
899
902
|
};
|
900
903
|
};
|
@@ -934,13 +937,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
934
937
|
headers: unknown;
|
935
938
|
response: {
|
936
939
|
200: {
|
937
|
-
id: number;
|
938
940
|
name: string;
|
941
|
+
id: number;
|
939
942
|
icon: string;
|
940
943
|
explorers: {
|
941
|
-
id: string;
|
942
944
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
943
945
|
url: string;
|
946
|
+
id: string;
|
944
947
|
chainId: number;
|
945
948
|
}[];
|
946
949
|
} | null;
|
@@ -958,13 +961,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
958
961
|
headers: unknown;
|
959
962
|
response: {
|
960
963
|
200: {
|
961
|
-
id: number;
|
962
964
|
name: string;
|
965
|
+
id: number;
|
963
966
|
icon: string;
|
964
967
|
explorers: {
|
965
|
-
id: string;
|
966
968
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
967
969
|
url: string;
|
970
|
+
id: string;
|
968
971
|
chainId: number;
|
969
972
|
}[];
|
970
973
|
}[];
|
@@ -1000,9 +1003,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1000
1003
|
};
|
1001
1004
|
response: {
|
1002
1005
|
200: {
|
1003
|
-
id: string;
|
1004
1006
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1005
1007
|
url: string;
|
1008
|
+
id: string;
|
1006
1009
|
chainId: number;
|
1007
1010
|
};
|
1008
1011
|
};
|
@@ -1067,10 +1070,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1067
1070
|
headers: unknown;
|
1068
1071
|
response: {
|
1069
1072
|
200: {
|
1070
|
-
id: number;
|
1071
1073
|
symbol: string;
|
1072
1074
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1073
|
-
args: import("
|
1075
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1076
|
+
id: number;
|
1074
1077
|
}[];
|
1075
1078
|
};
|
1076
1079
|
};
|
@@ -1089,10 +1092,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1089
1092
|
headers: unknown;
|
1090
1093
|
response: {
|
1091
1094
|
200: {
|
1092
|
-
id: number;
|
1093
1095
|
symbol: string;
|
1094
1096
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1095
|
-
args: import("
|
1097
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1098
|
+
id: number;
|
1096
1099
|
};
|
1097
1100
|
};
|
1098
1101
|
};
|
@@ -1138,10 +1141,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1138
1141
|
};
|
1139
1142
|
response: {
|
1140
1143
|
200: {
|
1141
|
-
id: number;
|
1142
1144
|
symbol: string;
|
1143
1145
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1144
|
-
args: import("
|
1146
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1147
|
+
id: number;
|
1145
1148
|
};
|
1146
1149
|
};
|
1147
1150
|
};
|
@@ -1163,10 +1166,10 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1163
1166
|
};
|
1164
1167
|
response: {
|
1165
1168
|
200: {
|
1166
|
-
id: number;
|
1167
1169
|
symbol: string;
|
1168
1170
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1169
|
-
args: import("
|
1171
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1172
|
+
id: number;
|
1170
1173
|
};
|
1171
1174
|
};
|
1172
1175
|
};
|
@@ -1191,7 +1194,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1191
1194
|
poolAddress: string;
|
1192
1195
|
userAddress: string;
|
1193
1196
|
arrestTimestamp: bigint;
|
1194
|
-
arrestDetails: import("
|
1197
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1195
1198
|
}[];
|
1196
1199
|
};
|
1197
1200
|
};
|
@@ -1253,7 +1256,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1253
1256
|
poolAddress: string;
|
1254
1257
|
userAddress: string;
|
1255
1258
|
arrestTimestamp: bigint;
|
1256
|
-
arrestDetails: import("
|
1259
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1257
1260
|
};
|
1258
1261
|
};
|
1259
1262
|
};
|
@@ -1296,8 +1299,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1296
1299
|
headers: unknown;
|
1297
1300
|
response: {
|
1298
1301
|
200: {
|
1302
|
+
tags: string[];
|
1299
1303
|
address: string;
|
1304
|
+
}[];
|
1305
|
+
};
|
1306
|
+
};
|
1307
|
+
};
|
1308
|
+
};
|
1309
|
+
} & {
|
1310
|
+
users: {
|
1311
|
+
tags: {
|
1312
|
+
get: {
|
1313
|
+
body: unknown;
|
1314
|
+
params: Record<never, string>;
|
1315
|
+
query: unknown;
|
1316
|
+
headers: {
|
1317
|
+
authorization: string;
|
1318
|
+
};
|
1319
|
+
response: {
|
1320
|
+
200: {
|
1300
1321
|
tags: string[];
|
1322
|
+
address: string;
|
1301
1323
|
}[];
|
1302
1324
|
};
|
1303
1325
|
};
|
@@ -1313,6 +1335,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1313
1335
|
headers: unknown;
|
1314
1336
|
response: {
|
1315
1337
|
200: {
|
1338
|
+
tags: string[];
|
1316
1339
|
address: string;
|
1317
1340
|
} | null;
|
1318
1341
|
};
|
@@ -1338,13 +1361,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1338
1361
|
}, "rewards"> & {
|
1339
1362
|
rewards: (Omit<{
|
1340
1363
|
token: {
|
1341
|
-
|
1364
|
+
symbol: string;
|
1342
1365
|
name: string | null;
|
1366
|
+
id: string;
|
1343
1367
|
chainId: number;
|
1344
1368
|
address: string;
|
1345
|
-
decimals: number;
|
1346
|
-
symbol: string;
|
1347
1369
|
icon: string;
|
1370
|
+
decimals: number;
|
1348
1371
|
verified: boolean;
|
1349
1372
|
price: number | null;
|
1350
1373
|
};
|
@@ -1352,63 +1375,63 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1352
1375
|
campaignId: string;
|
1353
1376
|
opportunity: {
|
1354
1377
|
Chain: {
|
1355
|
-
id: number;
|
1356
1378
|
name: string;
|
1379
|
+
id: number;
|
1357
1380
|
icon: string;
|
1358
1381
|
};
|
1359
1382
|
Tokens: {
|
1360
|
-
|
1383
|
+
symbol: string;
|
1361
1384
|
name: string | null;
|
1385
|
+
id: string;
|
1362
1386
|
chainId: number;
|
1363
1387
|
address: string;
|
1364
|
-
decimals: number;
|
1365
|
-
symbol: string;
|
1366
1388
|
icon: string;
|
1389
|
+
decimals: number;
|
1367
1390
|
verified: boolean;
|
1368
1391
|
price: number | null;
|
1369
1392
|
}[];
|
1370
1393
|
Protocols: {
|
1371
|
-
id: string;
|
1372
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1373
1394
|
name: string;
|
1374
|
-
description: string;
|
1375
1395
|
url: string;
|
1396
|
+
description: string;
|
1397
|
+
id: string;
|
1398
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1376
1399
|
icon: string;
|
1377
1400
|
}[];
|
1378
1401
|
MainProtocol: {
|
1379
|
-
id: string;
|
1380
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1381
1402
|
name: string;
|
1382
|
-
description: string;
|
1383
1403
|
url: string;
|
1404
|
+
description: string;
|
1405
|
+
id: string;
|
1406
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1384
1407
|
icon: string;
|
1385
1408
|
} | null;
|
1386
1409
|
} & {
|
1387
|
-
id: string;
|
1388
|
-
chainId: number;
|
1389
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1390
|
-
identifier: string;
|
1391
1410
|
name: string;
|
1411
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1412
|
+
id: string;
|
1392
1413
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1414
|
+
tags: string[];
|
1415
|
+
identifier: string;
|
1416
|
+
chainId: number;
|
1393
1417
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1394
1418
|
mainProtocolId: string | null;
|
1395
1419
|
tvl: number;
|
1396
1420
|
apr: number;
|
1397
1421
|
dailyRewards: number;
|
1398
|
-
tags: string[];
|
1399
1422
|
};
|
1400
1423
|
reason: string;
|
1424
|
+
pending: string;
|
1401
1425
|
amount: string;
|
1402
1426
|
claimed: string;
|
1403
|
-
pending: string;
|
1404
1427
|
auxiliaryData1: string | null;
|
1405
1428
|
auxiliaryData2: string | null;
|
1406
1429
|
}[];
|
1407
1430
|
claimed: bigint;
|
1408
1431
|
amount: bigint;
|
1409
1432
|
pending: bigint;
|
1410
|
-
root: string;
|
1411
1433
|
recipient: string;
|
1434
|
+
root: string;
|
1412
1435
|
proofs: string[];
|
1413
1436
|
}, "breakdowns"> & {
|
1414
1437
|
breakdowns: {
|
@@ -1448,13 +1471,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1448
1471
|
}, "rewards"> & {
|
1449
1472
|
rewards: (Omit<{
|
1450
1473
|
token: {
|
1451
|
-
|
1474
|
+
symbol: string;
|
1452
1475
|
name: string | null;
|
1476
|
+
id: string;
|
1453
1477
|
chainId: number;
|
1454
1478
|
address: string;
|
1455
|
-
decimals: number;
|
1456
|
-
symbol: string;
|
1457
1479
|
icon: string;
|
1480
|
+
decimals: number;
|
1458
1481
|
verified: boolean;
|
1459
1482
|
price: number | null;
|
1460
1483
|
};
|
@@ -1462,71 +1485,71 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1462
1485
|
campaignId: string;
|
1463
1486
|
opportunity: {
|
1464
1487
|
Chain: {
|
1465
|
-
id: number;
|
1466
1488
|
name: string;
|
1489
|
+
id: number;
|
1467
1490
|
icon: string;
|
1468
1491
|
};
|
1469
1492
|
Tokens: {
|
1470
|
-
|
1493
|
+
symbol: string;
|
1471
1494
|
name: string | null;
|
1495
|
+
id: string;
|
1472
1496
|
chainId: number;
|
1473
1497
|
address: string;
|
1474
|
-
decimals: number;
|
1475
|
-
symbol: string;
|
1476
1498
|
icon: string;
|
1499
|
+
decimals: number;
|
1477
1500
|
verified: boolean;
|
1478
1501
|
price: number | null;
|
1479
1502
|
}[];
|
1480
1503
|
Protocols: {
|
1481
|
-
id: string;
|
1482
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1483
1504
|
name: string;
|
1484
|
-
description: string;
|
1485
1505
|
url: string;
|
1506
|
+
description: string;
|
1507
|
+
id: string;
|
1508
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1486
1509
|
icon: string;
|
1487
1510
|
}[];
|
1488
1511
|
MainProtocol: {
|
1489
|
-
id: string;
|
1490
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1491
1512
|
name: string;
|
1492
|
-
description: string;
|
1493
1513
|
url: string;
|
1514
|
+
description: string;
|
1515
|
+
id: string;
|
1516
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1494
1517
|
icon: string;
|
1495
1518
|
} | null;
|
1496
1519
|
} & {
|
1497
|
-
id: string;
|
1498
|
-
chainId: number;
|
1499
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1500
|
-
identifier: string;
|
1501
1520
|
name: string;
|
1521
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1522
|
+
id: string;
|
1502
1523
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1524
|
+
tags: string[];
|
1525
|
+
identifier: string;
|
1526
|
+
chainId: number;
|
1503
1527
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1504
1528
|
mainProtocolId: string | null;
|
1505
1529
|
tvl: number;
|
1506
1530
|
apr: number;
|
1507
1531
|
dailyRewards: number;
|
1508
|
-
tags: string[];
|
1509
1532
|
};
|
1510
1533
|
reason: string;
|
1534
|
+
pending: string;
|
1511
1535
|
amount: string;
|
1512
1536
|
claimed: string;
|
1513
|
-
pending: string;
|
1514
1537
|
auxiliaryData1: string | null;
|
1515
1538
|
auxiliaryData2: string | null;
|
1516
1539
|
}[];
|
1517
1540
|
claimed: bigint;
|
1518
1541
|
amount: bigint;
|
1519
1542
|
pending: bigint;
|
1520
|
-
root: string;
|
1521
1543
|
recipient: string;
|
1544
|
+
root: string;
|
1522
1545
|
proofs: string[];
|
1523
1546
|
}, "breakdowns"> & {
|
1524
1547
|
breakdowns: {
|
1525
1548
|
campaignId: string;
|
1526
1549
|
reason: string;
|
1550
|
+
pending: string;
|
1527
1551
|
amount: string;
|
1528
1552
|
claimed: string;
|
1529
|
-
pending: string;
|
1530
1553
|
auxiliaryData1: string | null;
|
1531
1554
|
auxiliaryData2: string | null;
|
1532
1555
|
}[];
|
@@ -1552,13 +1575,29 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1552
1575
|
};
|
1553
1576
|
response: {
|
1554
1577
|
200: {
|
1555
|
-
address: string;
|
1556
1578
|
tags: string[];
|
1579
|
+
address: string;
|
1557
1580
|
};
|
1558
1581
|
};
|
1559
1582
|
};
|
1560
1583
|
};
|
1561
1584
|
};
|
1585
|
+
} & {
|
1586
|
+
users: {
|
1587
|
+
sync: {
|
1588
|
+
post: {
|
1589
|
+
body: unknown;
|
1590
|
+
params: Record<never, string>;
|
1591
|
+
query: unknown;
|
1592
|
+
headers: {
|
1593
|
+
authorization: string;
|
1594
|
+
};
|
1595
|
+
response: {
|
1596
|
+
200: void;
|
1597
|
+
};
|
1598
|
+
};
|
1599
|
+
};
|
1600
|
+
};
|
1562
1601
|
} & {
|
1563
1602
|
users: {
|
1564
1603
|
":address": {
|
@@ -1576,8 +1615,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1576
1615
|
};
|
1577
1616
|
response: {
|
1578
1617
|
200: {
|
1579
|
-
address: string;
|
1580
1618
|
tags: string[];
|
1619
|
+
address: string;
|
1581
1620
|
};
|
1582
1621
|
};
|
1583
1622
|
};
|
@@ -1588,7 +1627,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1588
1627
|
} & {
|
1589
1628
|
v4: {
|
1590
1629
|
roots: {
|
1591
|
-
|
1630
|
+
timestamps: {
|
1592
1631
|
get: {
|
1593
1632
|
body: unknown;
|
1594
1633
|
params: Record<never, string>;
|
@@ -1600,10 +1639,28 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1600
1639
|
headers: unknown;
|
1601
1640
|
response: {
|
1602
1641
|
200: {
|
1603
|
-
|
1642
|
+
timestamp: bigint;
|
1604
1643
|
chainId: number;
|
1644
|
+
root: string;
|
1605
1645
|
epoch: number;
|
1606
|
-
|
1646
|
+
}[];
|
1647
|
+
};
|
1648
|
+
};
|
1649
|
+
};
|
1650
|
+
};
|
1651
|
+
} & {
|
1652
|
+
roots: {
|
1653
|
+
index: {
|
1654
|
+
get: {
|
1655
|
+
body: unknown;
|
1656
|
+
params: Record<never, string>;
|
1657
|
+
query: unknown;
|
1658
|
+
headers: unknown;
|
1659
|
+
response: {
|
1660
|
+
200: {
|
1661
|
+
live: string;
|
1662
|
+
tree: string;
|
1663
|
+
lastTree: string;
|
1607
1664
|
}[];
|
1608
1665
|
};
|
1609
1666
|
};
|
@@ -1728,6 +1785,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1728
1785
|
response: {
|
1729
1786
|
200: {
|
1730
1787
|
id: string;
|
1788
|
+
timestamp: number;
|
1731
1789
|
chainId: number;
|
1732
1790
|
fromTokenId: string;
|
1733
1791
|
toTokenId: string;
|
@@ -1736,7 +1794,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1736
1794
|
amountIn: string;
|
1737
1795
|
amountOut: string;
|
1738
1796
|
datetime: Date;
|
1739
|
-
timestamp: number;
|
1740
1797
|
}[];
|
1741
1798
|
};
|
1742
1799
|
};
|
@@ -1975,12 +2032,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1975
2032
|
headers: unknown;
|
1976
2033
|
response: {
|
1977
2034
|
200: {
|
2035
|
+
error: string;
|
2036
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2037
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1978
2038
|
campaignId: string;
|
1979
2039
|
computedUntil: bigint;
|
1980
2040
|
processingStarted: bigint;
|
1981
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1982
|
-
error: string;
|
1983
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1984
2041
|
}[];
|
1985
2042
|
};
|
1986
2043
|
};
|
@@ -1999,27 +2056,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1999
2056
|
response: {
|
2000
2057
|
200: ({
|
2001
2058
|
Campaign: {
|
2059
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2002
2060
|
id: string;
|
2061
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2062
|
+
subType: number | null;
|
2063
|
+
startTimestamp: bigint;
|
2064
|
+
endTimestamp: bigint;
|
2003
2065
|
computeChainId: number;
|
2004
2066
|
distributionChainId: number;
|
2005
2067
|
campaignId: string;
|
2006
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2007
|
-
subType: number | null;
|
2008
2068
|
rewardTokenId: string;
|
2009
2069
|
amount: string;
|
2010
2070
|
opportunityId: string;
|
2011
|
-
startTimestamp: bigint;
|
2012
|
-
endTimestamp: bigint;
|
2013
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2014
2071
|
creatorAddress: string;
|
2015
2072
|
};
|
2016
2073
|
} & {
|
2074
|
+
error: string;
|
2075
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2076
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2017
2077
|
campaignId: string;
|
2018
2078
|
computedUntil: bigint;
|
2019
2079
|
processingStarted: bigint;
|
2020
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2021
|
-
error: string;
|
2022
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2023
2080
|
})[];
|
2024
2081
|
};
|
2025
2082
|
};
|
@@ -2038,12 +2095,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2038
2095
|
headers: unknown;
|
2039
2096
|
response: {
|
2040
2097
|
200: {
|
2098
|
+
error: string;
|
2099
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2100
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2041
2101
|
campaignId: string;
|
2042
2102
|
computedUntil: bigint;
|
2043
2103
|
processingStarted: bigint;
|
2044
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2045
|
-
error: string;
|
2046
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2047
2104
|
};
|
2048
2105
|
};
|
2049
2106
|
};
|
@@ -2062,12 +2119,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2062
2119
|
headers: unknown;
|
2063
2120
|
response: {
|
2064
2121
|
200: {
|
2122
|
+
error: string;
|
2123
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2124
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2065
2125
|
campaignId: string;
|
2066
2126
|
computedUntil: bigint;
|
2067
2127
|
processingStarted: bigint;
|
2068
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2069
|
-
error: string;
|
2070
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2071
2128
|
}[];
|
2072
2129
|
};
|
2073
2130
|
};
|