@merkl/api 1.0.83 → 1.0.84
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/implementations/Erc20/subTypes/implementations/aave/metadata.d.ts +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/gearbox/metadata.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +13 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +15 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Campaign, CompFork, CompoundSubCampaignType, CompoundV3SubCampaignType, ComputeScoreMethod, ComputeScoreParameters, Forwarder, ForwarderParameters, GenericCampaignConfigComposed, HOOK, HookParameters, MerklChainId, MorphoSubCampaignType } from "@angleprotocol/sdk/ts";
|
1
|
+
import type { Campaign, CompFork, CompoundSubCampaignType, CompoundV3SubCampaignType, ComputeScoreMethod, ComputeScoreParameters, DistributionMethod, DistributionParameters, Forwarder, ForwarderParameters, GenericCampaignConfigComposed, HOOK, HookParameters, MerklChainId, MorphoSubCampaignType } from "@angleprotocol/sdk/ts";
|
2
2
|
import type { LockerEventSchema } from "@angleprotocol/sdk/types/merkl/campaignTypes/locker";
|
3
3
|
import type { ComputeCurveMethod, ComputeCurveParameters } from "@angleprotocol/sdk/types/merkl/computeCurve";
|
4
4
|
export declare const CampaignPayloadInputDto: import("@sinclair/typebox").TObject<{
|
@@ -173,6 +173,17 @@ export type partialConfigMORPHOSUPPLY = {
|
|
173
173
|
blacklist: string[];
|
174
174
|
url?: string;
|
175
175
|
};
|
176
|
+
export type partialConfigMORPHOVAULT = {
|
177
|
+
computeChainId?: MerklChainId;
|
178
|
+
hooks?: (HookParameters<HOOK> | string)[];
|
179
|
+
campaignType: Campaign;
|
180
|
+
targetToken: string;
|
181
|
+
whitelist: string[];
|
182
|
+
blacklist: string[];
|
183
|
+
url?: string;
|
184
|
+
computeScoreParameters?: ComputeScoreParameters<ComputeScoreMethod> | string;
|
185
|
+
distributionMethodParameters?: DistributionParameters<DistributionMethod>;
|
186
|
+
};
|
176
187
|
export type partialConfigERC20FixedAPR = {
|
177
188
|
computeChainId?: MerklChainId;
|
178
189
|
hooks?: (HookParameters<HOOK> | string)[];
|
@@ -269,7 +280,7 @@ export type partialConfigLocker = {
|
|
269
280
|
lockEvent: LockerEventSchema;
|
270
281
|
unlockEvent: LockerEventSchema;
|
271
282
|
};
|
272
|
-
export type partialConfig = partialConfigERC20 | partialConfigMorpho | partialConfigCLAMM | partialConfigIonic | partialConfigCompoundV3 | partialConfigMultiLog | partialConfigLocker | partialConfigAirdrop | partialConfigERC20FixedAPR | partialConfigMORPHOBORROW | partialConfigMORPHOSUPPLY;
|
283
|
+
export type partialConfig = partialConfigERC20 | partialConfigMorpho | partialConfigCLAMM | partialConfigIonic | partialConfigCompoundV3 | partialConfigMultiLog | partialConfigLocker | partialConfigAirdrop | partialConfigERC20FixedAPR | partialConfigMORPHOBORROW | partialConfigMORPHOSUPPLY | partialConfigMORPHOVAULT;
|
273
284
|
export declare const safeTemplate: {
|
274
285
|
version: string;
|
275
286
|
chainId: string;
|
@@ -188,7 +188,8 @@ export declare enum etherlinkCampaigns {
|
|
188
188
|
Uniswap_WBTC_USDC_Etherlink = "Uniswap WBTC/USDC Etherlink 0x80C789EBb377d257b5b660100757307099F0e3c0",
|
189
189
|
Uniswap_WXTZ_USDC_Etherlink = "Uniswap WXTZ/USDC Etherlink 0x659fe227A739D7961F3c7bBc090ea9BfAFCC2A74",
|
190
190
|
Uniswap_WXTZ_WBTC_Etherlink = "Uniswap WXTZ/WBTC Etherlink 0x2a5120e8B04E7F2D3fbbbD82afb4CD70de0F5d0e",
|
191
|
-
Uniswap_WXTZ_WETH_Etherlink = "Uniswap WXTZ/WETH Etherlink 0xd03b92A27947Bb08dD269107d4Df00F8ab53Fc28"
|
191
|
+
Uniswap_WXTZ_WETH_Etherlink = "Uniswap WXTZ/WETH Etherlink 0xd03b92A27947Bb08dD269107d4Df00F8ab53Fc28",
|
192
|
+
Iguana_USDC_USDT_Stableswap_Etherlink = "Iguana USDC/USDT Stableswap Etherlink 0xbb6af5cb8bb12129aa051a96b25a94f33c117557"
|
192
193
|
}
|
193
194
|
export declare enum swapxCampaigns {
|
194
195
|
Swapx_SWPx_USDCe_Swapx = "Swapx SWPx/USDC.e Swapx 0x467865E7Ce29E7ED8f362D51Fd7141117B234b44",
|
@@ -2654,6 +2655,16 @@ declare const EtherlinkInterfaceCampaigns: {
|
|
2654
2655
|
weightToken0: number;
|
2655
2656
|
weightToken1: number;
|
2656
2657
|
};
|
2658
|
+
"Iguana USDC/USDT Stableswap Etherlink 0xbb6af5cb8bb12129aa051a96b25a94f33c117557": {
|
2659
|
+
campaignType: Campaign;
|
2660
|
+
computeChainId: ChainId;
|
2661
|
+
targetToken: string;
|
2662
|
+
hooks: never[];
|
2663
|
+
whitelist: never[];
|
2664
|
+
blacklist: string[];
|
2665
|
+
forwarders: never[];
|
2666
|
+
url: string;
|
2667
|
+
};
|
2657
2668
|
};
|
2658
2669
|
declare const SwapxInterfaceCampaigns: {
|
2659
2670
|
[key in swapxCampaigns]: partialConfig;
|
@@ -3096,9 +3107,9 @@ export declare enum WorldChainCampaigns {
|
|
3096
3107
|
WorldChain_Vault_Re7USDC = "WorldChain Vault Re7 USDC 0xb1E80387EbE53Ff75a89736097D34dC8D9E9045B",
|
3097
3108
|
WorldChain_Vault_Re7WLD = "WorldChain Vault Re7 WLD 0x348831b46876d3dF2Db98BdEc5E3B4083329Ab9f",
|
3098
3109
|
WorldChain_Vault_Re7WETH = "WorldChain Vault Re7 WETH 0x0Db7E405278c2674F462aC9D9eb8b8346D1c1571",
|
3099
|
-
|
3100
|
-
|
3101
|
-
|
3110
|
+
Worldchain_Morpho_Borrow_USDC_market_WLD_collateral = "WorldChain Morpho Borrow USDC collateral WLD 0xba0ae12a5cdbf9a458566be68055f30c859771612950b5e43428a51becc6f6e9",
|
3111
|
+
Worldchain_Morpho_Borrow_USDC_market_WETH_collateral = "WorldChain Morpho Borrow USDC collateral WETH 0x5fadb14df6523eb13a939f8024dbc54b10bdb4e521741e9995e2951337134b53",
|
3112
|
+
Worldchain_Morpho_Borrow_USDC_market_WBTC_collateral = "WorldChain Morpho Borrow USDC collateral WBTC 0x787c5ff694f04e20cc6b3932cd662425161109bb0d63b189c48d99e714a3bd69",
|
3102
3113
|
WorldChain_Vault_WORLDID_USDC = "WorldChain Vault World ID USDC 0xb1E80387EbE53Ff75a89736097D34dC8D9E9045B",
|
3103
3114
|
WorldChain_Vault_WORLDID_WLD = "WorldChain Vault World ID WLD 0x348831b46876d3dF2Db98BdEc5E3B4083329Ab9f"
|
3104
3115
|
}
|