@merkl/api 1.1.10 → 1.1.12
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/constants.d.ts +0 -61
- package/dist/src/eden/index.d.ts +10 -8
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/ERC4626/metadata.d.ts +31 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/ERC4626/tvl.d.ts +6 -0
- package/dist/src/index.d.ts +5 -4
- package/dist/src/modules/v4/opportunity/opportunity.converter.d.ts +2 -0
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +208 -4
- package/dist/src/modules/v4/reward/reward.controller.d.ts +3 -3
- package/dist/src/modules/v4/router.d.ts +4 -4
- package/dist/src/routes/v3/opportunity.d.ts +1 -0
- package/dist/src/routes/v3/router.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/constants.d.ts
CHANGED
@@ -10,10 +10,6 @@ export declare const SORTEDCDPS_ADDRESS = "0x591AcB5AE192c147948c12651a0a5f24f05
|
|
10
10
|
export declare const RFX_DATASTORE = "0x895124783008C6c68eFcccac24c482Fdf30439B2";
|
11
11
|
export declare const constantChain: {
|
12
12
|
1: {
|
13
|
-
apw: string;
|
14
|
-
convexEndpoint: string;
|
15
|
-
crv: string;
|
16
|
-
crv3: string;
|
17
13
|
crvANGLESDANGLE: string;
|
18
14
|
crvEURAEUROC: string;
|
19
15
|
crvEURAEURe: string;
|
@@ -21,63 +17,6 @@ export declare const constantChain: {
|
|
21
17
|
crvFRAX: string;
|
22
18
|
crvFRAXEURA: string;
|
23
19
|
crvLUSD3CRV: string;
|
24
|
-
cvx: string;
|
25
|
-
dai: string;
|
26
|
-
frax: string;
|
27
|
-
fxs: string;
|
28
|
-
morpho: string;
|
29
|
-
rKP3R: string;
|
30
|
-
sdt: string;
|
31
|
-
stakeEndpoint: string;
|
32
|
-
sushi: string;
|
33
|
-
usdc: string;
|
34
|
-
weth: string;
|
35
|
-
wstETH: string;
|
36
|
-
};
|
37
|
-
42161: {
|
38
|
-
arb: string;
|
39
|
-
chr: string;
|
40
|
-
convexProxy: string;
|
41
|
-
crv: string;
|
42
|
-
crv2Pool: string;
|
43
|
-
cvx: string;
|
44
|
-
frax: string;
|
45
|
-
jeur: string;
|
46
|
-
ram: string;
|
47
|
-
sdt: string;
|
48
|
-
sliz: string;
|
49
|
-
stakeEndpoint: string;
|
50
|
-
usdc: string;
|
51
|
-
};
|
52
|
-
10: {
|
53
|
-
jeur: string;
|
54
|
-
mai: string;
|
55
|
-
op: string;
|
56
|
-
usdc: string;
|
57
|
-
usdce: string;
|
58
|
-
velo: string;
|
59
|
-
veloV2: string;
|
60
|
-
};
|
61
|
-
8453: {
|
62
|
-
aero: string;
|
63
|
-
usdc: string;
|
64
|
-
};
|
65
|
-
137: {
|
66
|
-
am3CRV: string;
|
67
|
-
amDAI: string;
|
68
|
-
amUSDC: string;
|
69
|
-
amUSDT: string;
|
70
|
-
jeur: string;
|
71
|
-
jrt: string;
|
72
|
-
oretro: string;
|
73
|
-
usdc: string;
|
74
|
-
};
|
75
|
-
43114: {
|
76
|
-
glcr: string;
|
77
|
-
usdc: string;
|
78
|
-
};
|
79
|
-
56: {
|
80
|
-
cake: string;
|
81
20
|
};
|
82
21
|
};
|
83
22
|
export declare const MAVERICK_ZKSYNC_BP_LENS_ADDRESS = "0xd32CE31CaC98CAC0631764B8286358c0606D87F9";
|
package/dist/src/eden/index.d.ts
CHANGED
@@ -897,6 +897,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
897
897
|
[x: `63_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
898
898
|
[x: `64_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
899
899
|
[x: `65_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
900
|
+
[x: `66_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
900
901
|
};
|
901
902
|
422: {
|
902
903
|
type: "validation";
|
@@ -6994,8 +6995,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
6994
6995
|
query: {
|
6995
6996
|
recipient?: string | undefined;
|
6996
6997
|
items?: number | undefined;
|
6997
|
-
page?: number | undefined;
|
6998
6998
|
campaignIds?: string[] | undefined;
|
6999
|
+
page?: number | undefined;
|
6999
7000
|
address: string;
|
7000
7001
|
chainId: number;
|
7001
7002
|
};
|
@@ -7028,8 +7029,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7028
7029
|
query: {
|
7029
7030
|
recipient?: string | undefined;
|
7030
7031
|
items?: number | undefined;
|
7031
|
-
page?: number | undefined;
|
7032
7032
|
campaignIds?: string[] | undefined;
|
7033
|
+
page?: number | undefined;
|
7033
7034
|
address: string;
|
7034
7035
|
chainId: number;
|
7035
7036
|
};
|
@@ -7061,8 +7062,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7061
7062
|
query: {
|
7062
7063
|
recipient?: string | undefined;
|
7063
7064
|
items?: number | undefined;
|
7064
|
-
page?: number | undefined;
|
7065
7065
|
campaignIds?: string[] | undefined;
|
7066
|
+
page?: number | undefined;
|
7066
7067
|
address: string;
|
7067
7068
|
chainId: number;
|
7068
7069
|
};
|
@@ -9514,7 +9515,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
9514
9515
|
hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
|
9515
9516
|
computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
|
9516
9517
|
distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
|
9517
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
9518
|
+
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").Campaign.CCL_TAC | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
9518
9519
|
endTimestamp: number;
|
9519
9520
|
targetToken: string;
|
9520
9521
|
whitelist: string[];
|
@@ -12918,6 +12919,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12918
12919
|
[x: `63_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
12919
12920
|
[x: `64_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
12920
12921
|
[x: `65_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
12922
|
+
[x: `66_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
12921
12923
|
};
|
12922
12924
|
422: {
|
12923
12925
|
type: "validation";
|
@@ -18728,8 +18730,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
18728
18730
|
query: {
|
18729
18731
|
recipient?: string | undefined;
|
18730
18732
|
items?: number | undefined;
|
18731
|
-
page?: number | undefined;
|
18732
18733
|
campaignIds?: string[] | undefined;
|
18734
|
+
page?: number | undefined;
|
18733
18735
|
address: string;
|
18734
18736
|
chainId: number;
|
18735
18737
|
};
|
@@ -18757,8 +18759,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
18757
18759
|
query: {
|
18758
18760
|
recipient?: string | undefined;
|
18759
18761
|
items?: number | undefined;
|
18760
|
-
page?: number | undefined;
|
18761
18762
|
campaignIds?: string[] | undefined;
|
18763
|
+
page?: number | undefined;
|
18762
18764
|
address: string;
|
18763
18765
|
chainId: number;
|
18764
18766
|
};
|
@@ -18785,8 +18787,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
18785
18787
|
query: {
|
18786
18788
|
recipient?: string | undefined;
|
18787
18789
|
items?: number | undefined;
|
18788
|
-
page?: number | undefined;
|
18789
18790
|
campaignIds?: string[] | undefined;
|
18791
|
+
page?: number | undefined;
|
18790
18792
|
address: string;
|
18791
18793
|
chainId: number;
|
18792
18794
|
};
|
@@ -20712,7 +20714,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
20712
20714
|
hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
|
20713
20715
|
computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
|
20714
20716
|
distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
|
20715
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
20717
|
+
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").Campaign.CCL_TAC | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
20716
20718
|
endTimestamp: number;
|
20717
20719
|
targetToken: string;
|
20718
20720
|
whitelist: string[];
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import type { Erc20LikeCampaignEnum } from "../..";
|
2
|
+
import type { MetadataBuilder } from "../../../../../../engine/metadata/interface";
|
3
|
+
import type { CampaignWithParams } from "../../../../../../modules/v4/campaign/campaign.model";
|
4
|
+
import type { ProtocolId } from "../../../../../../modules/v4/protocol/protocol.model";
|
5
|
+
export declare class ERC4626Metadata implements MetadataBuilder<Erc20LikeCampaignEnum> {
|
6
|
+
/**
|
7
|
+
* @notice Protocol entity ID - must be defined in the corresponding file and created in DB
|
8
|
+
*/
|
9
|
+
mainProtocol: ProtocolId;
|
10
|
+
/**
|
11
|
+
* @notice Protocol name - used to create the opportunity name
|
12
|
+
*/
|
13
|
+
protocolName: string;
|
14
|
+
/**
|
15
|
+
* @notice Function to generate the deposit URL for the opportunity
|
16
|
+
*/
|
17
|
+
depositUrl?: (underlyingToken: string) => string;
|
18
|
+
constructor(mainProtocol: ProtocolId, protocolName: string, depositUrl?: (underlyingToken: string) => string);
|
19
|
+
build(campaign: Omit<CampaignWithParams<Erc20LikeCampaignEnum>, "manualOverrides" | "opportunityId">, _opportunityIdentifier: string): Promise<{
|
20
|
+
action: "LEND";
|
21
|
+
mainProtocol: "splice" | "curve" | "morpho" | "compound" | "silo" | "reserve" | "gamma" | "vest" | "zero" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quickswap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "pinto" | "mimswap" | "ichi" | "ekubo" | "radiant" | "aave" | "fraxlend" | "ironclad" | "euler" | "gearbox" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "hypurrfi" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer";
|
22
|
+
name: string;
|
23
|
+
description: string;
|
24
|
+
tokens: {
|
25
|
+
chainId: number;
|
26
|
+
address: string;
|
27
|
+
}[];
|
28
|
+
depositUrl: string | undefined;
|
29
|
+
explorerAddress: string;
|
30
|
+
}>;
|
31
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { type CampaignParameters, type MerklChainId } from "@angleprotocol/sdk/ts";
|
2
|
+
import type { Erc20LikeCampaignEnum } from "../../../../../../engine/implementations/Erc20/subTypes";
|
3
|
+
import type { TVLBuilder, TVLData } from "../../../../../../engine/tvl/interface";
|
4
|
+
export declare class ERC4626TVLBuilder implements TVLBuilder<Erc20LikeCampaignEnum> {
|
5
|
+
build(computeChainId: MerklChainId, campaigns: CampaignParameters<Erc20LikeCampaignEnum>[]): Promise<TVLData<Erc20LikeCampaignEnum>>;
|
6
|
+
}
|
package/dist/src/index.d.ts
CHANGED
@@ -898,6 +898,7 @@ declare const app: Elysia<"", {
|
|
898
898
|
[x: `63_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
899
899
|
[x: `64_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
900
900
|
[x: `65_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
901
|
+
[x: `66_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
901
902
|
};
|
902
903
|
422: {
|
903
904
|
type: "validation";
|
@@ -6995,8 +6996,8 @@ declare const app: Elysia<"", {
|
|
6995
6996
|
query: {
|
6996
6997
|
recipient?: string | undefined;
|
6997
6998
|
items?: number | undefined;
|
6998
|
-
page?: number | undefined;
|
6999
6999
|
campaignIds?: string[] | undefined;
|
7000
|
+
page?: number | undefined;
|
7000
7001
|
address: string;
|
7001
7002
|
chainId: number;
|
7002
7003
|
};
|
@@ -7029,8 +7030,8 @@ declare const app: Elysia<"", {
|
|
7029
7030
|
query: {
|
7030
7031
|
recipient?: string | undefined;
|
7031
7032
|
items?: number | undefined;
|
7032
|
-
page?: number | undefined;
|
7033
7033
|
campaignIds?: string[] | undefined;
|
7034
|
+
page?: number | undefined;
|
7034
7035
|
address: string;
|
7035
7036
|
chainId: number;
|
7036
7037
|
};
|
@@ -7062,8 +7063,8 @@ declare const app: Elysia<"", {
|
|
7062
7063
|
query: {
|
7063
7064
|
recipient?: string | undefined;
|
7064
7065
|
items?: number | undefined;
|
7065
|
-
page?: number | undefined;
|
7066
7066
|
campaignIds?: string[] | undefined;
|
7067
|
+
page?: number | undefined;
|
7067
7068
|
address: string;
|
7068
7069
|
chainId: number;
|
7069
7070
|
};
|
@@ -9515,7 +9516,7 @@ declare const app: Elysia<"", {
|
|
9515
9516
|
hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
|
9516
9517
|
computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
|
9517
9518
|
distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
|
9518
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
9519
|
+
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").Campaign.CCL_TAC | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
9519
9520
|
endTimestamp: number;
|
9520
9521
|
targetToken: string;
|
9521
9522
|
whitelist: string[];
|
@@ -67,6 +67,7 @@ export declare abstract class OpportunityConvertor {
|
|
67
67
|
[id: `63_${string}`]: OpportunityV3;
|
68
68
|
[id: `64_${string}`]: OpportunityV3;
|
69
69
|
[id: `65_${string}`]: OpportunityV3;
|
70
|
+
[id: `66_${string}`]: OpportunityV3;
|
70
71
|
}>;
|
71
72
|
static logKeyAndTTLV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<void>;
|
72
73
|
static wrapV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<{
|
@@ -135,5 +136,6 @@ export declare abstract class OpportunityConvertor {
|
|
135
136
|
[id: `63_${string}`]: OpportunityV3;
|
136
137
|
[id: `64_${string}`]: OpportunityV3;
|
137
138
|
[id: `65_${string}`]: OpportunityV3;
|
139
|
+
[id: `66_${string}`]: OpportunityV3;
|
138
140
|
}>;
|
139
141
|
}
|
@@ -383,7 +383,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
|
|
383
383
|
hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
|
384
384
|
computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
|
385
385
|
distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
|
386
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
386
|
+
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").Campaign.CCL_TAC | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
387
387
|
endTimestamp: number;
|
388
388
|
targetToken: string;
|
389
389
|
whitelist: string[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Campaign, ChainId, ComposedType, CompoundV3SubCampaignType, ComputeScoreMethod, DistributionMethod, HOOK, boostingReferralFunction, contractStateBoost, defaultReferralBoost } from "@angleprotocol/sdk/ts";
|
1
|
+
import { BorrowBLProtocols, Campaign, ChainId, ComposedType, CompoundV3SubCampaignType, ComputeScoreMethod, DistributionMethod, EulerSubCampaignType, HOOK, boostingReferralFunction, contractStateBoost, defaultReferralBoost } from "@angleprotocol/sdk/ts";
|
2
2
|
import type { partialConfig } from "./programPayload.model";
|
3
3
|
import { HypurrFiSubPayloads } from "./subPayloads/hypurrFi";
|
4
4
|
import { NibiruSubPayloads } from "./subPayloads/nibiru";
|
@@ -31,7 +31,8 @@ export declare enum program {
|
|
31
31
|
Tanssi = "Tanssi",
|
32
32
|
Nibiru = "Nibiru",
|
33
33
|
Saga = "Saga",
|
34
|
-
Extrafi = "Extrafi"
|
34
|
+
Extrafi = "Extrafi",
|
35
|
+
EthenaUSDtb = "EthenaUSDtb"
|
35
36
|
}
|
36
37
|
export declare enum SagaCampaigns {
|
37
38
|
Uniswap_SAGA_USDC_Saga = "Uniswap SAGA/USDC Saga 0xc2C5f2C94759b2829C9Fd86b8d34d33DDc4D29e4",
|
@@ -1715,8 +1716,211 @@ export declare enum tacCampaigns {
|
|
1715
1716
|
TAC_Supply_uTAC = "TAC Supply uTAC++ 0xAF87B90E8a3035905697E07Bb813d2d59D2b0951"
|
1716
1717
|
}
|
1717
1718
|
export declare enum ethenaMaxAPR {
|
1718
|
-
|
1719
|
+
Ethena_USDTB_MaxAPR_Aave = "Ethena USDtb MAX APR Aave 0xEc4ef66D4fCeEba34aBB4dE69dB391Bc5476ccc8",
|
1720
|
+
Ethena_USDTB_MaxAPR_EulerPrime = "Ethena USDtb MAX APR Euler Prime 0x328646cdfBaD730432620d845B8F5A2f7D786C01",
|
1721
|
+
Ethena_USDTB_MaxAPR_EulerYield = "Ethena USDtb MAX APR Euler Yield 0x8d1A625517eD9120a8bA66d22db66ddf7fBC6c52",
|
1722
|
+
Ethena_USDTB_MaxAPR_Morpho = "Ethena USDtb MAX APR Morpho 0xBeEFC1CDAfc5b4a649b54D07AFc6bF0f75C6F4E2",
|
1723
|
+
Ethena_USDTB_MaxAPR_fUSDTB = "Ethena USDtb MAX APR Fluid fUSDtb 0x15e8c742614b5D8Db4083A41Df1A14F5D2bFB400",
|
1724
|
+
Ethena_USDTB_MaxAPR_USDEUSDTBUSDT = "Ethena USDtb MAX APR Fluid USDEUSDtb-USDT 0x5668c53C6188BA0a311E28b54D7822771D9BDeea",
|
1725
|
+
Ethena_USDTB_MaxAPR_USDEUSDTBUSDC = "Ethena USDtb MAX APR Fluid USDEUSDtb-USDC 0x71a3bD2B2214E51e33144590948aA88beAfF2E44",
|
1726
|
+
Ethena_USDTB_MaxAPR_USDEUSDTBGHO = "Ethena USDtb MAX APR Fluid USDEUSDtb-GHO 0x1e6ce96d65901E0779C17E83258e07D2f8962fa4"
|
1719
1727
|
}
|
1728
|
+
declare const EthenaCampaigns: {
|
1729
|
+
"Ethena USDtb MAX APR Aave 0xEc4ef66D4fCeEba34aBB4dE69dB391Bc5476ccc8": {
|
1730
|
+
campaignType: Campaign;
|
1731
|
+
targetToken: string;
|
1732
|
+
whitelist: never[];
|
1733
|
+
blacklist: never[];
|
1734
|
+
hooks: {
|
1735
|
+
hookType: HOOK;
|
1736
|
+
protocol: BorrowBLProtocols;
|
1737
|
+
borrowBytesLike: string[];
|
1738
|
+
computeChainId: ChainId;
|
1739
|
+
}[];
|
1740
|
+
computeChainId: ChainId;
|
1741
|
+
computeScoreParameters: {
|
1742
|
+
computeMethod: ComputeScoreMethod;
|
1743
|
+
};
|
1744
|
+
distributionMethodParameters: {
|
1745
|
+
distributionMethod: DistributionMethod;
|
1746
|
+
distributionSettings: {
|
1747
|
+
apr: string;
|
1748
|
+
rewardTokenPricing: boolean;
|
1749
|
+
targetTokenPricing: boolean;
|
1750
|
+
};
|
1751
|
+
};
|
1752
|
+
};
|
1753
|
+
"Ethena USDtb MAX APR Euler Prime 0x328646cdfBaD730432620d845B8F5A2f7D786C01": {
|
1754
|
+
campaignType: Campaign;
|
1755
|
+
subCampaignType: EulerSubCampaignType;
|
1756
|
+
evkAddress: string;
|
1757
|
+
whitelist: never[];
|
1758
|
+
blacklist: never[];
|
1759
|
+
hooks: {
|
1760
|
+
hookType: HOOK;
|
1761
|
+
protocol: BorrowBLProtocols;
|
1762
|
+
borrowBytesLike: string[];
|
1763
|
+
computeChainId: ChainId;
|
1764
|
+
}[];
|
1765
|
+
computeChainId: ChainId;
|
1766
|
+
computeScoreParameters: {
|
1767
|
+
computeMethod: ComputeScoreMethod;
|
1768
|
+
};
|
1769
|
+
distributionMethodParameters: {
|
1770
|
+
distributionMethod: DistributionMethod;
|
1771
|
+
distributionSettings: {
|
1772
|
+
apr: string;
|
1773
|
+
rewardTokenPricing: boolean;
|
1774
|
+
targetTokenPricing: boolean;
|
1775
|
+
};
|
1776
|
+
};
|
1777
|
+
};
|
1778
|
+
"Ethena USDtb MAX APR Euler Yield 0x8d1A625517eD9120a8bA66d22db66ddf7fBC6c52": {
|
1779
|
+
campaignType: Campaign;
|
1780
|
+
subCampaignType: EulerSubCampaignType;
|
1781
|
+
evkAddress: string;
|
1782
|
+
whitelist: never[];
|
1783
|
+
blacklist: never[];
|
1784
|
+
hooks: {
|
1785
|
+
hookType: HOOK;
|
1786
|
+
protocol: BorrowBLProtocols;
|
1787
|
+
borrowBytesLike: string[];
|
1788
|
+
computeChainId: ChainId;
|
1789
|
+
}[];
|
1790
|
+
computeChainId: ChainId;
|
1791
|
+
computeScoreParameters: {
|
1792
|
+
computeMethod: ComputeScoreMethod;
|
1793
|
+
};
|
1794
|
+
distributionMethodParameters: {
|
1795
|
+
distributionMethod: DistributionMethod;
|
1796
|
+
distributionSettings: {
|
1797
|
+
apr: string;
|
1798
|
+
rewardTokenPricing: boolean;
|
1799
|
+
targetTokenPricing: boolean;
|
1800
|
+
};
|
1801
|
+
};
|
1802
|
+
};
|
1803
|
+
"Ethena USDtb MAX APR Morpho 0xBeEFC1CDAfc5b4a649b54D07AFc6bF0f75C6F4E2": {
|
1804
|
+
campaignType: Campaign;
|
1805
|
+
market: string;
|
1806
|
+
whitelist: never[];
|
1807
|
+
blacklist: never[];
|
1808
|
+
hooks: {
|
1809
|
+
hookType: HOOK;
|
1810
|
+
protocol: BorrowBLProtocols;
|
1811
|
+
borrowBytesLike: string[];
|
1812
|
+
computeChainId: ChainId;
|
1813
|
+
}[];
|
1814
|
+
computeChainId: ChainId;
|
1815
|
+
computeScoreParameters: {
|
1816
|
+
computeMethod: ComputeScoreMethod;
|
1817
|
+
};
|
1818
|
+
distributionMethodParameters: {
|
1819
|
+
distributionMethod: DistributionMethod;
|
1820
|
+
distributionSettings: {
|
1821
|
+
apr: string;
|
1822
|
+
rewardTokenPricing: boolean;
|
1823
|
+
targetTokenPricing: boolean;
|
1824
|
+
};
|
1825
|
+
};
|
1826
|
+
};
|
1827
|
+
"Ethena USDtb MAX APR Fluid fUSDtb 0x15e8c742614b5D8Db4083A41Df1A14F5D2bFB400": {
|
1828
|
+
campaignType: Campaign;
|
1829
|
+
targetToken: string;
|
1830
|
+
whitelist: never[];
|
1831
|
+
blacklist: never[];
|
1832
|
+
hooks: {
|
1833
|
+
hookType: HOOK;
|
1834
|
+
protocol: BorrowBLProtocols;
|
1835
|
+
borrowBytesLike: string[];
|
1836
|
+
computeChainId: ChainId;
|
1837
|
+
}[];
|
1838
|
+
computeChainId: ChainId;
|
1839
|
+
computeScoreParameters: {
|
1840
|
+
computeMethod: ComputeScoreMethod;
|
1841
|
+
};
|
1842
|
+
distributionMethodParameters: {
|
1843
|
+
distributionMethod: DistributionMethod;
|
1844
|
+
distributionSettings: {
|
1845
|
+
apr: string;
|
1846
|
+
rewardTokenPricing: boolean;
|
1847
|
+
targetTokenPricing: boolean;
|
1848
|
+
};
|
1849
|
+
};
|
1850
|
+
};
|
1851
|
+
"Ethena USDtb MAX APR Fluid USDEUSDtb-USDT 0x5668c53C6188BA0a311E28b54D7822771D9BDeea": {
|
1852
|
+
campaignType: Campaign;
|
1853
|
+
vault: string;
|
1854
|
+
whitelist: never[];
|
1855
|
+
blacklist: never[];
|
1856
|
+
hooks: {
|
1857
|
+
hookType: HOOK;
|
1858
|
+
protocol: BorrowBLProtocols;
|
1859
|
+
borrowBytesLike: string[];
|
1860
|
+
computeChainId: ChainId;
|
1861
|
+
}[];
|
1862
|
+
computeChainId: ChainId;
|
1863
|
+
computeScoreParameters: {
|
1864
|
+
computeMethod: ComputeScoreMethod;
|
1865
|
+
};
|
1866
|
+
distributionMethodParameters: {
|
1867
|
+
distributionMethod: DistributionMethod;
|
1868
|
+
distributionSettings: {
|
1869
|
+
apr: string;
|
1870
|
+
rewardTokenPricing: boolean;
|
1871
|
+
targetTokenPricing: boolean;
|
1872
|
+
};
|
1873
|
+
};
|
1874
|
+
};
|
1875
|
+
"Ethena USDtb MAX APR Fluid USDEUSDtb-USDC 0x71a3bD2B2214E51e33144590948aA88beAfF2E44": {
|
1876
|
+
campaignType: Campaign;
|
1877
|
+
vault: string;
|
1878
|
+
whitelist: never[];
|
1879
|
+
blacklist: never[];
|
1880
|
+
hooks: {
|
1881
|
+
hookType: HOOK;
|
1882
|
+
protocol: BorrowBLProtocols;
|
1883
|
+
borrowBytesLike: string[];
|
1884
|
+
computeChainId: ChainId;
|
1885
|
+
}[];
|
1886
|
+
computeChainId: ChainId;
|
1887
|
+
computeScoreParameters: {
|
1888
|
+
computeMethod: ComputeScoreMethod;
|
1889
|
+
};
|
1890
|
+
distributionMethodParameters: {
|
1891
|
+
distributionMethod: DistributionMethod;
|
1892
|
+
distributionSettings: {
|
1893
|
+
apr: string;
|
1894
|
+
rewardTokenPricing: boolean;
|
1895
|
+
targetTokenPricing: boolean;
|
1896
|
+
};
|
1897
|
+
};
|
1898
|
+
};
|
1899
|
+
"Ethena USDtb MAX APR Fluid USDEUSDtb-GHO 0x1e6ce96d65901E0779C17E83258e07D2f8962fa4": {
|
1900
|
+
campaignType: Campaign;
|
1901
|
+
vault: string;
|
1902
|
+
whitelist: never[];
|
1903
|
+
blacklist: never[];
|
1904
|
+
hooks: {
|
1905
|
+
hookType: HOOK;
|
1906
|
+
protocol: BorrowBLProtocols;
|
1907
|
+
borrowBytesLike: string[];
|
1908
|
+
computeChainId: ChainId;
|
1909
|
+
}[];
|
1910
|
+
computeChainId: ChainId;
|
1911
|
+
computeScoreParameters: {
|
1912
|
+
computeMethod: ComputeScoreMethod;
|
1913
|
+
};
|
1914
|
+
distributionMethodParameters: {
|
1915
|
+
distributionMethod: DistributionMethod;
|
1916
|
+
distributionSettings: {
|
1917
|
+
apr: string;
|
1918
|
+
rewardTokenPricing: boolean;
|
1919
|
+
targetTokenPricing: boolean;
|
1920
|
+
};
|
1921
|
+
};
|
1922
|
+
};
|
1923
|
+
};
|
1720
1924
|
declare const AnglesInterfaceCampaigns: {
|
1721
1925
|
"0x15E96CDecA34B9DE1B31586c1206206aDb92E69D": {
|
1722
1926
|
campaignType: Campaign;
|
@@ -3710,6 +3914,6 @@ declare const stabilityCampaignsInterface: {
|
|
3710
3914
|
[key in stabilityCampaigns]: partialConfig;
|
3711
3915
|
};
|
3712
3916
|
export declare const MerklInterfaceCampaigns: {
|
3713
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof stabilityCampaignsInterface | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof NibiruSubPayloads | typeof SagaCampaignsInterface;
|
3917
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiSubPayloads | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof katanaCampaignsInterface | typeof LiskInterfaceCampaigns | typeof TestCampaigns | typeof stabilityCampaignsInterface | typeof TanssiCampaignsInterface | typeof ExtrafiCampaignsInterface | typeof NibiruSubPayloads | typeof SagaCampaignsInterface | typeof EthenaCampaigns;
|
3714
3918
|
};
|
3715
3919
|
export {};
|
@@ -207,8 +207,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
207
207
|
query: {
|
208
208
|
recipient?: string | undefined;
|
209
209
|
items?: number | undefined;
|
210
|
-
page?: number | undefined;
|
211
210
|
campaignIds?: string[] | undefined;
|
211
|
+
page?: number | undefined;
|
212
212
|
address: string;
|
213
213
|
chainId: number;
|
214
214
|
};
|
@@ -241,8 +241,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
241
241
|
query: {
|
242
242
|
recipient?: string | undefined;
|
243
243
|
items?: number | undefined;
|
244
|
-
page?: number | undefined;
|
245
244
|
campaignIds?: string[] | undefined;
|
245
|
+
page?: number | undefined;
|
246
246
|
address: string;
|
247
247
|
chainId: number;
|
248
248
|
};
|
@@ -274,8 +274,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
274
274
|
query: {
|
275
275
|
recipient?: string | undefined;
|
276
276
|
items?: number | undefined;
|
277
|
-
page?: number | undefined;
|
278
277
|
campaignIds?: string[] | undefined;
|
278
|
+
page?: number | undefined;
|
279
279
|
address: string;
|
280
280
|
chainId: number;
|
281
281
|
};
|
@@ -5530,8 +5530,8 @@ export declare const v4: Elysia<"/v4", {
|
|
5530
5530
|
query: {
|
5531
5531
|
recipient?: string | undefined;
|
5532
5532
|
items?: number | undefined;
|
5533
|
-
page?: number | undefined;
|
5534
5533
|
campaignIds?: string[] | undefined;
|
5534
|
+
page?: number | undefined;
|
5535
5535
|
address: string;
|
5536
5536
|
chainId: number;
|
5537
5537
|
};
|
@@ -5564,8 +5564,8 @@ export declare const v4: Elysia<"/v4", {
|
|
5564
5564
|
query: {
|
5565
5565
|
recipient?: string | undefined;
|
5566
5566
|
items?: number | undefined;
|
5567
|
-
page?: number | undefined;
|
5568
5567
|
campaignIds?: string[] | undefined;
|
5568
|
+
page?: number | undefined;
|
5569
5569
|
address: string;
|
5570
5570
|
chainId: number;
|
5571
5571
|
};
|
@@ -5597,8 +5597,8 @@ export declare const v4: Elysia<"/v4", {
|
|
5597
5597
|
query: {
|
5598
5598
|
recipient?: string | undefined;
|
5599
5599
|
items?: number | undefined;
|
5600
|
-
page?: number | undefined;
|
5601
5600
|
campaignIds?: string[] | undefined;
|
5601
|
+
page?: number | undefined;
|
5602
5602
|
address: string;
|
5603
5603
|
chainId: number;
|
5604
5604
|
};
|
@@ -8050,7 +8050,7 @@ export declare const v4: Elysia<"/v4", {
|
|
8050
8050
|
hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
|
8051
8051
|
computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
|
8052
8052
|
distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
|
8053
|
-
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
8053
|
+
campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").Campaign.CCL_TAC | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
|
8054
8054
|
endTimestamp: number;
|
8055
8055
|
targetToken: string;
|
8056
8056
|
whitelist: string[];
|
@@ -104,6 +104,7 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
104
104
|
[x: `63_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
105
105
|
[x: `64_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
106
106
|
[x: `65_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
107
|
+
[x: `66_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
107
108
|
};
|
108
109
|
422: {
|
109
110
|
type: "validation";
|
@@ -701,6 +701,7 @@ export declare const v3: Elysia<"/v3", {
|
|
701
701
|
[x: `63_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
702
702
|
[x: `64_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
703
703
|
[x: `65_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
704
|
+
[x: `66_${string}`]: import("@angleprotocol/sdk/ts").Opportunity;
|
704
705
|
};
|
705
706
|
422: {
|
706
707
|
type: "validation";
|