@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
@@ -89,9 +89,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
89
89
|
cumulated: number;
|
90
90
|
timestamp: bigint;
|
91
91
|
breakdowns: {
|
92
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
92
93
|
id: number;
|
93
94
|
identifier: string;
|
94
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
95
95
|
value: number;
|
96
96
|
aprRecordId: string;
|
97
97
|
}[];
|
@@ -101,9 +101,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
101
101
|
total: number;
|
102
102
|
timestamp: bigint;
|
103
103
|
breakdowns: {
|
104
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
104
105
|
id: number;
|
105
106
|
identifier: string;
|
106
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
107
107
|
value: number;
|
108
108
|
tvlRecordId: string;
|
109
109
|
}[];
|
@@ -121,27 +121,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
121
121
|
};
|
122
122
|
id: string;
|
123
123
|
tokens: {
|
124
|
-
|
124
|
+
symbol: string;
|
125
125
|
name: string | null;
|
126
|
+
id: string;
|
126
127
|
chainId: number;
|
127
128
|
address: string;
|
128
|
-
decimals: number;
|
129
|
-
symbol: string;
|
130
129
|
icon: string;
|
130
|
+
decimals: number;
|
131
131
|
verified: boolean;
|
132
132
|
price: number | null;
|
133
133
|
}[];
|
134
134
|
chain: {
|
135
|
-
id: number;
|
136
135
|
name: string;
|
136
|
+
id: number;
|
137
137
|
icon: string;
|
138
138
|
};
|
139
139
|
protocol: {
|
140
|
-
id: string;
|
141
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
142
140
|
name: string;
|
143
|
-
description: string;
|
144
141
|
url: string;
|
142
|
+
description: string;
|
143
|
+
id: string;
|
144
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
145
145
|
icon: string;
|
146
146
|
} | undefined;
|
147
147
|
name: string;
|
@@ -176,9 +176,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
176
176
|
cumulated: number;
|
177
177
|
timestamp: bigint;
|
178
178
|
breakdowns: {
|
179
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
179
180
|
id: number;
|
180
181
|
identifier: string;
|
181
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
182
182
|
value: number;
|
183
183
|
aprRecordId: string;
|
184
184
|
}[];
|
@@ -188,9 +188,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
188
188
|
total: number;
|
189
189
|
timestamp: bigint;
|
190
190
|
breakdowns: {
|
191
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
191
192
|
id: number;
|
192
193
|
identifier: string;
|
193
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
194
194
|
value: number;
|
195
195
|
tvlRecordId: string;
|
196
196
|
}[];
|
@@ -208,27 +208,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
208
208
|
};
|
209
209
|
id: string;
|
210
210
|
tokens: {
|
211
|
-
|
211
|
+
symbol: string;
|
212
212
|
name: string | null;
|
213
|
+
id: string;
|
213
214
|
chainId: number;
|
214
215
|
address: string;
|
215
|
-
decimals: number;
|
216
|
-
symbol: string;
|
217
216
|
icon: string;
|
217
|
+
decimals: number;
|
218
218
|
verified: boolean;
|
219
219
|
price: number | null;
|
220
220
|
}[];
|
221
221
|
chain: {
|
222
|
-
id: number;
|
223
222
|
name: string;
|
223
|
+
id: number;
|
224
224
|
icon: string;
|
225
225
|
};
|
226
226
|
protocol: {
|
227
|
-
id: string;
|
228
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
229
227
|
name: string;
|
230
|
-
description: string;
|
231
228
|
url: string;
|
229
|
+
description: string;
|
230
|
+
id: string;
|
231
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
232
232
|
icon: string;
|
233
233
|
} | undefined;
|
234
234
|
name: string;
|
@@ -245,37 +245,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
245
245
|
campaigns: ({
|
246
246
|
params: any;
|
247
247
|
chain: {
|
248
|
-
id: number;
|
249
248
|
name: string;
|
249
|
+
id: number;
|
250
250
|
icon: string;
|
251
251
|
};
|
252
252
|
rewardToken: {
|
253
|
-
|
253
|
+
symbol: string;
|
254
254
|
name: string | null;
|
255
|
+
id: string;
|
255
256
|
chainId: number;
|
256
257
|
address: string;
|
257
|
-
decimals: number;
|
258
|
-
symbol: string;
|
259
258
|
icon: string;
|
259
|
+
decimals: number;
|
260
260
|
verified: boolean;
|
261
261
|
price: number | null;
|
262
262
|
};
|
263
263
|
distributionChain: {
|
264
|
-
id: number;
|
265
264
|
name: string;
|
265
|
+
id: number;
|
266
266
|
icon: string;
|
267
267
|
} | undefined;
|
268
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
268
269
|
id: string;
|
270
|
+
subType: number | null;
|
271
|
+
startTimestamp: bigint;
|
272
|
+
endTimestamp: bigint;
|
269
273
|
computeChainId: number;
|
270
274
|
distributionChainId: number;
|
271
275
|
campaignId: string;
|
272
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
273
|
-
subType: number | null;
|
274
276
|
rewardTokenId: string;
|
275
277
|
amount: string;
|
276
278
|
opportunityId: string;
|
277
|
-
startTimestamp: bigint;
|
278
|
-
endTimestamp: bigint;
|
279
279
|
creatorAddress: string;
|
280
280
|
} | null)[];
|
281
281
|
}) | null | undefined;
|
@@ -310,9 +310,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
310
310
|
cumulated: number;
|
311
311
|
timestamp: bigint;
|
312
312
|
breakdowns: {
|
313
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
313
314
|
id: number;
|
314
315
|
identifier: string;
|
315
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
316
316
|
value: number;
|
317
317
|
aprRecordId: string;
|
318
318
|
}[];
|
@@ -322,9 +322,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
322
322
|
total: number;
|
323
323
|
timestamp: bigint;
|
324
324
|
breakdowns: {
|
325
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
325
326
|
id: number;
|
326
327
|
identifier: string;
|
327
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
328
328
|
value: number;
|
329
329
|
tvlRecordId: string;
|
330
330
|
}[];
|
@@ -342,27 +342,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
342
342
|
};
|
343
343
|
id: string;
|
344
344
|
tokens: {
|
345
|
-
|
345
|
+
symbol: string;
|
346
346
|
name: string | null;
|
347
|
+
id: string;
|
347
348
|
chainId: number;
|
348
349
|
address: string;
|
349
|
-
decimals: number;
|
350
|
-
symbol: string;
|
351
350
|
icon: string;
|
351
|
+
decimals: number;
|
352
352
|
verified: boolean;
|
353
353
|
price: number | null;
|
354
354
|
}[];
|
355
355
|
chain: {
|
356
|
-
id: number;
|
357
356
|
name: string;
|
357
|
+
id: number;
|
358
358
|
icon: string;
|
359
359
|
};
|
360
360
|
protocol: {
|
361
|
-
id: string;
|
362
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
363
361
|
name: string;
|
364
|
-
description: string;
|
365
362
|
url: string;
|
363
|
+
description: string;
|
364
|
+
id: string;
|
365
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
366
366
|
icon: string;
|
367
367
|
} | undefined;
|
368
368
|
name: string;
|
@@ -434,18 +434,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
434
434
|
};
|
435
435
|
response: {
|
436
436
|
200: {
|
437
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
437
438
|
id: string;
|
439
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
440
|
+
subType: number | null;
|
441
|
+
startTimestamp: bigint;
|
442
|
+
endTimestamp: bigint;
|
438
443
|
computeChainId: number;
|
439
444
|
distributionChainId: number;
|
440
445
|
campaignId: string;
|
441
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
442
|
-
subType: number | null;
|
443
446
|
rewardTokenId: string;
|
444
447
|
amount: string;
|
445
448
|
opportunityId: string;
|
446
|
-
startTimestamp: bigint;
|
447
|
-
endTimestamp: bigint;
|
448
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
449
449
|
creatorAddress: string;
|
450
450
|
} | undefined;
|
451
451
|
};
|
@@ -475,37 +475,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
475
475
|
200: ({
|
476
476
|
params: any;
|
477
477
|
chain: {
|
478
|
-
id: number;
|
479
478
|
name: string;
|
479
|
+
id: number;
|
480
480
|
icon: string;
|
481
481
|
};
|
482
482
|
rewardToken: {
|
483
|
-
|
483
|
+
symbol: string;
|
484
484
|
name: string | null;
|
485
|
+
id: string;
|
485
486
|
chainId: number;
|
486
487
|
address: string;
|
487
|
-
decimals: number;
|
488
|
-
symbol: string;
|
489
488
|
icon: string;
|
489
|
+
decimals: number;
|
490
490
|
verified: boolean;
|
491
491
|
price: number | null;
|
492
492
|
};
|
493
493
|
distributionChain: {
|
494
|
-
id: number;
|
495
494
|
name: string;
|
495
|
+
id: number;
|
496
496
|
icon: string;
|
497
497
|
} | undefined;
|
498
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
498
499
|
id: string;
|
500
|
+
subType: number | null;
|
501
|
+
startTimestamp: bigint;
|
502
|
+
endTimestamp: bigint;
|
499
503
|
computeChainId: number;
|
500
504
|
distributionChainId: number;
|
501
505
|
campaignId: string;
|
502
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
503
|
-
subType: number | null;
|
504
506
|
rewardTokenId: string;
|
505
507
|
amount: string;
|
506
508
|
opportunityId: string;
|
507
|
-
startTimestamp: bigint;
|
508
|
-
endTimestamp: bigint;
|
509
509
|
creatorAddress: string;
|
510
510
|
} | null)[];
|
511
511
|
};
|
@@ -783,9 +783,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
783
783
|
params: Record<never, string>;
|
784
784
|
query: {
|
785
785
|
items?: number | undefined;
|
786
|
-
chainId?: number | undefined;
|
787
786
|
page?: number | undefined;
|
788
|
-
|
787
|
+
chainId: number;
|
788
|
+
campaignId: string;
|
789
789
|
};
|
790
790
|
headers: unknown;
|
791
791
|
response: {
|
@@ -802,13 +802,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
802
802
|
params: Record<never, string>;
|
803
803
|
query: {
|
804
804
|
items?: number | undefined;
|
805
|
-
chainId?: number | undefined;
|
806
805
|
page?: number | undefined;
|
807
|
-
|
806
|
+
chainId: number;
|
807
|
+
campaignId: string;
|
808
808
|
};
|
809
809
|
headers: unknown;
|
810
810
|
response: {
|
811
|
-
200:
|
811
|
+
200: {
|
812
|
+
campaignId: string;
|
813
|
+
amount: bigint;
|
814
|
+
};
|
812
815
|
};
|
813
816
|
};
|
814
817
|
};
|
@@ -911,15 +914,15 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
911
914
|
params: Record<never, string>;
|
912
915
|
query: {
|
913
916
|
items?: number | undefined;
|
914
|
-
chainId?: number | undefined;
|
915
917
|
page?: number | undefined;
|
916
|
-
|
918
|
+
chainId: number;
|
919
|
+
campaignId: string;
|
917
920
|
};
|
918
921
|
headers: unknown;
|
919
922
|
response: {
|
920
923
|
200: {
|
921
924
|
count: number;
|
922
|
-
}
|
925
|
+
};
|
923
926
|
};
|
924
927
|
};
|
925
928
|
};
|
@@ -959,13 +962,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
959
962
|
headers: unknown;
|
960
963
|
response: {
|
961
964
|
200: {
|
962
|
-
id: number;
|
963
965
|
name: string;
|
966
|
+
id: number;
|
964
967
|
icon: string;
|
965
968
|
explorers: {
|
966
|
-
id: string;
|
967
969
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
968
970
|
url: string;
|
971
|
+
id: string;
|
969
972
|
chainId: number;
|
970
973
|
}[];
|
971
974
|
} | null;
|
@@ -983,13 +986,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
983
986
|
headers: unknown;
|
984
987
|
response: {
|
985
988
|
200: {
|
986
|
-
id: number;
|
987
989
|
name: string;
|
990
|
+
id: number;
|
988
991
|
icon: string;
|
989
992
|
explorers: {
|
990
|
-
id: string;
|
991
993
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
992
994
|
url: string;
|
995
|
+
id: string;
|
993
996
|
chainId: number;
|
994
997
|
}[];
|
995
998
|
}[];
|
@@ -1025,9 +1028,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1025
1028
|
};
|
1026
1029
|
response: {
|
1027
1030
|
200: {
|
1028
|
-
id: string;
|
1029
1031
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1030
1032
|
url: string;
|
1033
|
+
id: string;
|
1031
1034
|
chainId: number;
|
1032
1035
|
};
|
1033
1036
|
};
|
@@ -1092,10 +1095,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1092
1095
|
headers: unknown;
|
1093
1096
|
response: {
|
1094
1097
|
200: {
|
1095
|
-
id: number;
|
1096
1098
|
symbol: string;
|
1097
1099
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1098
|
-
args: import("
|
1100
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1101
|
+
id: number;
|
1099
1102
|
}[];
|
1100
1103
|
};
|
1101
1104
|
};
|
@@ -1114,10 +1117,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1114
1117
|
headers: unknown;
|
1115
1118
|
response: {
|
1116
1119
|
200: {
|
1117
|
-
id: number;
|
1118
1120
|
symbol: string;
|
1119
1121
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1120
|
-
args: import("
|
1122
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1123
|
+
id: number;
|
1121
1124
|
};
|
1122
1125
|
};
|
1123
1126
|
};
|
@@ -1163,10 +1166,10 @@ declare const _default: (app: App) => import("elysia").default<"", 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
|
};
|
@@ -1188,10 +1191,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1188
1191
|
};
|
1189
1192
|
response: {
|
1190
1193
|
200: {
|
1191
|
-
id: number;
|
1192
1194
|
symbol: string;
|
1193
1195
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1194
|
-
args: import("
|
1196
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1197
|
+
id: number;
|
1195
1198
|
};
|
1196
1199
|
};
|
1197
1200
|
};
|
@@ -1216,7 +1219,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1216
1219
|
poolAddress: string;
|
1217
1220
|
userAddress: string;
|
1218
1221
|
arrestTimestamp: bigint;
|
1219
|
-
arrestDetails: import("
|
1222
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1220
1223
|
}[];
|
1221
1224
|
};
|
1222
1225
|
};
|
@@ -1278,7 +1281,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1278
1281
|
poolAddress: string;
|
1279
1282
|
userAddress: string;
|
1280
1283
|
arrestTimestamp: bigint;
|
1281
|
-
arrestDetails: import("
|
1284
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1282
1285
|
};
|
1283
1286
|
};
|
1284
1287
|
};
|
@@ -1321,8 +1324,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1321
1324
|
headers: unknown;
|
1322
1325
|
response: {
|
1323
1326
|
200: {
|
1327
|
+
tags: string[];
|
1324
1328
|
address: string;
|
1329
|
+
}[];
|
1330
|
+
};
|
1331
|
+
};
|
1332
|
+
};
|
1333
|
+
};
|
1334
|
+
} & {
|
1335
|
+
users: {
|
1336
|
+
tags: {
|
1337
|
+
get: {
|
1338
|
+
body: unknown;
|
1339
|
+
params: Record<never, string>;
|
1340
|
+
query: unknown;
|
1341
|
+
headers: {
|
1342
|
+
authorization: string;
|
1343
|
+
};
|
1344
|
+
response: {
|
1345
|
+
200: {
|
1325
1346
|
tags: string[];
|
1347
|
+
address: string;
|
1326
1348
|
}[];
|
1327
1349
|
};
|
1328
1350
|
};
|
@@ -1338,6 +1360,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1338
1360
|
headers: unknown;
|
1339
1361
|
response: {
|
1340
1362
|
200: {
|
1363
|
+
tags: string[];
|
1341
1364
|
address: string;
|
1342
1365
|
} | null;
|
1343
1366
|
};
|
@@ -1363,13 +1386,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1363
1386
|
}, "rewards"> & {
|
1364
1387
|
rewards: (Omit<{
|
1365
1388
|
token: {
|
1366
|
-
|
1389
|
+
symbol: string;
|
1367
1390
|
name: string | null;
|
1391
|
+
id: string;
|
1368
1392
|
chainId: number;
|
1369
1393
|
address: string;
|
1370
|
-
decimals: number;
|
1371
|
-
symbol: string;
|
1372
1394
|
icon: string;
|
1395
|
+
decimals: number;
|
1373
1396
|
verified: boolean;
|
1374
1397
|
price: number | null;
|
1375
1398
|
};
|
@@ -1377,63 +1400,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1377
1400
|
campaignId: string;
|
1378
1401
|
opportunity: {
|
1379
1402
|
Chain: {
|
1380
|
-
id: number;
|
1381
1403
|
name: string;
|
1404
|
+
id: number;
|
1382
1405
|
icon: string;
|
1383
1406
|
};
|
1384
1407
|
Tokens: {
|
1385
|
-
|
1408
|
+
symbol: string;
|
1386
1409
|
name: string | null;
|
1410
|
+
id: string;
|
1387
1411
|
chainId: number;
|
1388
1412
|
address: string;
|
1389
|
-
decimals: number;
|
1390
|
-
symbol: string;
|
1391
1413
|
icon: string;
|
1414
|
+
decimals: number;
|
1392
1415
|
verified: boolean;
|
1393
1416
|
price: number | null;
|
1394
1417
|
}[];
|
1395
1418
|
Protocols: {
|
1396
|
-
id: string;
|
1397
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1398
1419
|
name: string;
|
1399
|
-
description: string;
|
1400
1420
|
url: string;
|
1421
|
+
description: string;
|
1422
|
+
id: string;
|
1423
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1401
1424
|
icon: string;
|
1402
1425
|
}[];
|
1403
1426
|
MainProtocol: {
|
1404
|
-
id: string;
|
1405
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1406
1427
|
name: string;
|
1407
|
-
description: string;
|
1408
1428
|
url: string;
|
1429
|
+
description: string;
|
1430
|
+
id: string;
|
1431
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1409
1432
|
icon: string;
|
1410
1433
|
} | null;
|
1411
1434
|
} & {
|
1412
|
-
id: string;
|
1413
|
-
chainId: number;
|
1414
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1415
|
-
identifier: string;
|
1416
1435
|
name: string;
|
1436
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1437
|
+
id: string;
|
1417
1438
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1439
|
+
tags: string[];
|
1440
|
+
identifier: string;
|
1441
|
+
chainId: number;
|
1418
1442
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1419
1443
|
mainProtocolId: string | null;
|
1420
1444
|
tvl: number;
|
1421
1445
|
apr: number;
|
1422
1446
|
dailyRewards: number;
|
1423
|
-
tags: string[];
|
1424
1447
|
};
|
1425
1448
|
reason: string;
|
1449
|
+
pending: string;
|
1426
1450
|
amount: string;
|
1427
1451
|
claimed: string;
|
1428
|
-
pending: string;
|
1429
1452
|
auxiliaryData1: string | null;
|
1430
1453
|
auxiliaryData2: string | null;
|
1431
1454
|
}[];
|
1432
1455
|
claimed: bigint;
|
1433
1456
|
amount: bigint;
|
1434
1457
|
pending: bigint;
|
1435
|
-
root: string;
|
1436
1458
|
recipient: string;
|
1459
|
+
root: string;
|
1437
1460
|
proofs: string[];
|
1438
1461
|
}, "breakdowns"> & {
|
1439
1462
|
breakdowns: {
|
@@ -1473,13 +1496,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1473
1496
|
}, "rewards"> & {
|
1474
1497
|
rewards: (Omit<{
|
1475
1498
|
token: {
|
1476
|
-
|
1499
|
+
symbol: string;
|
1477
1500
|
name: string | null;
|
1501
|
+
id: string;
|
1478
1502
|
chainId: number;
|
1479
1503
|
address: string;
|
1480
|
-
decimals: number;
|
1481
|
-
symbol: string;
|
1482
1504
|
icon: string;
|
1505
|
+
decimals: number;
|
1483
1506
|
verified: boolean;
|
1484
1507
|
price: number | null;
|
1485
1508
|
};
|
@@ -1487,71 +1510,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1487
1510
|
campaignId: string;
|
1488
1511
|
opportunity: {
|
1489
1512
|
Chain: {
|
1490
|
-
id: number;
|
1491
1513
|
name: string;
|
1514
|
+
id: number;
|
1492
1515
|
icon: string;
|
1493
1516
|
};
|
1494
1517
|
Tokens: {
|
1495
|
-
|
1518
|
+
symbol: string;
|
1496
1519
|
name: string | null;
|
1520
|
+
id: string;
|
1497
1521
|
chainId: number;
|
1498
1522
|
address: string;
|
1499
|
-
decimals: number;
|
1500
|
-
symbol: string;
|
1501
1523
|
icon: string;
|
1524
|
+
decimals: number;
|
1502
1525
|
verified: boolean;
|
1503
1526
|
price: number | null;
|
1504
1527
|
}[];
|
1505
1528
|
Protocols: {
|
1506
|
-
id: string;
|
1507
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1508
1529
|
name: string;
|
1509
|
-
description: string;
|
1510
1530
|
url: string;
|
1531
|
+
description: string;
|
1532
|
+
id: string;
|
1533
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1511
1534
|
icon: string;
|
1512
1535
|
}[];
|
1513
1536
|
MainProtocol: {
|
1514
|
-
id: string;
|
1515
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1516
1537
|
name: string;
|
1517
|
-
description: string;
|
1518
1538
|
url: string;
|
1539
|
+
description: string;
|
1540
|
+
id: string;
|
1541
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1519
1542
|
icon: string;
|
1520
1543
|
} | null;
|
1521
1544
|
} & {
|
1522
|
-
id: string;
|
1523
|
-
chainId: number;
|
1524
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1525
|
-
identifier: string;
|
1526
1545
|
name: string;
|
1546
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1547
|
+
id: string;
|
1527
1548
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1549
|
+
tags: string[];
|
1550
|
+
identifier: string;
|
1551
|
+
chainId: number;
|
1528
1552
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1529
1553
|
mainProtocolId: string | null;
|
1530
1554
|
tvl: number;
|
1531
1555
|
apr: number;
|
1532
1556
|
dailyRewards: number;
|
1533
|
-
tags: string[];
|
1534
1557
|
};
|
1535
1558
|
reason: string;
|
1559
|
+
pending: string;
|
1536
1560
|
amount: string;
|
1537
1561
|
claimed: string;
|
1538
|
-
pending: string;
|
1539
1562
|
auxiliaryData1: string | null;
|
1540
1563
|
auxiliaryData2: string | null;
|
1541
1564
|
}[];
|
1542
1565
|
claimed: bigint;
|
1543
1566
|
amount: bigint;
|
1544
1567
|
pending: bigint;
|
1545
|
-
root: string;
|
1546
1568
|
recipient: string;
|
1569
|
+
root: string;
|
1547
1570
|
proofs: string[];
|
1548
1571
|
}, "breakdowns"> & {
|
1549
1572
|
breakdowns: {
|
1550
1573
|
campaignId: string;
|
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
|
}[];
|
@@ -1577,13 +1600,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1577
1600
|
};
|
1578
1601
|
response: {
|
1579
1602
|
200: {
|
1580
|
-
address: string;
|
1581
1603
|
tags: string[];
|
1604
|
+
address: string;
|
1582
1605
|
};
|
1583
1606
|
};
|
1584
1607
|
};
|
1585
1608
|
};
|
1586
1609
|
};
|
1610
|
+
} & {
|
1611
|
+
users: {
|
1612
|
+
sync: {
|
1613
|
+
post: {
|
1614
|
+
body: unknown;
|
1615
|
+
params: Record<never, string>;
|
1616
|
+
query: unknown;
|
1617
|
+
headers: {
|
1618
|
+
authorization: string;
|
1619
|
+
};
|
1620
|
+
response: {
|
1621
|
+
200: void;
|
1622
|
+
};
|
1623
|
+
};
|
1624
|
+
};
|
1625
|
+
};
|
1587
1626
|
} & {
|
1588
1627
|
users: {
|
1589
1628
|
":address": {
|
@@ -1601,8 +1640,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1601
1640
|
};
|
1602
1641
|
response: {
|
1603
1642
|
200: {
|
1604
|
-
address: string;
|
1605
1643
|
tags: string[];
|
1644
|
+
address: string;
|
1606
1645
|
};
|
1607
1646
|
};
|
1608
1647
|
};
|
@@ -1613,7 +1652,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1613
1652
|
} & {
|
1614
1653
|
v4: {
|
1615
1654
|
roots: {
|
1616
|
-
|
1655
|
+
timestamps: {
|
1617
1656
|
get: {
|
1618
1657
|
body: unknown;
|
1619
1658
|
params: Record<never, string>;
|
@@ -1625,10 +1664,28 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1625
1664
|
headers: unknown;
|
1626
1665
|
response: {
|
1627
1666
|
200: {
|
1628
|
-
|
1667
|
+
timestamp: bigint;
|
1629
1668
|
chainId: number;
|
1669
|
+
root: string;
|
1630
1670
|
epoch: number;
|
1631
|
-
|
1671
|
+
}[];
|
1672
|
+
};
|
1673
|
+
};
|
1674
|
+
};
|
1675
|
+
};
|
1676
|
+
} & {
|
1677
|
+
roots: {
|
1678
|
+
index: {
|
1679
|
+
get: {
|
1680
|
+
body: unknown;
|
1681
|
+
params: Record<never, string>;
|
1682
|
+
query: unknown;
|
1683
|
+
headers: unknown;
|
1684
|
+
response: {
|
1685
|
+
200: {
|
1686
|
+
live: string;
|
1687
|
+
tree: string;
|
1688
|
+
lastTree: string;
|
1632
1689
|
}[];
|
1633
1690
|
};
|
1634
1691
|
};
|
@@ -1753,6 +1810,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1753
1810
|
response: {
|
1754
1811
|
200: {
|
1755
1812
|
id: string;
|
1813
|
+
timestamp: number;
|
1756
1814
|
chainId: number;
|
1757
1815
|
fromTokenId: string;
|
1758
1816
|
toTokenId: string;
|
@@ -1761,7 +1819,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1761
1819
|
amountIn: string;
|
1762
1820
|
amountOut: string;
|
1763
1821
|
datetime: Date;
|
1764
|
-
timestamp: number;
|
1765
1822
|
}[];
|
1766
1823
|
};
|
1767
1824
|
};
|
@@ -2000,12 +2057,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2000
2057
|
headers: unknown;
|
2001
2058
|
response: {
|
2002
2059
|
200: {
|
2060
|
+
error: string;
|
2061
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2062
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2003
2063
|
campaignId: string;
|
2004
2064
|
computedUntil: bigint;
|
2005
2065
|
processingStarted: bigint;
|
2006
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2007
|
-
error: string;
|
2008
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2009
2066
|
}[];
|
2010
2067
|
};
|
2011
2068
|
};
|
@@ -2024,27 +2081,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2024
2081
|
response: {
|
2025
2082
|
200: ({
|
2026
2083
|
Campaign: {
|
2084
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2027
2085
|
id: string;
|
2086
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2087
|
+
subType: number | null;
|
2088
|
+
startTimestamp: bigint;
|
2089
|
+
endTimestamp: bigint;
|
2028
2090
|
computeChainId: number;
|
2029
2091
|
distributionChainId: number;
|
2030
2092
|
campaignId: string;
|
2031
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2032
|
-
subType: number | null;
|
2033
2093
|
rewardTokenId: string;
|
2034
2094
|
amount: string;
|
2035
2095
|
opportunityId: string;
|
2036
|
-
startTimestamp: bigint;
|
2037
|
-
endTimestamp: bigint;
|
2038
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2039
2096
|
creatorAddress: string;
|
2040
2097
|
};
|
2041
2098
|
} & {
|
2099
|
+
error: string;
|
2100
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2101
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2042
2102
|
campaignId: string;
|
2043
2103
|
computedUntil: bigint;
|
2044
2104
|
processingStarted: bigint;
|
2045
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2046
|
-
error: string;
|
2047
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2048
2105
|
})[];
|
2049
2106
|
};
|
2050
2107
|
};
|
@@ -2063,12 +2120,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2063
2120
|
headers: unknown;
|
2064
2121
|
response: {
|
2065
2122
|
200: {
|
2123
|
+
error: string;
|
2124
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2125
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2066
2126
|
campaignId: string;
|
2067
2127
|
computedUntil: bigint;
|
2068
2128
|
processingStarted: bigint;
|
2069
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2070
|
-
error: string;
|
2071
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2072
2129
|
};
|
2073
2130
|
};
|
2074
2131
|
};
|
@@ -2087,12 +2144,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2087
2144
|
headers: unknown;
|
2088
2145
|
response: {
|
2089
2146
|
200: {
|
2147
|
+
error: string;
|
2148
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2149
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2090
2150
|
campaignId: string;
|
2091
2151
|
computedUntil: bigint;
|
2092
2152
|
processingStarted: bigint;
|
2093
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2094
|
-
error: string;
|
2095
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2096
2153
|
}[];
|
2097
2154
|
};
|
2098
2155
|
};
|