@merkl/api 0.19.22 → 0.19.23
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 +20 -4
- package/dist/src/modules/v4/router.d.ts +11 -11
- 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
package/dist/src/eden/index.d.ts
CHANGED
@@ -130,7 +130,7 @@ declare const eden: {
|
|
130
130
|
} & {
|
131
131
|
price?: number | null | undefined;
|
132
132
|
})[];
|
133
|
-
mainProtocol:
|
133
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
134
134
|
depositUrl: any;
|
135
135
|
tags: string[];
|
136
136
|
};
|
@@ -1210,7 +1210,7 @@ declare const eden: {
|
|
1210
1210
|
} & {
|
1211
1211
|
price?: number | null | undefined;
|
1212
1212
|
})[][];
|
1213
|
-
mainProtocol:
|
1213
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1214
1214
|
depositUrl: any;
|
1215
1215
|
tags: string[];
|
1216
1216
|
};
|
@@ -1874,30 +1874,30 @@ declare const eden: {
|
|
1874
1874
|
post: (body: {
|
1875
1875
|
data: {
|
1876
1876
|
properties: {
|
1877
|
-
|
1878
|
-
rich_text: {
|
1879
|
-
plain_text: string;
|
1880
|
-
}[];
|
1881
|
-
};
|
1882
|
-
Icon: {
|
1877
|
+
"Icon (Required)": {
|
1883
1878
|
files: {
|
1884
1879
|
file: {
|
1885
1880
|
url: string;
|
1886
1881
|
};
|
1887
1882
|
}[];
|
1888
1883
|
};
|
1889
|
-
Address: {
|
1884
|
+
"Address (in checksum format) (Required)": {
|
1890
1885
|
rich_text: {
|
1891
1886
|
plain_text: string;
|
1892
1887
|
}[];
|
1893
1888
|
};
|
1894
|
-
"Chain ID": {
|
1889
|
+
"Chain ID (Required)": {
|
1895
1890
|
number: number;
|
1896
1891
|
};
|
1892
|
+
"Symbol (Optional)": {
|
1893
|
+
rich_text: {
|
1894
|
+
plain_text: string;
|
1895
|
+
}[];
|
1896
|
+
};
|
1897
1897
|
Verified: {
|
1898
1898
|
checkbox: boolean;
|
1899
1899
|
};
|
1900
|
-
"CoinGecko API ID": {
|
1900
|
+
"CoinGecko API ID (Recommended)": {
|
1901
1901
|
rich_text: {
|
1902
1902
|
plain_text: string;
|
1903
1903
|
}[];
|
@@ -3780,7 +3780,7 @@ declare const eden: {
|
|
3780
3780
|
} & {
|
3781
3781
|
price?: number | null | undefined;
|
3782
3782
|
})[];
|
3783
|
-
mainProtocol:
|
3783
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
3784
3784
|
depositUrl: any;
|
3785
3785
|
tags: string[];
|
3786
3786
|
};
|
@@ -4860,7 +4860,7 @@ declare const eden: {
|
|
4860
4860
|
} & {
|
4861
4861
|
price?: number | null | undefined;
|
4862
4862
|
})[][];
|
4863
|
-
mainProtocol:
|
4863
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
4864
4864
|
depositUrl: any;
|
4865
4865
|
tags: string[];
|
4866
4866
|
};
|
@@ -5524,30 +5524,30 @@ declare const eden: {
|
|
5524
5524
|
post: (body: {
|
5525
5525
|
data: {
|
5526
5526
|
properties: {
|
5527
|
-
|
5528
|
-
rich_text: {
|
5529
|
-
plain_text: string;
|
5530
|
-
}[];
|
5531
|
-
};
|
5532
|
-
Icon: {
|
5527
|
+
"Icon (Required)": {
|
5533
5528
|
files: {
|
5534
5529
|
file: {
|
5535
5530
|
url: string;
|
5536
5531
|
};
|
5537
5532
|
}[];
|
5538
5533
|
};
|
5539
|
-
Address: {
|
5534
|
+
"Address (in checksum format) (Required)": {
|
5540
5535
|
rich_text: {
|
5541
5536
|
plain_text: string;
|
5542
5537
|
}[];
|
5543
5538
|
};
|
5544
|
-
"Chain ID": {
|
5539
|
+
"Chain ID (Required)": {
|
5545
5540
|
number: number;
|
5546
5541
|
};
|
5542
|
+
"Symbol (Optional)": {
|
5543
|
+
rich_text: {
|
5544
|
+
plain_text: string;
|
5545
|
+
}[];
|
5546
|
+
};
|
5547
5547
|
Verified: {
|
5548
5548
|
checkbox: boolean;
|
5549
5549
|
};
|
5550
|
-
"CoinGecko API ID": {
|
5550
|
+
"CoinGecko API ID (Recommended)": {
|
5551
5551
|
rich_text: {
|
5552
5552
|
plain_text: string;
|
5553
5553
|
}[];
|
@@ -8201,7 +8201,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8201
8201
|
} & {
|
8202
8202
|
price?: number | null | undefined;
|
8203
8203
|
})[];
|
8204
|
-
mainProtocol:
|
8204
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
8205
8205
|
depositUrl: any;
|
8206
8206
|
tags: string[];
|
8207
8207
|
};
|
@@ -9266,7 +9266,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9266
9266
|
} & {
|
9267
9267
|
price?: number | null | undefined;
|
9268
9268
|
})[][];
|
9269
|
-
mainProtocol:
|
9269
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
9270
9270
|
depositUrl: any;
|
9271
9271
|
tags: string[];
|
9272
9272
|
};
|
@@ -10245,30 +10245,30 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10245
10245
|
body: {
|
10246
10246
|
data: {
|
10247
10247
|
properties: {
|
10248
|
-
|
10249
|
-
rich_text: {
|
10250
|
-
plain_text: string;
|
10251
|
-
}[];
|
10252
|
-
};
|
10253
|
-
Icon: {
|
10248
|
+
"Icon (Required)": {
|
10254
10249
|
files: {
|
10255
10250
|
file: {
|
10256
10251
|
url: string;
|
10257
10252
|
};
|
10258
10253
|
}[];
|
10259
10254
|
};
|
10260
|
-
Address: {
|
10255
|
+
"Address (in checksum format) (Required)": {
|
10261
10256
|
rich_text: {
|
10262
10257
|
plain_text: string;
|
10263
10258
|
}[];
|
10264
10259
|
};
|
10265
|
-
"Chain ID": {
|
10260
|
+
"Chain ID (Required)": {
|
10266
10261
|
number: number;
|
10267
10262
|
};
|
10263
|
+
"Symbol (Optional)": {
|
10264
|
+
rich_text: {
|
10265
|
+
plain_text: string;
|
10266
|
+
}[];
|
10267
|
+
};
|
10268
10268
|
Verified: {
|
10269
10269
|
checkbox: boolean;
|
10270
10270
|
};
|
10271
|
-
"CoinGecko API ID": {
|
10271
|
+
"CoinGecko API ID (Recommended)": {
|
10272
10272
|
rich_text: {
|
10273
10273
|
plain_text: string;
|
10274
10274
|
}[];
|
@@ -13494,7 +13494,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13494
13494
|
} & {
|
13495
13495
|
price?: number | null | undefined;
|
13496
13496
|
})[];
|
13497
|
-
mainProtocol:
|
13497
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
13498
13498
|
depositUrl: any;
|
13499
13499
|
tags: string[];
|
13500
13500
|
};
|
@@ -14574,7 +14574,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14574
14574
|
} & {
|
14575
14575
|
price?: number | null | undefined;
|
14576
14576
|
})[][];
|
14577
|
-
mainProtocol:
|
14577
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
14578
14578
|
depositUrl: any;
|
14579
14579
|
tags: string[];
|
14580
14580
|
};
|
@@ -15238,30 +15238,30 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15238
15238
|
post: (body: {
|
15239
15239
|
data: {
|
15240
15240
|
properties: {
|
15241
|
-
|
15242
|
-
rich_text: {
|
15243
|
-
plain_text: string;
|
15244
|
-
}[];
|
15245
|
-
};
|
15246
|
-
Icon: {
|
15241
|
+
"Icon (Required)": {
|
15247
15242
|
files: {
|
15248
15243
|
file: {
|
15249
15244
|
url: string;
|
15250
15245
|
};
|
15251
15246
|
}[];
|
15252
15247
|
};
|
15253
|
-
Address: {
|
15248
|
+
"Address (in checksum format) (Required)": {
|
15254
15249
|
rich_text: {
|
15255
15250
|
plain_text: string;
|
15256
15251
|
}[];
|
15257
15252
|
};
|
15258
|
-
"Chain ID": {
|
15253
|
+
"Chain ID (Required)": {
|
15259
15254
|
number: number;
|
15260
15255
|
};
|
15256
|
+
"Symbol (Optional)": {
|
15257
|
+
rich_text: {
|
15258
|
+
plain_text: string;
|
15259
|
+
}[];
|
15260
|
+
};
|
15261
15261
|
Verified: {
|
15262
15262
|
checkbox: boolean;
|
15263
15263
|
};
|
15264
|
-
"CoinGecko API ID": {
|
15264
|
+
"CoinGecko API ID (Recommended)": {
|
15265
15265
|
rich_text: {
|
15266
15266
|
plain_text: string;
|
15267
15267
|
}[];
|
@@ -17144,7 +17144,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17144
17144
|
} & {
|
17145
17145
|
price?: number | null | undefined;
|
17146
17146
|
})[];
|
17147
|
-
mainProtocol:
|
17147
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
17148
17148
|
depositUrl: any;
|
17149
17149
|
tags: string[];
|
17150
17150
|
};
|
@@ -18224,7 +18224,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18224
18224
|
} & {
|
18225
18225
|
price?: number | null | undefined;
|
18226
18226
|
})[][];
|
18227
|
-
mainProtocol:
|
18227
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "coumpound" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
18228
18228
|
depositUrl: any;
|
18229
18229
|
tags: string[];
|
18230
18230
|
};
|
@@ -18888,30 +18888,30 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18888
18888
|
post: (body: {
|
18889
18889
|
data: {
|
18890
18890
|
properties: {
|
18891
|
-
|
18892
|
-
rich_text: {
|
18893
|
-
plain_text: string;
|
18894
|
-
}[];
|
18895
|
-
};
|
18896
|
-
Icon: {
|
18891
|
+
"Icon (Required)": {
|
18897
18892
|
files: {
|
18898
18893
|
file: {
|
18899
18894
|
url: string;
|
18900
18895
|
};
|
18901
18896
|
}[];
|
18902
18897
|
};
|
18903
|
-
Address: {
|
18898
|
+
"Address (in checksum format) (Required)": {
|
18904
18899
|
rich_text: {
|
18905
18900
|
plain_text: string;
|
18906
18901
|
}[];
|
18907
18902
|
};
|
18908
|
-
"Chain ID": {
|
18903
|
+
"Chain ID (Required)": {
|
18909
18904
|
number: number;
|
18910
18905
|
};
|
18906
|
+
"Symbol (Optional)": {
|
18907
|
+
rich_text: {
|
18908
|
+
plain_text: string;
|
18909
|
+
}[];
|
18910
|
+
};
|
18911
18911
|
Verified: {
|
18912
18912
|
checkbox: boolean;
|
18913
18913
|
};
|
18914
|
-
"CoinGecko API ID": {
|
18914
|
+
"CoinGecko API ID (Recommended)": {
|
18915
18915
|
rich_text: {
|
18916
18916
|
plain_text: string;
|
18917
18917
|
}[];
|
@@ -3,7 +3,7 @@ import { createCall } from "@/utils/encodeCalls";
|
|
3
3
|
import { generateCardName } from "@/utils/generateCardName";
|
4
4
|
import { generateIcons } from "@/utils/generateIcons";
|
5
5
|
import { BN2Number } from "@sdk";
|
6
|
-
import {
|
6
|
+
import { tokenTypeToProtocolAndAction } from "./helpers/tokenType";
|
7
7
|
export var Round;
|
8
8
|
(function (Round) {
|
9
9
|
Round["one"] = "round1";
|
@@ -69,7 +69,7 @@ export class GenericProcessor {
|
|
69
69
|
};
|
70
70
|
}
|
71
71
|
computeRound1(type, typeInfo) {
|
72
|
-
typeInfo = { type, ...
|
72
|
+
typeInfo = { type, ...tokenTypeToProtocolAndAction[type], ...typeInfo };
|
73
73
|
this.processingRound1(typeInfo);
|
74
74
|
let calls = this.encodeNextRound(Round.one, type, typeInfo);
|
75
75
|
if (typeInfo.isStaking === "true") {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { ProtocolId } from "@/modules/v4/protocol/protocol.model";
|
1
2
|
import { OpportunityAction } from "@db/api";
|
2
3
|
import type { CallDto } from "@sdk";
|
3
4
|
export declare enum tokenType {
|
@@ -95,11 +96,10 @@ export declare enum tokenType {
|
|
95
96
|
beratrax_vault = "beratrax_vault",
|
96
97
|
beraborrow_gauge = "beraborrow_gauge"
|
97
98
|
}
|
98
|
-
export declare const
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
};
|
99
|
+
export declare const tokenTypeToProtocolAndAction: Record<tokenType, {
|
100
|
+
protocol: ProtocolId | undefined;
|
101
|
+
action: OpportunityAction;
|
102
|
+
}>;
|
103
103
|
export type tokenTypeStruct = {
|
104
104
|
type: tokenType;
|
105
105
|
calls: CallDto[];
|
@@ -96,98 +96,107 @@ export var tokenType;
|
|
96
96
|
tokenType["beratrax_vault"] = "beratrax_vault";
|
97
97
|
tokenType["beraborrow_gauge"] = "beraborrow_gauge";
|
98
98
|
})(tokenType || (tokenType = {}));
|
99
|
-
export const
|
100
|
-
[tokenType.aave_borrowing]: { protocol: "
|
101
|
-
[tokenType.anglesLiquid]: { protocol: "
|
102
|
-
[tokenType.aave_lending]: { protocol: "
|
103
|
-
[tokenType.aerodrome]: { protocol: "
|
104
|
-
[tokenType.akron]: { protocol: "
|
105
|
-
[tokenType.aura]: { protocol: "
|
106
|
-
[tokenType.balancerGauge]: { protocol: "
|
107
|
-
[tokenType.balancerPool]: { protocol: "
|
108
|
-
[tokenType.baseswap]: { protocol: "
|
109
|
-
[tokenType.beefy]: { protocol: "
|
110
|
-
[tokenType.compound]: { protocol: "
|
111
|
-
[tokenType.curve]: { protocol: "
|
112
|
-
[tokenType.curve_2]: { protocol: "
|
113
|
-
[tokenType.dragonswap]: { protocol: "
|
114
|
-
[tokenType.enzyme]: { protocol: "
|
115
|
-
[tokenType.euler_borrow]: { protocol: "
|
116
|
-
[tokenType.euler_lend]: { protocol: "
|
117
|
-
[tokenType.fenix]: { protocol: "
|
118
|
-
[tokenType.filament]: { protocol: "
|
119
|
-
[tokenType.fluid]: { protocol: "
|
120
|
-
[tokenType.fraxlend]: { protocol: "
|
121
|
-
[tokenType.gearbox]: { protocol: "
|
122
|
-
[tokenType.ionic]: { protocol: "
|
123
|
-
[tokenType.ironclad_borrowing]: { protocol: "
|
124
|
-
[tokenType.ironclad_lending]: { protocol: "
|
125
|
-
[tokenType.koi]: { protocol: "
|
126
|
-
[tokenType.layerbank]: { protocol: "
|
127
|
-
[tokenType.metamorpho]: { protocol: "
|
128
|
-
[tokenType.moonwell]: { protocol: "
|
129
|
-
[tokenType.pendle]: { protocol: "
|
130
|
-
[tokenType.poolside]: { protocol: "
|
131
|
-
[tokenType.ra]: { protocol: "
|
132
|
-
[tokenType.radiant_borrow]: { protocol: "
|
133
|
-
[tokenType.radiant_lend]: { protocol: "
|
134
|
-
[tokenType.reactor_fusion]: { protocol: "
|
135
|
-
[tokenType.silostaking]: { protocol: "
|
136
|
-
[tokenType.splice]: { protocol: "
|
137
|
-
[tokenType.sturdy_aggregator]: { protocol: "
|
138
|
-
[tokenType.sturdy_silo]: { protocol: "
|
139
|
-
[tokenType.syncswap]: { protocol: "
|
140
|
-
[tokenType.toros]: { protocol: "
|
141
|
-
[tokenType.uniswapv2]: { protocol: "
|
142
|
-
[tokenType.velodrome]: { protocol: "
|
143
|
-
[tokenType.venus]: { protocol: "
|
144
|
-
[tokenType.unknown]: { protocol:
|
145
|
-
[tokenType.yei_borrowing]: { protocol: "
|
146
|
-
[tokenType.yei_lending]: { protocol: "
|
147
|
-
[tokenType.zerolend_borrowing]: { protocol: "
|
148
|
-
[tokenType.zerolend_lending]: { protocol: "
|
149
|
-
[tokenType.zkswap]: { protocol: "
|
150
|
-
[tokenType.rfx]: { protocol: "
|
151
|
-
[tokenType.woofi]: { protocol: "
|
152
|
-
[tokenType.ironcladStaking]: { protocol: "
|
153
|
-
[tokenType.maverickBoostedPosition]: { protocol: "
|
154
|
-
[tokenType.zkSwapThreePool]: { protocol: "
|
155
|
-
[tokenType.maha]: { protocol: "
|
156
|
-
[tokenType.tempest]: { protocol: "
|
157
|
-
[tokenType.pendleYT]: { protocol: "
|
158
|
-
[tokenType.pancakeswap]: { protocol: "
|
159
|
-
[tokenType.tempestStaking]: { protocol: "
|
160
|
-
[tokenType.holdstation]: { protocol: "
|
161
|
-
[tokenType.noLinkVault]: { protocol:
|
162
|
-
[tokenType.cpmmGamma]: { protocol: "
|
163
|
-
[tokenType.crosscurve]: { protocol: "
|
164
|
-
[tokenType.curveNPool]: { protocol: "
|
165
|
-
[tokenType.vicuna]: { protocol: "
|
166
|
-
[tokenType.traderJoe]: { protocol: "
|
167
|
-
[tokenType.avalon_lending]: { protocol: "
|
168
|
-
[tokenType.avalon_borrowing]: { protocol: "
|
169
|
-
[tokenType.satlayer]: { protocol: "
|
170
|
-
[tokenType.veda]: { protocol: "
|
171
|
-
[tokenType.superlend_borrowing]: { protocol: "
|
172
|
-
[tokenType.superlend_lending]: { protocol: "
|
173
|
-
[tokenType.cian]: { protocol: "
|
174
|
-
[tokenType.concrete]: { protocol: "
|
175
|
-
[tokenType.lendle_borrowing]: { protocol: "
|
176
|
-
[tokenType.lendle_lending]: { protocol: "
|
177
|
-
[tokenType.takotako_borrowing]: { protocol: "
|
178
|
-
[tokenType.takotako_lending]: { protocol: "
|
179
|
-
[tokenType.equalizer_gauge]: { protocol: "
|
180
|
-
[tokenType.vicuna_lending]: { protocol: "
|
181
|
-
[tokenType.vicuna_borrowing]: { protocol: "
|
182
|
-
[tokenType.spectra_lpt]: { protocol: "
|
183
|
-
[tokenType.spectra_yt]: { protocol: "
|
184
|
-
[tokenType.rfx_slv]: { protocol: "
|
185
|
-
[tokenType.hourglass]: { protocol: "
|
186
|
-
[tokenType.katana]: { protocol: "
|
187
|
-
[tokenType.balancerV3]: { protocol: "
|
188
|
-
[tokenType.hanji_liquidity_vault_token]: { protocol: "
|
189
|
-
[tokenType.xU308]: { protocol: "
|
190
|
-
[tokenType.bunniV2]: {
|
191
|
-
|
192
|
-
|
99
|
+
export const tokenTypeToProtocolAndAction = {
|
100
|
+
[tokenType.aave_borrowing]: { protocol: "aave", action: OpportunityAction.BORROW },
|
101
|
+
[tokenType.anglesLiquid]: { protocol: "angles", action: OpportunityAction.LEND },
|
102
|
+
[tokenType.aave_lending]: { protocol: "aave", action: OpportunityAction.LEND },
|
103
|
+
[tokenType.aerodrome]: { protocol: "aerodrome", action: OpportunityAction.POOL },
|
104
|
+
[tokenType.akron]: { protocol: "akron", action: OpportunityAction.POOL },
|
105
|
+
[tokenType.aura]: { protocol: "aura", action: OpportunityAction.POOL },
|
106
|
+
[tokenType.balancerGauge]: { protocol: "balancer", action: OpportunityAction.POOL },
|
107
|
+
[tokenType.balancerPool]: { protocol: "balancer", action: OpportunityAction.POOL },
|
108
|
+
[tokenType.baseswap]: { protocol: "base-swap", action: OpportunityAction.HOLD },
|
109
|
+
[tokenType.beefy]: { protocol: "beefy", action: OpportunityAction.POOL },
|
110
|
+
[tokenType.compound]: { protocol: "compound", action: OpportunityAction.LEND },
|
111
|
+
[tokenType.curve]: { protocol: "curve", action: OpportunityAction.POOL },
|
112
|
+
[tokenType.curve_2]: { protocol: "curve", action: OpportunityAction.POOL },
|
113
|
+
[tokenType.dragonswap]: { protocol: "dragonswap", action: OpportunityAction.POOL },
|
114
|
+
[tokenType.enzyme]: { protocol: "enzyme", action: OpportunityAction.HOLD },
|
115
|
+
[tokenType.euler_borrow]: { protocol: "euler", action: OpportunityAction.BORROW },
|
116
|
+
[tokenType.euler_lend]: { protocol: "euler", action: OpportunityAction.LEND },
|
117
|
+
[tokenType.fenix]: { protocol: "fenix", action: OpportunityAction.HOLD },
|
118
|
+
[tokenType.filament]: { protocol: "filament", action: OpportunityAction.LONG },
|
119
|
+
[tokenType.fluid]: { protocol: "fluid", action: OpportunityAction.LEND },
|
120
|
+
[tokenType.fraxlend]: { protocol: "fraxlend", action: OpportunityAction.LEND },
|
121
|
+
[tokenType.gearbox]: { protocol: "gearbox", action: OpportunityAction.LEND },
|
122
|
+
[tokenType.ionic]: { protocol: "ionic", action: OpportunityAction.LEND },
|
123
|
+
[tokenType.ironclad_borrowing]: { protocol: "ironclad", action: OpportunityAction.HOLD },
|
124
|
+
[tokenType.ironclad_lending]: { protocol: "ironclad", action: OpportunityAction.HOLD },
|
125
|
+
[tokenType.koi]: { protocol: "koi", action: OpportunityAction.POOL },
|
126
|
+
[tokenType.layerbank]: { protocol: "layerbank", action: OpportunityAction.LEND },
|
127
|
+
[tokenType.metamorpho]: { protocol: "morpho", action: OpportunityAction.HOLD },
|
128
|
+
[tokenType.moonwell]: { protocol: "moonwell", action: OpportunityAction.LEND },
|
129
|
+
[tokenType.pendle]: { protocol: "pendle", action: OpportunityAction.HOLD },
|
130
|
+
[tokenType.poolside]: { protocol: "poolside", action: OpportunityAction.POOL },
|
131
|
+
[tokenType.ra]: { protocol: "ra", action: OpportunityAction.HOLD },
|
132
|
+
[tokenType.radiant_borrow]: { protocol: "radiant", action: OpportunityAction.BORROW },
|
133
|
+
[tokenType.radiant_lend]: { protocol: "radiant", action: OpportunityAction.LEND },
|
134
|
+
[tokenType.reactor_fusion]: { protocol: "reactor_fusion", action: OpportunityAction.LEND },
|
135
|
+
[tokenType.silostaking]: { protocol: "silo", action: OpportunityAction.LEND },
|
136
|
+
[tokenType.splice]: { protocol: "splice", action: OpportunityAction.HOLD },
|
137
|
+
[tokenType.sturdy_aggregator]: { protocol: "sturdy", action: OpportunityAction.LEND },
|
138
|
+
[tokenType.sturdy_silo]: { protocol: "sturdy", action: OpportunityAction.LEND },
|
139
|
+
[tokenType.syncswap]: { protocol: "syncswap", action: OpportunityAction.POOL },
|
140
|
+
[tokenType.toros]: { protocol: "toros", action: OpportunityAction.HOLD },
|
141
|
+
[tokenType.uniswapv2]: { protocol: "uniswap", action: OpportunityAction.POOL },
|
142
|
+
[tokenType.velodrome]: { protocol: "velodrome", action: OpportunityAction.POOL },
|
143
|
+
[tokenType.venus]: { protocol: "venus", action: OpportunityAction.LEND },
|
144
|
+
[tokenType.unknown]: { protocol: undefined, action: OpportunityAction.HOLD },
|
145
|
+
[tokenType.yei_borrowing]: { protocol: "yei", action: OpportunityAction.HOLD },
|
146
|
+
[tokenType.yei_lending]: { protocol: "yei", action: OpportunityAction.HOLD },
|
147
|
+
[tokenType.zerolend_borrowing]: { protocol: "zerolend", action: OpportunityAction.BORROW },
|
148
|
+
[tokenType.zerolend_lending]: { protocol: "zerolend", action: OpportunityAction.LEND },
|
149
|
+
[tokenType.zkswap]: { protocol: "zk-swap", action: OpportunityAction.POOL },
|
150
|
+
[tokenType.rfx]: { protocol: "rfx", action: OpportunityAction.POOL },
|
151
|
+
[tokenType.woofi]: { protocol: "woofi", action: OpportunityAction.LEND },
|
152
|
+
[tokenType.ironcladStaking]: { protocol: "ironclad", action: OpportunityAction.HOLD },
|
153
|
+
[tokenType.maverickBoostedPosition]: { protocol: "maverick", action: OpportunityAction.POOL },
|
154
|
+
[tokenType.zkSwapThreePool]: { protocol: "zk-swap", action: OpportunityAction.POOL },
|
155
|
+
[tokenType.maha]: { protocol: "maha", action: OpportunityAction.HOLD },
|
156
|
+
[tokenType.tempest]: { protocol: "tempest", action: OpportunityAction.POOL },
|
157
|
+
[tokenType.pendleYT]: { protocol: "pendle", action: OpportunityAction.HOLD },
|
158
|
+
[tokenType.pancakeswap]: { protocol: "pancake-swap", action: OpportunityAction.POOL },
|
159
|
+
[tokenType.tempestStaking]: { protocol: "tempest", action: OpportunityAction.HOLD },
|
160
|
+
[tokenType.holdstation]: { protocol: "holdstation", action: OpportunityAction.HOLD },
|
161
|
+
[tokenType.noLinkVault]: { protocol: undefined, action: OpportunityAction.HOLD },
|
162
|
+
[tokenType.cpmmGamma]: { protocol: "gammaswap", action: OpportunityAction.POOL },
|
163
|
+
[tokenType.crosscurve]: { protocol: "cross_curve", action: OpportunityAction.POOL },
|
164
|
+
[tokenType.curveNPool]: { protocol: "curve", action: OpportunityAction.POOL },
|
165
|
+
[tokenType.vicuna]: { protocol: "vicuna", action: OpportunityAction.POOL },
|
166
|
+
[tokenType.traderJoe]: { protocol: "trader-joe", action: OpportunityAction.HOLD },
|
167
|
+
[tokenType.avalon_lending]: { protocol: "avalon", action: OpportunityAction.HOLD },
|
168
|
+
[tokenType.avalon_borrowing]: { protocol: "avalon", action: OpportunityAction.HOLD },
|
169
|
+
[tokenType.satlayer]: { protocol: "satlayer", action: OpportunityAction.HOLD },
|
170
|
+
[tokenType.veda]: { protocol: "veda", action: OpportunityAction.HOLD },
|
171
|
+
[tokenType.superlend_borrowing]: { protocol: "superlend", action: OpportunityAction.BORROW },
|
172
|
+
[tokenType.superlend_lending]: { protocol: "superlend", action: OpportunityAction.LEND },
|
173
|
+
[tokenType.cian]: { protocol: "cian", action: OpportunityAction.HOLD },
|
174
|
+
[tokenType.concrete]: { protocol: "concrete", action: OpportunityAction.HOLD },
|
175
|
+
[tokenType.lendle_borrowing]: { protocol: "lendle", action: OpportunityAction.BORROW },
|
176
|
+
[tokenType.lendle_lending]: { protocol: "lendle", action: OpportunityAction.LEND },
|
177
|
+
[tokenType.takotako_borrowing]: { protocol: "tako-tako", action: OpportunityAction.BORROW },
|
178
|
+
[tokenType.takotako_lending]: { protocol: "tako-tako", action: OpportunityAction.LEND },
|
179
|
+
[tokenType.equalizer_gauge]: { protocol: "equalizer", action: OpportunityAction.HOLD },
|
180
|
+
[tokenType.vicuna_lending]: { protocol: "vicuna", action: OpportunityAction.LEND },
|
181
|
+
[tokenType.vicuna_borrowing]: { protocol: "vicuna", action: OpportunityAction.BORROW },
|
182
|
+
[tokenType.spectra_lpt]: { protocol: "spectra", action: OpportunityAction.POOL },
|
183
|
+
[tokenType.spectra_yt]: { protocol: "spectra", action: OpportunityAction.POOL },
|
184
|
+
[tokenType.rfx_slv]: { protocol: "rfx", action: OpportunityAction.POOL },
|
185
|
+
[tokenType.hourglass]: { protocol: "hourglass", action: OpportunityAction.HOLD },
|
186
|
+
[tokenType.katana]: { protocol: "katana", action: OpportunityAction.POOL },
|
187
|
+
[tokenType.balancerV3]: { protocol: "balancer", action: OpportunityAction.POOL },
|
188
|
+
[tokenType.hanji_liquidity_vault_token]: { protocol: "hanji", action: OpportunityAction.POOL },
|
189
|
+
[tokenType.xU308]: { protocol: "uranium", action: OpportunityAction.HOLD },
|
190
|
+
[tokenType.bunniV2]: {
|
191
|
+
protocol: "bunni",
|
192
|
+
action: OpportunityAction.HOLD,
|
193
|
+
},
|
194
|
+
[tokenType.beratrax_vault]: {
|
195
|
+
protocol: "beratrax",
|
196
|
+
action: OpportunityAction.HOLD,
|
197
|
+
},
|
198
|
+
[tokenType.beraborrow_gauge]: {
|
199
|
+
protocol: "beraborrow",
|
200
|
+
action: OpportunityAction.HOLD,
|
201
|
+
},
|
193
202
|
};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { ProtocolId } from "@/modules/v4/protocol/protocol.model";
|
1
2
|
import { type Campaign as CampaignEnum, type CampaignParameters, type ChainId } from "@sdk";
|
2
3
|
import type { MetadataBuilder } from "../interface";
|
3
4
|
type campaignType = CampaignEnum.AJNA;
|
@@ -9,7 +10,7 @@ export declare class AjnaMetadata implements MetadataBuilder<campaignType> {
|
|
9
10
|
chainId: ChainId;
|
10
11
|
address: any;
|
11
12
|
}[];
|
12
|
-
mainProtocol:
|
13
|
+
mainProtocol: ProtocolId;
|
13
14
|
depositUrl: string;
|
14
15
|
}>;
|
15
16
|
static generateUrl(computeChainId: ChainId, params: CampaignParameters<campaignType>["campaignParameters"]): string;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { ProtocolId } from "@/modules/v4/protocol/protocol.model";
|
1
2
|
import { type Campaign as CampaignEnum, type CampaignParameters, type ChainId } from "@sdk";
|
2
3
|
import type { MetadataBuilder } from "../interface";
|
3
4
|
type campaignType = CampaignEnum.AMBIENTPROCESSOR;
|
@@ -9,7 +10,7 @@ export declare class AmbientMetadata implements MetadataBuilder<campaignType> {
|
|
9
10
|
chainId: ChainId;
|
10
11
|
address: any;
|
11
12
|
}[];
|
12
|
-
mainProtocol:
|
13
|
+
mainProtocol: ProtocolId;
|
13
14
|
depositUrl: string;
|
14
15
|
}>;
|
15
16
|
static generateUrl(computeChainId: ChainId, params: CampaignParameters<campaignType>["campaignParameters"]): string;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { ProtocolId } from "@/modules/v4/protocol/protocol.model";
|
1
2
|
import type { Campaign as CampaignEnum, CampaignParameters, ChainId } from "@sdk";
|
2
3
|
import type { MetadataBuilder } from "../interface";
|
3
4
|
type campaignType = CampaignEnum.BADGER;
|
@@ -9,7 +10,7 @@ export declare class BadgerMetadata implements MetadataBuilder<campaignType> {
|
|
9
10
|
chainId: ChainId;
|
10
11
|
address: any;
|
11
12
|
}[];
|
12
|
-
mainProtocol:
|
13
|
+
mainProtocol: ProtocolId;
|
13
14
|
depositUrl: string;
|
14
15
|
}>;
|
15
16
|
static generateUrl(_computeChainId: ChainId, _params: CampaignParameters<campaignType>["campaignParameters"]): string;
|