@merkl/api 0.10.332 → 0.10.333
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/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +2 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +2 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +22 -0
- package/dist/src/utils/generateCardName.js +1 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -19,6 +19,7 @@ const factoryAddresses = {
|
|
19
19
|
"0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73": tokenType.pancakeswap, // PancakeSwap Factory BNB
|
20
20
|
"0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD": tokenType.pendleYT, // Pendle YT Factory
|
21
21
|
"0xFD513630F697A9C1731F196185fb9ebA6eAAc20B": tokenType.cpmmGamma, // CPMMGAMMA Factory
|
22
|
+
"0x9Ad6C38BE94206cA50bb0d90783181662f0Cfa10": tokenType.traderJoe, // Trader Joe Factory
|
22
23
|
};
|
23
24
|
export function getTypeFromFactoryAddress(address) {
|
24
25
|
if (factoryAddresses[address]) {
|
@@ -64,7 +64,8 @@ export declare enum tokenType {
|
|
64
64
|
crosscurve = "crosscurve",
|
65
65
|
venus = "venus",
|
66
66
|
reactor_fusion = "reactor_fusion",
|
67
|
-
vicuna = "vicuna"
|
67
|
+
vicuna = "vicuna",
|
68
|
+
traderJoe = "traderJoe"
|
68
69
|
}
|
69
70
|
export declare const tokenTypeToProtocol: {
|
70
71
|
[key in tokenType]: {
|
@@ -66,6 +66,7 @@ export var tokenType;
|
|
66
66
|
tokenType["venus"] = "venus";
|
67
67
|
tokenType["reactor_fusion"] = "reactor_fusion";
|
68
68
|
tokenType["vicuna"] = "vicuna";
|
69
|
+
tokenType["traderJoe"] = "traderJoe";
|
69
70
|
})(tokenType || (tokenType = {}));
|
70
71
|
export const tokenTypeToProtocol = {
|
71
72
|
[tokenType.aave_borrowing]: { protocol: "Aave" },
|
@@ -161,4 +162,5 @@ export const tokenTypeToProtocol = {
|
|
161
162
|
protocol: "CrossCurve",
|
162
163
|
},
|
163
164
|
[tokenType.vicuna]: { protocol: "Vicuna" },
|
165
|
+
[tokenType.traderJoe]: { protocol: "Trader Joe" },
|
164
166
|
};
|
@@ -31,7 +31,9 @@ export declare enum pufferCampaigns {
|
|
31
31
|
uniswapv3_eth_pufETH = "0xBDB04e915B94FbFD6e8552ff7860E59Db7d4499a",
|
32
32
|
uniswapv3_weth_PUFFER = "0xc5c9a9AB6403CDBa9722463000146C18b504F0bA",
|
33
33
|
uniswapv3_vt_weth = "0xa56600e670724b42F38d3A6e4B25e8D786B4F5f9",
|
34
|
-
venus_pufeth = "0xE0ee5dDeBFe0abe0a4Af50299D68b74Cec31668e"
|
34
|
+
venus_pufeth = "0xE0ee5dDeBFe0abe0a4Af50299D68b74Cec31668e",
|
35
|
+
unifiBTC = "0x170D847A8320F3B6A77eE15B0CAE430e3eC933a0",
|
36
|
+
unifiUSD = "0x82c40e07277eBb92935f79cE92268F80dDc7caB4"
|
35
37
|
}
|
36
38
|
export declare enum zkSyncCampaigns {
|
37
39
|
Izumi_Finance_Zk_Weth = "Izumi Finance ZK/WETH 0xd62bc9f19bd94fde9c41df4b6eb6419ea6b8e25c",
|
@@ -34,6 +34,8 @@ export var pufferCampaigns;
|
|
34
34
|
pufferCampaigns["uniswapv3_weth_PUFFER"] = "0xc5c9a9AB6403CDBa9722463000146C18b504F0bA";
|
35
35
|
pufferCampaigns["uniswapv3_vt_weth"] = "0xa56600e670724b42F38d3A6e4B25e8D786B4F5f9";
|
36
36
|
pufferCampaigns["venus_pufeth"] = "0xE0ee5dDeBFe0abe0a4Af50299D68b74Cec31668e";
|
37
|
+
pufferCampaigns["unifiBTC"] = "0x170D847A8320F3B6A77eE15B0CAE430e3eC933a0";
|
38
|
+
pufferCampaigns["unifiUSD"] = "0x82c40e07277eBb92935f79cE92268F80dDc7caB4";
|
37
39
|
})(pufferCampaigns || (pufferCampaigns = {}));
|
38
40
|
export var zkSyncCampaigns;
|
39
41
|
(function (zkSyncCampaigns) {
|
@@ -1126,6 +1128,26 @@ const ZkSyncInterfaceCampaigns = {
|
|
1126
1128
|
},
|
1127
1129
|
};
|
1128
1130
|
const PufferInterfaceCampaigns = {
|
1131
|
+
[pufferCampaigns.unifiBTC]: {
|
1132
|
+
campaignType: Campaign.ERC20,
|
1133
|
+
computeChainId: ChainId.MAINNET,
|
1134
|
+
hooks: [],
|
1135
|
+
targetToken: "0x170D847A8320F3B6A77eE15B0CAE430e3eC933a0",
|
1136
|
+
whitelist: [],
|
1137
|
+
blacklist: [],
|
1138
|
+
url: "https://quest.puffer.fi/unifi",
|
1139
|
+
forwarders: [],
|
1140
|
+
},
|
1141
|
+
[pufferCampaigns.unifiUSD]: {
|
1142
|
+
campaignType: Campaign.ERC20,
|
1143
|
+
computeChainId: ChainId.MAINNET,
|
1144
|
+
hooks: [],
|
1145
|
+
targetToken: "0x82c40e07277eBb92935f79cE92268F80dDc7caB4",
|
1146
|
+
whitelist: [],
|
1147
|
+
blacklist: [],
|
1148
|
+
url: "https://quest.puffer.fi/unifi",
|
1149
|
+
forwarders: [],
|
1150
|
+
},
|
1129
1151
|
[pufferCampaigns.venus_pufeth]: {
|
1130
1152
|
campaignType: Campaign.ERC20,
|
1131
1153
|
computeChainId: ChainId.MAINNET,
|
@@ -14,6 +14,7 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""]) {
|
|
14
14
|
case tokenType.ra:
|
15
15
|
case tokenType.syncswap:
|
16
16
|
case tokenType.pancakeswap:
|
17
|
+
case tokenType.traderJoe:
|
17
18
|
return `Provide liquidity to ${typeInfo.protocol} ${typeInfo.symbolToken0}-${typeInfo.symbolToken1}`;
|
18
19
|
case tokenType.pendleYT:
|
19
20
|
return `Hold ${typeInfo.protocol} ${typeInfo.name}`;
|