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