@merkl/api 0.16.28 → 0.16.29
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.
@@ -989,10 +989,10 @@ export const extractOpportunities = {
|
|
989
989
|
};
|
990
990
|
return opportunity;
|
991
991
|
},
|
992
|
-
[Campaign.ENCOMPASSING]: ({ chainId, mainParameter, campaignParameters: params, tvl, apr }, campaigns) => {
|
992
|
+
[Campaign.ENCOMPASSING]: ({ chainId, mainParameter, campaignParameters: params, tvl, apr, opportunityName }, campaigns) => {
|
993
993
|
const opportunity = {
|
994
994
|
id: `${Campaign.ENCOMPASSING}_${mainParameter}`,
|
995
|
-
name:
|
995
|
+
name: opportunityName ?? ["Distribution of", params.symbolRewardToken].join(" "),
|
996
996
|
chainId,
|
997
997
|
action: "drop",
|
998
998
|
status: getStatus(campaigns.all),
|