@merkl/api 1.0.32 → 1.0.34
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 +2 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +12 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +2 -2
- package/dist/src/modules/v4/router.d.ts +1 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +1 -0
- package/dist/src/modules/v4/user/user.model.d.ts +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -5113,6 +5113,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5113
5113
|
address: string;
|
5114
5114
|
};
|
5115
5115
|
query: {
|
5116
|
+
tags?: string | undefined;
|
5116
5117
|
test?: boolean | undefined;
|
5117
5118
|
chainIds?: string[] | undefined;
|
5118
5119
|
reloadChainId?: number | undefined;
|
@@ -14469,6 +14470,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14469
14470
|
get: (options: {
|
14470
14471
|
headers?: Record<string, unknown> | undefined;
|
14471
14472
|
query: {
|
14473
|
+
tags?: string | undefined;
|
14472
14474
|
test?: boolean | undefined;
|
14473
14475
|
chainIds?: string[] | undefined;
|
14474
14476
|
reloadChainId?: number | undefined;
|
package/dist/src/index.d.ts
CHANGED
@@ -26,7 +26,8 @@ export declare enum program {
|
|
26
26
|
}
|
27
27
|
export declare enum yieldNestCampaigns {
|
28
28
|
Ethereum_veYND = "Ethereum_veYND",
|
29
|
-
Ink_Curve_ynETHx_ETH = "Ink Curve ynETHx/ETH 0x4daAcF1af85AB4728FCB63901EFc2E984b006D37"
|
29
|
+
Ink_Curve_ynETHx_ETH = "Ink Curve ynETHx/ETH 0x4daAcF1af85AB4728FCB63901EFc2E984b006D37",
|
30
|
+
Ethereum_YND_WL = "Ethereum YND TEMP Locker and veYND"
|
30
31
|
}
|
31
32
|
export declare enum KatanaCampaigns {
|
32
33
|
Ethereum_kpdUSDC = "Ethereum kpdUSDC 0x7B5A0182E400b241b317e781a4e9dEdFc1429822 9.589041096",
|
@@ -2451,6 +2452,16 @@ declare const YieldNetCampaigns: {
|
|
2451
2452
|
forwarders: never[];
|
2452
2453
|
url: string;
|
2453
2454
|
};
|
2455
|
+
"Ethereum YND TEMP Locker and veYND": {
|
2456
|
+
campaignType: Campaign;
|
2457
|
+
computeChainId: ChainId;
|
2458
|
+
targetToken: string;
|
2459
|
+
hooks: never[];
|
2460
|
+
whitelist: string[];
|
2461
|
+
blacklist: never[];
|
2462
|
+
forwarders: never[];
|
2463
|
+
url: string;
|
2464
|
+
};
|
2454
2465
|
};
|
2455
2466
|
declare const katanaCampaignsInterface: {
|
2456
2467
|
"Ethereum kpdUSDC 0x7B5A0182E400b241b317e781a4e9dEdFc1429822 9.589041096": {
|
@@ -4,7 +4,7 @@ import type { BreakdownForCampaignsRaw, CampaignIdModel, CampaignIdWithoutPageMo
|
|
4
4
|
export declare abstract class RewardRepository {
|
5
5
|
static createManyReward(rewards: CreateManyRewardModel): Promise<Prisma.BatchPayload>;
|
6
6
|
static createManyBreakdown(data: CreateManyBreakdownModel): Promise<Prisma.BatchPayload>;
|
7
|
-
static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
7
|
+
static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, tags: string[], breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
8
8
|
RewardToken: {
|
9
9
|
symbol: string;
|
10
10
|
name: string | null;
|
@@ -362,7 +362,7 @@ export declare abstract class RewardService {
|
|
362
362
|
proofs: string[];
|
363
363
|
}[];
|
364
364
|
static createManyBreakdown(data: CreateManyBreakdownModel): Promise<import("@package/databases").BatchPayload | undefined>;
|
365
|
-
static getByRecipient(recipient: string, roots: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
365
|
+
static getByRecipient(recipient: string, roots: string[], tags: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
|
366
366
|
RewardToken: {
|
367
367
|
symbol: string;
|
368
368
|
name: string | null;
|
@@ -788,7 +788,7 @@ export declare abstract class RewardService {
|
|
788
788
|
pending: string;
|
789
789
|
rewardTokenId: string;
|
790
790
|
})[]>;
|
791
|
-
static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean): Promise<{
|
791
|
+
static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean, tags?: string[]): Promise<{
|
792
792
|
chain: Chain;
|
793
793
|
rewards: Awaited<ReturnType<(typeof RewardService)["format"]>>;
|
794
794
|
}[]>;
|
@@ -52,7 +52,8 @@ export declare const UserRewardsResourceDto: import("@sinclair/typebox").TObject
|
|
52
52
|
export declare const UserUniqueDto: import("@sinclair/typebox").TObject<{
|
53
53
|
address: import("@sinclair/typebox").TString;
|
54
54
|
}>;
|
55
|
-
export declare const
|
55
|
+
export declare const GetRewardBreakdownsDto: import("@sinclair/typebox").TObject<{
|
56
|
+
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
56
57
|
chainIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
57
58
|
reloadChainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
58
59
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
@@ -80,5 +81,5 @@ export declare const UserTagsDto: import("@sinclair/typebox").TObject<{
|
|
80
81
|
}>;
|
81
82
|
export type UserUniqueModel = typeof UserUniqueDto.static;
|
82
83
|
export type UserModel = typeof UserDto.static;
|
83
|
-
export type OptionalChainIdModel = typeof
|
84
|
+
export type OptionalChainIdModel = typeof GetRewardBreakdownsDto.static;
|
84
85
|
export type GetManyUserModel = typeof GetManyUserQuery.static;
|