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