@merkl/api 1.0.21 → 1.0.22

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.
@@ -4184,6 +4184,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
4184
4184
  body: unknown;
4185
4185
  params: {};
4186
4186
  query: {
4187
+ recipient?: string | undefined;
4187
4188
  items?: number | undefined;
4188
4189
  page?: number | undefined;
4189
4190
  campaignIds?: string[] | undefined;
@@ -4217,6 +4218,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
4217
4218
  body: unknown;
4218
4219
  params: {};
4219
4220
  query: {
4221
+ recipient?: string | undefined;
4220
4222
  items?: number | undefined;
4221
4223
  page?: number | undefined;
4222
4224
  campaignIds?: string[] | undefined;
@@ -4249,6 +4251,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
4249
4251
  body: unknown;
4250
4252
  params: {};
4251
4253
  query: {
4254
+ recipient?: string | undefined;
4252
4255
  items?: number | undefined;
4253
4256
  page?: number | undefined;
4254
4257
  campaignIds?: string[] | undefined;
@@ -14018,6 +14021,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14018
14021
  get: (options: {
14019
14022
  headers?: Record<string, unknown> | undefined;
14020
14023
  query: {
14024
+ recipient?: string | undefined;
14021
14025
  items?: number | undefined;
14022
14026
  page?: number | undefined;
14023
14027
  campaignIds?: string[] | undefined;
@@ -14046,6 +14050,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14046
14050
  get: (options: {
14047
14051
  headers?: Record<string, unknown> | undefined;
14048
14052
  query: {
14053
+ recipient?: string | undefined;
14049
14054
  items?: number | undefined;
14050
14055
  page?: number | undefined;
14051
14056
  campaignIds?: string[] | undefined;
@@ -14073,6 +14078,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14073
14078
  get: (options: {
14074
14079
  headers?: Record<string, unknown> | undefined;
14075
14080
  query: {
14081
+ recipient?: string | undefined;
14076
14082
  items?: number | undefined;
14077
14083
  page?: number | undefined;
14078
14084
  campaignIds?: string[] | undefined;
@@ -4185,6 +4185,7 @@ declare const app: Elysia<"", {
4185
4185
  body: unknown;
4186
4186
  params: {};
4187
4187
  query: {
4188
+ recipient?: string | undefined;
4188
4189
  items?: number | undefined;
4189
4190
  page?: number | undefined;
4190
4191
  campaignIds?: string[] | undefined;
@@ -4218,6 +4219,7 @@ declare const app: Elysia<"", {
4218
4219
  body: unknown;
4219
4220
  params: {};
4220
4221
  query: {
4222
+ recipient?: string | undefined;
4221
4223
  items?: number | undefined;
4222
4224
  page?: number | undefined;
4223
4225
  campaignIds?: string[] | undefined;
@@ -4250,6 +4252,7 @@ declare const app: Elysia<"", {
4250
4252
  body: unknown;
4251
4253
  params: {};
4252
4254
  query: {
4255
+ recipient?: string | undefined;
4253
4256
  items?: number | undefined;
4254
4257
  page?: number | undefined;
4255
4258
  campaignIds?: string[] | undefined;
@@ -21,12 +21,19 @@ export declare enum program {
21
21
  GauntletCompound = "GauntletCompound",
22
22
  YieldNest = "YieldNest",
23
23
  TermMax = "TermMax",
24
- MorphoUnichain = "MorphoUnichain"
24
+ MorphoUnichain = "MorphoUnichain",
25
+ Katana = "Katana"
25
26
  }
26
27
  export declare enum yieldNestCampaigns {
27
28
  Ethereum_veYND = "Ethereum_veYND",
28
29
  Ink_Curve_ynETHx_ETH = "Ink Curve ynETHx/ETH 0x4daAcF1af85AB4728FCB63901EFc2E984b006D37"
29
30
  }
31
+ export declare enum KatanaCampaigns {
32
+ Ethereum_kpdUSDC = "Ethereum kpdUSDC 0x7B5A0182E400b241b317e781a4e9dEdFc1429822 9.589041096",
33
+ Ethereum_kpdUSDT = "Ethereum kpdUSDT 0x48c03B6FfD0008460F8657Db1037C7e09dEedfcb 9.589041096",
34
+ Ethereum_kpdWETH = "Ethereum kpdWETH 0xcc6a16Be713f6a714f68b0E1f4914fD3db15fBeF 3.835616438",
35
+ Ethereum_kpdWBTC = "Ethereum kpdWBTC 0x92C82f5F771F6A44CfA09357DD0575B81BF5F728 1.917808219"
36
+ }
30
37
  export declare enum MorphoUnichainCampaigns {
31
38
  Morpho_Supply_WETH_market_wstETH_collateral_Unichain = "Morpho Supply WETH market wstETH collateral 0x665c97ec413f4371e1c30c71153757e9b9144dfbe4284a3e910f85dedba6527d",
32
39
  Morpho_Borrow_WETH_market_wstETH_collateral_Unichain = "Morpho Borrow WETH market wstETH collateral 0x665c97ec413f4371e1c30c71153757e9b9144dfbe4284a3e910f85dedba6527d",
@@ -2446,6 +2453,6 @@ declare const YieldNetCampaigns: {
2446
2453
  };
2447
2454
  };
2448
2455
  export declare const MerklInterfaceCampaigns: {
2449
- [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 HypurrFiCampaignsInterface | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns;
2456
+ [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 HypurrFiCampaignsInterface | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns | typeof GauntletCompoundInterfaceCampaigns | typeof YieldNetCampaigns | typeof TermMaxInterfaceCampaigns | typeof MorphoUnichainInterfaceCampaigns | typeof KatanaCampaigns;
2450
2457
  };
2451
2458
  export {};
@@ -205,6 +205,7 @@ export declare const RewardController: Elysia<"/rewards", {
205
205
  body: unknown;
206
206
  params: {};
207
207
  query: {
208
+ recipient?: string | undefined;
208
209
  items?: number | undefined;
209
210
  page?: number | undefined;
210
211
  campaignIds?: string[] | undefined;
@@ -238,6 +239,7 @@ export declare const RewardController: Elysia<"/rewards", {
238
239
  body: unknown;
239
240
  params: {};
240
241
  query: {
242
+ recipient?: string | undefined;
241
243
  items?: number | undefined;
242
244
  page?: number | undefined;
243
245
  campaignIds?: string[] | undefined;
@@ -270,6 +272,7 @@ export declare const RewardController: Elysia<"/rewards", {
270
272
  body: unknown;
271
273
  params: {};
272
274
  query: {
275
+ recipient?: string | undefined;
273
276
  items?: number | undefined;
274
277
  page?: number | undefined;
275
278
  campaignIds?: string[] | undefined;
@@ -183,6 +183,7 @@ export declare const CampaignIdDto: import("@sinclair/typebox").TObject<{
183
183
  export declare const TokenIdDto: import("@sinclair/typebox").TObject<{
184
184
  chainId: import("@sinclair/typebox").TNumber;
185
185
  address: import("@sinclair/typebox").TString;
186
+ recipient: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
186
187
  campaignIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
187
188
  page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
188
189
  items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -151,11 +151,11 @@ export declare abstract class RewardRepository {
151
151
  pending: string;
152
152
  recipient: string;
153
153
  }[]>;
154
- static totalForToken(tokenId: string, root: string): Promise<{
154
+ static totalForToken(tokenId: string, root: string, query: TokenIdModel): Promise<{
155
155
  tokenId: string;
156
156
  amount: bigint;
157
157
  }>;
158
- static countForToken(tokenId: string, root: string): Promise<{
158
+ static countForToken(tokenId: string, root: string, query: TokenIdModel): Promise<{
159
159
  count: number;
160
160
  }>;
161
161
  static getAmountAndClaimedForCampaigns(root: string, x: CampaignIdWithoutPageModel): Promise<{
@@ -3994,6 +3994,7 @@ export declare const v4: Elysia<"/v4", {
3994
3994
  body: unknown;
3995
3995
  params: {};
3996
3996
  query: {
3997
+ recipient?: string | undefined;
3997
3998
  items?: number | undefined;
3998
3999
  page?: number | undefined;
3999
4000
  campaignIds?: string[] | undefined;
@@ -4027,6 +4028,7 @@ export declare const v4: Elysia<"/v4", {
4027
4028
  body: unknown;
4028
4029
  params: {};
4029
4030
  query: {
4031
+ recipient?: string | undefined;
4030
4032
  items?: number | undefined;
4031
4033
  page?: number | undefined;
4032
4034
  campaignIds?: string[] | undefined;
@@ -4059,6 +4061,7 @@ export declare const v4: Elysia<"/v4", {
4059
4061
  body: unknown;
4060
4062
  params: {};
4061
4063
  query: {
4064
+ recipient?: string | undefined;
4062
4065
  items?: number | undefined;
4063
4066
  page?: number | undefined;
4064
4067
  campaignIds?: string[] | undefined;