@merkl/api 0.21.29 → 0.21.31
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/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.js +1 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.js +1 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +8 -8
- package/dist/src/utils/generateCardName.js +2 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -31,6 +31,7 @@ const factoryAddresses = {
|
|
31
31
|
"0xB255D6A720BB7c39fee173cE22113397119cB930": Erc20SubType.katana, // Katana Ronin
|
32
32
|
"0x29372c22459a4e373851798bFd6808e71EA34A71": Erc20SubType.punchswap, // Punchswap Flow EVM
|
33
33
|
"0x724412C00059bf7d6ee7d4a1d0D5cd4de3ea1C48": Erc20SubType.hyperswap, // Hyperswap Factory HyperEVM
|
34
|
+
"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6": Erc20SubType.uniswapv2, // Uniswap Factory Base
|
34
35
|
};
|
35
36
|
export function getTypeFromFactoryAddress(address) {
|
36
37
|
if (factoryAddresses[address]) {
|
@@ -118,7 +118,7 @@ function satisfiesNameConditions(name, type) {
|
|
118
118
|
case Erc20SubType.lnd_lending:
|
119
119
|
return lowerCaseName.includes("lnd");
|
120
120
|
case Erc20SubType.dlend_lending:
|
121
|
-
return lowerCaseName.
|
121
|
+
return lowerCaseName.startsWith("dlend") && !lowerCaseName.includes("debt");
|
122
122
|
case Erc20SubType.compound:
|
123
123
|
return lowerCaseName.includes("compound");
|
124
124
|
case Erc20SubType.ironcladStaking:
|
@@ -555,9 +555,9 @@ const RoninInterfaceCampaigns = {
|
|
555
555
|
url: "https://app.roninchain.com/liquidity/v3/0x90f31f1907a4d1443a6aacdc91ac2312f91bafa7",
|
556
556
|
forwarders: [],
|
557
557
|
isOutOfRangeIncentivized: false,
|
558
|
-
weightFees:
|
559
|
-
weightToken0:
|
560
|
-
weightToken1:
|
558
|
+
weightFees: 4000,
|
559
|
+
weightToken0: 4000,
|
560
|
+
weightToken1: 2000,
|
561
561
|
},
|
562
562
|
[roninCampaigns.Katana_AXS_RON_Ronin]: {
|
563
563
|
campaignType: Campaign.CLAMM,
|
@@ -583,9 +583,9 @@ const RoninInterfaceCampaigns = {
|
|
583
583
|
url: "https://app.roninchain.com/liquidity/v3/0x392d372f2a51610e9ac5b741379d5631ca9a1c7f",
|
584
584
|
forwarders: [],
|
585
585
|
isOutOfRangeIncentivized: false,
|
586
|
-
weightFees:
|
587
|
-
weightToken0:
|
588
|
-
weightToken1:
|
586
|
+
weightFees: 4000,
|
587
|
+
weightToken0: 4000,
|
588
|
+
weightToken1: 2000,
|
589
589
|
},
|
590
590
|
[roninCampaigns.Katana_LRON_RON_Ronin]: {
|
591
591
|
campaignType: Campaign.CLAMM,
|
@@ -597,9 +597,9 @@ const RoninInterfaceCampaigns = {
|
|
597
597
|
url: "https://app.roninchain.com/liquidity/v3/0x0fbe1a7f0f006a4a4d817b2aa922889612758ce8",
|
598
598
|
forwarders: [],
|
599
599
|
isOutOfRangeIncentivized: false,
|
600
|
-
weightFees:
|
600
|
+
weightFees: 8000,
|
601
601
|
weightToken0: 500,
|
602
|
-
weightToken1:
|
602
|
+
weightToken1: 1500,
|
603
603
|
},
|
604
604
|
[roninCampaigns.Supply_WETH_Compound_Ronin]: {
|
605
605
|
campaignType: Campaign.COMPOUND_V3,
|
@@ -40,8 +40,9 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""], displ
|
|
40
40
|
case Erc20SubType.traderJoe:
|
41
41
|
case Erc20SubType.katana:
|
42
42
|
case Erc20SubType.punchswap:
|
43
|
-
case Erc20SubType.hyperswap:
|
44
43
|
return `Provide liquidity to ${capitalize(typeInfo.protocol)} ${typeInfo.symbolToken0}-${typeInfo.symbolToken1}`;
|
44
|
+
case Erc20SubType.hyperswap:
|
45
|
+
return `Provide liquidity to HyperSwap Standard AMM ${typeInfo.symbolToken0}-${typeInfo.symbolToken1}`;
|
45
46
|
case Erc20SubType.pendleYT:
|
46
47
|
return `Hold ${capitalize(typeInfo.protocol)} ${typeInfo.name}`;
|
47
48
|
case Erc20SubType.pendle:
|