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