@merkl/api 0.10.116 → 0.10.117
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 +470 -414
- package/dist/src/index.d.ts +160 -138
- 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 +22 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
- 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 +160 -138
- 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 +44 -44
- package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
- package/dist/src/modules/v4/user/user.service.d.ts +3 -3
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +160 -138
- package/dist/src/routes/v3/blacklist.d.ts +160 -138
- package/dist/src/routes/v3/campaigns.d.ts +160 -138
- package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
- package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
- package/dist/src/routes/v3/opportunity.d.ts +160 -138
- package/dist/src/routes/v3/positions.d.ts +160 -138
- package/dist/src/routes/v3/rewards.d.ts +160 -138
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +160 -138
- package/dist/src/routes/v3/userRewards.d.ts +160 -138
- 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,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1296
1299
|
headers: unknown;
|
1297
1300
|
response: {
|
1298
1301
|
200: {
|
1299
|
-
address: string;
|
1300
1302
|
tags: string[];
|
1303
|
+
address: string;
|
1301
1304
|
}[];
|
1302
1305
|
};
|
1303
1306
|
};
|
@@ -1338,13 +1341,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1338
1341
|
}, "rewards"> & {
|
1339
1342
|
rewards: (Omit<{
|
1340
1343
|
token: {
|
1341
|
-
|
1344
|
+
symbol: string;
|
1342
1345
|
name: string | null;
|
1346
|
+
id: string;
|
1343
1347
|
chainId: number;
|
1344
1348
|
address: string;
|
1345
|
-
decimals: number;
|
1346
|
-
symbol: string;
|
1347
1349
|
icon: string;
|
1350
|
+
decimals: number;
|
1348
1351
|
verified: boolean;
|
1349
1352
|
price: number | null;
|
1350
1353
|
};
|
@@ -1352,63 +1355,63 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1352
1355
|
campaignId: string;
|
1353
1356
|
opportunity: {
|
1354
1357
|
Chain: {
|
1355
|
-
id: number;
|
1356
1358
|
name: string;
|
1359
|
+
id: number;
|
1357
1360
|
icon: string;
|
1358
1361
|
};
|
1359
1362
|
Tokens: {
|
1360
|
-
|
1363
|
+
symbol: string;
|
1361
1364
|
name: string | null;
|
1365
|
+
id: string;
|
1362
1366
|
chainId: number;
|
1363
1367
|
address: string;
|
1364
|
-
decimals: number;
|
1365
|
-
symbol: string;
|
1366
1368
|
icon: string;
|
1369
|
+
decimals: number;
|
1367
1370
|
verified: boolean;
|
1368
1371
|
price: number | null;
|
1369
1372
|
}[];
|
1370
1373
|
Protocols: {
|
1371
|
-
id: string;
|
1372
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1373
1374
|
name: string;
|
1374
|
-
description: string;
|
1375
1375
|
url: string;
|
1376
|
+
description: string;
|
1377
|
+
id: string;
|
1378
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1376
1379
|
icon: string;
|
1377
1380
|
}[];
|
1378
1381
|
MainProtocol: {
|
1379
|
-
id: string;
|
1380
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1381
1382
|
name: string;
|
1382
|
-
description: string;
|
1383
1383
|
url: string;
|
1384
|
+
description: string;
|
1385
|
+
id: string;
|
1386
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1384
1387
|
icon: string;
|
1385
1388
|
} | null;
|
1386
1389
|
} & {
|
1387
|
-
id: string;
|
1388
|
-
chainId: number;
|
1389
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1390
|
-
identifier: string;
|
1391
1390
|
name: string;
|
1391
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1392
|
+
id: string;
|
1392
1393
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1394
|
+
tags: string[];
|
1395
|
+
identifier: string;
|
1396
|
+
chainId: number;
|
1393
1397
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1394
1398
|
mainProtocolId: string | null;
|
1395
1399
|
tvl: number;
|
1396
1400
|
apr: number;
|
1397
1401
|
dailyRewards: number;
|
1398
|
-
tags: string[];
|
1399
1402
|
};
|
1400
1403
|
reason: string;
|
1404
|
+
pending: string;
|
1401
1405
|
amount: string;
|
1402
1406
|
claimed: string;
|
1403
|
-
pending: string;
|
1404
1407
|
auxiliaryData1: string | null;
|
1405
1408
|
auxiliaryData2: string | null;
|
1406
1409
|
}[];
|
1407
1410
|
claimed: bigint;
|
1408
1411
|
amount: bigint;
|
1409
1412
|
pending: bigint;
|
1410
|
-
root: string;
|
1411
1413
|
recipient: string;
|
1414
|
+
root: string;
|
1412
1415
|
proofs: string[];
|
1413
1416
|
}, "breakdowns"> & {
|
1414
1417
|
breakdowns: {
|
@@ -1448,13 +1451,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1448
1451
|
}, "rewards"> & {
|
1449
1452
|
rewards: (Omit<{
|
1450
1453
|
token: {
|
1451
|
-
|
1454
|
+
symbol: string;
|
1452
1455
|
name: string | null;
|
1456
|
+
id: string;
|
1453
1457
|
chainId: number;
|
1454
1458
|
address: string;
|
1455
|
-
decimals: number;
|
1456
|
-
symbol: string;
|
1457
1459
|
icon: string;
|
1460
|
+
decimals: number;
|
1458
1461
|
verified: boolean;
|
1459
1462
|
price: number | null;
|
1460
1463
|
};
|
@@ -1462,71 +1465,71 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1462
1465
|
campaignId: string;
|
1463
1466
|
opportunity: {
|
1464
1467
|
Chain: {
|
1465
|
-
id: number;
|
1466
1468
|
name: string;
|
1469
|
+
id: number;
|
1467
1470
|
icon: string;
|
1468
1471
|
};
|
1469
1472
|
Tokens: {
|
1470
|
-
|
1473
|
+
symbol: string;
|
1471
1474
|
name: string | null;
|
1475
|
+
id: string;
|
1472
1476
|
chainId: number;
|
1473
1477
|
address: string;
|
1474
|
-
decimals: number;
|
1475
|
-
symbol: string;
|
1476
1478
|
icon: string;
|
1479
|
+
decimals: number;
|
1477
1480
|
verified: boolean;
|
1478
1481
|
price: number | null;
|
1479
1482
|
}[];
|
1480
1483
|
Protocols: {
|
1481
|
-
id: string;
|
1482
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1483
1484
|
name: string;
|
1484
|
-
description: string;
|
1485
1485
|
url: string;
|
1486
|
+
description: string;
|
1487
|
+
id: string;
|
1488
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1486
1489
|
icon: string;
|
1487
1490
|
}[];
|
1488
1491
|
MainProtocol: {
|
1489
|
-
id: string;
|
1490
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1491
1492
|
name: string;
|
1492
|
-
description: string;
|
1493
1493
|
url: string;
|
1494
|
+
description: string;
|
1495
|
+
id: string;
|
1496
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1494
1497
|
icon: string;
|
1495
1498
|
} | null;
|
1496
1499
|
} & {
|
1497
|
-
id: string;
|
1498
|
-
chainId: number;
|
1499
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1500
|
-
identifier: string;
|
1501
1500
|
name: string;
|
1501
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1502
|
+
id: string;
|
1502
1503
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1504
|
+
tags: string[];
|
1505
|
+
identifier: string;
|
1506
|
+
chainId: number;
|
1503
1507
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1504
1508
|
mainProtocolId: string | null;
|
1505
1509
|
tvl: number;
|
1506
1510
|
apr: number;
|
1507
1511
|
dailyRewards: number;
|
1508
|
-
tags: string[];
|
1509
1512
|
};
|
1510
1513
|
reason: string;
|
1514
|
+
pending: string;
|
1511
1515
|
amount: string;
|
1512
1516
|
claimed: string;
|
1513
|
-
pending: string;
|
1514
1517
|
auxiliaryData1: string | null;
|
1515
1518
|
auxiliaryData2: string | null;
|
1516
1519
|
}[];
|
1517
1520
|
claimed: bigint;
|
1518
1521
|
amount: bigint;
|
1519
1522
|
pending: bigint;
|
1520
|
-
root: string;
|
1521
1523
|
recipient: string;
|
1524
|
+
root: string;
|
1522
1525
|
proofs: string[];
|
1523
1526
|
}, "breakdowns"> & {
|
1524
1527
|
breakdowns: {
|
1525
1528
|
campaignId: string;
|
1526
1529
|
reason: string;
|
1530
|
+
pending: string;
|
1527
1531
|
amount: string;
|
1528
1532
|
claimed: string;
|
1529
|
-
pending: string;
|
1530
1533
|
auxiliaryData1: string | null;
|
1531
1534
|
auxiliaryData2: string | null;
|
1532
1535
|
}[];
|
@@ -1552,8 +1555,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1552
1555
|
};
|
1553
1556
|
response: {
|
1554
1557
|
200: {
|
1555
|
-
address: string;
|
1556
1558
|
tags: string[];
|
1559
|
+
address: string;
|
1557
1560
|
};
|
1558
1561
|
};
|
1559
1562
|
};
|
@@ -1576,8 +1579,8 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1576
1579
|
};
|
1577
1580
|
response: {
|
1578
1581
|
200: {
|
1579
|
-
address: string;
|
1580
1582
|
tags: string[];
|
1583
|
+
address: string;
|
1581
1584
|
};
|
1582
1585
|
};
|
1583
1586
|
};
|
@@ -1588,7 +1591,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1588
1591
|
} & {
|
1589
1592
|
v4: {
|
1590
1593
|
roots: {
|
1591
|
-
|
1594
|
+
timestamps: {
|
1592
1595
|
get: {
|
1593
1596
|
body: unknown;
|
1594
1597
|
params: Record<never, string>;
|
@@ -1600,15 +1603,34 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1600
1603
|
headers: unknown;
|
1601
1604
|
response: {
|
1602
1605
|
200: {
|
1603
|
-
|
1606
|
+
timestamp: bigint;
|
1604
1607
|
chainId: number;
|
1608
|
+
root: string;
|
1605
1609
|
epoch: number;
|
1606
|
-
timestamp: bigint;
|
1607
1610
|
}[];
|
1608
1611
|
};
|
1609
1612
|
};
|
1610
1613
|
};
|
1611
1614
|
};
|
1615
|
+
} & {
|
1616
|
+
roots: {
|
1617
|
+
index: {
|
1618
|
+
get: {
|
1619
|
+
body: unknown;
|
1620
|
+
params: Record<never, string>;
|
1621
|
+
query: unknown;
|
1622
|
+
headers: unknown;
|
1623
|
+
response: {
|
1624
|
+
200: {
|
1625
|
+
[chainId: number]: {
|
1626
|
+
live: string;
|
1627
|
+
lastTree: string;
|
1628
|
+
};
|
1629
|
+
};
|
1630
|
+
};
|
1631
|
+
};
|
1632
|
+
};
|
1633
|
+
};
|
1612
1634
|
};
|
1613
1635
|
} & {
|
1614
1636
|
v4: {
|
@@ -1728,6 +1750,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1728
1750
|
response: {
|
1729
1751
|
200: {
|
1730
1752
|
id: string;
|
1753
|
+
timestamp: number;
|
1731
1754
|
chainId: number;
|
1732
1755
|
fromTokenId: string;
|
1733
1756
|
toTokenId: string;
|
@@ -1736,7 +1759,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1736
1759
|
amountIn: string;
|
1737
1760
|
amountOut: string;
|
1738
1761
|
datetime: Date;
|
1739
|
-
timestamp: number;
|
1740
1762
|
}[];
|
1741
1763
|
};
|
1742
1764
|
};
|
@@ -1975,12 +1997,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1975
1997
|
headers: unknown;
|
1976
1998
|
response: {
|
1977
1999
|
200: {
|
2000
|
+
error: string;
|
2001
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2002
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1978
2003
|
campaignId: string;
|
1979
2004
|
computedUntil: bigint;
|
1980
2005
|
processingStarted: bigint;
|
1981
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1982
|
-
error: string;
|
1983
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1984
2006
|
}[];
|
1985
2007
|
};
|
1986
2008
|
};
|
@@ -1999,27 +2021,27 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1999
2021
|
response: {
|
2000
2022
|
200: ({
|
2001
2023
|
Campaign: {
|
2024
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2002
2025
|
id: string;
|
2026
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2027
|
+
subType: number | null;
|
2028
|
+
startTimestamp: bigint;
|
2029
|
+
endTimestamp: bigint;
|
2003
2030
|
computeChainId: number;
|
2004
2031
|
distributionChainId: number;
|
2005
2032
|
campaignId: string;
|
2006
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2007
|
-
subType: number | null;
|
2008
2033
|
rewardTokenId: string;
|
2009
2034
|
amount: string;
|
2010
2035
|
opportunityId: string;
|
2011
|
-
startTimestamp: bigint;
|
2012
|
-
endTimestamp: bigint;
|
2013
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2014
2036
|
creatorAddress: string;
|
2015
2037
|
};
|
2016
2038
|
} & {
|
2039
|
+
error: string;
|
2040
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2041
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2017
2042
|
campaignId: string;
|
2018
2043
|
computedUntil: bigint;
|
2019
2044
|
processingStarted: bigint;
|
2020
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2021
|
-
error: string;
|
2022
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2023
2045
|
})[];
|
2024
2046
|
};
|
2025
2047
|
};
|
@@ -2038,12 +2060,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2038
2060
|
headers: unknown;
|
2039
2061
|
response: {
|
2040
2062
|
200: {
|
2063
|
+
error: string;
|
2064
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2065
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2041
2066
|
campaignId: string;
|
2042
2067
|
computedUntil: bigint;
|
2043
2068
|
processingStarted: bigint;
|
2044
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2045
|
-
error: string;
|
2046
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2047
2069
|
};
|
2048
2070
|
};
|
2049
2071
|
};
|
@@ -2062,12 +2084,12 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2062
2084
|
headers: unknown;
|
2063
2085
|
response: {
|
2064
2086
|
200: {
|
2087
|
+
error: string;
|
2088
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2089
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2065
2090
|
campaignId: string;
|
2066
2091
|
computedUntil: bigint;
|
2067
2092
|
processingStarted: bigint;
|
2068
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2069
|
-
error: string;
|
2070
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2071
2093
|
}[];
|
2072
2094
|
};
|
2073
2095
|
};
|