@merkl/api 0.10.115 → 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 +543 -426
- package/dist/src/index.d.ts +188 -141
- 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 +5 -3
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +5 -3
- 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/dynamicData/dynamicData.controller.d.ts +4 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +2 -1
- 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 +32 -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 +134 -131
- package/dist/src/modules/v4/router.d.ts +188 -141
- 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 +188 -141
- package/dist/src/routes/v3/blacklist.d.ts +188 -141
- package/dist/src/routes/v3/campaigns.d.ts +188 -141
- package/dist/src/routes/v3/campaignsInfo.d.ts +188 -141
- package/dist/src/routes/v3/multiChainPositions.d.ts +188 -141
- package/dist/src/routes/v3/opportunity.d.ts +188 -141
- package/dist/src/routes/v3/positions.d.ts +188 -141
- package/dist/src/routes/v3/rewards.d.ts +188 -141
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +188 -141
- package/dist/src/routes/v3/userRewards.d.ts +188 -141
- package/dist/src/utils/bigintToString.d.ts +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -88,9 +88,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
88
88
|
cumulated: number;
|
89
89
|
timestamp: bigint;
|
90
90
|
breakdowns: {
|
91
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
91
92
|
id: number;
|
92
93
|
identifier: string;
|
93
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
94
94
|
value: number;
|
95
95
|
aprRecordId: string;
|
96
96
|
}[];
|
@@ -100,9 +100,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
100
100
|
total: number;
|
101
101
|
timestamp: bigint;
|
102
102
|
breakdowns: {
|
103
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
103
104
|
id: number;
|
104
105
|
identifier: string;
|
105
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
106
106
|
value: number;
|
107
107
|
tvlRecordId: string;
|
108
108
|
}[];
|
@@ -120,27 +120,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
120
120
|
};
|
121
121
|
id: string;
|
122
122
|
tokens: {
|
123
|
-
|
123
|
+
symbol: string;
|
124
124
|
name: string | null;
|
125
|
+
id: string;
|
125
126
|
chainId: number;
|
126
127
|
address: string;
|
127
|
-
decimals: number;
|
128
|
-
symbol: string;
|
129
128
|
icon: string;
|
129
|
+
decimals: number;
|
130
130
|
verified: boolean;
|
131
131
|
price: number | null;
|
132
132
|
}[];
|
133
133
|
chain: {
|
134
|
-
id: number;
|
135
134
|
name: string;
|
135
|
+
id: number;
|
136
136
|
icon: string;
|
137
137
|
};
|
138
138
|
protocol: {
|
139
|
-
id: string;
|
140
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
141
139
|
name: string;
|
142
|
-
description: string;
|
143
140
|
url: string;
|
141
|
+
description: string;
|
142
|
+
id: string;
|
143
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
144
144
|
icon: string;
|
145
145
|
} | undefined;
|
146
146
|
name: string;
|
@@ -175,9 +175,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
175
175
|
cumulated: number;
|
176
176
|
timestamp: bigint;
|
177
177
|
breakdowns: {
|
178
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
178
179
|
id: number;
|
179
180
|
identifier: string;
|
180
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
181
181
|
value: number;
|
182
182
|
aprRecordId: string;
|
183
183
|
}[];
|
@@ -187,9 +187,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
187
187
|
total: number;
|
188
188
|
timestamp: bigint;
|
189
189
|
breakdowns: {
|
190
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
190
191
|
id: number;
|
191
192
|
identifier: string;
|
192
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
193
193
|
value: number;
|
194
194
|
tvlRecordId: string;
|
195
195
|
}[];
|
@@ -207,27 +207,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
207
207
|
};
|
208
208
|
id: string;
|
209
209
|
tokens: {
|
210
|
-
|
210
|
+
symbol: string;
|
211
211
|
name: string | null;
|
212
|
+
id: string;
|
212
213
|
chainId: number;
|
213
214
|
address: string;
|
214
|
-
decimals: number;
|
215
|
-
symbol: string;
|
216
215
|
icon: string;
|
216
|
+
decimals: number;
|
217
217
|
verified: boolean;
|
218
218
|
price: number | null;
|
219
219
|
}[];
|
220
220
|
chain: {
|
221
|
-
id: number;
|
222
221
|
name: string;
|
222
|
+
id: number;
|
223
223
|
icon: string;
|
224
224
|
};
|
225
225
|
protocol: {
|
226
|
-
id: string;
|
227
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
228
226
|
name: string;
|
229
|
-
description: string;
|
230
227
|
url: string;
|
228
|
+
description: string;
|
229
|
+
id: string;
|
230
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
231
231
|
icon: string;
|
232
232
|
} | undefined;
|
233
233
|
name: string;
|
@@ -244,37 +244,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
244
244
|
campaigns: ({
|
245
245
|
params: any;
|
246
246
|
chain: {
|
247
|
-
id: number;
|
248
247
|
name: string;
|
248
|
+
id: number;
|
249
249
|
icon: string;
|
250
250
|
};
|
251
251
|
rewardToken: {
|
252
|
-
|
252
|
+
symbol: string;
|
253
253
|
name: string | null;
|
254
|
+
id: string;
|
254
255
|
chainId: number;
|
255
256
|
address: string;
|
256
|
-
decimals: number;
|
257
|
-
symbol: string;
|
258
257
|
icon: string;
|
258
|
+
decimals: number;
|
259
259
|
verified: boolean;
|
260
260
|
price: number | null;
|
261
261
|
};
|
262
262
|
distributionChain: {
|
263
|
-
id: number;
|
264
263
|
name: string;
|
264
|
+
id: number;
|
265
265
|
icon: string;
|
266
266
|
} | undefined;
|
267
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
267
268
|
id: string;
|
269
|
+
subType: number | null;
|
270
|
+
startTimestamp: bigint;
|
271
|
+
endTimestamp: bigint;
|
268
272
|
computeChainId: number;
|
269
273
|
distributionChainId: number;
|
270
274
|
campaignId: string;
|
271
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
272
|
-
subType: number | null;
|
273
275
|
rewardTokenId: string;
|
274
276
|
amount: string;
|
275
277
|
opportunityId: string;
|
276
|
-
startTimestamp: bigint;
|
277
|
-
endTimestamp: bigint;
|
278
278
|
creatorAddress: string;
|
279
279
|
} | null)[];
|
280
280
|
}) | null | undefined;
|
@@ -309,9 +309,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
309
309
|
cumulated: number;
|
310
310
|
timestamp: bigint;
|
311
311
|
breakdowns: {
|
312
|
+
type: import("../../../database/api/.generated").$Enums.AprType;
|
312
313
|
id: number;
|
313
314
|
identifier: string;
|
314
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
315
315
|
value: number;
|
316
316
|
aprRecordId: string;
|
317
317
|
}[];
|
@@ -321,9 +321,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
321
321
|
total: number;
|
322
322
|
timestamp: bigint;
|
323
323
|
breakdowns: {
|
324
|
+
type: import("../../../database/api/.generated").$Enums.TvlType;
|
324
325
|
id: number;
|
325
326
|
identifier: string;
|
326
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
327
327
|
value: number;
|
328
328
|
tvlRecordId: string;
|
329
329
|
}[];
|
@@ -341,27 +341,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
341
341
|
};
|
342
342
|
id: string;
|
343
343
|
tokens: {
|
344
|
-
|
344
|
+
symbol: string;
|
345
345
|
name: string | null;
|
346
|
+
id: string;
|
346
347
|
chainId: number;
|
347
348
|
address: string;
|
348
|
-
decimals: number;
|
349
|
-
symbol: string;
|
350
349
|
icon: string;
|
350
|
+
decimals: number;
|
351
351
|
verified: boolean;
|
352
352
|
price: number | null;
|
353
353
|
}[];
|
354
354
|
chain: {
|
355
|
-
id: number;
|
356
355
|
name: string;
|
356
|
+
id: number;
|
357
357
|
icon: string;
|
358
358
|
};
|
359
359
|
protocol: {
|
360
|
-
id: string;
|
361
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
362
360
|
name: string;
|
363
|
-
description: string;
|
364
361
|
url: string;
|
362
|
+
description: string;
|
363
|
+
id: string;
|
364
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
365
365
|
icon: string;
|
366
366
|
} | undefined;
|
367
367
|
name: string;
|
@@ -433,18 +433,18 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
433
433
|
};
|
434
434
|
response: {
|
435
435
|
200: {
|
436
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
436
437
|
id: string;
|
438
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
439
|
+
subType: number | null;
|
440
|
+
startTimestamp: bigint;
|
441
|
+
endTimestamp: bigint;
|
437
442
|
computeChainId: number;
|
438
443
|
distributionChainId: number;
|
439
444
|
campaignId: string;
|
440
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
441
|
-
subType: number | null;
|
442
445
|
rewardTokenId: string;
|
443
446
|
amount: string;
|
444
447
|
opportunityId: string;
|
445
|
-
startTimestamp: bigint;
|
446
|
-
endTimestamp: bigint;
|
447
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
448
448
|
creatorAddress: string;
|
449
449
|
} | undefined;
|
450
450
|
};
|
@@ -474,37 +474,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
474
474
|
200: ({
|
475
475
|
params: any;
|
476
476
|
chain: {
|
477
|
-
id: number;
|
478
477
|
name: string;
|
478
|
+
id: number;
|
479
479
|
icon: string;
|
480
480
|
};
|
481
481
|
rewardToken: {
|
482
|
-
|
482
|
+
symbol: string;
|
483
483
|
name: string | null;
|
484
|
+
id: string;
|
484
485
|
chainId: number;
|
485
486
|
address: string;
|
486
|
-
decimals: number;
|
487
|
-
symbol: string;
|
488
487
|
icon: string;
|
488
|
+
decimals: number;
|
489
489
|
verified: boolean;
|
490
490
|
price: number | null;
|
491
491
|
};
|
492
492
|
distributionChain: {
|
493
|
-
id: number;
|
494
493
|
name: string;
|
494
|
+
id: number;
|
495
495
|
icon: string;
|
496
496
|
} | undefined;
|
497
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
497
498
|
id: string;
|
499
|
+
subType: number | null;
|
500
|
+
startTimestamp: bigint;
|
501
|
+
endTimestamp: bigint;
|
498
502
|
computeChainId: number;
|
499
503
|
distributionChainId: number;
|
500
504
|
campaignId: string;
|
501
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
502
|
-
subType: number | null;
|
503
505
|
rewardTokenId: string;
|
504
506
|
amount: string;
|
505
507
|
opportunityId: string;
|
506
|
-
startTimestamp: bigint;
|
507
|
-
endTimestamp: bigint;
|
508
508
|
creatorAddress: string;
|
509
509
|
} | null)[];
|
510
510
|
};
|
@@ -782,9 +782,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
782
782
|
params: Record<never, string>;
|
783
783
|
query: {
|
784
784
|
items?: number | undefined;
|
785
|
-
chainId?: number | undefined;
|
786
785
|
page?: number | undefined;
|
787
|
-
|
786
|
+
chainId: number;
|
787
|
+
campaignId: string;
|
788
788
|
};
|
789
789
|
headers: unknown;
|
790
790
|
response: {
|
@@ -801,13 +801,16 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
801
801
|
params: Record<never, string>;
|
802
802
|
query: {
|
803
803
|
items?: number | undefined;
|
804
|
-
chainId?: number | undefined;
|
805
804
|
page?: number | undefined;
|
806
|
-
|
805
|
+
chainId: number;
|
806
|
+
campaignId: string;
|
807
807
|
};
|
808
808
|
headers: unknown;
|
809
809
|
response: {
|
810
|
-
200:
|
810
|
+
200: {
|
811
|
+
campaignId: string;
|
812
|
+
amount: bigint;
|
813
|
+
};
|
811
814
|
};
|
812
815
|
};
|
813
816
|
};
|
@@ -910,15 +913,36 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
910
913
|
params: Record<never, string>;
|
911
914
|
query: {
|
912
915
|
items?: number | undefined;
|
913
|
-
chainId?: number | undefined;
|
914
916
|
page?: number | undefined;
|
915
|
-
|
917
|
+
chainId: number;
|
918
|
+
campaignId: string;
|
916
919
|
};
|
917
920
|
headers: unknown;
|
918
921
|
response: {
|
919
922
|
200: {
|
920
923
|
count: number;
|
921
|
-
}
|
924
|
+
};
|
925
|
+
};
|
926
|
+
};
|
927
|
+
};
|
928
|
+
};
|
929
|
+
} & {
|
930
|
+
rewards: {
|
931
|
+
count: {
|
932
|
+
chains: {
|
933
|
+
get: {
|
934
|
+
body: unknown;
|
935
|
+
params: Record<never, string>;
|
936
|
+
query: unknown;
|
937
|
+
headers: {
|
938
|
+
authorization: string;
|
939
|
+
};
|
940
|
+
response: {
|
941
|
+
200: Record<string, {
|
942
|
+
breakdown: number;
|
943
|
+
rewards: Record<string, number>;
|
944
|
+
}>;
|
945
|
+
};
|
922
946
|
};
|
923
947
|
};
|
924
948
|
};
|
@@ -937,13 +961,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
937
961
|
headers: unknown;
|
938
962
|
response: {
|
939
963
|
200: {
|
940
|
-
id: number;
|
941
964
|
name: string;
|
965
|
+
id: number;
|
942
966
|
icon: string;
|
943
967
|
explorers: {
|
944
|
-
id: string;
|
945
968
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
946
969
|
url: string;
|
970
|
+
id: string;
|
947
971
|
chainId: number;
|
948
972
|
}[];
|
949
973
|
} | null;
|
@@ -961,13 +985,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
961
985
|
headers: unknown;
|
962
986
|
response: {
|
963
987
|
200: {
|
964
|
-
id: number;
|
965
988
|
name: string;
|
989
|
+
id: number;
|
966
990
|
icon: string;
|
967
991
|
explorers: {
|
968
|
-
id: string;
|
969
992
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
970
993
|
url: string;
|
994
|
+
id: string;
|
971
995
|
chainId: number;
|
972
996
|
}[];
|
973
997
|
}[];
|
@@ -1003,9 +1027,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1003
1027
|
};
|
1004
1028
|
response: {
|
1005
1029
|
200: {
|
1006
|
-
id: string;
|
1007
1030
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1008
1031
|
url: string;
|
1032
|
+
id: string;
|
1009
1033
|
chainId: number;
|
1010
1034
|
};
|
1011
1035
|
};
|
@@ -1070,10 +1094,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1070
1094
|
headers: unknown;
|
1071
1095
|
response: {
|
1072
1096
|
200: {
|
1073
|
-
id: number;
|
1074
1097
|
symbol: string;
|
1075
1098
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1076
|
-
args: import("
|
1099
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1100
|
+
id: number;
|
1077
1101
|
}[];
|
1078
1102
|
};
|
1079
1103
|
};
|
@@ -1092,10 +1116,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1092
1116
|
headers: unknown;
|
1093
1117
|
response: {
|
1094
1118
|
200: {
|
1095
|
-
id: number;
|
1096
1119
|
symbol: string;
|
1097
1120
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1098
|
-
args: import("
|
1121
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1122
|
+
id: number;
|
1099
1123
|
};
|
1100
1124
|
};
|
1101
1125
|
};
|
@@ -1141,10 +1165,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1141
1165
|
};
|
1142
1166
|
response: {
|
1143
1167
|
200: {
|
1144
|
-
id: number;
|
1145
1168
|
symbol: string;
|
1146
1169
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1147
|
-
args: import("
|
1170
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1171
|
+
id: number;
|
1148
1172
|
};
|
1149
1173
|
};
|
1150
1174
|
};
|
@@ -1166,10 +1190,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1166
1190
|
};
|
1167
1191
|
response: {
|
1168
1192
|
200: {
|
1169
|
-
id: number;
|
1170
1193
|
symbol: string;
|
1171
1194
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1172
|
-
args: import("
|
1195
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1196
|
+
id: number;
|
1173
1197
|
};
|
1174
1198
|
};
|
1175
1199
|
};
|
@@ -1194,7 +1218,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1194
1218
|
poolAddress: string;
|
1195
1219
|
userAddress: string;
|
1196
1220
|
arrestTimestamp: bigint;
|
1197
|
-
arrestDetails: import("
|
1221
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1198
1222
|
}[];
|
1199
1223
|
};
|
1200
1224
|
};
|
@@ -1209,7 +1233,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1209
1233
|
query: unknown;
|
1210
1234
|
headers: unknown;
|
1211
1235
|
response: {
|
1212
|
-
200:
|
1236
|
+
200: {
|
1237
|
+
[address: string]: boolean;
|
1238
|
+
};
|
1213
1239
|
};
|
1214
1240
|
};
|
1215
1241
|
};
|
@@ -1254,7 +1280,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1254
1280
|
poolAddress: string;
|
1255
1281
|
userAddress: string;
|
1256
1282
|
arrestTimestamp: bigint;
|
1257
|
-
arrestDetails: import("
|
1283
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1258
1284
|
};
|
1259
1285
|
};
|
1260
1286
|
};
|
@@ -1297,8 +1323,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1297
1323
|
headers: unknown;
|
1298
1324
|
response: {
|
1299
1325
|
200: {
|
1300
|
-
address: string;
|
1301
1326
|
tags: string[];
|
1327
|
+
address: string;
|
1302
1328
|
}[];
|
1303
1329
|
};
|
1304
1330
|
};
|
@@ -1339,13 +1365,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1339
1365
|
}, "rewards"> & {
|
1340
1366
|
rewards: (Omit<{
|
1341
1367
|
token: {
|
1342
|
-
|
1368
|
+
symbol: string;
|
1343
1369
|
name: string | null;
|
1370
|
+
id: string;
|
1344
1371
|
chainId: number;
|
1345
1372
|
address: string;
|
1346
|
-
decimals: number;
|
1347
|
-
symbol: string;
|
1348
1373
|
icon: string;
|
1374
|
+
decimals: number;
|
1349
1375
|
verified: boolean;
|
1350
1376
|
price: number | null;
|
1351
1377
|
};
|
@@ -1353,63 +1379,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1353
1379
|
campaignId: string;
|
1354
1380
|
opportunity: {
|
1355
1381
|
Chain: {
|
1356
|
-
id: number;
|
1357
1382
|
name: string;
|
1383
|
+
id: number;
|
1358
1384
|
icon: string;
|
1359
1385
|
};
|
1360
1386
|
Tokens: {
|
1361
|
-
|
1387
|
+
symbol: string;
|
1362
1388
|
name: string | null;
|
1389
|
+
id: string;
|
1363
1390
|
chainId: number;
|
1364
1391
|
address: string;
|
1365
|
-
decimals: number;
|
1366
|
-
symbol: string;
|
1367
1392
|
icon: string;
|
1393
|
+
decimals: number;
|
1368
1394
|
verified: boolean;
|
1369
1395
|
price: number | null;
|
1370
1396
|
}[];
|
1371
1397
|
Protocols: {
|
1372
|
-
id: string;
|
1373
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1374
1398
|
name: string;
|
1375
|
-
description: string;
|
1376
1399
|
url: string;
|
1400
|
+
description: string;
|
1401
|
+
id: string;
|
1402
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1377
1403
|
icon: string;
|
1378
1404
|
}[];
|
1379
1405
|
MainProtocol: {
|
1380
|
-
id: string;
|
1381
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1382
1406
|
name: string;
|
1383
|
-
description: string;
|
1384
1407
|
url: string;
|
1408
|
+
description: string;
|
1409
|
+
id: string;
|
1410
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1385
1411
|
icon: string;
|
1386
1412
|
} | null;
|
1387
1413
|
} & {
|
1388
|
-
id: string;
|
1389
|
-
chainId: number;
|
1390
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1391
|
-
identifier: string;
|
1392
1414
|
name: string;
|
1415
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1416
|
+
id: string;
|
1393
1417
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1418
|
+
tags: string[];
|
1419
|
+
identifier: string;
|
1420
|
+
chainId: number;
|
1394
1421
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1395
1422
|
mainProtocolId: string | null;
|
1396
1423
|
tvl: number;
|
1397
1424
|
apr: number;
|
1398
1425
|
dailyRewards: number;
|
1399
|
-
tags: string[];
|
1400
1426
|
};
|
1401
1427
|
reason: string;
|
1428
|
+
pending: string;
|
1402
1429
|
amount: string;
|
1403
1430
|
claimed: string;
|
1404
|
-
pending: string;
|
1405
1431
|
auxiliaryData1: string | null;
|
1406
1432
|
auxiliaryData2: string | null;
|
1407
1433
|
}[];
|
1408
1434
|
claimed: bigint;
|
1409
1435
|
amount: bigint;
|
1410
1436
|
pending: bigint;
|
1411
|
-
root: string;
|
1412
1437
|
recipient: string;
|
1438
|
+
root: string;
|
1413
1439
|
proofs: string[];
|
1414
1440
|
}, "breakdowns"> & {
|
1415
1441
|
breakdowns: {
|
@@ -1449,13 +1475,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1449
1475
|
}, "rewards"> & {
|
1450
1476
|
rewards: (Omit<{
|
1451
1477
|
token: {
|
1452
|
-
|
1478
|
+
symbol: string;
|
1453
1479
|
name: string | null;
|
1480
|
+
id: string;
|
1454
1481
|
chainId: number;
|
1455
1482
|
address: string;
|
1456
|
-
decimals: number;
|
1457
|
-
symbol: string;
|
1458
1483
|
icon: string;
|
1484
|
+
decimals: number;
|
1459
1485
|
verified: boolean;
|
1460
1486
|
price: number | null;
|
1461
1487
|
};
|
@@ -1463,71 +1489,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1463
1489
|
campaignId: string;
|
1464
1490
|
opportunity: {
|
1465
1491
|
Chain: {
|
1466
|
-
id: number;
|
1467
1492
|
name: string;
|
1493
|
+
id: number;
|
1468
1494
|
icon: string;
|
1469
1495
|
};
|
1470
1496
|
Tokens: {
|
1471
|
-
|
1497
|
+
symbol: string;
|
1472
1498
|
name: string | null;
|
1499
|
+
id: string;
|
1473
1500
|
chainId: number;
|
1474
1501
|
address: string;
|
1475
|
-
decimals: number;
|
1476
|
-
symbol: string;
|
1477
1502
|
icon: string;
|
1503
|
+
decimals: number;
|
1478
1504
|
verified: boolean;
|
1479
1505
|
price: number | null;
|
1480
1506
|
}[];
|
1481
1507
|
Protocols: {
|
1482
|
-
id: string;
|
1483
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1484
1508
|
name: string;
|
1485
|
-
description: string;
|
1486
1509
|
url: string;
|
1510
|
+
description: string;
|
1511
|
+
id: string;
|
1512
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1487
1513
|
icon: string;
|
1488
1514
|
}[];
|
1489
1515
|
MainProtocol: {
|
1490
|
-
id: string;
|
1491
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1492
1516
|
name: string;
|
1493
|
-
description: string;
|
1494
1517
|
url: string;
|
1518
|
+
description: string;
|
1519
|
+
id: string;
|
1520
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1495
1521
|
icon: string;
|
1496
1522
|
} | null;
|
1497
1523
|
} & {
|
1498
|
-
id: string;
|
1499
|
-
chainId: number;
|
1500
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1501
|
-
identifier: string;
|
1502
1524
|
name: string;
|
1525
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1526
|
+
id: string;
|
1503
1527
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1528
|
+
tags: string[];
|
1529
|
+
identifier: string;
|
1530
|
+
chainId: number;
|
1504
1531
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1505
1532
|
mainProtocolId: string | null;
|
1506
1533
|
tvl: number;
|
1507
1534
|
apr: number;
|
1508
1535
|
dailyRewards: number;
|
1509
|
-
tags: string[];
|
1510
1536
|
};
|
1511
1537
|
reason: string;
|
1538
|
+
pending: string;
|
1512
1539
|
amount: string;
|
1513
1540
|
claimed: string;
|
1514
|
-
pending: string;
|
1515
1541
|
auxiliaryData1: string | null;
|
1516
1542
|
auxiliaryData2: string | null;
|
1517
1543
|
}[];
|
1518
1544
|
claimed: bigint;
|
1519
1545
|
amount: bigint;
|
1520
1546
|
pending: bigint;
|
1521
|
-
root: string;
|
1522
1547
|
recipient: string;
|
1548
|
+
root: string;
|
1523
1549
|
proofs: string[];
|
1524
1550
|
}, "breakdowns"> & {
|
1525
1551
|
breakdowns: {
|
1526
1552
|
campaignId: string;
|
1527
1553
|
reason: string;
|
1554
|
+
pending: string;
|
1528
1555
|
amount: string;
|
1529
1556
|
claimed: string;
|
1530
|
-
pending: string;
|
1531
1557
|
auxiliaryData1: string | null;
|
1532
1558
|
auxiliaryData2: string | null;
|
1533
1559
|
}[];
|
@@ -1553,8 +1579,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1553
1579
|
};
|
1554
1580
|
response: {
|
1555
1581
|
200: {
|
1556
|
-
address: string;
|
1557
1582
|
tags: string[];
|
1583
|
+
address: string;
|
1558
1584
|
};
|
1559
1585
|
};
|
1560
1586
|
};
|
@@ -1577,8 +1603,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1577
1603
|
};
|
1578
1604
|
response: {
|
1579
1605
|
200: {
|
1580
|
-
address: string;
|
1581
1606
|
tags: string[];
|
1607
|
+
address: string;
|
1582
1608
|
};
|
1583
1609
|
};
|
1584
1610
|
};
|
@@ -1589,7 +1615,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1589
1615
|
} & {
|
1590
1616
|
v4: {
|
1591
1617
|
roots: {
|
1592
|
-
|
1618
|
+
timestamps: {
|
1593
1619
|
get: {
|
1594
1620
|
body: unknown;
|
1595
1621
|
params: Record<never, string>;
|
@@ -1601,15 +1627,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1601
1627
|
headers: unknown;
|
1602
1628
|
response: {
|
1603
1629
|
200: {
|
1604
|
-
|
1630
|
+
timestamp: bigint;
|
1605
1631
|
chainId: number;
|
1632
|
+
root: string;
|
1606
1633
|
epoch: number;
|
1607
|
-
timestamp: bigint;
|
1608
1634
|
}[];
|
1609
1635
|
};
|
1610
1636
|
};
|
1611
1637
|
};
|
1612
1638
|
};
|
1639
|
+
} & {
|
1640
|
+
roots: {
|
1641
|
+
index: {
|
1642
|
+
get: {
|
1643
|
+
body: unknown;
|
1644
|
+
params: Record<never, string>;
|
1645
|
+
query: unknown;
|
1646
|
+
headers: unknown;
|
1647
|
+
response: {
|
1648
|
+
200: {
|
1649
|
+
[chainId: number]: {
|
1650
|
+
live: string;
|
1651
|
+
lastTree: string;
|
1652
|
+
};
|
1653
|
+
};
|
1654
|
+
};
|
1655
|
+
};
|
1656
|
+
};
|
1657
|
+
};
|
1613
1658
|
};
|
1614
1659
|
} & {
|
1615
1660
|
v4: {
|
@@ -1729,6 +1774,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1729
1774
|
response: {
|
1730
1775
|
200: {
|
1731
1776
|
id: string;
|
1777
|
+
timestamp: number;
|
1732
1778
|
chainId: number;
|
1733
1779
|
fromTokenId: string;
|
1734
1780
|
toTokenId: string;
|
@@ -1737,7 +1783,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1737
1783
|
amountIn: string;
|
1738
1784
|
amountOut: string;
|
1739
1785
|
datetime: Date;
|
1740
|
-
timestamp: number;
|
1741
1786
|
}[];
|
1742
1787
|
};
|
1743
1788
|
};
|
@@ -1909,11 +1954,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1909
1954
|
get: {
|
1910
1955
|
body: unknown;
|
1911
1956
|
params: {
|
1912
|
-
chainId:
|
1957
|
+
chainId: number;
|
1913
1958
|
tokenAddress: string;
|
1914
1959
|
};
|
1915
1960
|
query: unknown;
|
1916
|
-
headers:
|
1961
|
+
headers: {
|
1962
|
+
authorization: string;
|
1963
|
+
};
|
1917
1964
|
response: {
|
1918
1965
|
200: {
|
1919
1966
|
tvl: number;
|
@@ -1974,12 +2021,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1974
2021
|
headers: unknown;
|
1975
2022
|
response: {
|
1976
2023
|
200: {
|
2024
|
+
error: string;
|
2025
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2026
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1977
2027
|
campaignId: string;
|
1978
2028
|
computedUntil: bigint;
|
1979
2029
|
processingStarted: bigint;
|
1980
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
1981
|
-
error: string;
|
1982
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
1983
2030
|
}[];
|
1984
2031
|
};
|
1985
2032
|
};
|
@@ -1998,27 +2045,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1998
2045
|
response: {
|
1999
2046
|
200: ({
|
2000
2047
|
Campaign: {
|
2048
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2001
2049
|
id: string;
|
2050
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2051
|
+
subType: number | null;
|
2052
|
+
startTimestamp: bigint;
|
2053
|
+
endTimestamp: bigint;
|
2002
2054
|
computeChainId: number;
|
2003
2055
|
distributionChainId: number;
|
2004
2056
|
campaignId: string;
|
2005
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2006
|
-
subType: number | null;
|
2007
2057
|
rewardTokenId: string;
|
2008
2058
|
amount: string;
|
2009
2059
|
opportunityId: string;
|
2010
|
-
startTimestamp: bigint;
|
2011
|
-
endTimestamp: bigint;
|
2012
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2013
2060
|
creatorAddress: string;
|
2014
2061
|
};
|
2015
2062
|
} & {
|
2063
|
+
error: string;
|
2064
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2065
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2016
2066
|
campaignId: string;
|
2017
2067
|
computedUntil: bigint;
|
2018
2068
|
processingStarted: bigint;
|
2019
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2020
|
-
error: string;
|
2021
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2022
2069
|
})[];
|
2023
2070
|
};
|
2024
2071
|
};
|
@@ -2037,12 +2084,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2037
2084
|
headers: unknown;
|
2038
2085
|
response: {
|
2039
2086
|
200: {
|
2087
|
+
error: string;
|
2088
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2089
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2040
2090
|
campaignId: string;
|
2041
2091
|
computedUntil: bigint;
|
2042
2092
|
processingStarted: bigint;
|
2043
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2044
|
-
error: string;
|
2045
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2046
2093
|
};
|
2047
2094
|
};
|
2048
2095
|
};
|
@@ -2061,12 +2108,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2061
2108
|
headers: unknown;
|
2062
2109
|
response: {
|
2063
2110
|
200: {
|
2111
|
+
error: string;
|
2112
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2113
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2064
2114
|
campaignId: string;
|
2065
2115
|
computedUntil: bigint;
|
2066
2116
|
processingStarted: bigint;
|
2067
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2068
|
-
error: string;
|
2069
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2070
2117
|
}[];
|
2071
2118
|
};
|
2072
2119
|
};
|