@merkl/api 1.1.42 → 1.1.43
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 -12
- package/dist/src/index.d.ts +2 -6
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +507 -5
- package/dist/src/modules/v4/programPayload/subPayloads/credix.d.ts +83 -0
- package/dist/src/modules/v4/programPayload/subPayloads/helpers.d.ts +1 -1
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +24 -1
- package/dist/src/modules/v4/router.d.ts +0 -4
- package/dist/src/modules/v4/ton/ton.controller.d.ts +0 -4
- package/dist/src/routes/v3/euler.d.ts +2 -2
- package/dist/src/routes/v3/router.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -0,0 +1,83 @@
|
|
1
|
+
import { Campaign, ChainId, ComposedType, ComputeScoreMethod } from "@angleprotocol/sdk/ts";
|
2
|
+
export declare enum CredixCampaigns {
|
3
|
+
CredixUSDC = "Credix USDC",
|
4
|
+
CredixwS = "Credix WS",
|
5
|
+
CredixscUSD = "Credix scUSD"
|
6
|
+
}
|
7
|
+
export declare const CredixPayloads: {
|
8
|
+
"Credix USDC": {
|
9
|
+
campaignType: Campaign;
|
10
|
+
computeScoreParameters: {
|
11
|
+
computeMethod: ComputeScoreMethod;
|
12
|
+
};
|
13
|
+
hooks: never[];
|
14
|
+
whitelist: never[];
|
15
|
+
blacklist: never[];
|
16
|
+
composedCampaigns: {
|
17
|
+
composedIndex: number;
|
18
|
+
composedType: ComposedType;
|
19
|
+
campaignType: Campaign;
|
20
|
+
targetToken: string;
|
21
|
+
computeChainId: ChainId;
|
22
|
+
computeScoreParameters: {
|
23
|
+
computeMethod: ComputeScoreMethod;
|
24
|
+
};
|
25
|
+
composedMultiplier: string;
|
26
|
+
whitelist: never[];
|
27
|
+
blacklist: never[];
|
28
|
+
forwarders: never[];
|
29
|
+
hooks: never[];
|
30
|
+
}[];
|
31
|
+
composedCampaignsCompute: string;
|
32
|
+
};
|
33
|
+
"Credix scUSD": {
|
34
|
+
campaignType: Campaign;
|
35
|
+
computeScoreParameters: {
|
36
|
+
computeMethod: ComputeScoreMethod;
|
37
|
+
};
|
38
|
+
hooks: never[];
|
39
|
+
whitelist: never[];
|
40
|
+
blacklist: never[];
|
41
|
+
composedCampaigns: {
|
42
|
+
composedIndex: number;
|
43
|
+
composedType: ComposedType;
|
44
|
+
campaignType: Campaign;
|
45
|
+
targetToken: string;
|
46
|
+
computeChainId: ChainId;
|
47
|
+
computeScoreParameters: {
|
48
|
+
computeMethod: ComputeScoreMethod;
|
49
|
+
};
|
50
|
+
composedMultiplier: string;
|
51
|
+
whitelist: never[];
|
52
|
+
blacklist: never[];
|
53
|
+
forwarders: never[];
|
54
|
+
hooks: never[];
|
55
|
+
}[];
|
56
|
+
composedCampaignsCompute: string;
|
57
|
+
};
|
58
|
+
"Credix WS": {
|
59
|
+
campaignType: Campaign;
|
60
|
+
computeScoreParameters: {
|
61
|
+
computeMethod: ComputeScoreMethod;
|
62
|
+
};
|
63
|
+
hooks: never[];
|
64
|
+
whitelist: never[];
|
65
|
+
blacklist: never[];
|
66
|
+
composedCampaigns: {
|
67
|
+
composedIndex: number;
|
68
|
+
composedType: ComposedType;
|
69
|
+
campaignType: Campaign;
|
70
|
+
targetToken: string;
|
71
|
+
computeChainId: ChainId;
|
72
|
+
computeScoreParameters: {
|
73
|
+
computeMethod: ComputeScoreMethod;
|
74
|
+
};
|
75
|
+
composedMultiplier: string;
|
76
|
+
whitelist: never[];
|
77
|
+
blacklist: never[];
|
78
|
+
forwarders: never[];
|
79
|
+
hooks: never[];
|
80
|
+
}[];
|
81
|
+
composedCampaignsCompute: string;
|
82
|
+
};
|
83
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
export declare function generateAPR(multiplier: number, live?: boolean,
|
1
|
+
export declare function generateAPR(multiplier: number, live?: boolean, price?: number): string;
|
@@ -48,7 +48,25 @@ export declare enum HypuurCampaigns {
|
|
48
48
|
IsolatedhwHLPDepositUSDT0 = "Isolated hwHLP Deposit USDT0",
|
49
49
|
IsolatedhwHLPBorrowUSDT0 = "Isolated hwHLP Borrow USDT0",
|
50
50
|
IsolatedhwHLPDepositUSDHL = "Isolated hwHLP Deposit USDHL",
|
51
|
-
IsolatedhwHLPBorrowUSDHL = "Isolated hwHLP Borrow USDHL"
|
51
|
+
IsolatedhwHLPBorrowUSDHL = "Isolated hwHLP Borrow USDHL",
|
52
|
+
IsolatedwHLPDepositUSDT0 = "Isolated wHLP Deposit USDT0",
|
53
|
+
IsolatedwHLPBorrowUSDDT0 = "Isolated wHLP Borrow USDDT0",
|
54
|
+
USDXLHYPEHYPERV2 = "USDXL-HYPE-HYPER-V2",
|
55
|
+
USDXLHYPEV2 = "USDXL-HYPE-V2",
|
56
|
+
HYPEUETHV2 = "HYPE-UETH-V2",
|
57
|
+
USDXLLHYPEV2 = "USDXL-LHYPE-V2",
|
58
|
+
HYPEUBTCV2 = "HYPE-UBTC-V2",
|
59
|
+
USDXLfeUSDV2 = "USDXL-feUSD-V2",
|
60
|
+
USDXLKEIV2 = "USDXL-KEI-V2",
|
61
|
+
HyperBeatVaultPredeposits = "HyperBeat Vault Predeposits",
|
62
|
+
USDXLKEIh = "USDXL / KEI-h",
|
63
|
+
USDXLuBTCk = "USDXL-uBTC-k",
|
64
|
+
USDXLuETHk = "USDXL-uETH-k",
|
65
|
+
USDXLfeUSDk = "USDXL-feUSD-k",
|
66
|
+
USDXLUSDT0V2k = "USDXL-USDT0-V2-k",
|
67
|
+
PooledBorrowfeUSD = "Pooled Borrow feUSD",
|
68
|
+
PooledDepositUSOL = "Pooled Deposit USOL",
|
69
|
+
PooledBorrowUSOL = "Pooled Borrow USOL"
|
52
70
|
}
|
53
71
|
export declare const HypurrFiSubPayloads: {
|
54
72
|
stkUSDXL: Record<string, any>;
|
@@ -65,6 +83,8 @@ export declare const HypurrFiSubPayloads: {
|
|
65
83
|
"Pooled feUSD Deposit": Record<string, any>;
|
66
84
|
"Pooled Deposit USDT0": Record<string, any>;
|
67
85
|
"Pooled Borrow USDT0": Record<string, any>;
|
86
|
+
"Pooled Deposit USOL": Record<string, any>;
|
87
|
+
"Pooled Borrow USOL": Record<string, any>;
|
68
88
|
"Isolated LHYPE Deposit USDXL": Record<string, any>;
|
69
89
|
"Isolated LHYPE Borrow USDXL": Record<string, any>;
|
70
90
|
"Isolated PURR Deposit USDXL": Record<string, any>;
|
@@ -75,6 +95,8 @@ export declare const HypurrFiSubPayloads: {
|
|
75
95
|
"Isolated MHYPE Borrow HYPE": Record<string, any>;
|
76
96
|
"Isolated cmETH Deposit UETH": Record<string, any>;
|
77
97
|
"Isolated cmETH Borrow UETH": Record<string, any>;
|
98
|
+
"Isolated wHLP Deposit USDT0": Record<string, any>;
|
99
|
+
"Isolated wHLP Borrow USDDT0": Record<string, any>;
|
78
100
|
"Isolated BUDDY Deposit USDXL": Record<string, any>;
|
79
101
|
"Isolated BUDDY Borrow USDXL": Record<string, any>;
|
80
102
|
"Isolated XAUT0 Deposit USDT0": Record<string, any>;
|
@@ -101,4 +123,5 @@ export declare const HypurrFiSubPayloads: {
|
|
101
123
|
"USOL-HYPE Kitten": Record<string, any>;
|
102
124
|
"USDXL-Hype KittenSwap": Record<string, any>;
|
103
125
|
"XAUT0 / HYPE Hyperswap": Record<string, any>;
|
126
|
+
"USDXL-USDT0-V2-k": Record<string, any>;
|
104
127
|
};
|
@@ -10475,10 +10475,6 @@ export declare const v4: Elysia<"/v4", {
|
|
10475
10475
|
tags: string[];
|
10476
10476
|
creatorId: string | null;
|
10477
10477
|
addresses: string[];
|
10478
|
-
} | {
|
10479
|
-
address: `0x${string}`;
|
10480
|
-
tags: never[];
|
10481
|
-
creatorId: null;
|
10482
10478
|
};
|
10483
10479
|
422: {
|
10484
10480
|
type: "validation";
|
@@ -21,7 +21,7 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
21
21
|
query: unknown;
|
22
22
|
headers: unknown;
|
23
23
|
response: {
|
24
|
-
200: import("@angleprotocol/sdk/ts").EulerVaultType[]
|
24
|
+
200: import("@angleprotocol/sdk/ts").EulerVaultType[];
|
25
25
|
};
|
26
26
|
};
|
27
27
|
} & {
|
@@ -36,7 +36,7 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
36
36
|
};
|
37
37
|
headers: unknown;
|
38
38
|
response: {
|
39
|
-
200: import("@angleprotocol/sdk/ts").EulerVaultType[]
|
39
|
+
200: import("@angleprotocol/sdk/ts").EulerVaultType[];
|
40
40
|
422: {
|
41
41
|
type: "validation";
|
42
42
|
on: string;
|
@@ -337,7 +337,7 @@ export declare const v3: Elysia<"/v3", {
|
|
337
337
|
query: unknown;
|
338
338
|
headers: unknown;
|
339
339
|
response: {
|
340
|
-
200: import("@angleprotocol/sdk/ts").EulerVaultType[]
|
340
|
+
200: import("@angleprotocol/sdk/ts").EulerVaultType[];
|
341
341
|
};
|
342
342
|
};
|
343
343
|
} & {
|
@@ -352,7 +352,7 @@ export declare const v3: Elysia<"/v3", {
|
|
352
352
|
};
|
353
353
|
headers: unknown;
|
354
354
|
response: {
|
355
|
-
200: import("@angleprotocol/sdk/ts").EulerVaultType[]
|
355
|
+
200: import("@angleprotocol/sdk/ts").EulerVaultType[];
|
356
356
|
422: {
|
357
357
|
type: "validation";
|
358
358
|
on: string;
|