@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
@@ -105,9 +105,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
105
105
|
cumulated: number;
|
106
106
|
timestamp: bigint;
|
107
107
|
breakdowns: {
|
108
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
108
109
|
id: number;
|
109
110
|
identifier: string;
|
110
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
111
111
|
value: number;
|
112
112
|
aprRecordId: string;
|
113
113
|
}[];
|
@@ -117,9 +117,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
117
117
|
total: number;
|
118
118
|
timestamp: bigint;
|
119
119
|
breakdowns: {
|
120
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
120
121
|
id: number;
|
121
122
|
identifier: string;
|
122
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
123
123
|
value: number;
|
124
124
|
tvlRecordId: string;
|
125
125
|
}[];
|
@@ -137,27 +137,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
137
137
|
};
|
138
138
|
id: string;
|
139
139
|
tokens: {
|
140
|
-
|
140
|
+
symbol: string;
|
141
141
|
name: string | null;
|
142
|
+
id: string;
|
142
143
|
chainId: number;
|
143
144
|
address: string;
|
144
|
-
decimals: number;
|
145
|
-
symbol: string;
|
146
145
|
icon: string;
|
146
|
+
decimals: number;
|
147
147
|
verified: boolean;
|
148
148
|
price: number | null;
|
149
149
|
}[];
|
150
150
|
chain: {
|
151
|
-
id: number;
|
152
151
|
name: string;
|
152
|
+
id: number;
|
153
153
|
icon: string;
|
154
154
|
};
|
155
155
|
protocol: {
|
156
|
-
id: string;
|
157
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
158
156
|
name: string;
|
159
|
-
description: string;
|
160
157
|
url: string;
|
158
|
+
description: string;
|
159
|
+
id: string;
|
160
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
161
161
|
icon: string;
|
162
162
|
} | undefined;
|
163
163
|
name: string;
|
@@ -192,9 +192,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
192
192
|
cumulated: number;
|
193
193
|
timestamp: bigint;
|
194
194
|
breakdowns: {
|
195
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
195
196
|
id: number;
|
196
197
|
identifier: string;
|
197
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
198
198
|
value: number;
|
199
199
|
aprRecordId: string;
|
200
200
|
}[];
|
@@ -204,9 +204,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
204
204
|
total: number;
|
205
205
|
timestamp: bigint;
|
206
206
|
breakdowns: {
|
207
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
207
208
|
id: number;
|
208
209
|
identifier: string;
|
209
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
210
210
|
value: number;
|
211
211
|
tvlRecordId: string;
|
212
212
|
}[];
|
@@ -224,27 +224,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
224
224
|
};
|
225
225
|
id: string;
|
226
226
|
tokens: {
|
227
|
-
|
227
|
+
symbol: string;
|
228
228
|
name: string | null;
|
229
|
+
id: string;
|
229
230
|
chainId: number;
|
230
231
|
address: string;
|
231
|
-
decimals: number;
|
232
|
-
symbol: string;
|
233
232
|
icon: string;
|
233
|
+
decimals: number;
|
234
234
|
verified: boolean;
|
235
235
|
price: number | null;
|
236
236
|
}[];
|
237
237
|
chain: {
|
238
|
-
id: number;
|
239
238
|
name: string;
|
239
|
+
id: number;
|
240
240
|
icon: string;
|
241
241
|
};
|
242
242
|
protocol: {
|
243
|
-
id: string;
|
244
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
245
243
|
name: string;
|
246
|
-
description: string;
|
247
244
|
url: string;
|
245
|
+
description: string;
|
246
|
+
id: string;
|
247
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
248
248
|
icon: string;
|
249
249
|
} | undefined;
|
250
250
|
name: string;
|
@@ -261,37 +261,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
261
261
|
campaigns: ({
|
262
262
|
params: any;
|
263
263
|
chain: {
|
264
|
-
id: number;
|
265
264
|
name: string;
|
265
|
+
id: number;
|
266
266
|
icon: string;
|
267
267
|
};
|
268
268
|
rewardToken: {
|
269
|
-
|
269
|
+
symbol: string;
|
270
270
|
name: string | null;
|
271
|
+
id: string;
|
271
272
|
chainId: number;
|
272
273
|
address: string;
|
273
|
-
decimals: number;
|
274
|
-
symbol: string;
|
275
274
|
icon: string;
|
275
|
+
decimals: number;
|
276
276
|
verified: boolean;
|
277
277
|
price: number | null;
|
278
278
|
};
|
279
279
|
distributionChain: {
|
280
|
-
id: number;
|
281
280
|
name: string;
|
281
|
+
id: number;
|
282
282
|
icon: string;
|
283
283
|
} | undefined;
|
284
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
284
285
|
id: string;
|
286
|
+
subType: number | null;
|
287
|
+
startTimestamp: bigint;
|
288
|
+
endTimestamp: bigint;
|
285
289
|
computeChainId: number;
|
286
290
|
distributionChainId: number;
|
287
291
|
campaignId: string;
|
288
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
289
|
-
subType: number | null;
|
290
292
|
rewardTokenId: string;
|
291
293
|
amount: string;
|
292
294
|
opportunityId: string;
|
293
|
-
startTimestamp: bigint;
|
294
|
-
endTimestamp: bigint;
|
295
295
|
creatorAddress: string;
|
296
296
|
} | null)[];
|
297
297
|
}) | null | undefined;
|
@@ -326,9 +326,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
326
326
|
cumulated: number;
|
327
327
|
timestamp: bigint;
|
328
328
|
breakdowns: {
|
329
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
329
330
|
id: number;
|
330
331
|
identifier: string;
|
331
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
332
332
|
value: number;
|
333
333
|
aprRecordId: string;
|
334
334
|
}[];
|
@@ -338,9 +338,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
338
338
|
total: number;
|
339
339
|
timestamp: bigint;
|
340
340
|
breakdowns: {
|
341
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
341
342
|
id: number;
|
342
343
|
identifier: string;
|
343
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
344
344
|
value: number;
|
345
345
|
tvlRecordId: string;
|
346
346
|
}[];
|
@@ -358,27 +358,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
358
358
|
};
|
359
359
|
id: string;
|
360
360
|
tokens: {
|
361
|
-
|
361
|
+
symbol: string;
|
362
362
|
name: string | null;
|
363
|
+
id: string;
|
363
364
|
chainId: number;
|
364
365
|
address: string;
|
365
|
-
decimals: number;
|
366
|
-
symbol: string;
|
367
366
|
icon: string;
|
367
|
+
decimals: number;
|
368
368
|
verified: boolean;
|
369
369
|
price: number | null;
|
370
370
|
}[];
|
371
371
|
chain: {
|
372
|
-
id: number;
|
373
372
|
name: string;
|
373
|
+
id: number;
|
374
374
|
icon: string;
|
375
375
|
};
|
376
376
|
protocol: {
|
377
|
-
id: string;
|
378
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
379
377
|
name: string;
|
380
|
-
description: string;
|
381
378
|
url: string;
|
379
|
+
description: string;
|
380
|
+
id: string;
|
381
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
382
382
|
icon: string;
|
383
383
|
} | undefined;
|
384
384
|
name: string;
|
@@ -450,18 +450,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
450
450
|
};
|
451
451
|
response: {
|
452
452
|
200: {
|
453
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
453
454
|
id: string;
|
455
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
456
|
+
subType: number | null;
|
457
|
+
startTimestamp: bigint;
|
458
|
+
endTimestamp: bigint;
|
454
459
|
computeChainId: number;
|
455
460
|
distributionChainId: number;
|
456
461
|
campaignId: string;
|
457
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
458
|
-
subType: number | null;
|
459
462
|
rewardTokenId: string;
|
460
463
|
amount: string;
|
461
464
|
opportunityId: string;
|
462
|
-
startTimestamp: bigint;
|
463
|
-
endTimestamp: bigint;
|
464
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
465
465
|
creatorAddress: string;
|
466
466
|
} | undefined;
|
467
467
|
};
|
@@ -491,37 +491,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
491
491
|
200: ({
|
492
492
|
params: any;
|
493
493
|
chain: {
|
494
|
-
id: number;
|
495
494
|
name: string;
|
495
|
+
id: number;
|
496
496
|
icon: string;
|
497
497
|
};
|
498
498
|
rewardToken: {
|
499
|
-
|
499
|
+
symbol: string;
|
500
500
|
name: string | null;
|
501
|
+
id: string;
|
501
502
|
chainId: number;
|
502
503
|
address: string;
|
503
|
-
decimals: number;
|
504
|
-
symbol: string;
|
505
504
|
icon: string;
|
505
|
+
decimals: number;
|
506
506
|
verified: boolean;
|
507
507
|
price: number | null;
|
508
508
|
};
|
509
509
|
distributionChain: {
|
510
|
-
id: number;
|
511
510
|
name: string;
|
511
|
+
id: number;
|
512
512
|
icon: string;
|
513
513
|
} | undefined;
|
514
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
514
515
|
id: string;
|
516
|
+
subType: number | null;
|
517
|
+
startTimestamp: bigint;
|
518
|
+
endTimestamp: bigint;
|
515
519
|
computeChainId: number;
|
516
520
|
distributionChainId: number;
|
517
521
|
campaignId: string;
|
518
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
519
|
-
subType: number | null;
|
520
522
|
rewardTokenId: string;
|
521
523
|
amount: string;
|
522
524
|
opportunityId: string;
|
523
|
-
startTimestamp: bigint;
|
524
|
-
endTimestamp: bigint;
|
525
525
|
creatorAddress: string;
|
526
526
|
} | null)[];
|
527
527
|
};
|
@@ -799,9 +799,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
799
799
|
params: Record<never, string>;
|
800
800
|
query: {
|
801
801
|
items?: number | undefined;
|
802
|
-
chainId?: number | undefined;
|
803
802
|
page?: number | undefined;
|
804
|
-
|
803
|
+
chainId: number;
|
804
|
+
campaignId: string;
|
805
805
|
};
|
806
806
|
headers: unknown;
|
807
807
|
response: {
|
@@ -818,13 +818,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
818
818
|
params: Record<never, string>;
|
819
819
|
query: {
|
820
820
|
items?: number | undefined;
|
821
|
-
chainId?: number | undefined;
|
822
821
|
page?: number | undefined;
|
823
|
-
|
822
|
+
chainId: number;
|
823
|
+
campaignId: string;
|
824
824
|
};
|
825
825
|
headers: unknown;
|
826
826
|
response: {
|
827
|
-
200:
|
827
|
+
200: {
|
828
|
+
campaignId: string;
|
829
|
+
amount: bigint;
|
830
|
+
};
|
828
831
|
};
|
829
832
|
};
|
830
833
|
};
|
@@ -927,15 +930,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
927
930
|
params: Record<never, string>;
|
928
931
|
query: {
|
929
932
|
items?: number | undefined;
|
930
|
-
chainId?: number | undefined;
|
931
933
|
page?: number | undefined;
|
932
|
-
|
934
|
+
chainId: number;
|
935
|
+
campaignId: string;
|
933
936
|
};
|
934
937
|
headers: unknown;
|
935
938
|
response: {
|
936
939
|
200: {
|
937
940
|
count: number;
|
938
|
-
}
|
941
|
+
};
|
939
942
|
};
|
940
943
|
};
|
941
944
|
};
|
@@ -975,13 +978,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
975
978
|
headers: unknown;
|
976
979
|
response: {
|
977
980
|
200: {
|
978
|
-
id: number;
|
979
981
|
name: string;
|
982
|
+
id: number;
|
980
983
|
icon: string;
|
981
984
|
explorers: {
|
982
|
-
id: string;
|
983
985
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
984
986
|
url: string;
|
987
|
+
id: string;
|
985
988
|
chainId: number;
|
986
989
|
}[];
|
987
990
|
} | null;
|
@@ -999,13 +1002,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
999
1002
|
headers: unknown;
|
1000
1003
|
response: {
|
1001
1004
|
200: {
|
1002
|
-
id: number;
|
1003
1005
|
name: string;
|
1006
|
+
id: number;
|
1004
1007
|
icon: string;
|
1005
1008
|
explorers: {
|
1006
|
-
id: string;
|
1007
1009
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1008
1010
|
url: string;
|
1011
|
+
id: string;
|
1009
1012
|
chainId: number;
|
1010
1013
|
}[];
|
1011
1014
|
}[];
|
@@ -1041,9 +1044,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1041
1044
|
};
|
1042
1045
|
response: {
|
1043
1046
|
200: {
|
1044
|
-
id: string;
|
1045
1047
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1046
1048
|
url: string;
|
1049
|
+
id: string;
|
1047
1050
|
chainId: number;
|
1048
1051
|
};
|
1049
1052
|
};
|
@@ -1108,10 +1111,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1108
1111
|
headers: unknown;
|
1109
1112
|
response: {
|
1110
1113
|
200: {
|
1111
|
-
id: number;
|
1112
1114
|
symbol: string;
|
1113
1115
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1114
|
-
args: import("
|
1116
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1117
|
+
id: number;
|
1115
1118
|
}[];
|
1116
1119
|
};
|
1117
1120
|
};
|
@@ -1130,10 +1133,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1130
1133
|
headers: unknown;
|
1131
1134
|
response: {
|
1132
1135
|
200: {
|
1133
|
-
id: number;
|
1134
1136
|
symbol: string;
|
1135
1137
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1136
|
-
args: import("
|
1138
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1139
|
+
id: number;
|
1137
1140
|
};
|
1138
1141
|
};
|
1139
1142
|
};
|
@@ -1179,10 +1182,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1179
1182
|
};
|
1180
1183
|
response: {
|
1181
1184
|
200: {
|
1182
|
-
id: number;
|
1183
1185
|
symbol: string;
|
1184
1186
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1185
|
-
args: import("
|
1187
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1188
|
+
id: number;
|
1186
1189
|
};
|
1187
1190
|
};
|
1188
1191
|
};
|
@@ -1204,10 +1207,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1204
1207
|
};
|
1205
1208
|
response: {
|
1206
1209
|
200: {
|
1207
|
-
id: number;
|
1208
1210
|
symbol: string;
|
1209
1211
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1210
|
-
args: import("
|
1212
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1213
|
+
id: number;
|
1211
1214
|
};
|
1212
1215
|
};
|
1213
1216
|
};
|
@@ -1232,7 +1235,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1232
1235
|
poolAddress: string;
|
1233
1236
|
userAddress: string;
|
1234
1237
|
arrestTimestamp: bigint;
|
1235
|
-
arrestDetails: import("
|
1238
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1236
1239
|
}[];
|
1237
1240
|
};
|
1238
1241
|
};
|
@@ -1294,7 +1297,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1294
1297
|
poolAddress: string;
|
1295
1298
|
userAddress: string;
|
1296
1299
|
arrestTimestamp: bigint;
|
1297
|
-
arrestDetails: import("
|
1300
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1298
1301
|
};
|
1299
1302
|
};
|
1300
1303
|
};
|
@@ -1337,8 +1340,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1337
1340
|
headers: unknown;
|
1338
1341
|
response: {
|
1339
1342
|
200: {
|
1343
|
+
tags: string[];
|
1340
1344
|
address: string;
|
1345
|
+
}[];
|
1346
|
+
};
|
1347
|
+
};
|
1348
|
+
};
|
1349
|
+
};
|
1350
|
+
} & {
|
1351
|
+
users: {
|
1352
|
+
tags: {
|
1353
|
+
get: {
|
1354
|
+
body: unknown;
|
1355
|
+
params: Record<never, string>;
|
1356
|
+
query: unknown;
|
1357
|
+
headers: {
|
1358
|
+
authorization: string;
|
1359
|
+
};
|
1360
|
+
response: {
|
1361
|
+
200: {
|
1341
1362
|
tags: string[];
|
1363
|
+
address: string;
|
1342
1364
|
}[];
|
1343
1365
|
};
|
1344
1366
|
};
|
@@ -1354,6 +1376,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1354
1376
|
headers: unknown;
|
1355
1377
|
response: {
|
1356
1378
|
200: {
|
1379
|
+
tags: string[];
|
1357
1380
|
address: string;
|
1358
1381
|
} | null;
|
1359
1382
|
};
|
@@ -1379,13 +1402,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1379
1402
|
}, "rewards"> & {
|
1380
1403
|
rewards: (Omit<{
|
1381
1404
|
token: {
|
1382
|
-
|
1405
|
+
symbol: string;
|
1383
1406
|
name: string | null;
|
1407
|
+
id: string;
|
1384
1408
|
chainId: number;
|
1385
1409
|
address: string;
|
1386
|
-
decimals: number;
|
1387
|
-
symbol: string;
|
1388
1410
|
icon: string;
|
1411
|
+
decimals: number;
|
1389
1412
|
verified: boolean;
|
1390
1413
|
price: number | null;
|
1391
1414
|
};
|
@@ -1393,63 +1416,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1393
1416
|
campaignId: string;
|
1394
1417
|
opportunity: {
|
1395
1418
|
Chain: {
|
1396
|
-
id: number;
|
1397
1419
|
name: string;
|
1420
|
+
id: number;
|
1398
1421
|
icon: string;
|
1399
1422
|
};
|
1400
1423
|
Tokens: {
|
1401
|
-
|
1424
|
+
symbol: string;
|
1402
1425
|
name: string | null;
|
1426
|
+
id: string;
|
1403
1427
|
chainId: number;
|
1404
1428
|
address: string;
|
1405
|
-
decimals: number;
|
1406
|
-
symbol: string;
|
1407
1429
|
icon: string;
|
1430
|
+
decimals: number;
|
1408
1431
|
verified: boolean;
|
1409
1432
|
price: number | null;
|
1410
1433
|
}[];
|
1411
1434
|
Protocols: {
|
1412
|
-
id: string;
|
1413
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1414
1435
|
name: string;
|
1415
|
-
description: string;
|
1416
1436
|
url: string;
|
1437
|
+
description: string;
|
1438
|
+
id: string;
|
1439
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1417
1440
|
icon: string;
|
1418
1441
|
}[];
|
1419
1442
|
MainProtocol: {
|
1420
|
-
id: string;
|
1421
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1422
1443
|
name: string;
|
1423
|
-
description: string;
|
1424
1444
|
url: string;
|
1445
|
+
description: string;
|
1446
|
+
id: string;
|
1447
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1425
1448
|
icon: string;
|
1426
1449
|
} | null;
|
1427
1450
|
} & {
|
1428
|
-
id: string;
|
1429
|
-
chainId: number;
|
1430
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1431
|
-
identifier: string;
|
1432
1451
|
name: string;
|
1452
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1453
|
+
id: string;
|
1433
1454
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1455
|
+
tags: string[];
|
1456
|
+
identifier: string;
|
1457
|
+
chainId: number;
|
1434
1458
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1435
1459
|
mainProtocolId: string | null;
|
1436
1460
|
tvl: number;
|
1437
1461
|
apr: number;
|
1438
1462
|
dailyRewards: number;
|
1439
|
-
tags: string[];
|
1440
1463
|
};
|
1441
1464
|
reason: string;
|
1465
|
+
pending: string;
|
1442
1466
|
amount: string;
|
1443
1467
|
claimed: string;
|
1444
|
-
pending: string;
|
1445
1468
|
auxiliaryData1: string | null;
|
1446
1469
|
auxiliaryData2: string | null;
|
1447
1470
|
}[];
|
1448
1471
|
claimed: bigint;
|
1449
1472
|
amount: bigint;
|
1450
1473
|
pending: bigint;
|
1451
|
-
root: string;
|
1452
1474
|
recipient: string;
|
1475
|
+
root: string;
|
1453
1476
|
proofs: string[];
|
1454
1477
|
}, "breakdowns"> & {
|
1455
1478
|
breakdowns: {
|
@@ -1489,13 +1512,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1489
1512
|
}, "rewards"> & {
|
1490
1513
|
rewards: (Omit<{
|
1491
1514
|
token: {
|
1492
|
-
|
1515
|
+
symbol: string;
|
1493
1516
|
name: string | null;
|
1517
|
+
id: string;
|
1494
1518
|
chainId: number;
|
1495
1519
|
address: string;
|
1496
|
-
decimals: number;
|
1497
|
-
symbol: string;
|
1498
1520
|
icon: string;
|
1521
|
+
decimals: number;
|
1499
1522
|
verified: boolean;
|
1500
1523
|
price: number | null;
|
1501
1524
|
};
|
@@ -1503,71 +1526,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1503
1526
|
campaignId: string;
|
1504
1527
|
opportunity: {
|
1505
1528
|
Chain: {
|
1506
|
-
id: number;
|
1507
1529
|
name: string;
|
1530
|
+
id: number;
|
1508
1531
|
icon: string;
|
1509
1532
|
};
|
1510
1533
|
Tokens: {
|
1511
|
-
|
1534
|
+
symbol: string;
|
1512
1535
|
name: string | null;
|
1536
|
+
id: string;
|
1513
1537
|
chainId: number;
|
1514
1538
|
address: string;
|
1515
|
-
decimals: number;
|
1516
|
-
symbol: string;
|
1517
1539
|
icon: string;
|
1540
|
+
decimals: number;
|
1518
1541
|
verified: boolean;
|
1519
1542
|
price: number | null;
|
1520
1543
|
}[];
|
1521
1544
|
Protocols: {
|
1522
|
-
id: string;
|
1523
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1524
1545
|
name: string;
|
1525
|
-
description: string;
|
1526
1546
|
url: string;
|
1547
|
+
description: string;
|
1548
|
+
id: string;
|
1549
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1527
1550
|
icon: string;
|
1528
1551
|
}[];
|
1529
1552
|
MainProtocol: {
|
1530
|
-
id: string;
|
1531
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1532
1553
|
name: string;
|
1533
|
-
description: string;
|
1534
1554
|
url: string;
|
1555
|
+
description: string;
|
1556
|
+
id: string;
|
1557
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1535
1558
|
icon: string;
|
1536
1559
|
} | null;
|
1537
1560
|
} & {
|
1538
|
-
id: string;
|
1539
|
-
chainId: number;
|
1540
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1541
|
-
identifier: string;
|
1542
1561
|
name: string;
|
1562
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1563
|
+
id: string;
|
1543
1564
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1565
|
+
tags: string[];
|
1566
|
+
identifier: string;
|
1567
|
+
chainId: number;
|
1544
1568
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1545
1569
|
mainProtocolId: string | null;
|
1546
1570
|
tvl: number;
|
1547
1571
|
apr: number;
|
1548
1572
|
dailyRewards: number;
|
1549
|
-
tags: string[];
|
1550
1573
|
};
|
1551
1574
|
reason: string;
|
1575
|
+
pending: string;
|
1552
1576
|
amount: string;
|
1553
1577
|
claimed: string;
|
1554
|
-
pending: string;
|
1555
1578
|
auxiliaryData1: string | null;
|
1556
1579
|
auxiliaryData2: string | null;
|
1557
1580
|
}[];
|
1558
1581
|
claimed: bigint;
|
1559
1582
|
amount: bigint;
|
1560
1583
|
pending: bigint;
|
1561
|
-
root: string;
|
1562
1584
|
recipient: string;
|
1585
|
+
root: string;
|
1563
1586
|
proofs: string[];
|
1564
1587
|
}, "breakdowns"> & {
|
1565
1588
|
breakdowns: {
|
1566
1589
|
campaignId: string;
|
1567
1590
|
reason: string;
|
1591
|
+
pending: string;
|
1568
1592
|
amount: string;
|
1569
1593
|
claimed: string;
|
1570
|
-
pending: string;
|
1571
1594
|
auxiliaryData1: string | null;
|
1572
1595
|
auxiliaryData2: string | null;
|
1573
1596
|
}[];
|
@@ -1593,13 +1616,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1593
1616
|
};
|
1594
1617
|
response: {
|
1595
1618
|
200: {
|
1596
|
-
address: string;
|
1597
1619
|
tags: string[];
|
1620
|
+
address: string;
|
1598
1621
|
};
|
1599
1622
|
};
|
1600
1623
|
};
|
1601
1624
|
};
|
1602
1625
|
};
|
1626
|
+
} & {
|
1627
|
+
users: {
|
1628
|
+
sync: {
|
1629
|
+
post: {
|
1630
|
+
body: unknown;
|
1631
|
+
params: Record<never, string>;
|
1632
|
+
query: unknown;
|
1633
|
+
headers: {
|
1634
|
+
authorization: string;
|
1635
|
+
};
|
1636
|
+
response: {
|
1637
|
+
200: void;
|
1638
|
+
};
|
1639
|
+
};
|
1640
|
+
};
|
1641
|
+
};
|
1603
1642
|
} & {
|
1604
1643
|
users: {
|
1605
1644
|
":address": {
|
@@ -1617,8 +1656,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1617
1656
|
};
|
1618
1657
|
response: {
|
1619
1658
|
200: {
|
1620
|
-
address: string;
|
1621
1659
|
tags: string[];
|
1660
|
+
address: string;
|
1622
1661
|
};
|
1623
1662
|
};
|
1624
1663
|
};
|
@@ -1629,7 +1668,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1629
1668
|
} & {
|
1630
1669
|
v4: {
|
1631
1670
|
roots: {
|
1632
|
-
|
1671
|
+
timestamps: {
|
1633
1672
|
get: {
|
1634
1673
|
body: unknown;
|
1635
1674
|
params: Record<never, string>;
|
@@ -1641,10 +1680,28 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1641
1680
|
headers: unknown;
|
1642
1681
|
response: {
|
1643
1682
|
200: {
|
1644
|
-
|
1683
|
+
timestamp: bigint;
|
1645
1684
|
chainId: number;
|
1685
|
+
root: string;
|
1646
1686
|
epoch: number;
|
1647
|
-
|
1687
|
+
}[];
|
1688
|
+
};
|
1689
|
+
};
|
1690
|
+
};
|
1691
|
+
};
|
1692
|
+
} & {
|
1693
|
+
roots: {
|
1694
|
+
index: {
|
1695
|
+
get: {
|
1696
|
+
body: unknown;
|
1697
|
+
params: Record<never, string>;
|
1698
|
+
query: unknown;
|
1699
|
+
headers: unknown;
|
1700
|
+
response: {
|
1701
|
+
200: {
|
1702
|
+
live: string;
|
1703
|
+
tree: string;
|
1704
|
+
lastTree: string;
|
1648
1705
|
}[];
|
1649
1706
|
};
|
1650
1707
|
};
|
@@ -1769,6 +1826,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1769
1826
|
response: {
|
1770
1827
|
200: {
|
1771
1828
|
id: string;
|
1829
|
+
timestamp: number;
|
1772
1830
|
chainId: number;
|
1773
1831
|
fromTokenId: string;
|
1774
1832
|
toTokenId: string;
|
@@ -1777,7 +1835,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1777
1835
|
amountIn: string;
|
1778
1836
|
amountOut: string;
|
1779
1837
|
datetime: Date;
|
1780
|
-
timestamp: number;
|
1781
1838
|
}[];
|
1782
1839
|
};
|
1783
1840
|
};
|
@@ -2016,12 +2073,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2016
2073
|
headers: unknown;
|
2017
2074
|
response: {
|
2018
2075
|
200: {
|
2076
|
+
error: string;
|
2077
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2078
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2019
2079
|
campaignId: string;
|
2020
2080
|
computedUntil: bigint;
|
2021
2081
|
processingStarted: bigint;
|
2022
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2023
|
-
error: string;
|
2024
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2025
2082
|
}[];
|
2026
2083
|
};
|
2027
2084
|
};
|
@@ -2040,27 +2097,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2040
2097
|
response: {
|
2041
2098
|
200: ({
|
2042
2099
|
Campaign: {
|
2100
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2043
2101
|
id: string;
|
2102
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2103
|
+
subType: number | null;
|
2104
|
+
startTimestamp: bigint;
|
2105
|
+
endTimestamp: bigint;
|
2044
2106
|
computeChainId: number;
|
2045
2107
|
distributionChainId: number;
|
2046
2108
|
campaignId: string;
|
2047
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2048
|
-
subType: number | null;
|
2049
2109
|
rewardTokenId: string;
|
2050
2110
|
amount: string;
|
2051
2111
|
opportunityId: string;
|
2052
|
-
startTimestamp: bigint;
|
2053
|
-
endTimestamp: bigint;
|
2054
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2055
2112
|
creatorAddress: string;
|
2056
2113
|
};
|
2057
2114
|
} & {
|
2115
|
+
error: string;
|
2116
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2117
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2058
2118
|
campaignId: string;
|
2059
2119
|
computedUntil: bigint;
|
2060
2120
|
processingStarted: bigint;
|
2061
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2062
|
-
error: string;
|
2063
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2064
2121
|
})[];
|
2065
2122
|
};
|
2066
2123
|
};
|
@@ -2079,12 +2136,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2079
2136
|
headers: unknown;
|
2080
2137
|
response: {
|
2081
2138
|
200: {
|
2139
|
+
error: string;
|
2140
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2141
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2082
2142
|
campaignId: string;
|
2083
2143
|
computedUntil: bigint;
|
2084
2144
|
processingStarted: bigint;
|
2085
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2086
|
-
error: string;
|
2087
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2088
2145
|
};
|
2089
2146
|
};
|
2090
2147
|
};
|
@@ -2103,12 +2160,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2103
2160
|
headers: unknown;
|
2104
2161
|
response: {
|
2105
2162
|
200: {
|
2163
|
+
error: string;
|
2164
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2165
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2106
2166
|
campaignId: string;
|
2107
2167
|
computedUntil: bigint;
|
2108
2168
|
processingStarted: bigint;
|
2109
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2110
|
-
error: string;
|
2111
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2112
2169
|
}[];
|
2113
2170
|
};
|
2114
2171
|
};
|