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