@merkl/api 0.10.208 → 0.10.209
Sign up to get free protection for your applications and to get access to all the features.
package/dist/src/eden/index.d.ts
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
import type { Campaign as CampaignResource } from "../modules/v4";
|
2
2
|
import type { CampaignType } from "../../database/api/.generated";
|
3
3
|
declare const eden: {
|
4
|
+
index: {
|
5
|
+
get: (options?: {
|
6
|
+
headers?: Record<string, unknown> | undefined;
|
7
|
+
query?: Record<string, unknown> | undefined;
|
8
|
+
fetch?: RequestInit | undefined;
|
9
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
10
|
+
200: string;
|
11
|
+
}>>;
|
12
|
+
};
|
4
13
|
v1: {
|
5
14
|
allowances: {
|
6
15
|
get: (options: {
|
@@ -2691,6 +2700,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
2691
2700
|
macro: {};
|
2692
2701
|
macroFn: {};
|
2693
2702
|
}, {
|
2703
|
+
index: {
|
2704
|
+
get: {
|
2705
|
+
body: unknown;
|
2706
|
+
params: {};
|
2707
|
+
query: unknown;
|
2708
|
+
headers: unknown;
|
2709
|
+
response: {
|
2710
|
+
200: string;
|
2711
|
+
};
|
2712
|
+
};
|
2713
|
+
};
|
2714
|
+
} & {
|
2694
2715
|
v1: {
|
2695
2716
|
allowances: {
|
2696
2717
|
get: {
|
@@ -6023,6 +6044,15 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6023
6044
|
resolve: {};
|
6024
6045
|
schema: {};
|
6025
6046
|
}>, config?: import("@elysiajs/eden").Treaty.Config) => {
|
6047
|
+
index: {
|
6048
|
+
get: (options?: {
|
6049
|
+
headers?: Record<string, unknown> | undefined;
|
6050
|
+
query?: Record<string, unknown> | undefined;
|
6051
|
+
fetch?: RequestInit | undefined;
|
6052
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6053
|
+
200: string;
|
6054
|
+
}>>;
|
6055
|
+
};
|
6026
6056
|
v1: {
|
6027
6057
|
allowances: {
|
6028
6058
|
get: (options: {
|
package/dist/src/index.d.ts
CHANGED
@@ -24,6 +24,18 @@ declare const app: Elysia<"", false, {
|
|
24
24
|
macro: {};
|
25
25
|
macroFn: {};
|
26
26
|
}, {
|
27
|
+
index: {
|
28
|
+
get: {
|
29
|
+
body: unknown;
|
30
|
+
params: {};
|
31
|
+
query: unknown;
|
32
|
+
headers: unknown;
|
33
|
+
response: {
|
34
|
+
200: string;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
};
|
38
|
+
} & {
|
27
39
|
v1: {
|
28
40
|
allowances: {
|
29
41
|
get: {
|
package/dist/src/index.js
CHANGED
@@ -94,6 +94,7 @@ export function generateCardName(type, typeInfo, campaign, symbols = [""]) {
|
|
94
94
|
return `Stake ${typeInfo.symbolToken0}/${typeInfo.symbolToken1} LP on ${typeInfo.protocol}`;
|
95
95
|
case tokenType.tempest:
|
96
96
|
case tokenType.tempestStaking:
|
97
|
+
return `Deposit into ${typeInfo.symbolToken0}/${typeInfo.symbolToken1} vault on ${typeInfo.protocol}`;
|
97
98
|
case tokenType.holdstation:
|
98
99
|
return `Hold vault token ${campaign.campaignParameters.symbolTargetToken} on ${typeInfo.protocol}`;
|
99
100
|
case tokenType.staking:
|