@merkl/api 1.3.59 → 1.3.60
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/eden/index.d.ts +4 -21
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +1 -1
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/engine/tvl/factory.js.map +1 -1
- package/dist/src/index.d.ts +4 -21
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +10 -10
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +3 -3
- package/dist/src/modules/v4/clamm/clamm.service.d.ts +1 -1
- package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +21 -21
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +0 -17
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +4 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.js.map +1 -1
- package/dist/src/modules/v4/programPayload/subPayloads/drip.d.ts +151 -0
- package/dist/src/modules/v4/programPayload/subPayloads/drip.js.map +1 -0
- package/dist/src/modules/v4/router.d.ts +4 -21
- package/dist/src/utils/getAPR.d.ts +1 -1
- package/dist/src/utils/parseDistributionType.d.ts +1 -1
- package/dist/src/utils/prices/priceService.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/engine/implementations/Ion/metadata.d.ts +0 -16
- package/dist/src/engine/implementations/Ion/metadata.js.map +0 -1
@@ -1083,6 +1083,27 @@ export declare abstract class OpportunityRepository {
|
|
1083
1083
|
opportunityId: string;
|
1084
1084
|
};
|
1085
1085
|
opportunity: Prisma.BatchPayload | {
|
1086
|
+
id: string;
|
1087
|
+
chainId: number;
|
1088
|
+
type: string;
|
1089
|
+
identifier: string;
|
1090
|
+
name: string;
|
1091
|
+
description: string;
|
1092
|
+
howToSteps: string[];
|
1093
|
+
depositUrl: string | null;
|
1094
|
+
explorerAddress: string | null;
|
1095
|
+
status: import("@package/databases").Status;
|
1096
|
+
action: import("@package/databases").OpportunityAction;
|
1097
|
+
mainProtocolId: string | null;
|
1098
|
+
tvl: number;
|
1099
|
+
apr: number;
|
1100
|
+
maxApr: number | null;
|
1101
|
+
dailyRewards: number;
|
1102
|
+
tags: string[];
|
1103
|
+
lastCampaignCreatedAt: Date;
|
1104
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1105
|
+
liveCampaigns: number;
|
1106
|
+
} | {
|
1086
1107
|
id: string;
|
1087
1108
|
computeChainId: number;
|
1088
1109
|
distributionChainId: number;
|
@@ -1104,27 +1125,6 @@ export declare abstract class OpportunityRepository {
|
|
1104
1125
|
createdAt: Date;
|
1105
1126
|
rootCampaignId: string | null;
|
1106
1127
|
parentCampaignId: string | null;
|
1107
|
-
} | {
|
1108
|
-
id: string;
|
1109
|
-
chainId: number;
|
1110
|
-
type: string;
|
1111
|
-
identifier: string;
|
1112
|
-
name: string;
|
1113
|
-
description: string;
|
1114
|
-
howToSteps: string[];
|
1115
|
-
depositUrl: string | null;
|
1116
|
-
explorerAddress: string | null;
|
1117
|
-
status: import("@package/databases").Status;
|
1118
|
-
action: import("@package/databases").OpportunityAction;
|
1119
|
-
mainProtocolId: string | null;
|
1120
|
-
tvl: number;
|
1121
|
-
apr: number;
|
1122
|
-
maxApr: number | null;
|
1123
|
-
dailyRewards: number;
|
1124
|
-
tags: string[];
|
1125
|
-
lastCampaignCreatedAt: Date;
|
1126
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1127
|
-
liveCampaigns: number;
|
1128
1128
|
};
|
1129
1129
|
}>;
|
1130
1130
|
static updateStatus(id: string, status: Status): Promise<{
|
@@ -652,23 +652,6 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
|
|
652
652
|
apr: string;
|
653
653
|
targetTokenPricing: boolean;
|
654
654
|
rewardTokenPricing: boolean;
|
655
|
-
} | {
|
656
|
-
rewardToken: string;
|
657
|
-
amount: string;
|
658
|
-
startTimestamp: number;
|
659
|
-
computeChainId?: import("@package/sdk").ARBITRUM | import("@package/sdk").AVALANCHE | import("@package/sdk").BASE | import("@package/sdk").BSC | import("@package/sdk").CELO | import("@package/sdk").CORE | import("@package/sdk").FANTOM | import("@package/sdk").FUSE | import("@package/sdk").XLAYER | import("@package/sdk").GNOSIS | import("@package/sdk").LINEA | import("@package/sdk").MAINNET | import("@package/sdk").MANTLE | import("@package/sdk").OPTIMISM | import("@package/sdk").POLYGON | import("@package/sdk").POLYGONZKEVM | import("@package/sdk").THUNDERCORE | import("@package/sdk").ZKSYNC | import("@package/sdk").SCROLL | import("@package/sdk").MANTA | import("@package/sdk").IMMUTABLE | import("@package/sdk").BLAST | import("@package/sdk").MODE | import("@package/sdk").ASTAR | import("@package/sdk").ROOTSTOCK | import("@package/sdk").TAIKO | import("@package/sdk").SEI | import("@package/sdk").MOONBEAM | import("@package/sdk").SKALE | import("@package/sdk").FRAXTAL | import("@package/sdk").BOB | import("@package/sdk").WORLDCHAIN | import("@package/sdk").ETHERLINK | import("@package/sdk").LISK | import("@package/sdk").UNICHAIN | import("@package/sdk").BERACHAIN | import("@package/sdk").SWELL | import("@package/sdk").ARTHERA | import("@package/sdk").SONIC | import("@package/sdk").CORN | import("@package/sdk").SONEIUM | import("@package/sdk").INK | import("@package/sdk").RONIN | import("@package/sdk").FLOW | import("@package/sdk").NIBIRU | import("@package/sdk").APECHAIN | import("@package/sdk").HYPEREVM | import("@package/sdk").ZIRCUIT | import("@package/sdk").HEMI | import("@package/sdk").SAGA_EVM | import("@package/sdk").PLUME | import("@package/sdk").XDC | import("@package/sdk").KATANA | import("@package/sdk").REDBELLY | import("@package/sdk").TAC | import("@package/sdk").XRPLEVM | undefined;
|
660
|
-
creator?: string | undefined;
|
661
|
-
hooks?: (string | import("@package/sdk").HookParameters<import("@package/sdk").HookType>)[] | undefined;
|
662
|
-
computeScoreParameters?: import("@package/sdk").ComputeScoreParameters<import("@package/sdk").ComputeScoreMethod> | undefined;
|
663
|
-
distributionMethodParameters?: import("@package/sdk").DistributionParameters<import("@package/sdk").DistributionMethod> | undefined;
|
664
|
-
campaignType: import("@package/sdk").ION;
|
665
|
-
endTimestamp: number;
|
666
|
-
whitelist: string[];
|
667
|
-
blacklist: string[];
|
668
|
-
forwarders: string[];
|
669
|
-
marketId: string;
|
670
|
-
poolId: string;
|
671
|
-
subCampaignType: import("@package/sdk").IonSubCampaignType;
|
672
655
|
} | {
|
673
656
|
rewardToken: string;
|
674
657
|
amount: string;
|
@@ -3,6 +3,7 @@ import type { partialConfig } from "./programPayload.model";
|
|
3
3
|
import { AavePayloads } from "./subPayloads/aave";
|
4
4
|
import { BakerDaoSubPayloads } from "./subPayloads/bakerdao";
|
5
5
|
import { BancorSubPayloads } from "./subPayloads/bancor";
|
6
|
+
import { DripPayloads } from "./subPayloads/drip";
|
6
7
|
import { EthenaPayloads } from "./subPayloads/ethena";
|
7
8
|
import { HypurrFiSubPayloads } from "./subPayloads/hypurrFi";
|
8
9
|
import { NibiruSubPayloads } from "./subPayloads/nibiru";
|
@@ -42,7 +43,8 @@ export declare enum program {
|
|
42
43
|
Morpho = "Morpho",
|
43
44
|
BakerDao = "BakerDao",
|
44
45
|
Aave = "Aave",
|
45
|
-
Jumper = "Jumper"
|
46
|
+
Jumper = "Jumper",
|
47
|
+
Drip = "Drip"
|
46
48
|
}
|
47
49
|
export declare enum MorphoCampaigns {
|
48
50
|
Supply_vbUSDC_to_any_market_Katana = "Supply vbUSDC 0x203A662b0BD271A6ed5a60EdFbd04bFce608FD36 to any market Katana",
|
@@ -5980,6 +5982,6 @@ declare const katanaCampaignsInterface: {
|
|
5980
5982
|
};
|
5981
5983
|
};
|
5982
5984
|
export declare const MerklInterfaceCampaigns: {
|
5983
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof MorphoCampaignsInterface | typeof KeyringInterfaceCampaigns | typeof NibiruSubPayloads | typeof SagaCampaignsInterface | typeof SwellCampaignsInterface | typeof EulerCampaignsInterface | typeof EthenaCampaigns | typeof AavePayloads | typeof EthenaPayloads | typeof BancorSubPayloads | typeof RedbellySubPayloads | typeof BakerDaoSubPayloads | typeof JumperCampaignsInterface | typeof TACMainnetInterfaceCampaigns;
|
5985
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof MorphoCampaignsInterface | typeof KeyringInterfaceCampaigns | typeof NibiruSubPayloads | typeof SagaCampaignsInterface | typeof SwellCampaignsInterface | typeof EulerCampaignsInterface | typeof EthenaCampaigns | typeof AavePayloads | typeof EthenaPayloads | typeof BancorSubPayloads | typeof RedbellySubPayloads | typeof DripPayloads | typeof BakerDaoSubPayloads | typeof JumperCampaignsInterface | typeof TACMainnetInterfaceCampaigns;
|
5984
5986
|
};
|
5985
5987
|
export {};
|