@merkl/api 1.0.94 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/eden/index.d.ts +122 -10
- package/dist/src/index.d.ts +61 -5
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +58 -45
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +44 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +28 -4
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +23 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
- package/dist/src/modules/v4/programPayload/programPayload.service.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +10 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +13 -0
- package/dist/src/modules/v4/router.d.ts +61 -5
- package/dist/src/modules/v4/token/token.controller.d.ts +11 -1
- package/dist/src/modules/v4/token/token.model.d.ts +19 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +5 -0
- package/dist/src/modules/v4/token/token.service.d.ts +15 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type Campaign, type CampaignParameters, type ChainId } from "@angleprotocol/sdk/ts";
|
2
|
+
import { TokenType } from "@package/databases";
|
2
3
|
import { Prisma } from "@package/databases/api";
|
3
4
|
import type { Pricer } from "../../../utils/pricer";
|
4
5
|
import type { CreateTokenModel, NotionWebhookModel } from "./token.model";
|
@@ -24,6 +25,7 @@ export declare abstract class TokenService {
|
|
24
25
|
address: string;
|
25
26
|
id: string;
|
26
27
|
chainId: number;
|
28
|
+
type: TokenType;
|
27
29
|
icon: string;
|
28
30
|
isNative: boolean;
|
29
31
|
isPoint: boolean;
|
@@ -49,6 +51,7 @@ export declare abstract class TokenService {
|
|
49
51
|
address: string;
|
50
52
|
id: string;
|
51
53
|
chainId: number;
|
54
|
+
type: TokenType;
|
52
55
|
icon: string;
|
53
56
|
isNative: boolean;
|
54
57
|
isPoint: boolean;
|
@@ -71,6 +74,7 @@ export declare abstract class TokenService {
|
|
71
74
|
address: string;
|
72
75
|
id: string;
|
73
76
|
chainId: number;
|
77
|
+
type: TokenType;
|
74
78
|
icon: string;
|
75
79
|
isNative: boolean;
|
76
80
|
isPoint: boolean;
|
@@ -116,6 +120,7 @@ export declare abstract class TokenService {
|
|
116
120
|
address: string;
|
117
121
|
id: string;
|
118
122
|
chainId: number;
|
123
|
+
type: TokenType;
|
119
124
|
icon: string;
|
120
125
|
isNative: boolean;
|
121
126
|
isPoint: boolean;
|
@@ -139,6 +144,7 @@ export declare abstract class TokenService {
|
|
139
144
|
address: string;
|
140
145
|
id: string;
|
141
146
|
chainId: number;
|
147
|
+
type: TokenType;
|
142
148
|
icon: string;
|
143
149
|
isNative: boolean;
|
144
150
|
isPoint: boolean;
|
@@ -169,6 +175,7 @@ export declare abstract class TokenService {
|
|
169
175
|
address: string;
|
170
176
|
id: string;
|
171
177
|
chainId: number;
|
178
|
+
type: TokenType;
|
172
179
|
icon: string;
|
173
180
|
isNative: boolean;
|
174
181
|
isPoint: boolean;
|
@@ -192,6 +199,7 @@ export declare abstract class TokenService {
|
|
192
199
|
address: string;
|
193
200
|
id: string;
|
194
201
|
chainId: number;
|
202
|
+
type: TokenType;
|
195
203
|
icon: string;
|
196
204
|
isNative: boolean;
|
197
205
|
isPoint: boolean;
|
@@ -211,6 +219,7 @@ export declare abstract class TokenService {
|
|
211
219
|
address: string;
|
212
220
|
id: string;
|
213
221
|
chainId: number;
|
222
|
+
type: TokenType;
|
214
223
|
icon: string;
|
215
224
|
isNative: boolean;
|
216
225
|
isPoint: boolean;
|
@@ -254,6 +263,7 @@ export declare abstract class TokenService {
|
|
254
263
|
address: string;
|
255
264
|
id: string;
|
256
265
|
chainId: number;
|
266
|
+
type: TokenType;
|
257
267
|
icon: string;
|
258
268
|
isNative: boolean;
|
259
269
|
isPoint: boolean;
|
@@ -278,6 +288,7 @@ export declare abstract class TokenService {
|
|
278
288
|
address: string;
|
279
289
|
id: string;
|
280
290
|
chainId: number;
|
291
|
+
type: TokenType;
|
281
292
|
icon: string;
|
282
293
|
isNative: boolean;
|
283
294
|
isPoint: boolean;
|
@@ -297,6 +308,7 @@ export declare abstract class TokenService {
|
|
297
308
|
address: string;
|
298
309
|
id: string;
|
299
310
|
chainId: number;
|
311
|
+
type: TokenType;
|
300
312
|
icon: string;
|
301
313
|
isNative: boolean;
|
302
314
|
isPoint: boolean;
|
@@ -313,6 +325,7 @@ export declare abstract class TokenService {
|
|
313
325
|
address: string;
|
314
326
|
id: string;
|
315
327
|
chainId: number;
|
328
|
+
type: TokenType;
|
316
329
|
icon: string;
|
317
330
|
isNative: boolean;
|
318
331
|
isPoint: boolean;
|
@@ -329,6 +342,7 @@ export declare abstract class TokenService {
|
|
329
342
|
address: string;
|
330
343
|
id: string;
|
331
344
|
chainId: number;
|
345
|
+
type: TokenType;
|
332
346
|
icon: string;
|
333
347
|
isNative: boolean;
|
334
348
|
isPoint: boolean;
|
@@ -350,6 +364,7 @@ export declare abstract class TokenService {
|
|
350
364
|
address: string;
|
351
365
|
id: string;
|
352
366
|
chainId: number;
|
367
|
+
type: TokenType;
|
353
368
|
icon: string;
|
354
369
|
isNative: boolean;
|
355
370
|
isPoint: boolean;
|
@@ -199,6 +199,7 @@ export declare const UserController: Elysia<"/users", {
|
|
199
199
|
address: string;
|
200
200
|
id: string;
|
201
201
|
chainId: number;
|
202
|
+
type: import("@package/databases").TokenType;
|
202
203
|
icon: string;
|
203
204
|
isNative: boolean;
|
204
205
|
isPoint: boolean;
|
@@ -224,6 +225,7 @@ export declare const UserController: Elysia<"/users", {
|
|
224
225
|
address: string;
|
225
226
|
id: string;
|
226
227
|
chainId: number;
|
228
|
+
type: import("@package/databases").TokenType;
|
227
229
|
icon: string;
|
228
230
|
isNative: boolean;
|
229
231
|
isPoint: boolean;
|