@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
@@ -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,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1337
1340
|
headers: unknown;
|
1338
1341
|
response: {
|
1339
1342
|
200: {
|
1340
|
-
address: string;
|
1341
1343
|
tags: string[];
|
1344
|
+
address: string;
|
1342
1345
|
}[];
|
1343
1346
|
};
|
1344
1347
|
};
|
@@ -1379,13 +1382,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1379
1382
|
}, "rewards"> & {
|
1380
1383
|
rewards: (Omit<{
|
1381
1384
|
token: {
|
1382
|
-
|
1385
|
+
symbol: string;
|
1383
1386
|
name: string | null;
|
1387
|
+
id: string;
|
1384
1388
|
chainId: number;
|
1385
1389
|
address: string;
|
1386
|
-
decimals: number;
|
1387
|
-
symbol: string;
|
1388
1390
|
icon: string;
|
1391
|
+
decimals: number;
|
1389
1392
|
verified: boolean;
|
1390
1393
|
price: number | null;
|
1391
1394
|
};
|
@@ -1393,63 +1396,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1393
1396
|
campaignId: string;
|
1394
1397
|
opportunity: {
|
1395
1398
|
Chain: {
|
1396
|
-
id: number;
|
1397
1399
|
name: string;
|
1400
|
+
id: number;
|
1398
1401
|
icon: string;
|
1399
1402
|
};
|
1400
1403
|
Tokens: {
|
1401
|
-
|
1404
|
+
symbol: string;
|
1402
1405
|
name: string | null;
|
1406
|
+
id: string;
|
1403
1407
|
chainId: number;
|
1404
1408
|
address: string;
|
1405
|
-
decimals: number;
|
1406
|
-
symbol: string;
|
1407
1409
|
icon: string;
|
1410
|
+
decimals: number;
|
1408
1411
|
verified: boolean;
|
1409
1412
|
price: number | null;
|
1410
1413
|
}[];
|
1411
1414
|
Protocols: {
|
1412
|
-
id: string;
|
1413
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1414
1415
|
name: string;
|
1415
|
-
description: string;
|
1416
1416
|
url: string;
|
1417
|
+
description: string;
|
1418
|
+
id: string;
|
1419
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1417
1420
|
icon: string;
|
1418
1421
|
}[];
|
1419
1422
|
MainProtocol: {
|
1420
|
-
id: string;
|
1421
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1422
1423
|
name: string;
|
1423
|
-
description: string;
|
1424
1424
|
url: string;
|
1425
|
+
description: string;
|
1426
|
+
id: string;
|
1427
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1425
1428
|
icon: string;
|
1426
1429
|
} | null;
|
1427
1430
|
} & {
|
1428
|
-
id: string;
|
1429
|
-
chainId: number;
|
1430
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1431
|
-
identifier: string;
|
1432
1431
|
name: string;
|
1432
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1433
|
+
id: string;
|
1433
1434
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1435
|
+
tags: string[];
|
1436
|
+
identifier: string;
|
1437
|
+
chainId: number;
|
1434
1438
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1435
1439
|
mainProtocolId: string | null;
|
1436
1440
|
tvl: number;
|
1437
1441
|
apr: number;
|
1438
1442
|
dailyRewards: number;
|
1439
|
-
tags: string[];
|
1440
1443
|
};
|
1441
1444
|
reason: string;
|
1445
|
+
pending: string;
|
1442
1446
|
amount: string;
|
1443
1447
|
claimed: string;
|
1444
|
-
pending: string;
|
1445
1448
|
auxiliaryData1: string | null;
|
1446
1449
|
auxiliaryData2: string | null;
|
1447
1450
|
}[];
|
1448
1451
|
claimed: bigint;
|
1449
1452
|
amount: bigint;
|
1450
1453
|
pending: bigint;
|
1451
|
-
root: string;
|
1452
1454
|
recipient: string;
|
1455
|
+
root: string;
|
1453
1456
|
proofs: string[];
|
1454
1457
|
}, "breakdowns"> & {
|
1455
1458
|
breakdowns: {
|
@@ -1489,13 +1492,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1489
1492
|
}, "rewards"> & {
|
1490
1493
|
rewards: (Omit<{
|
1491
1494
|
token: {
|
1492
|
-
|
1495
|
+
symbol: string;
|
1493
1496
|
name: string | null;
|
1497
|
+
id: string;
|
1494
1498
|
chainId: number;
|
1495
1499
|
address: string;
|
1496
|
-
decimals: number;
|
1497
|
-
symbol: string;
|
1498
1500
|
icon: string;
|
1501
|
+
decimals: number;
|
1499
1502
|
verified: boolean;
|
1500
1503
|
price: number | null;
|
1501
1504
|
};
|
@@ -1503,71 +1506,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1503
1506
|
campaignId: string;
|
1504
1507
|
opportunity: {
|
1505
1508
|
Chain: {
|
1506
|
-
id: number;
|
1507
1509
|
name: string;
|
1510
|
+
id: number;
|
1508
1511
|
icon: string;
|
1509
1512
|
};
|
1510
1513
|
Tokens: {
|
1511
|
-
|
1514
|
+
symbol: string;
|
1512
1515
|
name: string | null;
|
1516
|
+
id: string;
|
1513
1517
|
chainId: number;
|
1514
1518
|
address: string;
|
1515
|
-
decimals: number;
|
1516
|
-
symbol: string;
|
1517
1519
|
icon: string;
|
1520
|
+
decimals: number;
|
1518
1521
|
verified: boolean;
|
1519
1522
|
price: number | null;
|
1520
1523
|
}[];
|
1521
1524
|
Protocols: {
|
1522
|
-
id: string;
|
1523
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1524
1525
|
name: string;
|
1525
|
-
description: string;
|
1526
1526
|
url: string;
|
1527
|
+
description: string;
|
1528
|
+
id: string;
|
1529
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1527
1530
|
icon: string;
|
1528
1531
|
}[];
|
1529
1532
|
MainProtocol: {
|
1530
|
-
id: string;
|
1531
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1532
1533
|
name: string;
|
1533
|
-
description: string;
|
1534
1534
|
url: string;
|
1535
|
+
description: string;
|
1536
|
+
id: string;
|
1537
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1535
1538
|
icon: string;
|
1536
1539
|
} | null;
|
1537
1540
|
} & {
|
1538
|
-
id: string;
|
1539
|
-
chainId: number;
|
1540
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1541
|
-
identifier: string;
|
1542
1541
|
name: string;
|
1542
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1543
|
+
id: string;
|
1543
1544
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1545
|
+
tags: string[];
|
1546
|
+
identifier: string;
|
1547
|
+
chainId: number;
|
1544
1548
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1545
1549
|
mainProtocolId: string | null;
|
1546
1550
|
tvl: number;
|
1547
1551
|
apr: number;
|
1548
1552
|
dailyRewards: number;
|
1549
|
-
tags: string[];
|
1550
1553
|
};
|
1551
1554
|
reason: string;
|
1555
|
+
pending: string;
|
1552
1556
|
amount: string;
|
1553
1557
|
claimed: string;
|
1554
|
-
pending: string;
|
1555
1558
|
auxiliaryData1: string | null;
|
1556
1559
|
auxiliaryData2: string | null;
|
1557
1560
|
}[];
|
1558
1561
|
claimed: bigint;
|
1559
1562
|
amount: bigint;
|
1560
1563
|
pending: bigint;
|
1561
|
-
root: string;
|
1562
1564
|
recipient: string;
|
1565
|
+
root: string;
|
1563
1566
|
proofs: string[];
|
1564
1567
|
}, "breakdowns"> & {
|
1565
1568
|
breakdowns: {
|
1566
1569
|
campaignId: string;
|
1567
1570
|
reason: string;
|
1571
|
+
pending: string;
|
1568
1572
|
amount: string;
|
1569
1573
|
claimed: string;
|
1570
|
-
pending: string;
|
1571
1574
|
auxiliaryData1: string | null;
|
1572
1575
|
auxiliaryData2: string | null;
|
1573
1576
|
}[];
|
@@ -1593,8 +1596,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1593
1596
|
};
|
1594
1597
|
response: {
|
1595
1598
|
200: {
|
1596
|
-
address: string;
|
1597
1599
|
tags: string[];
|
1600
|
+
address: string;
|
1598
1601
|
};
|
1599
1602
|
};
|
1600
1603
|
};
|
@@ -1617,8 +1620,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1617
1620
|
};
|
1618
1621
|
response: {
|
1619
1622
|
200: {
|
1620
|
-
address: string;
|
1621
1623
|
tags: string[];
|
1624
|
+
address: string;
|
1622
1625
|
};
|
1623
1626
|
};
|
1624
1627
|
};
|
@@ -1629,7 +1632,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1629
1632
|
} & {
|
1630
1633
|
v4: {
|
1631
1634
|
roots: {
|
1632
|
-
|
1635
|
+
timestamps: {
|
1633
1636
|
get: {
|
1634
1637
|
body: unknown;
|
1635
1638
|
params: Record<never, string>;
|
@@ -1641,15 +1644,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1641
1644
|
headers: unknown;
|
1642
1645
|
response: {
|
1643
1646
|
200: {
|
1644
|
-
|
1647
|
+
timestamp: bigint;
|
1645
1648
|
chainId: number;
|
1649
|
+
root: string;
|
1646
1650
|
epoch: number;
|
1647
|
-
timestamp: bigint;
|
1648
1651
|
}[];
|
1649
1652
|
};
|
1650
1653
|
};
|
1651
1654
|
};
|
1652
1655
|
};
|
1656
|
+
} & {
|
1657
|
+
roots: {
|
1658
|
+
index: {
|
1659
|
+
get: {
|
1660
|
+
body: unknown;
|
1661
|
+
params: Record<never, string>;
|
1662
|
+
query: unknown;
|
1663
|
+
headers: unknown;
|
1664
|
+
response: {
|
1665
|
+
200: {
|
1666
|
+
[chainId: number]: {
|
1667
|
+
live: string;
|
1668
|
+
lastTree: string;
|
1669
|
+
};
|
1670
|
+
};
|
1671
|
+
};
|
1672
|
+
};
|
1673
|
+
};
|
1674
|
+
};
|
1653
1675
|
};
|
1654
1676
|
} & {
|
1655
1677
|
v4: {
|
@@ -1769,6 +1791,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1769
1791
|
response: {
|
1770
1792
|
200: {
|
1771
1793
|
id: string;
|
1794
|
+
timestamp: number;
|
1772
1795
|
chainId: number;
|
1773
1796
|
fromTokenId: string;
|
1774
1797
|
toTokenId: string;
|
@@ -1777,7 +1800,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1777
1800
|
amountIn: string;
|
1778
1801
|
amountOut: string;
|
1779
1802
|
datetime: Date;
|
1780
|
-
timestamp: number;
|
1781
1803
|
}[];
|
1782
1804
|
};
|
1783
1805
|
};
|
@@ -2016,12 +2038,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2016
2038
|
headers: unknown;
|
2017
2039
|
response: {
|
2018
2040
|
200: {
|
2041
|
+
error: string;
|
2042
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2043
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2019
2044
|
campaignId: string;
|
2020
2045
|
computedUntil: bigint;
|
2021
2046
|
processingStarted: bigint;
|
2022
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2023
|
-
error: string;
|
2024
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2025
2047
|
}[];
|
2026
2048
|
};
|
2027
2049
|
};
|
@@ -2040,27 +2062,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2040
2062
|
response: {
|
2041
2063
|
200: ({
|
2042
2064
|
Campaign: {
|
2065
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2043
2066
|
id: string;
|
2067
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2068
|
+
subType: number | null;
|
2069
|
+
startTimestamp: bigint;
|
2070
|
+
endTimestamp: bigint;
|
2044
2071
|
computeChainId: number;
|
2045
2072
|
distributionChainId: number;
|
2046
2073
|
campaignId: string;
|
2047
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2048
|
-
subType: number | null;
|
2049
2074
|
rewardTokenId: string;
|
2050
2075
|
amount: string;
|
2051
2076
|
opportunityId: string;
|
2052
|
-
startTimestamp: bigint;
|
2053
|
-
endTimestamp: bigint;
|
2054
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2055
2077
|
creatorAddress: string;
|
2056
2078
|
};
|
2057
2079
|
} & {
|
2080
|
+
error: string;
|
2081
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2082
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2058
2083
|
campaignId: string;
|
2059
2084
|
computedUntil: bigint;
|
2060
2085
|
processingStarted: bigint;
|
2061
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2062
|
-
error: string;
|
2063
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2064
2086
|
})[];
|
2065
2087
|
};
|
2066
2088
|
};
|
@@ -2079,12 +2101,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2079
2101
|
headers: unknown;
|
2080
2102
|
response: {
|
2081
2103
|
200: {
|
2104
|
+
error: string;
|
2105
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2106
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2082
2107
|
campaignId: string;
|
2083
2108
|
computedUntil: bigint;
|
2084
2109
|
processingStarted: bigint;
|
2085
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2086
|
-
error: string;
|
2087
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2088
2110
|
};
|
2089
2111
|
};
|
2090
2112
|
};
|
@@ -2103,12 +2125,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2103
2125
|
headers: unknown;
|
2104
2126
|
response: {
|
2105
2127
|
200: {
|
2128
|
+
error: string;
|
2129
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2130
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2106
2131
|
campaignId: string;
|
2107
2132
|
computedUntil: bigint;
|
2108
2133
|
processingStarted: bigint;
|
2109
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2110
|
-
error: string;
|
2111
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2112
2134
|
}[];
|
2113
2135
|
};
|
2114
2136
|
};
|