@merkl/api 0.10.116 → 0.10.118
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 +552 -411
- package/dist/src/index.d.ts +194 -137
- 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 +21 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +8 -9
- 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 +194 -137
- 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 +79 -43
- package/dist/src/modules/v4/user/user.repository.d.ts +7 -2
- package/dist/src/modules/v4/user/user.service.d.ts +10 -4
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +194 -137
- package/dist/src/routes/v3/blacklist.d.ts +194 -137
- package/dist/src/routes/v3/campaigns.d.ts +194 -137
- package/dist/src/routes/v3/campaignsInfo.d.ts +194 -137
- package/dist/src/routes/v3/multiChainPositions.d.ts +194 -137
- package/dist/src/routes/v3/opportunity.d.ts +194 -137
- package/dist/src/routes/v3/positions.d.ts +194 -137
- package/dist/src/routes/v3/rewards.d.ts +194 -137
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +194 -137
- package/dist/src/routes/v3/userRewards.d.ts +194 -137
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
package/dist/src/eden/index.d.ts
CHANGED
@@ -25,9 +25,9 @@ declare const eden: {
|
|
25
25
|
cumulated: number;
|
26
26
|
timestamp: bigint;
|
27
27
|
breakdowns: {
|
28
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
28
29
|
id: number;
|
29
30
|
identifier: string;
|
30
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
31
31
|
value: number;
|
32
32
|
aprRecordId: string;
|
33
33
|
}[];
|
@@ -37,9 +37,9 @@ declare const eden: {
|
|
37
37
|
total: number;
|
38
38
|
timestamp: bigint;
|
39
39
|
breakdowns: {
|
40
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
40
41
|
id: number;
|
41
42
|
identifier: string;
|
42
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
43
43
|
value: number;
|
44
44
|
tvlRecordId: string;
|
45
45
|
}[];
|
@@ -57,27 +57,27 @@ declare const eden: {
|
|
57
57
|
};
|
58
58
|
id: string;
|
59
59
|
tokens: {
|
60
|
-
|
60
|
+
symbol: string;
|
61
61
|
name: string | null;
|
62
|
+
id: string;
|
62
63
|
chainId: number;
|
63
64
|
address: string;
|
64
|
-
decimals: number;
|
65
|
-
symbol: string;
|
66
65
|
icon: string;
|
66
|
+
decimals: number;
|
67
67
|
verified: boolean;
|
68
68
|
price: number | null;
|
69
69
|
}[];
|
70
70
|
chain: {
|
71
|
-
id: number;
|
72
71
|
name: string;
|
72
|
+
id: number;
|
73
73
|
icon: string;
|
74
74
|
};
|
75
75
|
protocol: {
|
76
|
-
id: string;
|
77
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
78
76
|
name: string;
|
79
|
-
description: string;
|
80
77
|
url: string;
|
78
|
+
description: string;
|
79
|
+
id: string;
|
80
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
81
81
|
icon: string;
|
82
82
|
} | undefined;
|
83
83
|
name: string;
|
@@ -103,9 +103,9 @@ declare const eden: {
|
|
103
103
|
cumulated: number;
|
104
104
|
timestamp: bigint;
|
105
105
|
breakdowns: {
|
106
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
106
107
|
id: number;
|
107
108
|
identifier: string;
|
108
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
109
109
|
value: number;
|
110
110
|
aprRecordId: string;
|
111
111
|
}[];
|
@@ -115,9 +115,9 @@ declare const eden: {
|
|
115
115
|
total: number;
|
116
116
|
timestamp: bigint;
|
117
117
|
breakdowns: {
|
118
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
118
119
|
id: number;
|
119
120
|
identifier: string;
|
120
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
121
121
|
value: number;
|
122
122
|
tvlRecordId: string;
|
123
123
|
}[];
|
@@ -135,27 +135,27 @@ declare const eden: {
|
|
135
135
|
};
|
136
136
|
id: string;
|
137
137
|
tokens: {
|
138
|
-
|
138
|
+
symbol: string;
|
139
139
|
name: string | null;
|
140
|
+
id: string;
|
140
141
|
chainId: number;
|
141
142
|
address: string;
|
142
|
-
decimals: number;
|
143
|
-
symbol: string;
|
144
143
|
icon: string;
|
144
|
+
decimals: number;
|
145
145
|
verified: boolean;
|
146
146
|
price: number | null;
|
147
147
|
}[];
|
148
148
|
chain: {
|
149
|
-
id: number;
|
150
149
|
name: string;
|
150
|
+
id: number;
|
151
151
|
icon: string;
|
152
152
|
};
|
153
153
|
protocol: {
|
154
|
-
id: string;
|
155
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
156
154
|
name: string;
|
157
|
-
description: string;
|
158
155
|
url: string;
|
156
|
+
description: string;
|
157
|
+
id: string;
|
158
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
159
159
|
icon: string;
|
160
160
|
} | undefined;
|
161
161
|
name: string;
|
@@ -172,37 +172,37 @@ declare const eden: {
|
|
172
172
|
campaigns: ({
|
173
173
|
params: any;
|
174
174
|
chain: {
|
175
|
-
id: number;
|
176
175
|
name: string;
|
176
|
+
id: number;
|
177
177
|
icon: string;
|
178
178
|
};
|
179
179
|
rewardToken: {
|
180
|
-
|
180
|
+
symbol: string;
|
181
181
|
name: string | null;
|
182
|
+
id: string;
|
182
183
|
chainId: number;
|
183
184
|
address: string;
|
184
|
-
decimals: number;
|
185
|
-
symbol: string;
|
186
185
|
icon: string;
|
186
|
+
decimals: number;
|
187
187
|
verified: boolean;
|
188
188
|
price: number | null;
|
189
189
|
};
|
190
190
|
distributionChain: {
|
191
|
-
id: number;
|
192
191
|
name: string;
|
192
|
+
id: number;
|
193
193
|
icon: string;
|
194
194
|
} | undefined;
|
195
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
195
196
|
id: string;
|
197
|
+
subType: number | null;
|
198
|
+
startTimestamp: bigint;
|
199
|
+
endTimestamp: bigint;
|
196
200
|
computeChainId: number;
|
197
201
|
distributionChainId: number;
|
198
202
|
campaignId: string;
|
199
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
200
|
-
subType: number | null;
|
201
203
|
rewardTokenId: string;
|
202
204
|
amount: string;
|
203
205
|
opportunityId: string;
|
204
|
-
startTimestamp: bigint;
|
205
|
-
endTimestamp: bigint;
|
206
206
|
creatorAddress: string;
|
207
207
|
} | null)[];
|
208
208
|
}) | null | undefined;
|
@@ -254,9 +254,9 @@ declare const eden: {
|
|
254
254
|
cumulated: number;
|
255
255
|
timestamp: bigint;
|
256
256
|
breakdowns: {
|
257
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
257
258
|
id: number;
|
258
259
|
identifier: string;
|
259
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
260
260
|
value: number;
|
261
261
|
aprRecordId: string;
|
262
262
|
}[];
|
@@ -266,9 +266,9 @@ declare const eden: {
|
|
266
266
|
total: number;
|
267
267
|
timestamp: bigint;
|
268
268
|
breakdowns: {
|
269
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
269
270
|
id: number;
|
270
271
|
identifier: string;
|
271
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
272
272
|
value: number;
|
273
273
|
tvlRecordId: string;
|
274
274
|
}[];
|
@@ -286,27 +286,27 @@ declare const eden: {
|
|
286
286
|
};
|
287
287
|
id: string;
|
288
288
|
tokens: {
|
289
|
-
|
289
|
+
symbol: string;
|
290
290
|
name: string | null;
|
291
|
+
id: string;
|
291
292
|
chainId: number;
|
292
293
|
address: string;
|
293
|
-
decimals: number;
|
294
|
-
symbol: string;
|
295
294
|
icon: string;
|
295
|
+
decimals: number;
|
296
296
|
verified: boolean;
|
297
297
|
price: number | null;
|
298
298
|
}[];
|
299
299
|
chain: {
|
300
|
-
id: number;
|
301
300
|
name: string;
|
301
|
+
id: number;
|
302
302
|
icon: string;
|
303
303
|
};
|
304
304
|
protocol: {
|
305
|
-
id: string;
|
306
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
307
305
|
name: string;
|
308
|
-
description: string;
|
309
306
|
url: string;
|
307
|
+
description: string;
|
308
|
+
id: string;
|
309
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
310
310
|
icon: string;
|
311
311
|
} | undefined;
|
312
312
|
name: string;
|
@@ -368,18 +368,18 @@ declare const eden: {
|
|
368
368
|
fetch?: RequestInit | undefined;
|
369
369
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
370
370
|
200: {
|
371
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
371
372
|
id: string;
|
373
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
374
|
+
subType: number | null;
|
375
|
+
startTimestamp: bigint;
|
376
|
+
endTimestamp: bigint;
|
372
377
|
computeChainId: number;
|
373
378
|
distributionChainId: number;
|
374
379
|
campaignId: string;
|
375
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
376
|
-
subType: number | null;
|
377
380
|
rewardTokenId: string;
|
378
381
|
amount: string;
|
379
382
|
opportunityId: string;
|
380
|
-
startTimestamp: bigint;
|
381
|
-
endTimestamp: bigint;
|
382
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
383
383
|
creatorAddress: string;
|
384
384
|
} | undefined;
|
385
385
|
}>>;
|
@@ -404,37 +404,37 @@ declare const eden: {
|
|
404
404
|
200: ({
|
405
405
|
params: any;
|
406
406
|
chain: {
|
407
|
-
id: number;
|
408
407
|
name: string;
|
408
|
+
id: number;
|
409
409
|
icon: string;
|
410
410
|
};
|
411
411
|
rewardToken: {
|
412
|
-
|
412
|
+
symbol: string;
|
413
413
|
name: string | null;
|
414
|
+
id: string;
|
414
415
|
chainId: number;
|
415
416
|
address: string;
|
416
|
-
decimals: number;
|
417
|
-
symbol: string;
|
418
417
|
icon: string;
|
418
|
+
decimals: number;
|
419
419
|
verified: boolean;
|
420
420
|
price: number | null;
|
421
421
|
};
|
422
422
|
distributionChain: {
|
423
|
-
id: number;
|
424
423
|
name: string;
|
424
|
+
id: number;
|
425
425
|
icon: string;
|
426
426
|
} | undefined;
|
427
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
427
428
|
id: string;
|
429
|
+
subType: number | null;
|
430
|
+
startTimestamp: bigint;
|
431
|
+
endTimestamp: bigint;
|
428
432
|
computeChainId: number;
|
429
433
|
distributionChainId: number;
|
430
434
|
campaignId: string;
|
431
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
432
|
-
subType: number | null;
|
433
435
|
rewardTokenId: string;
|
434
436
|
amount: string;
|
435
437
|
opportunityId: string;
|
436
|
-
startTimestamp: bigint;
|
437
|
-
endTimestamp: bigint;
|
438
438
|
creatorAddress: string;
|
439
439
|
} | null)[];
|
440
440
|
}>>;
|
@@ -654,9 +654,9 @@ declare const eden: {
|
|
654
654
|
headers?: Record<string, unknown> | undefined;
|
655
655
|
query: {
|
656
656
|
items?: number | undefined;
|
657
|
-
chainId?: number | undefined;
|
658
657
|
page?: number | undefined;
|
659
|
-
|
658
|
+
chainId: number;
|
659
|
+
campaignId: string;
|
660
660
|
};
|
661
661
|
fetch?: RequestInit | undefined;
|
662
662
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -668,13 +668,16 @@ declare const eden: {
|
|
668
668
|
headers?: Record<string, unknown> | undefined;
|
669
669
|
query: {
|
670
670
|
items?: number | undefined;
|
671
|
-
chainId?: number | undefined;
|
672
671
|
page?: number | undefined;
|
673
|
-
|
672
|
+
chainId: number;
|
673
|
+
campaignId: string;
|
674
674
|
};
|
675
675
|
fetch?: RequestInit | undefined;
|
676
676
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
677
|
-
200:
|
677
|
+
200: {
|
678
|
+
campaignId: string;
|
679
|
+
amount: bigint;
|
680
|
+
};
|
678
681
|
}>>;
|
679
682
|
};
|
680
683
|
engine: {
|
@@ -755,15 +758,15 @@ declare const eden: {
|
|
755
758
|
headers?: Record<string, unknown> | undefined;
|
756
759
|
query: {
|
757
760
|
items?: number | undefined;
|
758
|
-
chainId?: number | undefined;
|
759
761
|
page?: number | undefined;
|
760
|
-
|
762
|
+
chainId: number;
|
763
|
+
campaignId: string;
|
761
764
|
};
|
762
765
|
fetch?: RequestInit | undefined;
|
763
766
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
764
767
|
200: {
|
765
768
|
count: number;
|
766
|
-
}
|
769
|
+
};
|
767
770
|
}>>;
|
768
771
|
chains: {
|
769
772
|
get: (options: {
|
@@ -790,13 +793,13 @@ declare const eden: {
|
|
790
793
|
fetch?: RequestInit | undefined;
|
791
794
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
792
795
|
200: {
|
793
|
-
id: number;
|
794
796
|
name: string;
|
797
|
+
id: number;
|
795
798
|
icon: string;
|
796
799
|
explorers: {
|
797
|
-
id: string;
|
798
800
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
799
801
|
url: string;
|
802
|
+
id: string;
|
800
803
|
chainId: number;
|
801
804
|
}[];
|
802
805
|
} | null;
|
@@ -811,13 +814,13 @@ declare const eden: {
|
|
811
814
|
fetch?: RequestInit | undefined;
|
812
815
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
813
816
|
200: {
|
814
|
-
id: number;
|
815
817
|
name: string;
|
818
|
+
id: number;
|
816
819
|
icon: string;
|
817
820
|
explorers: {
|
818
|
-
id: string;
|
819
821
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
820
822
|
url: string;
|
823
|
+
id: string;
|
821
824
|
chainId: number;
|
822
825
|
}[];
|
823
826
|
}[];
|
@@ -847,9 +850,9 @@ declare const eden: {
|
|
847
850
|
fetch?: RequestInit | undefined;
|
848
851
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
849
852
|
200: {
|
850
|
-
id: string;
|
851
853
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
852
854
|
url: string;
|
855
|
+
id: string;
|
853
856
|
chainId: number;
|
854
857
|
};
|
855
858
|
}>>;
|
@@ -898,10 +901,10 @@ declare const eden: {
|
|
898
901
|
fetch?: RequestInit | undefined;
|
899
902
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
900
903
|
200: {
|
901
|
-
id: number;
|
902
904
|
symbol: string;
|
903
905
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
904
|
-
args: import("
|
906
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
907
|
+
id: number;
|
905
908
|
}[];
|
906
909
|
}>>;
|
907
910
|
post: (body: {
|
@@ -927,10 +930,10 @@ declare const eden: {
|
|
927
930
|
fetch?: RequestInit | undefined;
|
928
931
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
929
932
|
200: {
|
930
|
-
id: number;
|
931
933
|
symbol: string;
|
932
934
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
933
|
-
args: import("
|
935
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
936
|
+
id: number;
|
934
937
|
};
|
935
938
|
}>>;
|
936
939
|
patch: (body: {
|
@@ -945,10 +948,10 @@ declare const eden: {
|
|
945
948
|
fetch?: RequestInit | undefined;
|
946
949
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
947
950
|
200: {
|
948
|
-
id: number;
|
949
951
|
symbol: string;
|
950
952
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
951
|
-
args: import("
|
953
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
954
|
+
id: number;
|
952
955
|
};
|
953
956
|
}>>;
|
954
957
|
delete: (body: unknown, options: {
|
@@ -959,10 +962,10 @@ declare const eden: {
|
|
959
962
|
fetch?: RequestInit | undefined;
|
960
963
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
961
964
|
200: {
|
962
|
-
id: number;
|
963
965
|
symbol: string;
|
964
966
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
965
|
-
args: import("
|
967
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
968
|
+
id: number;
|
966
969
|
};
|
967
970
|
}>>;
|
968
971
|
}) & {};
|
@@ -981,7 +984,7 @@ declare const eden: {
|
|
981
984
|
poolAddress: string;
|
982
985
|
userAddress: string;
|
983
986
|
arrestTimestamp: bigint;
|
984
|
-
arrestDetails: import("
|
987
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
985
988
|
}[];
|
986
989
|
}>>;
|
987
990
|
post: (body: {
|
@@ -1002,7 +1005,7 @@ declare const eden: {
|
|
1002
1005
|
poolAddress: string;
|
1003
1006
|
userAddress: string;
|
1004
1007
|
arrestTimestamp: bigint;
|
1005
|
-
arrestDetails: import("
|
1008
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1006
1009
|
};
|
1007
1010
|
}>>;
|
1008
1011
|
};
|
@@ -1051,6 +1054,7 @@ declare const eden: {
|
|
1051
1054
|
fetch?: RequestInit | undefined;
|
1052
1055
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1053
1056
|
200: {
|
1057
|
+
tags: string[];
|
1054
1058
|
address: string;
|
1055
1059
|
} | null;
|
1056
1060
|
}>>;
|
@@ -1067,13 +1071,13 @@ declare const eden: {
|
|
1067
1071
|
}, "rewards"> & {
|
1068
1072
|
rewards: (Omit<{
|
1069
1073
|
token: {
|
1070
|
-
|
1074
|
+
symbol: string;
|
1071
1075
|
name: string | null;
|
1076
|
+
id: string;
|
1072
1077
|
chainId: number;
|
1073
1078
|
address: string;
|
1074
|
-
decimals: number;
|
1075
|
-
symbol: string;
|
1076
1079
|
icon: string;
|
1080
|
+
decimals: number;
|
1077
1081
|
verified: boolean;
|
1078
1082
|
price: number | null;
|
1079
1083
|
};
|
@@ -1081,63 +1085,63 @@ declare const eden: {
|
|
1081
1085
|
campaignId: string;
|
1082
1086
|
opportunity: {
|
1083
1087
|
Chain: {
|
1084
|
-
id: number;
|
1085
1088
|
name: string;
|
1089
|
+
id: number;
|
1086
1090
|
icon: string;
|
1087
1091
|
};
|
1088
1092
|
Tokens: {
|
1089
|
-
|
1093
|
+
symbol: string;
|
1090
1094
|
name: string | null;
|
1095
|
+
id: string;
|
1091
1096
|
chainId: number;
|
1092
1097
|
address: string;
|
1093
|
-
decimals: number;
|
1094
|
-
symbol: string;
|
1095
1098
|
icon: string;
|
1099
|
+
decimals: number;
|
1096
1100
|
verified: boolean;
|
1097
1101
|
price: number | null;
|
1098
1102
|
}[];
|
1099
1103
|
Protocols: {
|
1100
|
-
id: string;
|
1101
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1102
1104
|
name: string;
|
1103
|
-
description: string;
|
1104
1105
|
url: string;
|
1106
|
+
description: string;
|
1107
|
+
id: string;
|
1108
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1105
1109
|
icon: string;
|
1106
1110
|
}[];
|
1107
1111
|
MainProtocol: {
|
1108
|
-
id: string;
|
1109
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1110
1112
|
name: string;
|
1111
|
-
description: string;
|
1112
1113
|
url: string;
|
1114
|
+
description: string;
|
1115
|
+
id: string;
|
1116
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1113
1117
|
icon: string;
|
1114
1118
|
} | null;
|
1115
1119
|
} & {
|
1116
|
-
id: string;
|
1117
|
-
chainId: number;
|
1118
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1119
|
-
identifier: string;
|
1120
1120
|
name: string;
|
1121
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1122
|
+
id: string;
|
1121
1123
|
status: import("../../database/api/.generated").$Enums.Status;
|
1124
|
+
tags: string[];
|
1125
|
+
identifier: string;
|
1126
|
+
chainId: number;
|
1122
1127
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
1123
1128
|
mainProtocolId: string | null;
|
1124
1129
|
tvl: number;
|
1125
1130
|
apr: number;
|
1126
1131
|
dailyRewards: number;
|
1127
|
-
tags: string[];
|
1128
1132
|
};
|
1129
1133
|
reason: string;
|
1134
|
+
pending: string;
|
1130
1135
|
amount: string;
|
1131
1136
|
claimed: string;
|
1132
|
-
pending: string;
|
1133
1137
|
auxiliaryData1: string | null;
|
1134
1138
|
auxiliaryData2: string | null;
|
1135
1139
|
}[];
|
1136
1140
|
claimed: bigint;
|
1137
1141
|
amount: bigint;
|
1138
1142
|
pending: bigint;
|
1139
|
-
root: string;
|
1140
1143
|
recipient: string;
|
1144
|
+
root: string;
|
1141
1145
|
proofs: string[];
|
1142
1146
|
}, "breakdowns"> & {
|
1143
1147
|
breakdowns: {
|
@@ -1166,13 +1170,13 @@ declare const eden: {
|
|
1166
1170
|
}, "rewards"> & {
|
1167
1171
|
rewards: (Omit<{
|
1168
1172
|
token: {
|
1169
|
-
|
1173
|
+
symbol: string;
|
1170
1174
|
name: string | null;
|
1175
|
+
id: string;
|
1171
1176
|
chainId: number;
|
1172
1177
|
address: string;
|
1173
|
-
decimals: number;
|
1174
|
-
symbol: string;
|
1175
1178
|
icon: string;
|
1179
|
+
decimals: number;
|
1176
1180
|
verified: boolean;
|
1177
1181
|
price: number | null;
|
1178
1182
|
};
|
@@ -1180,71 +1184,71 @@ declare const eden: {
|
|
1180
1184
|
campaignId: string;
|
1181
1185
|
opportunity: {
|
1182
1186
|
Chain: {
|
1183
|
-
id: number;
|
1184
1187
|
name: string;
|
1188
|
+
id: number;
|
1185
1189
|
icon: string;
|
1186
1190
|
};
|
1187
1191
|
Tokens: {
|
1188
|
-
|
1192
|
+
symbol: string;
|
1189
1193
|
name: string | null;
|
1194
|
+
id: string;
|
1190
1195
|
chainId: number;
|
1191
1196
|
address: string;
|
1192
|
-
decimals: number;
|
1193
|
-
symbol: string;
|
1194
1197
|
icon: string;
|
1198
|
+
decimals: number;
|
1195
1199
|
verified: boolean;
|
1196
1200
|
price: number | null;
|
1197
1201
|
}[];
|
1198
1202
|
Protocols: {
|
1199
|
-
id: string;
|
1200
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1201
1203
|
name: string;
|
1202
|
-
description: string;
|
1203
1204
|
url: string;
|
1205
|
+
description: string;
|
1206
|
+
id: string;
|
1207
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1204
1208
|
icon: string;
|
1205
1209
|
}[];
|
1206
1210
|
MainProtocol: {
|
1207
|
-
id: string;
|
1208
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1209
1211
|
name: string;
|
1210
|
-
description: string;
|
1211
1212
|
url: string;
|
1213
|
+
description: string;
|
1214
|
+
id: string;
|
1215
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1212
1216
|
icon: string;
|
1213
1217
|
} | null;
|
1214
1218
|
} & {
|
1215
|
-
id: string;
|
1216
|
-
chainId: number;
|
1217
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1218
|
-
identifier: string;
|
1219
1219
|
name: string;
|
1220
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1221
|
+
id: string;
|
1220
1222
|
status: import("../../database/api/.generated").$Enums.Status;
|
1223
|
+
tags: string[];
|
1224
|
+
identifier: string;
|
1225
|
+
chainId: number;
|
1221
1226
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
1222
1227
|
mainProtocolId: string | null;
|
1223
1228
|
tvl: number;
|
1224
1229
|
apr: number;
|
1225
1230
|
dailyRewards: number;
|
1226
|
-
tags: string[];
|
1227
1231
|
};
|
1228
1232
|
reason: string;
|
1233
|
+
pending: string;
|
1229
1234
|
amount: string;
|
1230
1235
|
claimed: string;
|
1231
|
-
pending: string;
|
1232
1236
|
auxiliaryData1: string | null;
|
1233
1237
|
auxiliaryData2: string | null;
|
1234
1238
|
}[];
|
1235
1239
|
claimed: bigint;
|
1236
1240
|
amount: bigint;
|
1237
1241
|
pending: bigint;
|
1238
|
-
root: string;
|
1239
1242
|
recipient: string;
|
1243
|
+
root: string;
|
1240
1244
|
proofs: string[];
|
1241
1245
|
}, "breakdowns"> & {
|
1242
1246
|
breakdowns: {
|
1243
1247
|
campaignId: string;
|
1244
1248
|
reason: string;
|
1249
|
+
pending: string;
|
1245
1250
|
amount: string;
|
1246
1251
|
claimed: string;
|
1247
|
-
pending: string;
|
1248
1252
|
auxiliaryData1: string | null;
|
1249
1253
|
auxiliaryData2: string | null;
|
1250
1254
|
}[];
|
@@ -1263,8 +1267,8 @@ declare const eden: {
|
|
1263
1267
|
fetch?: RequestInit | undefined;
|
1264
1268
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1265
1269
|
200: {
|
1266
|
-
address: string;
|
1267
1270
|
tags: string[];
|
1271
|
+
address: string;
|
1268
1272
|
};
|
1269
1273
|
}>>;
|
1270
1274
|
};
|
@@ -1281,8 +1285,8 @@ declare const eden: {
|
|
1281
1285
|
fetch?: RequestInit | undefined;
|
1282
1286
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1283
1287
|
200: {
|
1284
|
-
address: string;
|
1285
1288
|
tags: string[];
|
1289
|
+
address: string;
|
1286
1290
|
}[];
|
1287
1291
|
}>>;
|
1288
1292
|
post: (body: {
|
@@ -1296,14 +1300,39 @@ declare const eden: {
|
|
1296
1300
|
fetch?: RequestInit | undefined;
|
1297
1301
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1298
1302
|
200: {
|
1303
|
+
tags: string[];
|
1299
1304
|
address: string;
|
1305
|
+
};
|
1306
|
+
}>>;
|
1307
|
+
};
|
1308
|
+
tags: {
|
1309
|
+
get: (options: {
|
1310
|
+
headers: {
|
1311
|
+
authorization: string;
|
1312
|
+
};
|
1313
|
+
query?: Record<string, unknown> | undefined;
|
1314
|
+
fetch?: RequestInit | undefined;
|
1315
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1316
|
+
200: {
|
1300
1317
|
tags: string[];
|
1318
|
+
address: string;
|
1319
|
+
}[];
|
1320
|
+
}>>;
|
1321
|
+
};
|
1322
|
+
sync: {
|
1323
|
+
post: (body: unknown, options: {
|
1324
|
+
headers: {
|
1325
|
+
authorization: string;
|
1301
1326
|
};
|
1327
|
+
query?: Record<string, unknown> | undefined;
|
1328
|
+
fetch?: RequestInit | undefined;
|
1329
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1330
|
+
200: void;
|
1302
1331
|
}>>;
|
1303
1332
|
};
|
1304
1333
|
};
|
1305
1334
|
roots: {
|
1306
|
-
|
1335
|
+
timestamps: {
|
1307
1336
|
get: (options: {
|
1308
1337
|
headers?: Record<string, unknown> | undefined;
|
1309
1338
|
query: {
|
@@ -1314,10 +1343,23 @@ declare const eden: {
|
|
1314
1343
|
fetch?: RequestInit | undefined;
|
1315
1344
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1316
1345
|
200: {
|
1317
|
-
|
1346
|
+
timestamp: bigint;
|
1318
1347
|
chainId: number;
|
1348
|
+
root: string;
|
1319
1349
|
epoch: number;
|
1320
|
-
|
1350
|
+
}[];
|
1351
|
+
}>>;
|
1352
|
+
};
|
1353
|
+
index: {
|
1354
|
+
get: (options?: {
|
1355
|
+
headers?: Record<string, unknown> | undefined;
|
1356
|
+
query?: Record<string, unknown> | undefined;
|
1357
|
+
fetch?: RequestInit | undefined;
|
1358
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1359
|
+
200: {
|
1360
|
+
live: string;
|
1361
|
+
tree: string;
|
1362
|
+
lastTree: string;
|
1321
1363
|
}[];
|
1322
1364
|
}>>;
|
1323
1365
|
};
|
@@ -1417,6 +1459,7 @@ declare const eden: {
|
|
1417
1459
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1418
1460
|
200: {
|
1419
1461
|
id: string;
|
1462
|
+
timestamp: number;
|
1420
1463
|
chainId: number;
|
1421
1464
|
fromTokenId: string;
|
1422
1465
|
toTokenId: string;
|
@@ -1425,7 +1468,6 @@ declare const eden: {
|
|
1425
1468
|
amountIn: string;
|
1426
1469
|
amountOut: string;
|
1427
1470
|
datetime: Date;
|
1428
|
-
timestamp: number;
|
1429
1471
|
}[];
|
1430
1472
|
}>>;
|
1431
1473
|
};
|
@@ -1595,12 +1637,12 @@ declare const eden: {
|
|
1595
1637
|
fetch?: RequestInit | undefined;
|
1596
1638
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1597
1639
|
200: {
|
1640
|
+
error: string;
|
1641
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
1642
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1598
1643
|
campaignId: string;
|
1599
1644
|
computedUntil: bigint;
|
1600
1645
|
processingStarted: bigint;
|
1601
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1602
|
-
error: string;
|
1603
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1604
1646
|
}[];
|
1605
1647
|
}>>;
|
1606
1648
|
};
|
@@ -1614,27 +1656,27 @@ declare const eden: {
|
|
1614
1656
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1615
1657
|
200: ({
|
1616
1658
|
Campaign: {
|
1659
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1617
1660
|
id: string;
|
1661
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
1662
|
+
subType: number | null;
|
1663
|
+
startTimestamp: bigint;
|
1664
|
+
endTimestamp: bigint;
|
1618
1665
|
computeChainId: number;
|
1619
1666
|
distributionChainId: number;
|
1620
1667
|
campaignId: string;
|
1621
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1622
|
-
subType: number | null;
|
1623
1668
|
rewardTokenId: string;
|
1624
1669
|
amount: string;
|
1625
1670
|
opportunityId: string;
|
1626
|
-
startTimestamp: bigint;
|
1627
|
-
endTimestamp: bigint;
|
1628
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
1629
1671
|
creatorAddress: string;
|
1630
1672
|
};
|
1631
1673
|
} & {
|
1674
|
+
error: string;
|
1675
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
1676
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1632
1677
|
campaignId: string;
|
1633
1678
|
computedUntil: bigint;
|
1634
1679
|
processingStarted: bigint;
|
1635
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1636
|
-
error: string;
|
1637
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1638
1680
|
})[];
|
1639
1681
|
}>>;
|
1640
1682
|
};
|
@@ -1648,12 +1690,12 @@ declare const eden: {
|
|
1648
1690
|
fetch?: RequestInit | undefined;
|
1649
1691
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1650
1692
|
200: {
|
1693
|
+
error: string;
|
1694
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
1695
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1651
1696
|
campaignId: string;
|
1652
1697
|
computedUntil: bigint;
|
1653
1698
|
processingStarted: bigint;
|
1654
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1655
|
-
error: string;
|
1656
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1657
1699
|
};
|
1658
1700
|
}>>;
|
1659
1701
|
};
|
@@ -1666,12 +1708,12 @@ declare const eden: {
|
|
1666
1708
|
fetch?: RequestInit | undefined;
|
1667
1709
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1668
1710
|
200: {
|
1711
|
+
error: string;
|
1712
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
1713
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1669
1714
|
campaignId: string;
|
1670
1715
|
computedUntil: bigint;
|
1671
1716
|
processingStarted: bigint;
|
1672
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
1673
|
-
error: string;
|
1674
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
1675
1717
|
}[];
|
1676
1718
|
}>>;
|
1677
1719
|
}) & {};
|
@@ -1783,9 +1825,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1783
1825
|
cumulated: number;
|
1784
1826
|
timestamp: bigint;
|
1785
1827
|
breakdowns: {
|
1828
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
1786
1829
|
id: number;
|
1787
1830
|
identifier: string;
|
1788
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
1789
1831
|
value: number;
|
1790
1832
|
aprRecordId: string;
|
1791
1833
|
}[];
|
@@ -1795,9 +1837,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1795
1837
|
total: number;
|
1796
1838
|
timestamp: bigint;
|
1797
1839
|
breakdowns: {
|
1840
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
1798
1841
|
id: number;
|
1799
1842
|
identifier: string;
|
1800
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
1801
1843
|
value: number;
|
1802
1844
|
tvlRecordId: string;
|
1803
1845
|
}[];
|
@@ -1815,27 +1857,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1815
1857
|
};
|
1816
1858
|
id: string;
|
1817
1859
|
tokens: {
|
1818
|
-
|
1860
|
+
symbol: string;
|
1819
1861
|
name: string | null;
|
1862
|
+
id: string;
|
1820
1863
|
chainId: number;
|
1821
1864
|
address: string;
|
1822
|
-
decimals: number;
|
1823
|
-
symbol: string;
|
1824
1865
|
icon: string;
|
1866
|
+
decimals: number;
|
1825
1867
|
verified: boolean;
|
1826
1868
|
price: number | null;
|
1827
1869
|
}[];
|
1828
1870
|
chain: {
|
1829
|
-
id: number;
|
1830
1871
|
name: string;
|
1872
|
+
id: number;
|
1831
1873
|
icon: string;
|
1832
1874
|
};
|
1833
1875
|
protocol: {
|
1834
|
-
id: string;
|
1835
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1836
1876
|
name: string;
|
1837
|
-
description: string;
|
1838
1877
|
url: string;
|
1878
|
+
description: string;
|
1879
|
+
id: string;
|
1880
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1839
1881
|
icon: string;
|
1840
1882
|
} | undefined;
|
1841
1883
|
name: string;
|
@@ -1870,9 +1912,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1870
1912
|
cumulated: number;
|
1871
1913
|
timestamp: bigint;
|
1872
1914
|
breakdowns: {
|
1915
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
1873
1916
|
id: number;
|
1874
1917
|
identifier: string;
|
1875
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
1876
1918
|
value: number;
|
1877
1919
|
aprRecordId: string;
|
1878
1920
|
}[];
|
@@ -1882,9 +1924,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1882
1924
|
total: number;
|
1883
1925
|
timestamp: bigint;
|
1884
1926
|
breakdowns: {
|
1927
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
1885
1928
|
id: number;
|
1886
1929
|
identifier: string;
|
1887
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
1888
1930
|
value: number;
|
1889
1931
|
tvlRecordId: string;
|
1890
1932
|
}[];
|
@@ -1902,27 +1944,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1902
1944
|
};
|
1903
1945
|
id: string;
|
1904
1946
|
tokens: {
|
1905
|
-
|
1947
|
+
symbol: string;
|
1906
1948
|
name: string | null;
|
1949
|
+
id: string;
|
1907
1950
|
chainId: number;
|
1908
1951
|
address: string;
|
1909
|
-
decimals: number;
|
1910
|
-
symbol: string;
|
1911
1952
|
icon: string;
|
1953
|
+
decimals: number;
|
1912
1954
|
verified: boolean;
|
1913
1955
|
price: number | null;
|
1914
1956
|
}[];
|
1915
1957
|
chain: {
|
1916
|
-
id: number;
|
1917
1958
|
name: string;
|
1959
|
+
id: number;
|
1918
1960
|
icon: string;
|
1919
1961
|
};
|
1920
1962
|
protocol: {
|
1921
|
-
id: string;
|
1922
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1923
1963
|
name: string;
|
1924
|
-
description: string;
|
1925
1964
|
url: string;
|
1965
|
+
description: string;
|
1966
|
+
id: string;
|
1967
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
1926
1968
|
icon: string;
|
1927
1969
|
} | undefined;
|
1928
1970
|
name: string;
|
@@ -1939,37 +1981,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
1939
1981
|
campaigns: ({
|
1940
1982
|
params: any;
|
1941
1983
|
chain: {
|
1942
|
-
id: number;
|
1943
1984
|
name: string;
|
1985
|
+
id: number;
|
1944
1986
|
icon: string;
|
1945
1987
|
};
|
1946
1988
|
rewardToken: {
|
1947
|
-
|
1989
|
+
symbol: string;
|
1948
1990
|
name: string | null;
|
1991
|
+
id: string;
|
1949
1992
|
chainId: number;
|
1950
1993
|
address: string;
|
1951
|
-
decimals: number;
|
1952
|
-
symbol: string;
|
1953
1994
|
icon: string;
|
1995
|
+
decimals: number;
|
1954
1996
|
verified: boolean;
|
1955
1997
|
price: number | null;
|
1956
1998
|
};
|
1957
1999
|
distributionChain: {
|
1958
|
-
id: number;
|
1959
2000
|
name: string;
|
2001
|
+
id: number;
|
1960
2002
|
icon: string;
|
1961
2003
|
} | undefined;
|
2004
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1962
2005
|
id: string;
|
2006
|
+
subType: number | null;
|
2007
|
+
startTimestamp: bigint;
|
2008
|
+
endTimestamp: bigint;
|
1963
2009
|
computeChainId: number;
|
1964
2010
|
distributionChainId: number;
|
1965
2011
|
campaignId: string;
|
1966
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
1967
|
-
subType: number | null;
|
1968
2012
|
rewardTokenId: string;
|
1969
2013
|
amount: string;
|
1970
2014
|
opportunityId: string;
|
1971
|
-
startTimestamp: bigint;
|
1972
|
-
endTimestamp: bigint;
|
1973
2015
|
creatorAddress: string;
|
1974
2016
|
} | null)[];
|
1975
2017
|
}) | null | undefined;
|
@@ -2004,9 +2046,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2004
2046
|
cumulated: number;
|
2005
2047
|
timestamp: bigint;
|
2006
2048
|
breakdowns: {
|
2049
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
2007
2050
|
id: number;
|
2008
2051
|
identifier: string;
|
2009
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
2010
2052
|
value: number;
|
2011
2053
|
aprRecordId: string;
|
2012
2054
|
}[];
|
@@ -2016,9 +2058,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2016
2058
|
total: number;
|
2017
2059
|
timestamp: bigint;
|
2018
2060
|
breakdowns: {
|
2061
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
2019
2062
|
id: number;
|
2020
2063
|
identifier: string;
|
2021
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
2022
2064
|
value: number;
|
2023
2065
|
tvlRecordId: string;
|
2024
2066
|
}[];
|
@@ -2036,27 +2078,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2036
2078
|
};
|
2037
2079
|
id: string;
|
2038
2080
|
tokens: {
|
2039
|
-
|
2081
|
+
symbol: string;
|
2040
2082
|
name: string | null;
|
2083
|
+
id: string;
|
2041
2084
|
chainId: number;
|
2042
2085
|
address: string;
|
2043
|
-
decimals: number;
|
2044
|
-
symbol: string;
|
2045
2086
|
icon: string;
|
2087
|
+
decimals: number;
|
2046
2088
|
verified: boolean;
|
2047
2089
|
price: number | null;
|
2048
2090
|
}[];
|
2049
2091
|
chain: {
|
2050
|
-
id: number;
|
2051
2092
|
name: string;
|
2093
|
+
id: number;
|
2052
2094
|
icon: string;
|
2053
2095
|
};
|
2054
2096
|
protocol: {
|
2055
|
-
id: string;
|
2056
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
2057
2097
|
name: string;
|
2058
|
-
description: string;
|
2059
2098
|
url: string;
|
2099
|
+
description: string;
|
2100
|
+
id: string;
|
2101
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
2060
2102
|
icon: string;
|
2061
2103
|
} | undefined;
|
2062
2104
|
name: string;
|
@@ -2128,18 +2170,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2128
2170
|
};
|
2129
2171
|
response: {
|
2130
2172
|
200: {
|
2173
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
2131
2174
|
id: string;
|
2175
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
2176
|
+
subType: number | null;
|
2177
|
+
startTimestamp: bigint;
|
2178
|
+
endTimestamp: bigint;
|
2132
2179
|
computeChainId: number;
|
2133
2180
|
distributionChainId: number;
|
2134
2181
|
campaignId: string;
|
2135
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
2136
|
-
subType: number | null;
|
2137
2182
|
rewardTokenId: string;
|
2138
2183
|
amount: string;
|
2139
2184
|
opportunityId: string;
|
2140
|
-
startTimestamp: bigint;
|
2141
|
-
endTimestamp: bigint;
|
2142
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
2143
2185
|
creatorAddress: string;
|
2144
2186
|
} | undefined;
|
2145
2187
|
};
|
@@ -2169,37 +2211,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2169
2211
|
200: ({
|
2170
2212
|
params: any;
|
2171
2213
|
chain: {
|
2172
|
-
id: number;
|
2173
2214
|
name: string;
|
2215
|
+
id: number;
|
2174
2216
|
icon: string;
|
2175
2217
|
};
|
2176
2218
|
rewardToken: {
|
2177
|
-
|
2219
|
+
symbol: string;
|
2178
2220
|
name: string | null;
|
2221
|
+
id: string;
|
2179
2222
|
chainId: number;
|
2180
2223
|
address: string;
|
2181
|
-
decimals: number;
|
2182
|
-
symbol: string;
|
2183
2224
|
icon: string;
|
2225
|
+
decimals: number;
|
2184
2226
|
verified: boolean;
|
2185
2227
|
price: number | null;
|
2186
2228
|
};
|
2187
2229
|
distributionChain: {
|
2188
|
-
id: number;
|
2189
2230
|
name: string;
|
2231
|
+
id: number;
|
2190
2232
|
icon: string;
|
2191
2233
|
} | undefined;
|
2234
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
2192
2235
|
id: string;
|
2236
|
+
subType: number | null;
|
2237
|
+
startTimestamp: bigint;
|
2238
|
+
endTimestamp: bigint;
|
2193
2239
|
computeChainId: number;
|
2194
2240
|
distributionChainId: number;
|
2195
2241
|
campaignId: string;
|
2196
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
2197
|
-
subType: number | null;
|
2198
2242
|
rewardTokenId: string;
|
2199
2243
|
amount: string;
|
2200
2244
|
opportunityId: string;
|
2201
|
-
startTimestamp: bigint;
|
2202
|
-
endTimestamp: bigint;
|
2203
2245
|
creatorAddress: string;
|
2204
2246
|
} | null)[];
|
2205
2247
|
};
|
@@ -2477,9 +2519,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2477
2519
|
params: Record<never, string>;
|
2478
2520
|
query: {
|
2479
2521
|
items?: number | undefined;
|
2480
|
-
chainId?: number | undefined;
|
2481
2522
|
page?: number | undefined;
|
2482
|
-
|
2523
|
+
chainId: number;
|
2524
|
+
campaignId: string;
|
2483
2525
|
};
|
2484
2526
|
headers: unknown;
|
2485
2527
|
response: {
|
@@ -2496,13 +2538,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2496
2538
|
params: Record<never, string>;
|
2497
2539
|
query: {
|
2498
2540
|
items?: number | undefined;
|
2499
|
-
chainId?: number | undefined;
|
2500
2541
|
page?: number | undefined;
|
2501
|
-
|
2542
|
+
chainId: number;
|
2543
|
+
campaignId: string;
|
2502
2544
|
};
|
2503
2545
|
headers: unknown;
|
2504
2546
|
response: {
|
2505
|
-
200:
|
2547
|
+
200: {
|
2548
|
+
campaignId: string;
|
2549
|
+
amount: bigint;
|
2550
|
+
};
|
2506
2551
|
};
|
2507
2552
|
};
|
2508
2553
|
};
|
@@ -2605,15 +2650,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2605
2650
|
params: Record<never, string>;
|
2606
2651
|
query: {
|
2607
2652
|
items?: number | undefined;
|
2608
|
-
chainId?: number | undefined;
|
2609
2653
|
page?: number | undefined;
|
2610
|
-
|
2654
|
+
chainId: number;
|
2655
|
+
campaignId: string;
|
2611
2656
|
};
|
2612
2657
|
headers: unknown;
|
2613
2658
|
response: {
|
2614
2659
|
200: {
|
2615
2660
|
count: number;
|
2616
|
-
}
|
2661
|
+
};
|
2617
2662
|
};
|
2618
2663
|
};
|
2619
2664
|
};
|
@@ -2653,13 +2698,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2653
2698
|
headers: unknown;
|
2654
2699
|
response: {
|
2655
2700
|
200: {
|
2656
|
-
id: number;
|
2657
2701
|
name: string;
|
2702
|
+
id: number;
|
2658
2703
|
icon: string;
|
2659
2704
|
explorers: {
|
2660
|
-
id: string;
|
2661
2705
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
2662
2706
|
url: string;
|
2707
|
+
id: string;
|
2663
2708
|
chainId: number;
|
2664
2709
|
}[];
|
2665
2710
|
} | null;
|
@@ -2677,13 +2722,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2677
2722
|
headers: unknown;
|
2678
2723
|
response: {
|
2679
2724
|
200: {
|
2680
|
-
id: number;
|
2681
2725
|
name: string;
|
2726
|
+
id: number;
|
2682
2727
|
icon: string;
|
2683
2728
|
explorers: {
|
2684
|
-
id: string;
|
2685
2729
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
2686
2730
|
url: string;
|
2731
|
+
id: string;
|
2687
2732
|
chainId: number;
|
2688
2733
|
}[];
|
2689
2734
|
}[];
|
@@ -2719,9 +2764,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2719
2764
|
};
|
2720
2765
|
response: {
|
2721
2766
|
200: {
|
2722
|
-
id: string;
|
2723
2767
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
2724
2768
|
url: string;
|
2769
|
+
id: string;
|
2725
2770
|
chainId: number;
|
2726
2771
|
};
|
2727
2772
|
};
|
@@ -2786,10 +2831,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2786
2831
|
headers: unknown;
|
2787
2832
|
response: {
|
2788
2833
|
200: {
|
2789
|
-
id: number;
|
2790
2834
|
symbol: string;
|
2791
2835
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
2792
|
-
args: import("
|
2836
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
2837
|
+
id: number;
|
2793
2838
|
}[];
|
2794
2839
|
};
|
2795
2840
|
};
|
@@ -2808,10 +2853,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2808
2853
|
headers: unknown;
|
2809
2854
|
response: {
|
2810
2855
|
200: {
|
2811
|
-
id: number;
|
2812
2856
|
symbol: string;
|
2813
2857
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
2814
|
-
args: import("
|
2858
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
2859
|
+
id: number;
|
2815
2860
|
};
|
2816
2861
|
};
|
2817
2862
|
};
|
@@ -2857,10 +2902,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2857
2902
|
};
|
2858
2903
|
response: {
|
2859
2904
|
200: {
|
2860
|
-
id: number;
|
2861
2905
|
symbol: string;
|
2862
2906
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
2863
|
-
args: import("
|
2907
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
2908
|
+
id: number;
|
2864
2909
|
};
|
2865
2910
|
};
|
2866
2911
|
};
|
@@ -2882,10 +2927,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2882
2927
|
};
|
2883
2928
|
response: {
|
2884
2929
|
200: {
|
2885
|
-
id: number;
|
2886
2930
|
symbol: string;
|
2887
2931
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
2888
|
-
args: import("
|
2932
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
2933
|
+
id: number;
|
2889
2934
|
};
|
2890
2935
|
};
|
2891
2936
|
};
|
@@ -2910,7 +2955,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2910
2955
|
poolAddress: string;
|
2911
2956
|
userAddress: string;
|
2912
2957
|
arrestTimestamp: bigint;
|
2913
|
-
arrestDetails: import("
|
2958
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
2914
2959
|
}[];
|
2915
2960
|
};
|
2916
2961
|
};
|
@@ -2972,7 +3017,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2972
3017
|
poolAddress: string;
|
2973
3018
|
userAddress: string;
|
2974
3019
|
arrestTimestamp: bigint;
|
2975
|
-
arrestDetails: import("
|
3020
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
2976
3021
|
};
|
2977
3022
|
};
|
2978
3023
|
};
|
@@ -3015,8 +3060,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3015
3060
|
headers: unknown;
|
3016
3061
|
response: {
|
3017
3062
|
200: {
|
3063
|
+
tags: string[];
|
3018
3064
|
address: string;
|
3065
|
+
}[];
|
3066
|
+
};
|
3067
|
+
};
|
3068
|
+
};
|
3069
|
+
};
|
3070
|
+
} & {
|
3071
|
+
users: {
|
3072
|
+
tags: {
|
3073
|
+
get: {
|
3074
|
+
body: unknown;
|
3075
|
+
params: Record<never, string>;
|
3076
|
+
query: unknown;
|
3077
|
+
headers: {
|
3078
|
+
authorization: string;
|
3079
|
+
};
|
3080
|
+
response: {
|
3081
|
+
200: {
|
3019
3082
|
tags: string[];
|
3083
|
+
address: string;
|
3020
3084
|
}[];
|
3021
3085
|
};
|
3022
3086
|
};
|
@@ -3032,6 +3096,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3032
3096
|
headers: unknown;
|
3033
3097
|
response: {
|
3034
3098
|
200: {
|
3099
|
+
tags: string[];
|
3035
3100
|
address: string;
|
3036
3101
|
} | null;
|
3037
3102
|
};
|
@@ -3057,13 +3122,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3057
3122
|
}, "rewards"> & {
|
3058
3123
|
rewards: (Omit<{
|
3059
3124
|
token: {
|
3060
|
-
|
3125
|
+
symbol: string;
|
3061
3126
|
name: string | null;
|
3127
|
+
id: string;
|
3062
3128
|
chainId: number;
|
3063
3129
|
address: string;
|
3064
|
-
decimals: number;
|
3065
|
-
symbol: string;
|
3066
3130
|
icon: string;
|
3131
|
+
decimals: number;
|
3067
3132
|
verified: boolean;
|
3068
3133
|
price: number | null;
|
3069
3134
|
};
|
@@ -3071,63 +3136,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3071
3136
|
campaignId: string;
|
3072
3137
|
opportunity: {
|
3073
3138
|
Chain: {
|
3074
|
-
id: number;
|
3075
3139
|
name: string;
|
3140
|
+
id: number;
|
3076
3141
|
icon: string;
|
3077
3142
|
};
|
3078
3143
|
Tokens: {
|
3079
|
-
|
3144
|
+
symbol: string;
|
3080
3145
|
name: string | null;
|
3146
|
+
id: string;
|
3081
3147
|
chainId: number;
|
3082
3148
|
address: string;
|
3083
|
-
decimals: number;
|
3084
|
-
symbol: string;
|
3085
3149
|
icon: string;
|
3150
|
+
decimals: number;
|
3086
3151
|
verified: boolean;
|
3087
3152
|
price: number | null;
|
3088
3153
|
}[];
|
3089
3154
|
Protocols: {
|
3090
|
-
id: string;
|
3091
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3092
3155
|
name: string;
|
3093
|
-
description: string;
|
3094
3156
|
url: string;
|
3157
|
+
description: string;
|
3158
|
+
id: string;
|
3159
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3095
3160
|
icon: string;
|
3096
3161
|
}[];
|
3097
3162
|
MainProtocol: {
|
3098
|
-
id: string;
|
3099
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3100
3163
|
name: string;
|
3101
|
-
description: string;
|
3102
3164
|
url: string;
|
3165
|
+
description: string;
|
3166
|
+
id: string;
|
3167
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3103
3168
|
icon: string;
|
3104
3169
|
} | null;
|
3105
3170
|
} & {
|
3106
|
-
id: string;
|
3107
|
-
chainId: number;
|
3108
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3109
|
-
identifier: string;
|
3110
3171
|
name: string;
|
3172
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3173
|
+
id: string;
|
3111
3174
|
status: import("../../database/api/.generated").$Enums.Status;
|
3175
|
+
tags: string[];
|
3176
|
+
identifier: string;
|
3177
|
+
chainId: number;
|
3112
3178
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3113
3179
|
mainProtocolId: string | null;
|
3114
3180
|
tvl: number;
|
3115
3181
|
apr: number;
|
3116
3182
|
dailyRewards: number;
|
3117
|
-
tags: string[];
|
3118
3183
|
};
|
3119
3184
|
reason: string;
|
3185
|
+
pending: string;
|
3120
3186
|
amount: string;
|
3121
3187
|
claimed: string;
|
3122
|
-
pending: string;
|
3123
3188
|
auxiliaryData1: string | null;
|
3124
3189
|
auxiliaryData2: string | null;
|
3125
3190
|
}[];
|
3126
3191
|
claimed: bigint;
|
3127
3192
|
amount: bigint;
|
3128
3193
|
pending: bigint;
|
3129
|
-
root: string;
|
3130
3194
|
recipient: string;
|
3195
|
+
root: string;
|
3131
3196
|
proofs: string[];
|
3132
3197
|
}, "breakdowns"> & {
|
3133
3198
|
breakdowns: {
|
@@ -3167,13 +3232,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3167
3232
|
}, "rewards"> & {
|
3168
3233
|
rewards: (Omit<{
|
3169
3234
|
token: {
|
3170
|
-
|
3235
|
+
symbol: string;
|
3171
3236
|
name: string | null;
|
3237
|
+
id: string;
|
3172
3238
|
chainId: number;
|
3173
3239
|
address: string;
|
3174
|
-
decimals: number;
|
3175
|
-
symbol: string;
|
3176
3240
|
icon: string;
|
3241
|
+
decimals: number;
|
3177
3242
|
verified: boolean;
|
3178
3243
|
price: number | null;
|
3179
3244
|
};
|
@@ -3181,71 +3246,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3181
3246
|
campaignId: string;
|
3182
3247
|
opportunity: {
|
3183
3248
|
Chain: {
|
3184
|
-
id: number;
|
3185
3249
|
name: string;
|
3250
|
+
id: number;
|
3186
3251
|
icon: string;
|
3187
3252
|
};
|
3188
3253
|
Tokens: {
|
3189
|
-
|
3254
|
+
symbol: string;
|
3190
3255
|
name: string | null;
|
3256
|
+
id: string;
|
3191
3257
|
chainId: number;
|
3192
3258
|
address: string;
|
3193
|
-
decimals: number;
|
3194
|
-
symbol: string;
|
3195
3259
|
icon: string;
|
3260
|
+
decimals: number;
|
3196
3261
|
verified: boolean;
|
3197
3262
|
price: number | null;
|
3198
3263
|
}[];
|
3199
3264
|
Protocols: {
|
3200
|
-
id: string;
|
3201
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3202
3265
|
name: string;
|
3203
|
-
description: string;
|
3204
3266
|
url: string;
|
3267
|
+
description: string;
|
3268
|
+
id: string;
|
3269
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3205
3270
|
icon: string;
|
3206
3271
|
}[];
|
3207
3272
|
MainProtocol: {
|
3208
|
-
id: string;
|
3209
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3210
3273
|
name: string;
|
3211
|
-
description: string;
|
3212
3274
|
url: string;
|
3275
|
+
description: string;
|
3276
|
+
id: string;
|
3277
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3213
3278
|
icon: string;
|
3214
3279
|
} | null;
|
3215
3280
|
} & {
|
3216
|
-
id: string;
|
3217
|
-
chainId: number;
|
3218
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3219
|
-
identifier: string;
|
3220
3281
|
name: string;
|
3282
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3283
|
+
id: string;
|
3221
3284
|
status: import("../../database/api/.generated").$Enums.Status;
|
3285
|
+
tags: string[];
|
3286
|
+
identifier: string;
|
3287
|
+
chainId: number;
|
3222
3288
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3223
3289
|
mainProtocolId: string | null;
|
3224
3290
|
tvl: number;
|
3225
3291
|
apr: number;
|
3226
3292
|
dailyRewards: number;
|
3227
|
-
tags: string[];
|
3228
3293
|
};
|
3229
3294
|
reason: string;
|
3295
|
+
pending: string;
|
3230
3296
|
amount: string;
|
3231
3297
|
claimed: string;
|
3232
|
-
pending: string;
|
3233
3298
|
auxiliaryData1: string | null;
|
3234
3299
|
auxiliaryData2: string | null;
|
3235
3300
|
}[];
|
3236
3301
|
claimed: bigint;
|
3237
3302
|
amount: bigint;
|
3238
3303
|
pending: bigint;
|
3239
|
-
root: string;
|
3240
3304
|
recipient: string;
|
3305
|
+
root: string;
|
3241
3306
|
proofs: string[];
|
3242
3307
|
}, "breakdowns"> & {
|
3243
3308
|
breakdowns: {
|
3244
3309
|
campaignId: string;
|
3245
3310
|
reason: string;
|
3311
|
+
pending: string;
|
3246
3312
|
amount: string;
|
3247
3313
|
claimed: string;
|
3248
|
-
pending: string;
|
3249
3314
|
auxiliaryData1: string | null;
|
3250
3315
|
auxiliaryData2: string | null;
|
3251
3316
|
}[];
|
@@ -3271,13 +3336,29 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3271
3336
|
};
|
3272
3337
|
response: {
|
3273
3338
|
200: {
|
3274
|
-
address: string;
|
3275
3339
|
tags: string[];
|
3340
|
+
address: string;
|
3276
3341
|
};
|
3277
3342
|
};
|
3278
3343
|
};
|
3279
3344
|
};
|
3280
3345
|
};
|
3346
|
+
} & {
|
3347
|
+
users: {
|
3348
|
+
sync: {
|
3349
|
+
post: {
|
3350
|
+
body: unknown;
|
3351
|
+
params: Record<never, string>;
|
3352
|
+
query: unknown;
|
3353
|
+
headers: {
|
3354
|
+
authorization: string;
|
3355
|
+
};
|
3356
|
+
response: {
|
3357
|
+
200: void;
|
3358
|
+
};
|
3359
|
+
};
|
3360
|
+
};
|
3361
|
+
};
|
3281
3362
|
} & {
|
3282
3363
|
users: {
|
3283
3364
|
":address": {
|
@@ -3295,8 +3376,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3295
3376
|
};
|
3296
3377
|
response: {
|
3297
3378
|
200: {
|
3298
|
-
address: string;
|
3299
3379
|
tags: string[];
|
3380
|
+
address: string;
|
3300
3381
|
};
|
3301
3382
|
};
|
3302
3383
|
};
|
@@ -3307,7 +3388,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3307
3388
|
} & {
|
3308
3389
|
v4: {
|
3309
3390
|
roots: {
|
3310
|
-
|
3391
|
+
timestamps: {
|
3311
3392
|
get: {
|
3312
3393
|
body: unknown;
|
3313
3394
|
params: Record<never, string>;
|
@@ -3319,10 +3400,28 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3319
3400
|
headers: unknown;
|
3320
3401
|
response: {
|
3321
3402
|
200: {
|
3322
|
-
|
3403
|
+
timestamp: bigint;
|
3323
3404
|
chainId: number;
|
3405
|
+
root: string;
|
3324
3406
|
epoch: number;
|
3325
|
-
|
3407
|
+
}[];
|
3408
|
+
};
|
3409
|
+
};
|
3410
|
+
};
|
3411
|
+
};
|
3412
|
+
} & {
|
3413
|
+
roots: {
|
3414
|
+
index: {
|
3415
|
+
get: {
|
3416
|
+
body: unknown;
|
3417
|
+
params: Record<never, string>;
|
3418
|
+
query: unknown;
|
3419
|
+
headers: unknown;
|
3420
|
+
response: {
|
3421
|
+
200: {
|
3422
|
+
live: string;
|
3423
|
+
tree: string;
|
3424
|
+
lastTree: string;
|
3326
3425
|
}[];
|
3327
3426
|
};
|
3328
3427
|
};
|
@@ -3447,6 +3546,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3447
3546
|
response: {
|
3448
3547
|
200: {
|
3449
3548
|
id: string;
|
3549
|
+
timestamp: number;
|
3450
3550
|
chainId: number;
|
3451
3551
|
fromTokenId: string;
|
3452
3552
|
toTokenId: string;
|
@@ -3455,7 +3555,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3455
3555
|
amountIn: string;
|
3456
3556
|
amountOut: string;
|
3457
3557
|
datetime: Date;
|
3458
|
-
timestamp: number;
|
3459
3558
|
}[];
|
3460
3559
|
};
|
3461
3560
|
};
|
@@ -3694,12 +3793,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3694
3793
|
headers: unknown;
|
3695
3794
|
response: {
|
3696
3795
|
200: {
|
3796
|
+
error: string;
|
3797
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
3798
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3697
3799
|
campaignId: string;
|
3698
3800
|
computedUntil: bigint;
|
3699
3801
|
processingStarted: bigint;
|
3700
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3701
|
-
error: string;
|
3702
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3703
3802
|
}[];
|
3704
3803
|
};
|
3705
3804
|
};
|
@@ -3718,27 +3817,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3718
3817
|
response: {
|
3719
3818
|
200: ({
|
3720
3819
|
Campaign: {
|
3820
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3721
3821
|
id: string;
|
3822
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
3823
|
+
subType: number | null;
|
3824
|
+
startTimestamp: bigint;
|
3825
|
+
endTimestamp: bigint;
|
3722
3826
|
computeChainId: number;
|
3723
3827
|
distributionChainId: number;
|
3724
3828
|
campaignId: string;
|
3725
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
3726
|
-
subType: number | null;
|
3727
3829
|
rewardTokenId: string;
|
3728
3830
|
amount: string;
|
3729
3831
|
opportunityId: string;
|
3730
|
-
startTimestamp: bigint;
|
3731
|
-
endTimestamp: bigint;
|
3732
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
3733
3832
|
creatorAddress: string;
|
3734
3833
|
};
|
3735
3834
|
} & {
|
3835
|
+
error: string;
|
3836
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
3837
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3736
3838
|
campaignId: string;
|
3737
3839
|
computedUntil: bigint;
|
3738
3840
|
processingStarted: bigint;
|
3739
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3740
|
-
error: string;
|
3741
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3742
3841
|
})[];
|
3743
3842
|
};
|
3744
3843
|
};
|
@@ -3757,12 +3856,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3757
3856
|
headers: unknown;
|
3758
3857
|
response: {
|
3759
3858
|
200: {
|
3859
|
+
error: string;
|
3860
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
3861
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3760
3862
|
campaignId: string;
|
3761
3863
|
computedUntil: bigint;
|
3762
3864
|
processingStarted: bigint;
|
3763
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3764
|
-
error: string;
|
3765
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3766
3865
|
};
|
3767
3866
|
};
|
3768
3867
|
};
|
@@ -3781,12 +3880,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3781
3880
|
headers: unknown;
|
3782
3881
|
response: {
|
3783
3882
|
200: {
|
3883
|
+
error: string;
|
3884
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
3885
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3784
3886
|
campaignId: string;
|
3785
3887
|
computedUntil: bigint;
|
3786
3888
|
processingStarted: bigint;
|
3787
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
3788
|
-
error: string;
|
3789
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
3790
3889
|
}[];
|
3791
3890
|
};
|
3792
3891
|
};
|
@@ -3850,9 +3949,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3850
3949
|
cumulated: number;
|
3851
3950
|
timestamp: bigint;
|
3852
3951
|
breakdowns: {
|
3952
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
3853
3953
|
id: number;
|
3854
3954
|
identifier: string;
|
3855
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
3856
3955
|
value: number;
|
3857
3956
|
aprRecordId: string;
|
3858
3957
|
}[];
|
@@ -3862,9 +3961,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3862
3961
|
total: number;
|
3863
3962
|
timestamp: bigint;
|
3864
3963
|
breakdowns: {
|
3964
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
3865
3965
|
id: number;
|
3866
3966
|
identifier: string;
|
3867
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
3868
3967
|
value: number;
|
3869
3968
|
tvlRecordId: string;
|
3870
3969
|
}[];
|
@@ -3882,27 +3981,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3882
3981
|
};
|
3883
3982
|
id: string;
|
3884
3983
|
tokens: {
|
3885
|
-
|
3984
|
+
symbol: string;
|
3886
3985
|
name: string | null;
|
3986
|
+
id: string;
|
3887
3987
|
chainId: number;
|
3888
3988
|
address: string;
|
3889
|
-
decimals: number;
|
3890
|
-
symbol: string;
|
3891
3989
|
icon: string;
|
3990
|
+
decimals: number;
|
3892
3991
|
verified: boolean;
|
3893
3992
|
price: number | null;
|
3894
3993
|
}[];
|
3895
3994
|
chain: {
|
3896
|
-
id: number;
|
3897
3995
|
name: string;
|
3996
|
+
id: number;
|
3898
3997
|
icon: string;
|
3899
3998
|
};
|
3900
3999
|
protocol: {
|
3901
|
-
id: string;
|
3902
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3903
4000
|
name: string;
|
3904
|
-
description: string;
|
3905
4001
|
url: string;
|
4002
|
+
description: string;
|
4003
|
+
id: string;
|
4004
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3906
4005
|
icon: string;
|
3907
4006
|
} | undefined;
|
3908
4007
|
name: string;
|
@@ -3928,9 +4027,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3928
4027
|
cumulated: number;
|
3929
4028
|
timestamp: bigint;
|
3930
4029
|
breakdowns: {
|
4030
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
3931
4031
|
id: number;
|
3932
4032
|
identifier: string;
|
3933
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
3934
4033
|
value: number;
|
3935
4034
|
aprRecordId: string;
|
3936
4035
|
}[];
|
@@ -3940,9 +4039,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3940
4039
|
total: number;
|
3941
4040
|
timestamp: bigint;
|
3942
4041
|
breakdowns: {
|
4042
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
3943
4043
|
id: number;
|
3944
4044
|
identifier: string;
|
3945
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
3946
4045
|
value: number;
|
3947
4046
|
tvlRecordId: string;
|
3948
4047
|
}[];
|
@@ -3960,27 +4059,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3960
4059
|
};
|
3961
4060
|
id: string;
|
3962
4061
|
tokens: {
|
3963
|
-
|
4062
|
+
symbol: string;
|
3964
4063
|
name: string | null;
|
4064
|
+
id: string;
|
3965
4065
|
chainId: number;
|
3966
4066
|
address: string;
|
3967
|
-
decimals: number;
|
3968
|
-
symbol: string;
|
3969
4067
|
icon: string;
|
4068
|
+
decimals: number;
|
3970
4069
|
verified: boolean;
|
3971
4070
|
price: number | null;
|
3972
4071
|
}[];
|
3973
4072
|
chain: {
|
3974
|
-
id: number;
|
3975
4073
|
name: string;
|
4074
|
+
id: number;
|
3976
4075
|
icon: string;
|
3977
4076
|
};
|
3978
4077
|
protocol: {
|
3979
|
-
id: string;
|
3980
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3981
4078
|
name: string;
|
3982
|
-
description: string;
|
3983
4079
|
url: string;
|
4080
|
+
description: string;
|
4081
|
+
id: string;
|
4082
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
3984
4083
|
icon: string;
|
3985
4084
|
} | undefined;
|
3986
4085
|
name: string;
|
@@ -3997,37 +4096,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3997
4096
|
campaigns: ({
|
3998
4097
|
params: any;
|
3999
4098
|
chain: {
|
4000
|
-
id: number;
|
4001
4099
|
name: string;
|
4100
|
+
id: number;
|
4002
4101
|
icon: string;
|
4003
4102
|
};
|
4004
4103
|
rewardToken: {
|
4005
|
-
|
4104
|
+
symbol: string;
|
4006
4105
|
name: string | null;
|
4106
|
+
id: string;
|
4007
4107
|
chainId: number;
|
4008
4108
|
address: string;
|
4009
|
-
decimals: number;
|
4010
|
-
symbol: string;
|
4011
4109
|
icon: string;
|
4110
|
+
decimals: number;
|
4012
4111
|
verified: boolean;
|
4013
4112
|
price: number | null;
|
4014
4113
|
};
|
4015
4114
|
distributionChain: {
|
4016
|
-
id: number;
|
4017
4115
|
name: string;
|
4116
|
+
id: number;
|
4018
4117
|
icon: string;
|
4019
4118
|
} | undefined;
|
4119
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4020
4120
|
id: string;
|
4121
|
+
subType: number | null;
|
4122
|
+
startTimestamp: bigint;
|
4123
|
+
endTimestamp: bigint;
|
4021
4124
|
computeChainId: number;
|
4022
4125
|
distributionChainId: number;
|
4023
4126
|
campaignId: string;
|
4024
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4025
|
-
subType: number | null;
|
4026
4127
|
rewardTokenId: string;
|
4027
4128
|
amount: string;
|
4028
4129
|
opportunityId: string;
|
4029
|
-
startTimestamp: bigint;
|
4030
|
-
endTimestamp: bigint;
|
4031
4130
|
creatorAddress: string;
|
4032
4131
|
} | null)[];
|
4033
4132
|
}) | null | undefined;
|
@@ -4079,9 +4178,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4079
4178
|
cumulated: number;
|
4080
4179
|
timestamp: bigint;
|
4081
4180
|
breakdowns: {
|
4181
|
+
type: import("../../database/api/.generated").$Enums.AprType;
|
4082
4182
|
id: number;
|
4083
4183
|
identifier: string;
|
4084
|
-
type: import("../../database/api/.generated").$Enums.AprType;
|
4085
4184
|
value: number;
|
4086
4185
|
aprRecordId: string;
|
4087
4186
|
}[];
|
@@ -4091,9 +4190,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4091
4190
|
total: number;
|
4092
4191
|
timestamp: bigint;
|
4093
4192
|
breakdowns: {
|
4193
|
+
type: import("../../database/api/.generated").$Enums.TvlType;
|
4094
4194
|
id: number;
|
4095
4195
|
identifier: string;
|
4096
|
-
type: import("../../database/api/.generated").$Enums.TvlType;
|
4097
4196
|
value: number;
|
4098
4197
|
tvlRecordId: string;
|
4099
4198
|
}[];
|
@@ -4111,27 +4210,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4111
4210
|
};
|
4112
4211
|
id: string;
|
4113
4212
|
tokens: {
|
4114
|
-
|
4213
|
+
symbol: string;
|
4115
4214
|
name: string | null;
|
4215
|
+
id: string;
|
4116
4216
|
chainId: number;
|
4117
4217
|
address: string;
|
4118
|
-
decimals: number;
|
4119
|
-
symbol: string;
|
4120
4218
|
icon: string;
|
4219
|
+
decimals: number;
|
4121
4220
|
verified: boolean;
|
4122
4221
|
price: number | null;
|
4123
4222
|
}[];
|
4124
4223
|
chain: {
|
4125
|
-
id: number;
|
4126
4224
|
name: string;
|
4225
|
+
id: number;
|
4127
4226
|
icon: string;
|
4128
4227
|
};
|
4129
4228
|
protocol: {
|
4130
|
-
id: string;
|
4131
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4132
4229
|
name: string;
|
4133
|
-
description: string;
|
4134
4230
|
url: string;
|
4231
|
+
description: string;
|
4232
|
+
id: string;
|
4233
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4135
4234
|
icon: string;
|
4136
4235
|
} | undefined;
|
4137
4236
|
name: string;
|
@@ -4193,18 +4292,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4193
4292
|
fetch?: RequestInit | undefined;
|
4194
4293
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4195
4294
|
200: {
|
4295
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4196
4296
|
id: string;
|
4297
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
4298
|
+
subType: number | null;
|
4299
|
+
startTimestamp: bigint;
|
4300
|
+
endTimestamp: bigint;
|
4197
4301
|
computeChainId: number;
|
4198
4302
|
distributionChainId: number;
|
4199
4303
|
campaignId: string;
|
4200
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4201
|
-
subType: number | null;
|
4202
4304
|
rewardTokenId: string;
|
4203
4305
|
amount: string;
|
4204
4306
|
opportunityId: string;
|
4205
|
-
startTimestamp: bigint;
|
4206
|
-
endTimestamp: bigint;
|
4207
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
4208
4307
|
creatorAddress: string;
|
4209
4308
|
} | undefined;
|
4210
4309
|
}>>;
|
@@ -4229,37 +4328,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4229
4328
|
200: ({
|
4230
4329
|
params: any;
|
4231
4330
|
chain: {
|
4232
|
-
id: number;
|
4233
4331
|
name: string;
|
4332
|
+
id: number;
|
4234
4333
|
icon: string;
|
4235
4334
|
};
|
4236
4335
|
rewardToken: {
|
4237
|
-
|
4336
|
+
symbol: string;
|
4238
4337
|
name: string | null;
|
4338
|
+
id: string;
|
4239
4339
|
chainId: number;
|
4240
4340
|
address: string;
|
4241
|
-
decimals: number;
|
4242
|
-
symbol: string;
|
4243
4341
|
icon: string;
|
4342
|
+
decimals: number;
|
4244
4343
|
verified: boolean;
|
4245
4344
|
price: number | null;
|
4246
4345
|
};
|
4247
4346
|
distributionChain: {
|
4248
|
-
id: number;
|
4249
4347
|
name: string;
|
4348
|
+
id: number;
|
4250
4349
|
icon: string;
|
4251
4350
|
} | undefined;
|
4351
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4252
4352
|
id: string;
|
4353
|
+
subType: number | null;
|
4354
|
+
startTimestamp: bigint;
|
4355
|
+
endTimestamp: bigint;
|
4253
4356
|
computeChainId: number;
|
4254
4357
|
distributionChainId: number;
|
4255
4358
|
campaignId: string;
|
4256
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4257
|
-
subType: number | null;
|
4258
4359
|
rewardTokenId: string;
|
4259
4360
|
amount: string;
|
4260
4361
|
opportunityId: string;
|
4261
|
-
startTimestamp: bigint;
|
4262
|
-
endTimestamp: bigint;
|
4263
4362
|
creatorAddress: string;
|
4264
4363
|
} | null)[];
|
4265
4364
|
}>>;
|
@@ -4479,9 +4578,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4479
4578
|
headers?: Record<string, unknown> | undefined;
|
4480
4579
|
query: {
|
4481
4580
|
items?: number | undefined;
|
4482
|
-
chainId?: number | undefined;
|
4483
4581
|
page?: number | undefined;
|
4484
|
-
|
4582
|
+
chainId: number;
|
4583
|
+
campaignId: string;
|
4485
4584
|
};
|
4486
4585
|
fetch?: RequestInit | undefined;
|
4487
4586
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -4493,13 +4592,16 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4493
4592
|
headers?: Record<string, unknown> | undefined;
|
4494
4593
|
query: {
|
4495
4594
|
items?: number | undefined;
|
4496
|
-
chainId?: number | undefined;
|
4497
4595
|
page?: number | undefined;
|
4498
|
-
|
4596
|
+
chainId: number;
|
4597
|
+
campaignId: string;
|
4499
4598
|
};
|
4500
4599
|
fetch?: RequestInit | undefined;
|
4501
4600
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4502
|
-
200:
|
4601
|
+
200: {
|
4602
|
+
campaignId: string;
|
4603
|
+
amount: bigint;
|
4604
|
+
};
|
4503
4605
|
}>>;
|
4504
4606
|
};
|
4505
4607
|
engine: {
|
@@ -4580,15 +4682,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4580
4682
|
headers?: Record<string, unknown> | undefined;
|
4581
4683
|
query: {
|
4582
4684
|
items?: number | undefined;
|
4583
|
-
chainId?: number | undefined;
|
4584
4685
|
page?: number | undefined;
|
4585
|
-
|
4686
|
+
chainId: number;
|
4687
|
+
campaignId: string;
|
4586
4688
|
};
|
4587
4689
|
fetch?: RequestInit | undefined;
|
4588
4690
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4589
4691
|
200: {
|
4590
4692
|
count: number;
|
4591
|
-
}
|
4693
|
+
};
|
4592
4694
|
}>>;
|
4593
4695
|
chains: {
|
4594
4696
|
get: (options: {
|
@@ -4615,13 +4717,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4615
4717
|
fetch?: RequestInit | undefined;
|
4616
4718
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4617
4719
|
200: {
|
4618
|
-
id: number;
|
4619
4720
|
name: string;
|
4721
|
+
id: number;
|
4620
4722
|
icon: string;
|
4621
4723
|
explorers: {
|
4622
|
-
id: string;
|
4623
4724
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
4624
4725
|
url: string;
|
4726
|
+
id: string;
|
4625
4727
|
chainId: number;
|
4626
4728
|
}[];
|
4627
4729
|
} | null;
|
@@ -4636,13 +4738,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4636
4738
|
fetch?: RequestInit | undefined;
|
4637
4739
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4638
4740
|
200: {
|
4639
|
-
id: number;
|
4640
4741
|
name: string;
|
4742
|
+
id: number;
|
4641
4743
|
icon: string;
|
4642
4744
|
explorers: {
|
4643
|
-
id: string;
|
4644
4745
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
4645
4746
|
url: string;
|
4747
|
+
id: string;
|
4646
4748
|
chainId: number;
|
4647
4749
|
}[];
|
4648
4750
|
}[];
|
@@ -4672,9 +4774,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4672
4774
|
fetch?: RequestInit | undefined;
|
4673
4775
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4674
4776
|
200: {
|
4675
|
-
id: string;
|
4676
4777
|
type: import("../../database/api/.generated").$Enums.ExplorerType;
|
4677
4778
|
url: string;
|
4779
|
+
id: string;
|
4678
4780
|
chainId: number;
|
4679
4781
|
};
|
4680
4782
|
}>>;
|
@@ -4723,10 +4825,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4723
4825
|
fetch?: RequestInit | undefined;
|
4724
4826
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4725
4827
|
200: {
|
4726
|
-
id: number;
|
4727
4828
|
symbol: string;
|
4728
4829
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
4729
|
-
args: import("
|
4830
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
4831
|
+
id: number;
|
4730
4832
|
}[];
|
4731
4833
|
}>>;
|
4732
4834
|
post: (body: {
|
@@ -4752,10 +4854,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4752
4854
|
fetch?: RequestInit | undefined;
|
4753
4855
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4754
4856
|
200: {
|
4755
|
-
id: number;
|
4756
4857
|
symbol: string;
|
4757
4858
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
4758
|
-
args: import("
|
4859
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
4860
|
+
id: number;
|
4759
4861
|
};
|
4760
4862
|
}>>;
|
4761
4863
|
patch: (body: {
|
@@ -4770,10 +4872,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4770
4872
|
fetch?: RequestInit | undefined;
|
4771
4873
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4772
4874
|
200: {
|
4773
|
-
id: number;
|
4774
4875
|
symbol: string;
|
4775
4876
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
4776
|
-
args: import("
|
4877
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
4878
|
+
id: number;
|
4777
4879
|
};
|
4778
4880
|
}>>;
|
4779
4881
|
delete: (body: unknown, options: {
|
@@ -4784,10 +4886,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4784
4886
|
fetch?: RequestInit | undefined;
|
4785
4887
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4786
4888
|
200: {
|
4787
|
-
id: number;
|
4788
4889
|
symbol: string;
|
4789
4890
|
method: import("../../database/api/.generated").$Enums.PriceSourceMethod;
|
4790
|
-
args: import("
|
4891
|
+
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
4892
|
+
id: number;
|
4791
4893
|
};
|
4792
4894
|
}>>;
|
4793
4895
|
}) & {};
|
@@ -4806,7 +4908,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4806
4908
|
poolAddress: string;
|
4807
4909
|
userAddress: string;
|
4808
4910
|
arrestTimestamp: bigint;
|
4809
|
-
arrestDetails: import("
|
4911
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
4810
4912
|
}[];
|
4811
4913
|
}>>;
|
4812
4914
|
post: (body: {
|
@@ -4827,7 +4929,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4827
4929
|
poolAddress: string;
|
4828
4930
|
userAddress: string;
|
4829
4931
|
arrestTimestamp: bigint;
|
4830
|
-
arrestDetails: import("
|
4932
|
+
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
4831
4933
|
};
|
4832
4934
|
}>>;
|
4833
4935
|
};
|
@@ -4876,6 +4978,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4876
4978
|
fetch?: RequestInit | undefined;
|
4877
4979
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4878
4980
|
200: {
|
4981
|
+
tags: string[];
|
4879
4982
|
address: string;
|
4880
4983
|
} | null;
|
4881
4984
|
}>>;
|
@@ -4892,13 +4995,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4892
4995
|
}, "rewards"> & {
|
4893
4996
|
rewards: (Omit<{
|
4894
4997
|
token: {
|
4895
|
-
|
4998
|
+
symbol: string;
|
4896
4999
|
name: string | null;
|
5000
|
+
id: string;
|
4897
5001
|
chainId: number;
|
4898
5002
|
address: string;
|
4899
|
-
decimals: number;
|
4900
|
-
symbol: string;
|
4901
5003
|
icon: string;
|
5004
|
+
decimals: number;
|
4902
5005
|
verified: boolean;
|
4903
5006
|
price: number | null;
|
4904
5007
|
};
|
@@ -4906,63 +5009,63 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4906
5009
|
campaignId: string;
|
4907
5010
|
opportunity: {
|
4908
5011
|
Chain: {
|
4909
|
-
id: number;
|
4910
5012
|
name: string;
|
5013
|
+
id: number;
|
4911
5014
|
icon: string;
|
4912
5015
|
};
|
4913
5016
|
Tokens: {
|
4914
|
-
|
5017
|
+
symbol: string;
|
4915
5018
|
name: string | null;
|
5019
|
+
id: string;
|
4916
5020
|
chainId: number;
|
4917
5021
|
address: string;
|
4918
|
-
decimals: number;
|
4919
|
-
symbol: string;
|
4920
5022
|
icon: string;
|
5023
|
+
decimals: number;
|
4921
5024
|
verified: boolean;
|
4922
5025
|
price: number | null;
|
4923
5026
|
}[];
|
4924
5027
|
Protocols: {
|
4925
|
-
id: string;
|
4926
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4927
5028
|
name: string;
|
4928
|
-
description: string;
|
4929
5029
|
url: string;
|
5030
|
+
description: string;
|
5031
|
+
id: string;
|
5032
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4930
5033
|
icon: string;
|
4931
5034
|
}[];
|
4932
5035
|
MainProtocol: {
|
4933
|
-
id: string;
|
4934
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4935
5036
|
name: string;
|
4936
|
-
description: string;
|
4937
5037
|
url: string;
|
5038
|
+
description: string;
|
5039
|
+
id: string;
|
5040
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
4938
5041
|
icon: string;
|
4939
5042
|
} | null;
|
4940
5043
|
} & {
|
4941
|
-
id: string;
|
4942
|
-
chainId: number;
|
4943
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
4944
|
-
identifier: string;
|
4945
5044
|
name: string;
|
5045
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
5046
|
+
id: string;
|
4946
5047
|
status: import("../../database/api/.generated").$Enums.Status;
|
5048
|
+
tags: string[];
|
5049
|
+
identifier: string;
|
5050
|
+
chainId: number;
|
4947
5051
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
4948
5052
|
mainProtocolId: string | null;
|
4949
5053
|
tvl: number;
|
4950
5054
|
apr: number;
|
4951
5055
|
dailyRewards: number;
|
4952
|
-
tags: string[];
|
4953
5056
|
};
|
4954
5057
|
reason: string;
|
5058
|
+
pending: string;
|
4955
5059
|
amount: string;
|
4956
5060
|
claimed: string;
|
4957
|
-
pending: string;
|
4958
5061
|
auxiliaryData1: string | null;
|
4959
5062
|
auxiliaryData2: string | null;
|
4960
5063
|
}[];
|
4961
5064
|
claimed: bigint;
|
4962
5065
|
amount: bigint;
|
4963
5066
|
pending: bigint;
|
4964
|
-
root: string;
|
4965
5067
|
recipient: string;
|
5068
|
+
root: string;
|
4966
5069
|
proofs: string[];
|
4967
5070
|
}, "breakdowns"> & {
|
4968
5071
|
breakdowns: {
|
@@ -4991,13 +5094,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4991
5094
|
}, "rewards"> & {
|
4992
5095
|
rewards: (Omit<{
|
4993
5096
|
token: {
|
4994
|
-
|
5097
|
+
symbol: string;
|
4995
5098
|
name: string | null;
|
5099
|
+
id: string;
|
4996
5100
|
chainId: number;
|
4997
5101
|
address: string;
|
4998
|
-
decimals: number;
|
4999
|
-
symbol: string;
|
5000
5102
|
icon: string;
|
5103
|
+
decimals: number;
|
5001
5104
|
verified: boolean;
|
5002
5105
|
price: number | null;
|
5003
5106
|
};
|
@@ -5005,71 +5108,71 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5005
5108
|
campaignId: string;
|
5006
5109
|
opportunity: {
|
5007
5110
|
Chain: {
|
5008
|
-
id: number;
|
5009
5111
|
name: string;
|
5112
|
+
id: number;
|
5010
5113
|
icon: string;
|
5011
5114
|
};
|
5012
5115
|
Tokens: {
|
5013
|
-
|
5116
|
+
symbol: string;
|
5014
5117
|
name: string | null;
|
5118
|
+
id: string;
|
5015
5119
|
chainId: number;
|
5016
5120
|
address: string;
|
5017
|
-
decimals: number;
|
5018
|
-
symbol: string;
|
5019
5121
|
icon: string;
|
5122
|
+
decimals: number;
|
5020
5123
|
verified: boolean;
|
5021
5124
|
price: number | null;
|
5022
5125
|
}[];
|
5023
5126
|
Protocols: {
|
5024
|
-
id: string;
|
5025
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
5026
5127
|
name: string;
|
5027
|
-
description: string;
|
5028
5128
|
url: string;
|
5129
|
+
description: string;
|
5130
|
+
id: string;
|
5131
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
5029
5132
|
icon: string;
|
5030
5133
|
}[];
|
5031
5134
|
MainProtocol: {
|
5032
|
-
id: string;
|
5033
|
-
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
5034
5135
|
name: string;
|
5035
|
-
description: string;
|
5036
5136
|
url: string;
|
5137
|
+
description: string;
|
5138
|
+
id: string;
|
5139
|
+
tags: import("../../database/api/.generated").$Enums.ProtocolTag[];
|
5037
5140
|
icon: string;
|
5038
5141
|
} | null;
|
5039
5142
|
} & {
|
5040
|
-
id: string;
|
5041
|
-
chainId: number;
|
5042
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
5043
|
-
identifier: string;
|
5044
5143
|
name: string;
|
5144
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
5145
|
+
id: string;
|
5045
5146
|
status: import("../../database/api/.generated").$Enums.Status;
|
5147
|
+
tags: string[];
|
5148
|
+
identifier: string;
|
5149
|
+
chainId: number;
|
5046
5150
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
5047
5151
|
mainProtocolId: string | null;
|
5048
5152
|
tvl: number;
|
5049
5153
|
apr: number;
|
5050
5154
|
dailyRewards: number;
|
5051
|
-
tags: string[];
|
5052
5155
|
};
|
5053
5156
|
reason: string;
|
5157
|
+
pending: string;
|
5054
5158
|
amount: string;
|
5055
5159
|
claimed: string;
|
5056
|
-
pending: string;
|
5057
5160
|
auxiliaryData1: string | null;
|
5058
5161
|
auxiliaryData2: string | null;
|
5059
5162
|
}[];
|
5060
5163
|
claimed: bigint;
|
5061
5164
|
amount: bigint;
|
5062
5165
|
pending: bigint;
|
5063
|
-
root: string;
|
5064
5166
|
recipient: string;
|
5167
|
+
root: string;
|
5065
5168
|
proofs: string[];
|
5066
5169
|
}, "breakdowns"> & {
|
5067
5170
|
breakdowns: {
|
5068
5171
|
campaignId: string;
|
5069
5172
|
reason: string;
|
5173
|
+
pending: string;
|
5070
5174
|
amount: string;
|
5071
5175
|
claimed: string;
|
5072
|
-
pending: string;
|
5073
5176
|
auxiliaryData1: string | null;
|
5074
5177
|
auxiliaryData2: string | null;
|
5075
5178
|
}[];
|
@@ -5088,8 +5191,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5088
5191
|
fetch?: RequestInit | undefined;
|
5089
5192
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5090
5193
|
200: {
|
5091
|
-
address: string;
|
5092
5194
|
tags: string[];
|
5195
|
+
address: string;
|
5093
5196
|
};
|
5094
5197
|
}>>;
|
5095
5198
|
};
|
@@ -5106,8 +5209,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5106
5209
|
fetch?: RequestInit | undefined;
|
5107
5210
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5108
5211
|
200: {
|
5109
|
-
address: string;
|
5110
5212
|
tags: string[];
|
5213
|
+
address: string;
|
5111
5214
|
}[];
|
5112
5215
|
}>>;
|
5113
5216
|
post: (body: {
|
@@ -5121,14 +5224,39 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5121
5224
|
fetch?: RequestInit | undefined;
|
5122
5225
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5123
5226
|
200: {
|
5227
|
+
tags: string[];
|
5124
5228
|
address: string;
|
5229
|
+
};
|
5230
|
+
}>>;
|
5231
|
+
};
|
5232
|
+
tags: {
|
5233
|
+
get: (options: {
|
5234
|
+
headers: {
|
5235
|
+
authorization: string;
|
5236
|
+
};
|
5237
|
+
query?: Record<string, unknown> | undefined;
|
5238
|
+
fetch?: RequestInit | undefined;
|
5239
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5240
|
+
200: {
|
5125
5241
|
tags: string[];
|
5242
|
+
address: string;
|
5243
|
+
}[];
|
5244
|
+
}>>;
|
5245
|
+
};
|
5246
|
+
sync: {
|
5247
|
+
post: (body: unknown, options: {
|
5248
|
+
headers: {
|
5249
|
+
authorization: string;
|
5126
5250
|
};
|
5251
|
+
query?: Record<string, unknown> | undefined;
|
5252
|
+
fetch?: RequestInit | undefined;
|
5253
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5254
|
+
200: void;
|
5127
5255
|
}>>;
|
5128
5256
|
};
|
5129
5257
|
};
|
5130
5258
|
roots: {
|
5131
|
-
|
5259
|
+
timestamps: {
|
5132
5260
|
get: (options: {
|
5133
5261
|
headers?: Record<string, unknown> | undefined;
|
5134
5262
|
query: {
|
@@ -5139,10 +5267,23 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5139
5267
|
fetch?: RequestInit | undefined;
|
5140
5268
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5141
5269
|
200: {
|
5142
|
-
|
5270
|
+
timestamp: bigint;
|
5143
5271
|
chainId: number;
|
5272
|
+
root: string;
|
5144
5273
|
epoch: number;
|
5145
|
-
|
5274
|
+
}[];
|
5275
|
+
}>>;
|
5276
|
+
};
|
5277
|
+
index: {
|
5278
|
+
get: (options?: {
|
5279
|
+
headers?: Record<string, unknown> | undefined;
|
5280
|
+
query?: Record<string, unknown> | undefined;
|
5281
|
+
fetch?: RequestInit | undefined;
|
5282
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5283
|
+
200: {
|
5284
|
+
live: string;
|
5285
|
+
tree: string;
|
5286
|
+
lastTree: string;
|
5146
5287
|
}[];
|
5147
5288
|
}>>;
|
5148
5289
|
};
|
@@ -5242,6 +5383,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5242
5383
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5243
5384
|
200: {
|
5244
5385
|
id: string;
|
5386
|
+
timestamp: number;
|
5245
5387
|
chainId: number;
|
5246
5388
|
fromTokenId: string;
|
5247
5389
|
toTokenId: string;
|
@@ -5250,7 +5392,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5250
5392
|
amountIn: string;
|
5251
5393
|
amountOut: string;
|
5252
5394
|
datetime: Date;
|
5253
|
-
timestamp: number;
|
5254
5395
|
}[];
|
5255
5396
|
}>>;
|
5256
5397
|
};
|
@@ -5420,12 +5561,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5420
5561
|
fetch?: RequestInit | undefined;
|
5421
5562
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5422
5563
|
200: {
|
5564
|
+
error: string;
|
5565
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5566
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5423
5567
|
campaignId: string;
|
5424
5568
|
computedUntil: bigint;
|
5425
5569
|
processingStarted: bigint;
|
5426
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5427
|
-
error: string;
|
5428
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
5429
5570
|
}[];
|
5430
5571
|
}>>;
|
5431
5572
|
};
|
@@ -5439,27 +5580,27 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5439
5580
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5440
5581
|
200: ({
|
5441
5582
|
Campaign: {
|
5583
|
+
type: import("../../database/api/.generated").$Enums.CampaignType;
|
5442
5584
|
id: string;
|
5585
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
5586
|
+
subType: number | null;
|
5587
|
+
startTimestamp: bigint;
|
5588
|
+
endTimestamp: bigint;
|
5443
5589
|
computeChainId: number;
|
5444
5590
|
distributionChainId: number;
|
5445
5591
|
campaignId: string;
|
5446
|
-
type: import("../../database/api/.generated").$Enums.CampaignType;
|
5447
|
-
subType: number | null;
|
5448
5592
|
rewardTokenId: string;
|
5449
5593
|
amount: string;
|
5450
5594
|
opportunityId: string;
|
5451
|
-
startTimestamp: bigint;
|
5452
|
-
endTimestamp: bigint;
|
5453
|
-
params: import("../../database/api/.generated").Prisma.JsonValue;
|
5454
5595
|
creatorAddress: string;
|
5455
5596
|
};
|
5456
5597
|
} & {
|
5598
|
+
error: string;
|
5599
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5600
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5457
5601
|
campaignId: string;
|
5458
5602
|
computedUntil: bigint;
|
5459
5603
|
processingStarted: bigint;
|
5460
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5461
|
-
error: string;
|
5462
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
5463
5604
|
})[];
|
5464
5605
|
}>>;
|
5465
5606
|
};
|
@@ -5473,12 +5614,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5473
5614
|
fetch?: RequestInit | undefined;
|
5474
5615
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5475
5616
|
200: {
|
5617
|
+
error: string;
|
5618
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5619
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5476
5620
|
campaignId: string;
|
5477
5621
|
computedUntil: bigint;
|
5478
5622
|
processingStarted: bigint;
|
5479
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5480
|
-
error: string;
|
5481
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
5482
5623
|
};
|
5483
5624
|
}>>;
|
5484
5625
|
};
|
@@ -5491,12 +5632,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
5491
5632
|
fetch?: RequestInit | undefined;
|
5492
5633
|
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5493
5634
|
200: {
|
5635
|
+
error: string;
|
5636
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5637
|
+
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5494
5638
|
campaignId: string;
|
5495
5639
|
computedUntil: bigint;
|
5496
5640
|
processingStarted: bigint;
|
5497
|
-
status: import("../../database/api/.generated").$Enums.RunStatus;
|
5498
|
-
error: string;
|
5499
|
-
details: import("../../database/api/.generated").Prisma.JsonValue;
|
5500
5641
|
}[];
|
5501
5642
|
}>>;
|
5502
5643
|
}) & {};
|