@merkl/api 1.6.80 → 1.6.82
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 +46 -19
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +30 -30
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.js.map +1 -1
- package/dist/src/engine/implementations/Aave/metadata.d.ts +2 -2
- package/dist/src/engine/implementations/AaveNetLending/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/AaveNetLending/metadata.js.map +1 -0
- package/dist/src/engine/implementations/Erc20CrossChain/metadata.d.ts +31 -0
- package/dist/src/engine/implementations/Erc20CrossChain/metadata.js.map +1 -0
- package/dist/src/engine/implementations/MultiTokenCrossChain/metadata.d.ts +38 -0
- package/dist/src/engine/implementations/MultiTokenCrossChain/metadata.js.map +1 -0
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/index.d.ts +51 -17
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.js.map +1 -1
- package/dist/src/modules/v4/clamm/clamm.controller.d.ts +2 -2
- package/dist/src/modules/v4/config/config.controller.d.ts +25 -0
- package/dist/src/modules/v4/config/config.controller.js.map +1 -1
- package/dist/src/modules/v4/config/config.service.d.ts +2 -0
- package/dist/src/modules/v4/config/config.service.js.map +1 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +1 -0
- package/dist/src/modules/v4/protocol/protocol.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +51 -17
- package/dist/src/modules/v4/template/template.controller.d.ts +24 -15
- package/dist/src/modules/v4/template/template.controller.js.map +1 -1
- package/dist/src/modules/v4/template/template.formatter.js.map +1 -1
- package/dist/src/modules/v4/template/template.repository.d.ts +9 -8
- package/dist/src/modules/v4/template/template.repository.js.map +1 -1
- package/dist/src/modules/v4/template/template.service.d.ts +19 -18
- package/dist/src/modules/v4/template/template.service.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +60 -60
- package/dist/src/utils/parseDistributionType.d.ts +60 -60
- package/package.json +1 -1
|
@@ -35,8 +35,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
37
37
|
description: string;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
baseConfig: any;
|
|
39
|
+
completionConfig: {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
};
|
|
40
42
|
protocolId?: string | undefined;
|
|
41
43
|
protocol?: {
|
|
42
44
|
id: string;
|
|
@@ -108,8 +110,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
108
110
|
id: string;
|
|
109
111
|
name: string;
|
|
110
112
|
description: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
baseConfig: any;
|
|
114
|
+
completionConfig: {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
};
|
|
113
117
|
protocolId?: string | undefined;
|
|
114
118
|
protocol?: {
|
|
115
119
|
id: string;
|
|
@@ -145,8 +149,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
145
149
|
body: {
|
|
146
150
|
name: string;
|
|
147
151
|
description: string;
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
baseConfig: any;
|
|
153
|
+
completionConfig: {
|
|
154
|
+
[x: string]: any;
|
|
155
|
+
};
|
|
150
156
|
protocolId?: string | undefined;
|
|
151
157
|
};
|
|
152
158
|
params: {};
|
|
@@ -159,8 +165,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
159
165
|
id: string;
|
|
160
166
|
name: string;
|
|
161
167
|
description: string;
|
|
162
|
-
|
|
163
|
-
|
|
168
|
+
baseConfig: any;
|
|
169
|
+
completionConfig: {
|
|
170
|
+
[x: string]: any;
|
|
171
|
+
};
|
|
164
172
|
protocolId?: string | undefined;
|
|
165
173
|
protocol?: {
|
|
166
174
|
id: string;
|
|
@@ -194,11 +202,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
194
202
|
":id": {
|
|
195
203
|
put: {
|
|
196
204
|
body: {
|
|
197
|
-
id: string;
|
|
198
205
|
name?: string | undefined;
|
|
199
206
|
description?: string | undefined;
|
|
200
|
-
|
|
201
|
-
|
|
207
|
+
baseConfig?: any;
|
|
208
|
+
completionConfig?: {} | undefined;
|
|
202
209
|
protocolId?: string | undefined;
|
|
203
210
|
};
|
|
204
211
|
params: {
|
|
@@ -213,8 +220,10 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
213
220
|
id: string;
|
|
214
221
|
name: string;
|
|
215
222
|
description: string;
|
|
216
|
-
|
|
217
|
-
|
|
223
|
+
baseConfig: any;
|
|
224
|
+
completionConfig: {
|
|
225
|
+
[x: string]: any;
|
|
226
|
+
};
|
|
218
227
|
protocolId?: string | undefined;
|
|
219
228
|
protocol?: {
|
|
220
229
|
id: string;
|
|
@@ -261,8 +270,8 @@ export declare const TemplateController: Elysia<"/templates", {
|
|
|
261
270
|
id: string;
|
|
262
271
|
name: string;
|
|
263
272
|
description: string;
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
baseConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
274
|
+
completionConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
266
275
|
protocolId: string | null;
|
|
267
276
|
};
|
|
268
277
|
422: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO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CAAC;IAEF,gLAAgF;KAE/E,KAAK,CAAC;IACL,OAAO,EAAE,uBAAuB;IAChC,YAAY,EAAE,eAAe;CAC9B,CAAC;IAEF;;OAEG;KACF,IAAI,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;IACrD,IAAI,EAAE,oBAAoB,CAAC,IAAI,EAAE;IACjC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;IAEF;;OAEG;KACF,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE;IAChF,MAAM,EAAE,aAAa;IACrB,IAAI,EAAE,oBAAoB,CAAC,IAAI,EAAE;IACjC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;IAEF;;OAEG;KACF,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;IACxE,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.formatter.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.formatter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE;;;GAGG;AACH,MAAM,OAAgB,iBAAiB;IACrC;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,cAA0C,EAAY;QAClE,OAAO;YACL,EAAE,EAAE,cAAc,CAAC,EAAE;YACrB,IAAI,EAAE,cAAc,CAAC,IAAI;YACzB,WAAW,EAAE,cAAc,CAAC,WAAW;YACvC,
|
|
1
|
+
{"version":3,"file":"template.formatter.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.formatter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAMnE;;;GAGG;AACH,MAAM,OAAgB,iBAAiB;IACrC;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,cAA0C,EAAY;QAClE,MAAM,gBAAgB,GAAI,cAAc,CAAC,gBAA4C,IAAI,EAAE,CAAC;QAE5F,OAAO;YACL,EAAE,EAAE,cAAc,CAAC,EAAE;YACrB,IAAI,EAAE,cAAc,CAAC,IAAI;YACzB,WAAW,EAAE,cAAc,CAAC,WAAW;YACvC,UAAU,EAAE,cAAc,CAAC,UAAU;YACrC,gBAAgB;YAChB,UAAU,EAAE,cAAc,CAAC,UAAU,IAAI,SAAS;YAClD,QAAQ,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SAClG,CAAC;IAAA,CACH;IAED;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,eAA6C,EAAc;QAC3E,OAAO,eAAe,CAAC,GAAG,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAAA,CACtD;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Prisma } from "@package/databases/api";
|
|
1
2
|
import type { Template } from "@package/resources/schemas";
|
|
2
3
|
import type { GetTemplatesQueryDtoModel } from "./template.model";
|
|
3
4
|
export declare abstract class TemplateRepository {
|
|
@@ -7,8 +8,8 @@ export declare abstract class TemplateRepository {
|
|
|
7
8
|
static create(body: {
|
|
8
9
|
name: string;
|
|
9
10
|
description: string;
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
baseConfig: Prisma.InputJsonValue;
|
|
12
|
+
completionConfig: Prisma.InputJsonValue;
|
|
12
13
|
protocolId?: string;
|
|
13
14
|
}): Promise<Template>;
|
|
14
15
|
static findMany(query: GetTemplatesQueryDtoModel): Promise<Template[]>;
|
|
@@ -17,20 +18,20 @@ export declare abstract class TemplateRepository {
|
|
|
17
18
|
* Tries ID first, then falls back to name lookup
|
|
18
19
|
*/
|
|
19
20
|
static findUnique(idOrName: string): Promise<Template | null>;
|
|
20
|
-
static update(
|
|
21
|
+
static update(idOrName: string, body: {
|
|
21
22
|
name?: string;
|
|
22
23
|
description?: string;
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
baseConfig?: Prisma.InputJsonValue;
|
|
25
|
+
completionConfig?: Prisma.InputJsonValue;
|
|
25
26
|
protocolId?: string | null;
|
|
26
27
|
}): Promise<Template>;
|
|
27
28
|
static count(query: GetTemplatesQueryDtoModel): Promise<number>;
|
|
28
|
-
static delete(
|
|
29
|
+
static delete(idOrName: string): Promise<{
|
|
29
30
|
id: string;
|
|
30
31
|
name: string;
|
|
31
32
|
description: string;
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
baseConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
34
|
+
completionConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
34
35
|
protocolId: string | null;
|
|
35
36
|
}>;
|
|
36
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"template.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM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UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAErC,OAAO,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC;YAChC,KAAK,EAAE;gBACL,GAAG,CAAC,UAAU,IAAI,EAAE,UAAU,EAAE,CAAC;gBACjC,GAAG,CAAC,MAAM,IAAI;oBACZ,EAAE,EAAE;wBACF,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;wBACnD,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE;qBAC3D;iBACF,CAAC;aACH;SACF,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAgB,EAAE;QACpC,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC;YACpD,KAAK,EAAE;gBACL,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;aAC3C;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CAAC,uBAAuB,QAAQ,EAAE,CAAC,CAAC;QACrD,CAAC;QAED,OAAO,MAAM,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC;YACvC,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE;SAC3B,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import type { CampaignType } from "@package/resources/enums";
|
|
2
1
|
import type { CreateTemplateDto, UpdateTemplateDto } from "@package/resources/schemas";
|
|
3
2
|
import type { GetTemplatesQueryDtoModel } from "./template.model";
|
|
4
3
|
export declare abstract class TemplateService {
|
|
5
|
-
/**
|
|
6
|
-
* Infer which fields need to be filled based on schema validation errors
|
|
7
|
-
*/
|
|
8
|
-
static inferToFill(config: object & {
|
|
9
|
-
campaignType: CampaignType;
|
|
10
|
-
}): string[];
|
|
11
4
|
static create(body: CreateTemplateDto): Promise<{
|
|
12
5
|
id: string;
|
|
13
6
|
name: string;
|
|
14
7
|
description: string;
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
baseConfig: any;
|
|
9
|
+
completionConfig: {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
};
|
|
17
12
|
protocolId?: string | undefined;
|
|
18
13
|
protocol?: {
|
|
19
14
|
id: string;
|
|
@@ -34,8 +29,10 @@ export declare abstract class TemplateService {
|
|
|
34
29
|
id: string;
|
|
35
30
|
name: string;
|
|
36
31
|
description: string;
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
baseConfig: any;
|
|
33
|
+
completionConfig: {
|
|
34
|
+
[x: string]: any;
|
|
35
|
+
};
|
|
39
36
|
protocolId?: string | undefined;
|
|
40
37
|
protocol?: {
|
|
41
38
|
id: string;
|
|
@@ -56,8 +53,10 @@ export declare abstract class TemplateService {
|
|
|
56
53
|
id: string;
|
|
57
54
|
name: string;
|
|
58
55
|
description: string;
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
baseConfig: any;
|
|
57
|
+
completionConfig: {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
};
|
|
61
60
|
protocolId?: string | undefined;
|
|
62
61
|
protocol?: {
|
|
63
62
|
id: string;
|
|
@@ -74,12 +73,14 @@ export declare abstract class TemplateService {
|
|
|
74
73
|
opportunityBannerDark: string | null;
|
|
75
74
|
} | undefined;
|
|
76
75
|
} | null>;
|
|
77
|
-
static update(body: UpdateTemplateDto): Promise<{
|
|
76
|
+
static update(idOrName: string, body: UpdateTemplateDto): Promise<{
|
|
78
77
|
id: string;
|
|
79
78
|
name: string;
|
|
80
79
|
description: string;
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
baseConfig: any;
|
|
81
|
+
completionConfig: {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
};
|
|
83
84
|
protocolId?: string | undefined;
|
|
84
85
|
protocol?: {
|
|
85
86
|
id: string;
|
|
@@ -101,8 +102,8 @@ export declare abstract class TemplateService {
|
|
|
101
102
|
id: string;
|
|
102
103
|
name: string;
|
|
103
104
|
description: string;
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
baseConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
106
|
+
completionConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
106
107
|
protocolId: string | null;
|
|
107
108
|
}>;
|
|
108
109
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"template.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/template/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,OAAgB,eAAe;IACnC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAuB,EAAE;QAC3C,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,eAAe,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC3D,CAAC;QAED,OAAO,kBAAkB,CAAC,MAAM,CAAC;YAC/B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,UAAU,EAAE,IAAI,CAAC,UAAmC;YACpD,gBAAgB,EAAE,IAAI,CAAC,gBAAyC;YAChE,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC,CAAC;IAAA,CACJ;IAED,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAgC,EAAE;QACtD,OAAO,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAAA,CAC3C;IAED,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,QAAgB,EAAE;QACxC,OAAO,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAAA,CAChD;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAgB,EAAE,IAAuB,EAAE;QAC7D,MAAM,UAAU,GAMZ;YACF,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC;QAEF,gFAAgF;QAChF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,UAAmC,CAAC;QACnE,CAAC;QAED,kDAAkD;QAClD,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC1B,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAyC,CAAC;QAC/E,CAAC;QAED,OAAO,kBAAkB,CAAC,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAAA,CACxD;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,KAAgC,EAAE;QACnD,OAAO,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAAA,CACxC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE;QAC9B,OAAO,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAAA,CACtC;CACF"}
|
|
@@ -250,11 +250,6 @@ export declare const getAPR: (params: {
|
|
|
250
250
|
priority: number;
|
|
251
251
|
sender: string;
|
|
252
252
|
} & ({
|
|
253
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
254
|
-
type: string | number;
|
|
255
|
-
owner?: string | undefined;
|
|
256
|
-
target: string;
|
|
257
|
-
} | {
|
|
258
253
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
259
254
|
} | {
|
|
260
255
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -262,6 +257,11 @@ export declare const getAPR: (params: {
|
|
|
262
257
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
263
258
|
} | {
|
|
264
259
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
260
|
+
} | {
|
|
261
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
262
|
+
type: string | number;
|
|
263
|
+
owner?: string | undefined;
|
|
264
|
+
target: string;
|
|
265
265
|
} | {
|
|
266
266
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
267
267
|
token: string;
|
|
@@ -584,11 +584,6 @@ export declare const getAPR: (params: {
|
|
|
584
584
|
priority: number;
|
|
585
585
|
sender: string;
|
|
586
586
|
} & ({
|
|
587
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
588
|
-
type: string | number;
|
|
589
|
-
owner?: string | undefined;
|
|
590
|
-
target: string;
|
|
591
|
-
} | {
|
|
592
587
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
593
588
|
} | {
|
|
594
589
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -596,6 +591,11 @@ export declare const getAPR: (params: {
|
|
|
596
591
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
597
592
|
} | {
|
|
598
593
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
594
|
+
} | {
|
|
595
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
596
|
+
type: string | number;
|
|
597
|
+
owner?: string | undefined;
|
|
598
|
+
target: string;
|
|
599
599
|
} | {
|
|
600
600
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
601
601
|
token: string;
|
|
@@ -1198,11 +1198,6 @@ export declare const getAPR: (params: {
|
|
|
1198
1198
|
priority: number;
|
|
1199
1199
|
sender: string;
|
|
1200
1200
|
} & ({
|
|
1201
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
1202
|
-
type: string | number;
|
|
1203
|
-
owner?: string | undefined;
|
|
1204
|
-
target: string;
|
|
1205
|
-
} | {
|
|
1206
1201
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
1207
1202
|
} | {
|
|
1208
1203
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -1210,6 +1205,11 @@ export declare const getAPR: (params: {
|
|
|
1210
1205
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
1211
1206
|
} | {
|
|
1212
1207
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
1208
|
+
} | {
|
|
1209
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
1210
|
+
type: string | number;
|
|
1211
|
+
owner?: string | undefined;
|
|
1212
|
+
target: string;
|
|
1213
1213
|
} | {
|
|
1214
1214
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
1215
1215
|
token: string;
|
|
@@ -1889,11 +1889,6 @@ export declare const getAPR: (params: {
|
|
|
1889
1889
|
priority: number;
|
|
1890
1890
|
sender: string;
|
|
1891
1891
|
} & ({
|
|
1892
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
1893
|
-
type: string | number;
|
|
1894
|
-
owner?: string | undefined;
|
|
1895
|
-
target: string;
|
|
1896
|
-
} | {
|
|
1897
1892
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
1898
1893
|
} | {
|
|
1899
1894
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -1901,6 +1896,11 @@ export declare const getAPR: (params: {
|
|
|
1901
1896
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
1902
1897
|
} | {
|
|
1903
1898
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
1899
|
+
} | {
|
|
1900
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
1901
|
+
type: string | number;
|
|
1902
|
+
owner?: string | undefined;
|
|
1903
|
+
target: string;
|
|
1904
1904
|
} | {
|
|
1905
1905
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
1906
1906
|
token: string;
|
|
@@ -2275,11 +2275,6 @@ export declare const getAPR: (params: {
|
|
|
2275
2275
|
priority: number;
|
|
2276
2276
|
sender: string;
|
|
2277
2277
|
} & ({
|
|
2278
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
2279
|
-
type: string | number;
|
|
2280
|
-
owner?: string | undefined;
|
|
2281
|
-
target: string;
|
|
2282
|
-
} | {
|
|
2283
2278
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
2284
2279
|
} | {
|
|
2285
2280
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -2287,6 +2282,11 @@ export declare const getAPR: (params: {
|
|
|
2287
2282
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
2288
2283
|
} | {
|
|
2289
2284
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
2285
|
+
} | {
|
|
2286
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
2287
|
+
type: string | number;
|
|
2288
|
+
owner?: string | undefined;
|
|
2289
|
+
target: string;
|
|
2290
2290
|
} | {
|
|
2291
2291
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
2292
2292
|
token: string;
|
|
@@ -2889,11 +2889,6 @@ export declare const getAPR: (params: {
|
|
|
2889
2889
|
priority: number;
|
|
2890
2890
|
sender: string;
|
|
2891
2891
|
} & ({
|
|
2892
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
2893
|
-
type: string | number;
|
|
2894
|
-
owner?: string | undefined;
|
|
2895
|
-
target: string;
|
|
2896
|
-
} | {
|
|
2897
2892
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
2898
2893
|
} | {
|
|
2899
2894
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -2901,6 +2896,11 @@ export declare const getAPR: (params: {
|
|
|
2901
2896
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
2902
2897
|
} | {
|
|
2903
2898
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
2899
|
+
} | {
|
|
2900
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
2901
|
+
type: string | number;
|
|
2902
|
+
owner?: string | undefined;
|
|
2903
|
+
target: string;
|
|
2904
2904
|
} | {
|
|
2905
2905
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
2906
2906
|
token: string;
|
|
@@ -3278,11 +3278,6 @@ export declare const getAPR: (params: {
|
|
|
3278
3278
|
priority: number;
|
|
3279
3279
|
sender: string;
|
|
3280
3280
|
} & ({
|
|
3281
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
3282
|
-
type: string | number;
|
|
3283
|
-
owner?: string | undefined;
|
|
3284
|
-
target: string;
|
|
3285
|
-
} | {
|
|
3286
3281
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
3287
3282
|
} | {
|
|
3288
3283
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -3290,6 +3285,11 @@ export declare const getAPR: (params: {
|
|
|
3290
3285
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
3291
3286
|
} | {
|
|
3292
3287
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
3288
|
+
} | {
|
|
3289
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
3290
|
+
type: string | number;
|
|
3291
|
+
owner?: string | undefined;
|
|
3292
|
+
target: string;
|
|
3293
3293
|
} | {
|
|
3294
3294
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
3295
3295
|
token: string;
|
|
@@ -3892,11 +3892,6 @@ export declare const getAPR: (params: {
|
|
|
3892
3892
|
priority: number;
|
|
3893
3893
|
sender: string;
|
|
3894
3894
|
} & ({
|
|
3895
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
3896
|
-
type: string | number;
|
|
3897
|
-
owner?: string | undefined;
|
|
3898
|
-
target: string;
|
|
3899
|
-
} | {
|
|
3900
3895
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
3901
3896
|
} | {
|
|
3902
3897
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -3904,6 +3899,11 @@ export declare const getAPR: (params: {
|
|
|
3904
3899
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
3905
3900
|
} | {
|
|
3906
3901
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
3902
|
+
} | {
|
|
3903
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
3904
|
+
type: string | number;
|
|
3905
|
+
owner?: string | undefined;
|
|
3906
|
+
target: string;
|
|
3907
3907
|
} | {
|
|
3908
3908
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
3909
3909
|
token: string;
|
|
@@ -4286,11 +4286,6 @@ export declare const getAPR: (params: {
|
|
|
4286
4286
|
priority: number;
|
|
4287
4287
|
sender: string;
|
|
4288
4288
|
} & ({
|
|
4289
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
4290
|
-
type: string | number;
|
|
4291
|
-
owner?: string | undefined;
|
|
4292
|
-
target: string;
|
|
4293
|
-
} | {
|
|
4294
4289
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
4295
4290
|
} | {
|
|
4296
4291
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -4298,6 +4293,11 @@ export declare const getAPR: (params: {
|
|
|
4298
4293
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
4299
4294
|
} | {
|
|
4300
4295
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
4296
|
+
} | {
|
|
4297
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
4298
|
+
type: string | number;
|
|
4299
|
+
owner?: string | undefined;
|
|
4300
|
+
target: string;
|
|
4301
4301
|
} | {
|
|
4302
4302
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
4303
4303
|
token: string;
|
|
@@ -4900,11 +4900,6 @@ export declare const getAPR: (params: {
|
|
|
4900
4900
|
priority: number;
|
|
4901
4901
|
sender: string;
|
|
4902
4902
|
} & ({
|
|
4903
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
4904
|
-
type: string | number;
|
|
4905
|
-
owner?: string | undefined;
|
|
4906
|
-
target: string;
|
|
4907
|
-
} | {
|
|
4908
4903
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
4909
4904
|
} | {
|
|
4910
4905
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -4912,6 +4907,11 @@ export declare const getAPR: (params: {
|
|
|
4912
4907
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
4913
4908
|
} | {
|
|
4914
4909
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
4910
|
+
} | {
|
|
4911
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
4912
|
+
type: string | number;
|
|
4913
|
+
owner?: string | undefined;
|
|
4914
|
+
target: string;
|
|
4915
4915
|
} | {
|
|
4916
4916
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
4917
4917
|
token: string;
|
|
@@ -5295,11 +5295,6 @@ export declare const getAPR: (params: {
|
|
|
5295
5295
|
priority: number;
|
|
5296
5296
|
sender: string;
|
|
5297
5297
|
} & ({
|
|
5298
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
5299
|
-
type: string | number;
|
|
5300
|
-
owner?: string | undefined;
|
|
5301
|
-
target: string;
|
|
5302
|
-
} | {
|
|
5303
5298
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
5304
5299
|
} | {
|
|
5305
5300
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -5307,6 +5302,11 @@ export declare const getAPR: (params: {
|
|
|
5307
5302
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
5308
5303
|
} | {
|
|
5309
5304
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
5305
|
+
} | {
|
|
5306
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
5307
|
+
type: string | number;
|
|
5308
|
+
owner?: string | undefined;
|
|
5309
|
+
target: string;
|
|
5310
5310
|
} | {
|
|
5311
5311
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
5312
5312
|
token: string;
|
|
@@ -5909,11 +5909,6 @@ export declare const getAPR: (params: {
|
|
|
5909
5909
|
priority: number;
|
|
5910
5910
|
sender: string;
|
|
5911
5911
|
} & ({
|
|
5912
|
-
forwarderType: import("@package/resources/enums").CLAMM;
|
|
5913
|
-
type: string | number;
|
|
5914
|
-
owner?: string | undefined;
|
|
5915
|
-
target: string;
|
|
5916
|
-
} | {
|
|
5917
5912
|
forwarderType: import("@package/resources/enums").IRONCLAD_RELIQUARY;
|
|
5918
5913
|
} | {
|
|
5919
5914
|
forwarderType: import("@package/resources/enums").ZKSWAP_FARM;
|
|
@@ -5921,6 +5916,11 @@ export declare const getAPR: (params: {
|
|
|
5921
5916
|
forwarderType: import("@package/resources/enums").SUPERFORM;
|
|
5922
5917
|
} | {
|
|
5923
5918
|
forwarderType: import("@package/resources/enums").SWAP_X_GAUGE;
|
|
5919
|
+
} | {
|
|
5920
|
+
forwarderType: import("@package/resources/enums").CLAMM;
|
|
5921
|
+
type: string | number;
|
|
5922
|
+
owner?: string | undefined;
|
|
5923
|
+
target: string;
|
|
5924
5924
|
} | {
|
|
5925
5925
|
forwarderType: import("@package/resources/enums").ERC20;
|
|
5926
5926
|
token: string;
|