@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
@@ -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,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1321
1324
|
headers: unknown;
|
1322
1325
|
response: {
|
1323
1326
|
200: {
|
1324
|
-
address: string;
|
1325
1327
|
tags: string[];
|
1328
|
+
address: string;
|
1326
1329
|
}[];
|
1327
1330
|
};
|
1328
1331
|
};
|
@@ -1363,13 +1366,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1363
1366
|
}, "rewards"> & {
|
1364
1367
|
rewards: (Omit<{
|
1365
1368
|
token: {
|
1366
|
-
|
1369
|
+
symbol: string;
|
1367
1370
|
name: string | null;
|
1371
|
+
id: string;
|
1368
1372
|
chainId: number;
|
1369
1373
|
address: string;
|
1370
|
-
decimals: number;
|
1371
|
-
symbol: string;
|
1372
1374
|
icon: string;
|
1375
|
+
decimals: number;
|
1373
1376
|
verified: boolean;
|
1374
1377
|
price: number | null;
|
1375
1378
|
};
|
@@ -1377,63 +1380,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1377
1380
|
campaignId: string;
|
1378
1381
|
opportunity: {
|
1379
1382
|
Chain: {
|
1380
|
-
id: number;
|
1381
1383
|
name: string;
|
1384
|
+
id: number;
|
1382
1385
|
icon: string;
|
1383
1386
|
};
|
1384
1387
|
Tokens: {
|
1385
|
-
|
1388
|
+
symbol: string;
|
1386
1389
|
name: string | null;
|
1390
|
+
id: string;
|
1387
1391
|
chainId: number;
|
1388
1392
|
address: string;
|
1389
|
-
decimals: number;
|
1390
|
-
symbol: string;
|
1391
1393
|
icon: string;
|
1394
|
+
decimals: number;
|
1392
1395
|
verified: boolean;
|
1393
1396
|
price: number | null;
|
1394
1397
|
}[];
|
1395
1398
|
Protocols: {
|
1396
|
-
id: string;
|
1397
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1398
1399
|
name: string;
|
1399
|
-
description: string;
|
1400
1400
|
url: string;
|
1401
|
+
description: string;
|
1402
|
+
id: string;
|
1403
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1401
1404
|
icon: string;
|
1402
1405
|
}[];
|
1403
1406
|
MainProtocol: {
|
1404
|
-
id: string;
|
1405
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1406
1407
|
name: string;
|
1407
|
-
description: string;
|
1408
1408
|
url: string;
|
1409
|
+
description: string;
|
1410
|
+
id: string;
|
1411
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1409
1412
|
icon: string;
|
1410
1413
|
} | null;
|
1411
1414
|
} & {
|
1412
|
-
id: string;
|
1413
|
-
chainId: number;
|
1414
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1415
|
-
identifier: string;
|
1416
1415
|
name: string;
|
1416
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1417
|
+
id: string;
|
1417
1418
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1419
|
+
tags: string[];
|
1420
|
+
identifier: string;
|
1421
|
+
chainId: number;
|
1418
1422
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1419
1423
|
mainProtocolId: string | null;
|
1420
1424
|
tvl: number;
|
1421
1425
|
apr: number;
|
1422
1426
|
dailyRewards: number;
|
1423
|
-
tags: string[];
|
1424
1427
|
};
|
1425
1428
|
reason: string;
|
1429
|
+
pending: string;
|
1426
1430
|
amount: string;
|
1427
1431
|
claimed: string;
|
1428
|
-
pending: string;
|
1429
1432
|
auxiliaryData1: string | null;
|
1430
1433
|
auxiliaryData2: string | null;
|
1431
1434
|
}[];
|
1432
1435
|
claimed: bigint;
|
1433
1436
|
amount: bigint;
|
1434
1437
|
pending: bigint;
|
1435
|
-
root: string;
|
1436
1438
|
recipient: string;
|
1439
|
+
root: string;
|
1437
1440
|
proofs: string[];
|
1438
1441
|
}, "breakdowns"> & {
|
1439
1442
|
breakdowns: {
|
@@ -1473,13 +1476,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1473
1476
|
}, "rewards"> & {
|
1474
1477
|
rewards: (Omit<{
|
1475
1478
|
token: {
|
1476
|
-
|
1479
|
+
symbol: string;
|
1477
1480
|
name: string | null;
|
1481
|
+
id: string;
|
1478
1482
|
chainId: number;
|
1479
1483
|
address: string;
|
1480
|
-
decimals: number;
|
1481
|
-
symbol: string;
|
1482
1484
|
icon: string;
|
1485
|
+
decimals: number;
|
1483
1486
|
verified: boolean;
|
1484
1487
|
price: number | null;
|
1485
1488
|
};
|
@@ -1487,71 +1490,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1487
1490
|
campaignId: string;
|
1488
1491
|
opportunity: {
|
1489
1492
|
Chain: {
|
1490
|
-
id: number;
|
1491
1493
|
name: string;
|
1494
|
+
id: number;
|
1492
1495
|
icon: string;
|
1493
1496
|
};
|
1494
1497
|
Tokens: {
|
1495
|
-
|
1498
|
+
symbol: string;
|
1496
1499
|
name: string | null;
|
1500
|
+
id: string;
|
1497
1501
|
chainId: number;
|
1498
1502
|
address: string;
|
1499
|
-
decimals: number;
|
1500
|
-
symbol: string;
|
1501
1503
|
icon: string;
|
1504
|
+
decimals: number;
|
1502
1505
|
verified: boolean;
|
1503
1506
|
price: number | null;
|
1504
1507
|
}[];
|
1505
1508
|
Protocols: {
|
1506
|
-
id: string;
|
1507
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1508
1509
|
name: string;
|
1509
|
-
description: string;
|
1510
1510
|
url: string;
|
1511
|
+
description: string;
|
1512
|
+
id: string;
|
1513
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1511
1514
|
icon: string;
|
1512
1515
|
}[];
|
1513
1516
|
MainProtocol: {
|
1514
|
-
id: string;
|
1515
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1516
1517
|
name: string;
|
1517
|
-
description: string;
|
1518
1518
|
url: string;
|
1519
|
+
description: string;
|
1520
|
+
id: string;
|
1521
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1519
1522
|
icon: string;
|
1520
1523
|
} | null;
|
1521
1524
|
} & {
|
1522
|
-
id: string;
|
1523
|
-
chainId: number;
|
1524
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1525
|
-
identifier: string;
|
1526
1525
|
name: string;
|
1526
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1527
|
+
id: string;
|
1527
1528
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1529
|
+
tags: string[];
|
1530
|
+
identifier: string;
|
1531
|
+
chainId: number;
|
1528
1532
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1529
1533
|
mainProtocolId: string | null;
|
1530
1534
|
tvl: number;
|
1531
1535
|
apr: number;
|
1532
1536
|
dailyRewards: number;
|
1533
|
-
tags: string[];
|
1534
1537
|
};
|
1535
1538
|
reason: string;
|
1539
|
+
pending: string;
|
1536
1540
|
amount: string;
|
1537
1541
|
claimed: string;
|
1538
|
-
pending: string;
|
1539
1542
|
auxiliaryData1: string | null;
|
1540
1543
|
auxiliaryData2: string | null;
|
1541
1544
|
}[];
|
1542
1545
|
claimed: bigint;
|
1543
1546
|
amount: bigint;
|
1544
1547
|
pending: bigint;
|
1545
|
-
root: string;
|
1546
1548
|
recipient: string;
|
1549
|
+
root: string;
|
1547
1550
|
proofs: string[];
|
1548
1551
|
}, "breakdowns"> & {
|
1549
1552
|
breakdowns: {
|
1550
1553
|
campaignId: string;
|
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
|
}[];
|
@@ -1577,8 +1580,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1577
1580
|
};
|
1578
1581
|
response: {
|
1579
1582
|
200: {
|
1580
|
-
address: string;
|
1581
1583
|
tags: string[];
|
1584
|
+
address: string;
|
1582
1585
|
};
|
1583
1586
|
};
|
1584
1587
|
};
|
@@ -1601,8 +1604,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1601
1604
|
};
|
1602
1605
|
response: {
|
1603
1606
|
200: {
|
1604
|
-
address: string;
|
1605
1607
|
tags: string[];
|
1608
|
+
address: string;
|
1606
1609
|
};
|
1607
1610
|
};
|
1608
1611
|
};
|
@@ -1613,7 +1616,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1613
1616
|
} & {
|
1614
1617
|
v4: {
|
1615
1618
|
roots: {
|
1616
|
-
|
1619
|
+
timestamps: {
|
1617
1620
|
get: {
|
1618
1621
|
body: unknown;
|
1619
1622
|
params: Record<never, string>;
|
@@ -1625,15 +1628,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1625
1628
|
headers: unknown;
|
1626
1629
|
response: {
|
1627
1630
|
200: {
|
1628
|
-
|
1631
|
+
timestamp: bigint;
|
1629
1632
|
chainId: number;
|
1633
|
+
root: string;
|
1630
1634
|
epoch: number;
|
1631
|
-
timestamp: bigint;
|
1632
1635
|
}[];
|
1633
1636
|
};
|
1634
1637
|
};
|
1635
1638
|
};
|
1636
1639
|
};
|
1640
|
+
} & {
|
1641
|
+
roots: {
|
1642
|
+
index: {
|
1643
|
+
get: {
|
1644
|
+
body: unknown;
|
1645
|
+
params: Record<never, string>;
|
1646
|
+
query: unknown;
|
1647
|
+
headers: unknown;
|
1648
|
+
response: {
|
1649
|
+
200: {
|
1650
|
+
[chainId: number]: {
|
1651
|
+
live: string;
|
1652
|
+
lastTree: string;
|
1653
|
+
};
|
1654
|
+
};
|
1655
|
+
};
|
1656
|
+
};
|
1657
|
+
};
|
1658
|
+
};
|
1637
1659
|
};
|
1638
1660
|
} & {
|
1639
1661
|
v4: {
|
@@ -1753,6 +1775,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1753
1775
|
response: {
|
1754
1776
|
200: {
|
1755
1777
|
id: string;
|
1778
|
+
timestamp: number;
|
1756
1779
|
chainId: number;
|
1757
1780
|
fromTokenId: string;
|
1758
1781
|
toTokenId: string;
|
@@ -1761,7 +1784,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1761
1784
|
amountIn: string;
|
1762
1785
|
amountOut: string;
|
1763
1786
|
datetime: Date;
|
1764
|
-
timestamp: number;
|
1765
1787
|
}[];
|
1766
1788
|
};
|
1767
1789
|
};
|
@@ -2000,12 +2022,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2000
2022
|
headers: unknown;
|
2001
2023
|
response: {
|
2002
2024
|
200: {
|
2025
|
+
error: string;
|
2026
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2027
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2003
2028
|
campaignId: string;
|
2004
2029
|
computedUntil: bigint;
|
2005
2030
|
processingStarted: bigint;
|
2006
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2007
|
-
error: string;
|
2008
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2009
2031
|
}[];
|
2010
2032
|
};
|
2011
2033
|
};
|
@@ -2024,27 +2046,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2024
2046
|
response: {
|
2025
2047
|
200: ({
|
2026
2048
|
Campaign: {
|
2049
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2027
2050
|
id: string;
|
2051
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2052
|
+
subType: number | null;
|
2053
|
+
startTimestamp: bigint;
|
2054
|
+
endTimestamp: bigint;
|
2028
2055
|
computeChainId: number;
|
2029
2056
|
distributionChainId: number;
|
2030
2057
|
campaignId: string;
|
2031
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2032
|
-
subType: number | null;
|
2033
2058
|
rewardTokenId: string;
|
2034
2059
|
amount: string;
|
2035
2060
|
opportunityId: string;
|
2036
|
-
startTimestamp: bigint;
|
2037
|
-
endTimestamp: bigint;
|
2038
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2039
2061
|
creatorAddress: string;
|
2040
2062
|
};
|
2041
2063
|
} & {
|
2064
|
+
error: string;
|
2065
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2066
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2042
2067
|
campaignId: string;
|
2043
2068
|
computedUntil: bigint;
|
2044
2069
|
processingStarted: bigint;
|
2045
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2046
|
-
error: string;
|
2047
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2048
2070
|
})[];
|
2049
2071
|
};
|
2050
2072
|
};
|
@@ -2063,12 +2085,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2063
2085
|
headers: unknown;
|
2064
2086
|
response: {
|
2065
2087
|
200: {
|
2088
|
+
error: string;
|
2089
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2090
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2066
2091
|
campaignId: string;
|
2067
2092
|
computedUntil: bigint;
|
2068
2093
|
processingStarted: bigint;
|
2069
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2070
|
-
error: string;
|
2071
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2072
2094
|
};
|
2073
2095
|
};
|
2074
2096
|
};
|
@@ -2087,12 +2109,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2087
2109
|
headers: unknown;
|
2088
2110
|
response: {
|
2089
2111
|
200: {
|
2112
|
+
error: string;
|
2113
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2114
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2090
2115
|
campaignId: string;
|
2091
2116
|
computedUntil: bigint;
|
2092
2117
|
processingStarted: bigint;
|
2093
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2094
|
-
error: string;
|
2095
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2096
2118
|
}[];
|
2097
2119
|
};
|
2098
2120
|
};
|