@merkl/api 0.19.22 → 0.19.24
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 +55 -55
- package/dist/src/engine/erc20SubTypeProcessors/GenericProcessor.js +2 -2
- package/dist/src/engine/erc20SubTypeProcessors/helpers/tokenType.d.ts +5 -5
- package/dist/src/engine/erc20SubTypeProcessors/helpers/tokenType.js +103 -94
- package/dist/src/engine/opportunityMetadata/implementations/Ajna.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Ambient.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Badger.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Clamm.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Clamm.js +17 -4
- package/dist/src/engine/opportunityMetadata/implementations/Compound.js +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Default.d.ts +0 -1
- package/dist/src/engine/opportunityMetadata/implementations/Default.js +0 -1
- package/dist/src/engine/opportunityMetadata/implementations/Dolomite.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/EigenLayer.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Encompassing.js +5 -0
- package/dist/src/engine/opportunityMetadata/implementations/Euler.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/EventBased.d.ts +1 -1
- package/dist/src/engine/opportunityMetadata/implementations/EventBased.js +7 -6
- package/dist/src/engine/opportunityMetadata/implementations/Hyperdrive.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Ion.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/JsonAirdrop.d.ts +2 -2
- package/dist/src/engine/opportunityMetadata/implementations/Morpho.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Radiant.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Silo.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/UniswapV4.d.ts +2 -1
- package/dist/src/engine/opportunityMetadata/implementations/Vest.d.ts +2 -1
- package/dist/src/index.d.ts +11 -11
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/enso/enso.model.d.ts +2 -2
- package/dist/src/modules/v4/enso/enso.model.js +2 -2
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.model.js +3 -3
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +4 -4
- package/dist/src/modules/v4/kyberzap/kyberzap.model.js +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -3
- package/dist/src/modules/v4/protocol/protocol.model.js +49 -9
- package/dist/src/modules/v4/protocol/protocol.repository.js +12 -0
- package/dist/src/modules/v4/protocol/protocol.service.js +0 -4
- package/dist/src/modules/v4/router.d.ts +11 -11
- package/dist/src/modules/v4/status/status.service.js +6 -0
- package/dist/src/modules/v4/token/token.controller.d.ts +9 -9
- package/dist/src/modules/v4/token/token.model.d.ts +5 -5
- package/dist/src/modules/v4/token/token.model.js +7 -5
- package/dist/src/modules/v4/token/token.service.js +5 -5
- package/dist/src/utils/caseChanges.d.ts +1 -0
- package/dist/src/utils/caseChanges.js +3 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/database/api/seeder/resources/protocol.d.ts +0 -373
- package/dist/database/api/seeder/resources/protocol.js +0 -344
@@ -1,344 +0,0 @@
|
|
1
|
-
const bucket = (name) => `https://storage.googleapis.com/merkl-assets/protocols/${name}`;
|
2
|
-
export default {
|
3
|
-
// ─── AMM ─────────────────────────────────────────────────────────────
|
4
|
-
arthswap: {
|
5
|
-
id: "arthswap",
|
6
|
-
name: "ArthSwap",
|
7
|
-
tags: ["ALM"],
|
8
|
-
icon: bucket("arthswap.svg"),
|
9
|
-
url: "",
|
10
|
-
},
|
11
|
-
baseswap: {
|
12
|
-
id: "baseswap",
|
13
|
-
name: "BaseSwap",
|
14
|
-
tags: ["ALM"],
|
15
|
-
icon: bucket("baseswap.svg"),
|
16
|
-
url: "",
|
17
|
-
},
|
18
|
-
camelot: {
|
19
|
-
id: "camelot",
|
20
|
-
name: "Camelot",
|
21
|
-
tags: ["ALM"],
|
22
|
-
icon: bucket("camelot.svg"),
|
23
|
-
url: "",
|
24
|
-
},
|
25
|
-
crust: {
|
26
|
-
id: "crust",
|
27
|
-
name: "Crust",
|
28
|
-
tags: ["ALM"],
|
29
|
-
icon: bucket("crust.svg"),
|
30
|
-
url: "",
|
31
|
-
},
|
32
|
-
fenix: {
|
33
|
-
id: "fenix",
|
34
|
-
name: "Fenix",
|
35
|
-
tags: ["ALM"],
|
36
|
-
icon: bucket("fenix.svg"),
|
37
|
-
url: "",
|
38
|
-
},
|
39
|
-
horiza: {
|
40
|
-
id: "horiza",
|
41
|
-
name: "Horiza",
|
42
|
-
tags: ["ALM"],
|
43
|
-
icon: bucket("horiza.svg"),
|
44
|
-
url: "",
|
45
|
-
},
|
46
|
-
izumi: {
|
47
|
-
id: "izumi",
|
48
|
-
name: "Izumi",
|
49
|
-
tags: ["ALM"],
|
50
|
-
icon: bucket("izumi.svg"),
|
51
|
-
url: "",
|
52
|
-
},
|
53
|
-
kim: {
|
54
|
-
id: "kim",
|
55
|
-
name: "Kim",
|
56
|
-
tags: ["ALM"],
|
57
|
-
icon: bucket("kim.svg"),
|
58
|
-
url: "",
|
59
|
-
},
|
60
|
-
pancakeswap: {
|
61
|
-
id: "pancakeswap",
|
62
|
-
name: "PancakeSwap",
|
63
|
-
tags: ["ALM"],
|
64
|
-
icon: bucket("pancakeswap.svg"),
|
65
|
-
url: "",
|
66
|
-
},
|
67
|
-
quickswap: {
|
68
|
-
id: "quickswap",
|
69
|
-
name: "Quickswap",
|
70
|
-
tags: ["ALM"],
|
71
|
-
icon: bucket("quickswap.svg"),
|
72
|
-
url: "",
|
73
|
-
},
|
74
|
-
ramses: {
|
75
|
-
id: "ramses",
|
76
|
-
name: "Ramses",
|
77
|
-
tags: ["ALM"],
|
78
|
-
icon: bucket("ramses.svg"),
|
79
|
-
url: "",
|
80
|
-
},
|
81
|
-
retro: {
|
82
|
-
id: "retro",
|
83
|
-
name: "Retro",
|
84
|
-
tags: ["ALM"],
|
85
|
-
icon: bucket("retro.svg"),
|
86
|
-
url: "",
|
87
|
-
},
|
88
|
-
stryke: {
|
89
|
-
id: "stryke",
|
90
|
-
name: "Stryke",
|
91
|
-
tags: ["ALM"],
|
92
|
-
icon: bucket("stryke.svg"),
|
93
|
-
url: "",
|
94
|
-
},
|
95
|
-
"stryke-pcs": {
|
96
|
-
id: "stryke-pcs",
|
97
|
-
name: "StrykePCS",
|
98
|
-
tags: ["ALM"],
|
99
|
-
icon: bucket("stryke.svg"),
|
100
|
-
url: "",
|
101
|
-
},
|
102
|
-
"stryke-sushi": {
|
103
|
-
id: "stryke-sushi",
|
104
|
-
name: "StrykeSushi",
|
105
|
-
tags: ["ALM"],
|
106
|
-
icon: bucket("stryke.svg"),
|
107
|
-
url: "",
|
108
|
-
},
|
109
|
-
sushiswap: {
|
110
|
-
id: "sushiswap",
|
111
|
-
name: "SushiSwap",
|
112
|
-
tags: ["ALM"],
|
113
|
-
icon: bucket("sushi.svg"),
|
114
|
-
url: "https://www.sushi.com/ethereum/swap",
|
115
|
-
},
|
116
|
-
swapr: {
|
117
|
-
id: "swapr",
|
118
|
-
name: "Swapr",
|
119
|
-
tags: ["ALM"],
|
120
|
-
icon: bucket("swapr.svg"),
|
121
|
-
url: "",
|
122
|
-
},
|
123
|
-
thruster: {
|
124
|
-
id: "thruster",
|
125
|
-
name: "Thruster",
|
126
|
-
tags: ["ALM"],
|
127
|
-
icon: bucket("thruster.svg"),
|
128
|
-
url: "",
|
129
|
-
},
|
130
|
-
voltage: {
|
131
|
-
id: "voltage",
|
132
|
-
name: "Voltage",
|
133
|
-
tags: ["ALM"],
|
134
|
-
icon: bucket("voltage.svg"),
|
135
|
-
url: "",
|
136
|
-
},
|
137
|
-
zero: {
|
138
|
-
id: "zero",
|
139
|
-
name: "Zero",
|
140
|
-
tags: ["ALM"],
|
141
|
-
icon: bucket("zero.svg"),
|
142
|
-
url: "",
|
143
|
-
},
|
144
|
-
koi: {
|
145
|
-
id: "koi",
|
146
|
-
name: "Koi",
|
147
|
-
tags: ["ALM", "DEX"],
|
148
|
-
icon: bucket("koi.svg"),
|
149
|
-
url: "",
|
150
|
-
},
|
151
|
-
// ─── LP DEX ──────────────────────────────────────────────────────────
|
152
|
-
uniswap: {
|
153
|
-
id: "uniswap",
|
154
|
-
name: "Uniswap",
|
155
|
-
tags: ["DEX"],
|
156
|
-
icon: bucket("uniswap.svg"),
|
157
|
-
url: "",
|
158
|
-
},
|
159
|
-
velodrome: {
|
160
|
-
id: "velodrome",
|
161
|
-
name: "Velodrome",
|
162
|
-
tags: ["DEX"],
|
163
|
-
icon: bucket("velodrome.svg"),
|
164
|
-
url: "",
|
165
|
-
},
|
166
|
-
aerodrome: {
|
167
|
-
id: "aerodrome",
|
168
|
-
name: "Aerodrome",
|
169
|
-
tags: ["DEX"],
|
170
|
-
icon: bucket("aerodrome.svg"),
|
171
|
-
url: "",
|
172
|
-
},
|
173
|
-
balancer: {
|
174
|
-
id: "balancer",
|
175
|
-
name: "Balancer",
|
176
|
-
tags: ["DEX"],
|
177
|
-
icon: bucket("balancer.svg"),
|
178
|
-
url: "",
|
179
|
-
},
|
180
|
-
curve: {
|
181
|
-
id: "curve",
|
182
|
-
name: "Curve",
|
183
|
-
tags: ["DEX"],
|
184
|
-
icon: bucket("curve.svg"),
|
185
|
-
url: "",
|
186
|
-
},
|
187
|
-
aura: {
|
188
|
-
id: "aura",
|
189
|
-
name: "Aura",
|
190
|
-
tags: ["DEX"],
|
191
|
-
icon: bucket("aura.svg"),
|
192
|
-
url: "",
|
193
|
-
},
|
194
|
-
akron: {
|
195
|
-
id: "akron",
|
196
|
-
name: "Akron",
|
197
|
-
tags: ["DEX"],
|
198
|
-
icon: bucket("akron.svg"),
|
199
|
-
url: "",
|
200
|
-
},
|
201
|
-
beefy: {
|
202
|
-
id: "beefy",
|
203
|
-
name: "Beefy Vaults",
|
204
|
-
tags: ["DEX"],
|
205
|
-
icon: bucket("beefy.svg"),
|
206
|
-
url: "",
|
207
|
-
},
|
208
|
-
dragonswap: {
|
209
|
-
id: "dragonswap",
|
210
|
-
name: "DragonSwap",
|
211
|
-
tags: ["DEX"],
|
212
|
-
icon: bucket("dragonswap.svg"),
|
213
|
-
url: "",
|
214
|
-
},
|
215
|
-
poolside: {
|
216
|
-
id: "poolside",
|
217
|
-
name: "Poolside",
|
218
|
-
tags: ["DEX"],
|
219
|
-
icon: bucket("poolside.svg"),
|
220
|
-
url: "",
|
221
|
-
},
|
222
|
-
// ─── LP Lending ──────────────────────────────────────────────────────
|
223
|
-
radiant: {
|
224
|
-
id: "radiant",
|
225
|
-
name: "Radiant",
|
226
|
-
tags: ["DEX", "LENDING"],
|
227
|
-
icon: bucket("radiant.svg"),
|
228
|
-
url: "",
|
229
|
-
},
|
230
|
-
aave: {
|
231
|
-
id: "aave",
|
232
|
-
name: "Aave",
|
233
|
-
tags: ["LENDING"],
|
234
|
-
icon: bucket("aave.svg"),
|
235
|
-
url: "",
|
236
|
-
},
|
237
|
-
euler: {
|
238
|
-
id: "euler",
|
239
|
-
name: "Euler",
|
240
|
-
tags: ["LENDING"],
|
241
|
-
icon: bucket("euler.svg"),
|
242
|
-
url: "",
|
243
|
-
},
|
244
|
-
gearbox: {
|
245
|
-
id: "gearbox",
|
246
|
-
name: "Gearbox",
|
247
|
-
tags: ["LENDING"],
|
248
|
-
icon: bucket("gearbox.svg"),
|
249
|
-
url: "",
|
250
|
-
},
|
251
|
-
compound: {
|
252
|
-
id: "compound",
|
253
|
-
name: "Compound",
|
254
|
-
tags: ["LENDING"],
|
255
|
-
icon: bucket("compound.svg"),
|
256
|
-
url: "",
|
257
|
-
},
|
258
|
-
sturdy: {
|
259
|
-
id: "sturdy",
|
260
|
-
name: "Sturdy",
|
261
|
-
tags: ["LENDING"],
|
262
|
-
icon: bucket("sturdy.svg"),
|
263
|
-
url: "",
|
264
|
-
},
|
265
|
-
frax: {
|
266
|
-
id: "frax",
|
267
|
-
name: "Frax",
|
268
|
-
tags: ["LENDING"],
|
269
|
-
icon: bucket("frax.svg"),
|
270
|
-
url: "",
|
271
|
-
},
|
272
|
-
ionic: {
|
273
|
-
id: "ionic",
|
274
|
-
name: "Ionic",
|
275
|
-
tags: ["LENDING"],
|
276
|
-
icon: bucket("ionic.svg"),
|
277
|
-
url: "",
|
278
|
-
},
|
279
|
-
moonwell: {
|
280
|
-
id: "moonwell",
|
281
|
-
name: "Moonwell",
|
282
|
-
tags: ["LENDING"],
|
283
|
-
icon: bucket("moonwell.svg"),
|
284
|
-
url: "",
|
285
|
-
},
|
286
|
-
fluid: {
|
287
|
-
id: "fluid",
|
288
|
-
name: "Fluid",
|
289
|
-
tags: ["LENDING"],
|
290
|
-
icon: bucket("fluid.svg"),
|
291
|
-
url: "",
|
292
|
-
},
|
293
|
-
silo: {
|
294
|
-
id: "silo",
|
295
|
-
name: "Silo",
|
296
|
-
tags: ["LENDING"],
|
297
|
-
icon: bucket("silo.svg"),
|
298
|
-
url: "",
|
299
|
-
},
|
300
|
-
morpho: { id: "morpho", name: "Morpho", icon: bucket("morpho.svg"), url: "" },
|
301
|
-
coumpound: {
|
302
|
-
id: "coumpound",
|
303
|
-
name: "Compound",
|
304
|
-
icon: bucket("coumpound.svg"),
|
305
|
-
url: "",
|
306
|
-
},
|
307
|
-
dolomite: {
|
308
|
-
id: "dolomite",
|
309
|
-
name: "Dolomite",
|
310
|
-
icon: bucket("dolomite.svg"),
|
311
|
-
url: "",
|
312
|
-
},
|
313
|
-
badger: { id: "badger", name: "Badger", icon: bucket("badger.svg"), url: "" },
|
314
|
-
ion: { id: "ion", name: "Ion", icon: bucket("ion.svg"), url: "" },
|
315
|
-
eigenlayer: { id: "eigenlayer", name: "EigenLayer", icon: bucket("eigenlayer.svg"), tags: ["LENDING"], url: "" },
|
316
|
-
vest: { id: "vest", name: "vest", icon: bucket("vest.svg"), tags: ["LENDING"], url: "" },
|
317
|
-
ajna: { id: "ajna", name: "Ajna", icon: bucket("ajna.svg"), url: "" },
|
318
|
-
layerbank: {
|
319
|
-
id: "layerbank",
|
320
|
-
name: "LayerBank",
|
321
|
-
icon: bucket("layerbank.svg"),
|
322
|
-
url: "",
|
323
|
-
},
|
324
|
-
supswap: {
|
325
|
-
id: "supswap",
|
326
|
-
name: "Supswap",
|
327
|
-
icon: bucket("subswap.svg"),
|
328
|
-
url: "",
|
329
|
-
},
|
330
|
-
zkswap: {
|
331
|
-
id: "zkswap",
|
332
|
-
name: "ZKSwap",
|
333
|
-
tags: ["DEX"],
|
334
|
-
icon: bucket("zkswap.svg"),
|
335
|
-
url: "",
|
336
|
-
},
|
337
|
-
thirdtrade: {
|
338
|
-
id: "thirdtrade",
|
339
|
-
name: "ThirdTrade",
|
340
|
-
tags: ["DEX"],
|
341
|
-
icon: bucket("thirdtrade.svg"),
|
342
|
-
url: "",
|
343
|
-
},
|
344
|
-
};
|