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