@merkl/api 0.10.116 → 0.10.117
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/default.d.ts +1 -1
- package/dist/database/api/.generated/edge.d.ts +1 -1
- package/dist/database/api/.generated/index.d.ts +335 -311
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +15 -2
- package/dist/database/api/.generated/runtime/library.d.ts +195 -79
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.d.ts +1 -1
- package/dist/database/engine/.generated/default.d.ts +1 -1
- package/dist/database/engine/.generated/edge.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +16 -104
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +14 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
- package/dist/database/engine/.generated/wasm.d.ts +1 -1
- package/dist/src/eden/index.d.ts +470 -414
- package/dist/src/index.d.ts +160 -138
- 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 +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- 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/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 +11 -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 +133 -130
- package/dist/src/modules/v4/router.d.ts +160 -138
- 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 +160 -138
- package/dist/src/routes/v3/blacklist.d.ts +160 -138
- package/dist/src/routes/v3/campaigns.d.ts +160 -138
- package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
- package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
- package/dist/src/routes/v3/opportunity.d.ts +160 -138
- package/dist/src/routes/v3/positions.d.ts +160 -138
- package/dist/src/routes/v3/rewards.d.ts +160 -138
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +160 -138
- package/dist/src/routes/v3/userRewards.d.ts +160 -138
- 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,15 @@ 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
|
+
};
|
924
927
|
};
|
925
928
|
};
|
926
929
|
};
|
@@ -960,13 +963,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
960
963
|
headers: unknown;
|
961
964
|
response: {
|
962
965
|
200: {
|
963
|
-
id: number;
|
964
966
|
name: string;
|
967
|
+
id: number;
|
965
968
|
icon: string;
|
966
969
|
explorers: {
|
967
|
-
id: string;
|
968
970
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
969
971
|
url: string;
|
972
|
+
id: string;
|
970
973
|
chainId: number;
|
971
974
|
}[];
|
972
975
|
} | null;
|
@@ -984,13 +987,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
984
987
|
headers: unknown;
|
985
988
|
response: {
|
986
989
|
200: {
|
987
|
-
id: number;
|
988
990
|
name: string;
|
991
|
+
id: number;
|
989
992
|
icon: string;
|
990
993
|
explorers: {
|
991
|
-
id: string;
|
992
994
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
993
995
|
url: string;
|
996
|
+
id: string;
|
994
997
|
chainId: number;
|
995
998
|
}[];
|
996
999
|
}[];
|
@@ -1026,9 +1029,9 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1026
1029
|
};
|
1027
1030
|
response: {
|
1028
1031
|
200: {
|
1029
|
-
id: string;
|
1030
1032
|
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1031
1033
|
url: string;
|
1034
|
+
id: string;
|
1032
1035
|
chainId: number;
|
1033
1036
|
};
|
1034
1037
|
};
|
@@ -1093,10 +1096,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1093
1096
|
headers: unknown;
|
1094
1097
|
response: {
|
1095
1098
|
200: {
|
1096
|
-
id: number;
|
1097
1099
|
symbol: string;
|
1098
1100
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1099
|
-
args: import("
|
1101
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1102
|
+
id: number;
|
1100
1103
|
}[];
|
1101
1104
|
};
|
1102
1105
|
};
|
@@ -1115,10 +1118,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1115
1118
|
headers: unknown;
|
1116
1119
|
response: {
|
1117
1120
|
200: {
|
1118
|
-
id: number;
|
1119
1121
|
symbol: string;
|
1120
1122
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1121
|
-
args: import("
|
1123
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1124
|
+
id: number;
|
1122
1125
|
};
|
1123
1126
|
};
|
1124
1127
|
};
|
@@ -1164,10 +1167,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1164
1167
|
};
|
1165
1168
|
response: {
|
1166
1169
|
200: {
|
1167
|
-
id: number;
|
1168
1170
|
symbol: string;
|
1169
1171
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1170
|
-
args: import("
|
1172
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1173
|
+
id: number;
|
1171
1174
|
};
|
1172
1175
|
};
|
1173
1176
|
};
|
@@ -1189,10 +1192,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1189
1192
|
};
|
1190
1193
|
response: {
|
1191
1194
|
200: {
|
1192
|
-
id: number;
|
1193
1195
|
symbol: string;
|
1194
1196
|
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1195
|
-
args: import("
|
1197
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1198
|
+
id: number;
|
1196
1199
|
};
|
1197
1200
|
};
|
1198
1201
|
};
|
@@ -1217,7 +1220,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1217
1220
|
poolAddress: string;
|
1218
1221
|
userAddress: string;
|
1219
1222
|
arrestTimestamp: bigint;
|
1220
|
-
arrestDetails: import("
|
1223
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1221
1224
|
}[];
|
1222
1225
|
};
|
1223
1226
|
};
|
@@ -1279,7 +1282,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1279
1282
|
poolAddress: string;
|
1280
1283
|
userAddress: string;
|
1281
1284
|
arrestTimestamp: bigint;
|
1282
|
-
arrestDetails: import("
|
1285
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1283
1286
|
};
|
1284
1287
|
};
|
1285
1288
|
};
|
@@ -1322,8 +1325,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1322
1325
|
headers: unknown;
|
1323
1326
|
response: {
|
1324
1327
|
200: {
|
1325
|
-
address: string;
|
1326
1328
|
tags: string[];
|
1329
|
+
address: string;
|
1327
1330
|
}[];
|
1328
1331
|
};
|
1329
1332
|
};
|
@@ -1364,13 +1367,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1364
1367
|
}, "rewards"> & {
|
1365
1368
|
rewards: (Omit<{
|
1366
1369
|
token: {
|
1367
|
-
|
1370
|
+
symbol: string;
|
1368
1371
|
name: string | null;
|
1372
|
+
id: string;
|
1369
1373
|
chainId: number;
|
1370
1374
|
address: string;
|
1371
|
-
decimals: number;
|
1372
|
-
symbol: string;
|
1373
1375
|
icon: string;
|
1376
|
+
decimals: number;
|
1374
1377
|
verified: boolean;
|
1375
1378
|
price: number | null;
|
1376
1379
|
};
|
@@ -1378,63 +1381,63 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1378
1381
|
campaignId: string;
|
1379
1382
|
opportunity: {
|
1380
1383
|
Chain: {
|
1381
|
-
id: number;
|
1382
1384
|
name: string;
|
1385
|
+
id: number;
|
1383
1386
|
icon: string;
|
1384
1387
|
};
|
1385
1388
|
Tokens: {
|
1386
|
-
|
1389
|
+
symbol: string;
|
1387
1390
|
name: string | null;
|
1391
|
+
id: string;
|
1388
1392
|
chainId: number;
|
1389
1393
|
address: string;
|
1390
|
-
decimals: number;
|
1391
|
-
symbol: string;
|
1392
1394
|
icon: string;
|
1395
|
+
decimals: number;
|
1393
1396
|
verified: boolean;
|
1394
1397
|
price: number | null;
|
1395
1398
|
}[];
|
1396
1399
|
Protocols: {
|
1397
|
-
id: string;
|
1398
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1399
1400
|
name: string;
|
1400
|
-
description: string;
|
1401
1401
|
url: string;
|
1402
|
+
description: string;
|
1403
|
+
id: string;
|
1404
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1402
1405
|
icon: string;
|
1403
1406
|
}[];
|
1404
1407
|
MainProtocol: {
|
1405
|
-
id: string;
|
1406
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1407
1408
|
name: string;
|
1408
|
-
description: string;
|
1409
1409
|
url: string;
|
1410
|
+
description: string;
|
1411
|
+
id: string;
|
1412
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1410
1413
|
icon: string;
|
1411
1414
|
} | null;
|
1412
1415
|
} & {
|
1413
|
-
id: string;
|
1414
|
-
chainId: number;
|
1415
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1416
|
-
identifier: string;
|
1417
1416
|
name: string;
|
1417
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1418
|
+
id: string;
|
1418
1419
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1420
|
+
tags: string[];
|
1421
|
+
identifier: string;
|
1422
|
+
chainId: number;
|
1419
1423
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1420
1424
|
mainProtocolId: string | null;
|
1421
1425
|
tvl: number;
|
1422
1426
|
apr: number;
|
1423
1427
|
dailyRewards: number;
|
1424
|
-
tags: string[];
|
1425
1428
|
};
|
1426
1429
|
reason: string;
|
1430
|
+
pending: string;
|
1427
1431
|
amount: string;
|
1428
1432
|
claimed: string;
|
1429
|
-
pending: string;
|
1430
1433
|
auxiliaryData1: string | null;
|
1431
1434
|
auxiliaryData2: string | null;
|
1432
1435
|
}[];
|
1433
1436
|
claimed: bigint;
|
1434
1437
|
amount: bigint;
|
1435
1438
|
pending: bigint;
|
1436
|
-
root: string;
|
1437
1439
|
recipient: string;
|
1440
|
+
root: string;
|
1438
1441
|
proofs: string[];
|
1439
1442
|
}, "breakdowns"> & {
|
1440
1443
|
breakdowns: {
|
@@ -1474,13 +1477,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1474
1477
|
}, "rewards"> & {
|
1475
1478
|
rewards: (Omit<{
|
1476
1479
|
token: {
|
1477
|
-
|
1480
|
+
symbol: string;
|
1478
1481
|
name: string | null;
|
1482
|
+
id: string;
|
1479
1483
|
chainId: number;
|
1480
1484
|
address: string;
|
1481
|
-
decimals: number;
|
1482
|
-
symbol: string;
|
1483
1485
|
icon: string;
|
1486
|
+
decimals: number;
|
1484
1487
|
verified: boolean;
|
1485
1488
|
price: number | null;
|
1486
1489
|
};
|
@@ -1488,71 +1491,71 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1488
1491
|
campaignId: string;
|
1489
1492
|
opportunity: {
|
1490
1493
|
Chain: {
|
1491
|
-
id: number;
|
1492
1494
|
name: string;
|
1495
|
+
id: number;
|
1493
1496
|
icon: string;
|
1494
1497
|
};
|
1495
1498
|
Tokens: {
|
1496
|
-
|
1499
|
+
symbol: string;
|
1497
1500
|
name: string | null;
|
1501
|
+
id: string;
|
1498
1502
|
chainId: number;
|
1499
1503
|
address: string;
|
1500
|
-
decimals: number;
|
1501
|
-
symbol: string;
|
1502
1504
|
icon: string;
|
1505
|
+
decimals: number;
|
1503
1506
|
verified: boolean;
|
1504
1507
|
price: number | null;
|
1505
1508
|
}[];
|
1506
1509
|
Protocols: {
|
1507
|
-
id: string;
|
1508
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1509
1510
|
name: string;
|
1510
|
-
description: string;
|
1511
1511
|
url: string;
|
1512
|
+
description: string;
|
1513
|
+
id: string;
|
1514
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1512
1515
|
icon: string;
|
1513
1516
|
}[];
|
1514
1517
|
MainProtocol: {
|
1515
|
-
id: string;
|
1516
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1517
1518
|
name: string;
|
1518
|
-
description: string;
|
1519
1519
|
url: string;
|
1520
|
+
description: string;
|
1521
|
+
id: string;
|
1522
|
+
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1520
1523
|
icon: string;
|
1521
1524
|
} | null;
|
1522
1525
|
} & {
|
1523
|
-
id: string;
|
1524
|
-
chainId: number;
|
1525
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1526
|
-
identifier: string;
|
1527
1526
|
name: string;
|
1527
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1528
|
+
id: string;
|
1528
1529
|
status: import("../../../database/api/.generated").$Enums.Status;
|
1530
|
+
tags: string[];
|
1531
|
+
identifier: string;
|
1532
|
+
chainId: number;
|
1529
1533
|
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1530
1534
|
mainProtocolId: string | null;
|
1531
1535
|
tvl: number;
|
1532
1536
|
apr: number;
|
1533
1537
|
dailyRewards: number;
|
1534
|
-
tags: string[];
|
1535
1538
|
};
|
1536
1539
|
reason: string;
|
1540
|
+
pending: string;
|
1537
1541
|
amount: string;
|
1538
1542
|
claimed: string;
|
1539
|
-
pending: string;
|
1540
1543
|
auxiliaryData1: string | null;
|
1541
1544
|
auxiliaryData2: string | null;
|
1542
1545
|
}[];
|
1543
1546
|
claimed: bigint;
|
1544
1547
|
amount: bigint;
|
1545
1548
|
pending: bigint;
|
1546
|
-
root: string;
|
1547
1549
|
recipient: string;
|
1550
|
+
root: string;
|
1548
1551
|
proofs: string[];
|
1549
1552
|
}, "breakdowns"> & {
|
1550
1553
|
breakdowns: {
|
1551
1554
|
campaignId: string;
|
1552
1555
|
reason: string;
|
1556
|
+
pending: string;
|
1553
1557
|
amount: string;
|
1554
1558
|
claimed: string;
|
1555
|
-
pending: string;
|
1556
1559
|
auxiliaryData1: string | null;
|
1557
1560
|
auxiliaryData2: string | null;
|
1558
1561
|
}[];
|
@@ -1578,8 +1581,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1578
1581
|
};
|
1579
1582
|
response: {
|
1580
1583
|
200: {
|
1581
|
-
address: string;
|
1582
1584
|
tags: string[];
|
1585
|
+
address: string;
|
1583
1586
|
};
|
1584
1587
|
};
|
1585
1588
|
};
|
@@ -1602,8 +1605,8 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1602
1605
|
};
|
1603
1606
|
response: {
|
1604
1607
|
200: {
|
1605
|
-
address: string;
|
1606
1608
|
tags: string[];
|
1609
|
+
address: string;
|
1607
1610
|
};
|
1608
1611
|
};
|
1609
1612
|
};
|
@@ -1614,7 +1617,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1614
1617
|
} & {
|
1615
1618
|
v4: {
|
1616
1619
|
roots: {
|
1617
|
-
|
1620
|
+
timestamps: {
|
1618
1621
|
get: {
|
1619
1622
|
body: unknown;
|
1620
1623
|
params: Record<never, string>;
|
@@ -1626,15 +1629,34 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1626
1629
|
headers: unknown;
|
1627
1630
|
response: {
|
1628
1631
|
200: {
|
1629
|
-
|
1632
|
+
timestamp: bigint;
|
1630
1633
|
chainId: number;
|
1634
|
+
root: string;
|
1631
1635
|
epoch: number;
|
1632
|
-
timestamp: bigint;
|
1633
1636
|
}[];
|
1634
1637
|
};
|
1635
1638
|
};
|
1636
1639
|
};
|
1637
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
|
+
};
|
1638
1660
|
};
|
1639
1661
|
} & {
|
1640
1662
|
v4: {
|
@@ -1754,6 +1776,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1754
1776
|
response: {
|
1755
1777
|
200: {
|
1756
1778
|
id: string;
|
1779
|
+
timestamp: number;
|
1757
1780
|
chainId: number;
|
1758
1781
|
fromTokenId: string;
|
1759
1782
|
toTokenId: string;
|
@@ -1762,7 +1785,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1762
1785
|
amountIn: string;
|
1763
1786
|
amountOut: string;
|
1764
1787
|
datetime: Date;
|
1765
|
-
timestamp: number;
|
1766
1788
|
}[];
|
1767
1789
|
};
|
1768
1790
|
};
|
@@ -2001,12 +2023,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2001
2023
|
headers: unknown;
|
2002
2024
|
response: {
|
2003
2025
|
200: {
|
2026
|
+
error: string;
|
2027
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2028
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2004
2029
|
campaignId: string;
|
2005
2030
|
computedUntil: bigint;
|
2006
2031
|
processingStarted: bigint;
|
2007
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2008
|
-
error: string;
|
2009
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2010
2032
|
}[];
|
2011
2033
|
};
|
2012
2034
|
};
|
@@ -2025,27 +2047,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2025
2047
|
response: {
|
2026
2048
|
200: ({
|
2027
2049
|
Campaign: {
|
2050
|
+
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2028
2051
|
id: string;
|
2052
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2053
|
+
subType: number | null;
|
2054
|
+
startTimestamp: bigint;
|
2055
|
+
endTimestamp: bigint;
|
2029
2056
|
computeChainId: number;
|
2030
2057
|
distributionChainId: number;
|
2031
2058
|
campaignId: string;
|
2032
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2033
|
-
subType: number | null;
|
2034
2059
|
rewardTokenId: string;
|
2035
2060
|
amount: string;
|
2036
2061
|
opportunityId: string;
|
2037
|
-
startTimestamp: bigint;
|
2038
|
-
endTimestamp: bigint;
|
2039
|
-
params: import("../../../database/api/.generated").Prisma.JsonValue;
|
2040
2062
|
creatorAddress: string;
|
2041
2063
|
};
|
2042
2064
|
} & {
|
2065
|
+
error: string;
|
2066
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2067
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2043
2068
|
campaignId: string;
|
2044
2069
|
computedUntil: bigint;
|
2045
2070
|
processingStarted: bigint;
|
2046
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2047
|
-
error: string;
|
2048
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2049
2071
|
})[];
|
2050
2072
|
};
|
2051
2073
|
};
|
@@ -2064,12 +2086,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2064
2086
|
headers: unknown;
|
2065
2087
|
response: {
|
2066
2088
|
200: {
|
2089
|
+
error: string;
|
2090
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2091
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2067
2092
|
campaignId: string;
|
2068
2093
|
computedUntil: bigint;
|
2069
2094
|
processingStarted: bigint;
|
2070
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2071
|
-
error: string;
|
2072
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2073
2095
|
};
|
2074
2096
|
};
|
2075
2097
|
};
|
@@ -2088,12 +2110,12 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2088
2110
|
headers: unknown;
|
2089
2111
|
response: {
|
2090
2112
|
200: {
|
2113
|
+
error: string;
|
2114
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
2115
|
+
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2091
2116
|
campaignId: string;
|
2092
2117
|
computedUntil: bigint;
|
2093
2118
|
processingStarted: bigint;
|
2094
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2095
|
-
error: string;
|
2096
|
-
details: import("../../../database/api/.generated").Prisma.JsonValue;
|
2097
2119
|
}[];
|
2098
2120
|
};
|
2099
2121
|
};
|