@merkl/api 0.10.384 → 0.10.386
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.
@@ -599,18 +599,19 @@ export async function CLAMMDynamicData(chainId, campaigns) {
|
|
599
599
|
blacklistedBalance1 = poolBalanceToken1;
|
600
600
|
blacklistedLiquidity = poolTotalLiquidity;
|
601
601
|
// Get all beefy staker is whitelisted, get a list of all senders
|
602
|
-
|
602
|
+
const beefyStakerCount = almDetails.filter(a => a.type === ALM.BeefyStaker).length;
|
603
|
+
const beefyCount = almDetails.filter(a => a.type === ALM.Beefy).length;
|
604
|
+
if (c.campaignParameters.whitelist.length === beefyStakerCount + beefyCount ||
|
605
|
+
c.campaignParameters.whitelist.length === beefyStakerCount) {
|
603
606
|
let targetToMatch = "";
|
604
607
|
for (const alm of almDetails.filter(a => a.type === ALM.BeefyStaker)) {
|
605
608
|
if (alm.sender === c.campaignParameters.whitelist[0]) {
|
606
609
|
targetToMatch = alm.target;
|
607
610
|
}
|
608
611
|
}
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
c.campaignParameters.whitelist.push(alm.owner);
|
613
|
-
}
|
612
|
+
for (const alm of almDetails.filter(a => a.type === ALM.Beefy)) {
|
613
|
+
if (targetToMatch === alm.sender.toLowerCase()) {
|
614
|
+
c.campaignParameters.whitelist.push(alm.owner);
|
614
615
|
}
|
615
616
|
}
|
616
617
|
}
|
@@ -832,7 +832,7 @@ const ModeInterfaceCampaigns = {
|
|
832
832
|
targetToken: "0x548f93779fBC992010C07467cBaf329DD5F059B7",
|
833
833
|
whitelist: [],
|
834
834
|
blacklist: [],
|
835
|
-
url: "https://www.bmx.trade/deli-shop/single-staking",
|
835
|
+
url: "https://www.classic.bmx.trade/deli-shop/single-staking",
|
836
836
|
forwarders: [],
|
837
837
|
},
|
838
838
|
[modeCampaigns.Etherfi_Add_liquidity_wMLT_vault_Mode]: {
|
@@ -849,7 +849,7 @@ const ModeInterfaceCampaigns = {
|
|
849
849
|
"0xd65EaCAed50706254b5001f22963C8615968AF7d",
|
850
850
|
"0xFdC4ba603B25Fbf2659a45cED114a205a4867457",
|
851
851
|
],
|
852
|
-
url: "https://www.bmx.trade/deli-shop/wrapper",
|
852
|
+
url: "https://www.classic.bmx.trade/deli-shop/wrapper",
|
853
853
|
forwarders: [],
|
854
854
|
},
|
855
855
|
[modeCampaigns.Etherfi_Kim_weETH_WETH_Mode]: {
|
@@ -1781,17 +1781,17 @@ const ZkSyncInterfaceCampaigns = {
|
|
1781
1781
|
[zkSyncCampaigns.Maverick_ZK_ETH_Boosted]: {
|
1782
1782
|
campaignType: Campaign.ERC20,
|
1783
1783
|
computeChainId: ChainId.ZKSYNC,
|
1784
|
-
targetToken: "
|
1784
|
+
targetToken: "0x347B2856CdE87878700548dfE13dDD85bD1D0eA3",
|
1785
1785
|
hooks: [],
|
1786
1786
|
whitelist: [],
|
1787
1787
|
blacklist: [],
|
1788
|
-
url: "https://app.mav.xyz/boosted-position/
|
1788
|
+
url: "https://app.mav.xyz/boosted-position/0x347B2856CdE87878700548dfE13dDD85bD1D0eA3/0x995525bDa56Ff31089c35B2722F4D0a055cE9E92?chain=324&f=true",
|
1789
1789
|
forwarders: [
|
1790
1790
|
{
|
1791
1791
|
forwarderType: Forwarder.MAVERICK_BOOSTED_POSITIONS,
|
1792
1792
|
priority: 0,
|
1793
|
-
sender: "
|
1794
|
-
owner: "
|
1793
|
+
sender: "0x995525bDa56Ff31089c35B2722F4D0a055cE9E92",
|
1794
|
+
owner: "0xfB5a41Bd8b3Af142AF9ea8a9E24E24d6A7089206",
|
1795
1795
|
},
|
1796
1796
|
],
|
1797
1797
|
},
|