@merkl/api 1.0.97 → 1.0.99

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.
@@ -149,7 +149,9 @@ export declare const TokenController: Elysia<"/tokens", {
149
149
  params: {
150
150
  chainId: number;
151
151
  };
152
- query: unknown;
152
+ query: {
153
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
154
+ };
153
155
  headers: unknown;
154
156
  response: {
155
157
  200: {
@@ -1,4 +1,5 @@
1
1
  import { type ChainId } from "@angleprotocol/sdk/ts";
2
+ import type { TokenType } from "@package/databases/api";
2
3
  import type { GetTokenQueryModel, Token, TokenModel, UpdateTokenModel } from "./token.model";
3
4
  export declare abstract class TokenRepository {
4
5
  #private;
@@ -58,7 +59,7 @@ export declare abstract class TokenRepository {
58
59
  verified: boolean;
59
60
  displaySymbol: string;
60
61
  } | null>;
61
- static findList(chainId: number, addresses: string[]): Promise<{
62
+ static findList(chainId: number, addresses: string[], types?: TokenType[]): Promise<{
62
63
  symbol: string;
63
64
  name: string | null;
64
65
  decimals: number;
@@ -277,7 +277,7 @@ export declare abstract class TokenService {
277
277
  verified: boolean;
278
278
  displaySymbol: string;
279
279
  }[]>>;
280
- static getValidRewardTokens(chainId: number): Promise<{
280
+ static getValidRewardTokens(chainId: number, types?: TokenType[]): Promise<{
281
281
  minimumAmountPerHour: string | undefined;
282
282
  isTokenWrapper: true | undefined;
283
283
  tokenWrapperAddress: string | undefined;