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