@merkl/api 1.0.97 → 1.0.98
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 +3282 -104
- package/dist/src/index.d.ts +1638 -49
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +380 -10
- package/dist/src/modules/v4/campaign/campaign.convertor.d.ts +2 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -22
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +1162 -32
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +14 -1
- package/dist/src/modules/v4/payload/payload.controller.d.ts +93 -6
- package/dist/src/modules/v4/payload/payload.service.d.ts +95 -8
- package/dist/src/modules/v4/router.d.ts +1638 -49
- package/dist/src/modules/v4/token/token.controller.d.ts +3 -1
- package/dist/src/modules/v4/token/token.repository.d.ts +2 -1
- package/dist/src/modules/v4/token/token.service.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -149,7 +149,9 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
149
149
|
params: {
|
150
150
|
chainId: number;
|
151
151
|
};
|
152
|
-
query:
|
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;
|