@merkl/api 1.0.42 → 1.0.44
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 +1590 -1518
- package/dist/src/index.d.ts +842 -848
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +4 -4
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +303 -315
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +83 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +90 -7
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +627 -627
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +36 -4
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
- package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
- package/dist/src/modules/v4/router.d.ts +842 -848
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.model.d.ts +2 -2
- package/dist/src/modules/v4/token/token.repository.d.ts +16 -0
- package/dist/src/modules/v4/token/token.service.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/modules/v4/user/user.model.d.ts +2 -2
- package/dist/src/utils/pagination.d.ts +11 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -2,9 +2,9 @@ export declare const TokensDto: import("@sinclair/typebox").TObject<{
|
|
2
2
|
chainId: import("@sinclair/typebox").TNumber;
|
3
3
|
tokenAddress: import("@sinclair/typebox").TString;
|
4
4
|
}>;
|
5
|
-
export declare const
|
6
|
-
page: import("@sinclair/typebox").
|
7
|
-
items: import("@sinclair/typebox").
|
5
|
+
export declare const GetTransactionsQueryDto: import("@sinclair/typebox").TObject<{
|
6
|
+
page: import("@sinclair/typebox").TNumber;
|
7
|
+
items: import("@sinclair/typebox").TNumber;
|
8
8
|
}>;
|
9
9
|
export declare const TokensDateDto: import("@sinclair/typebox").TObject<{
|
10
10
|
chainId: import("@sinclair/typebox").TNumber;
|
@@ -29,4 +29,4 @@ export declare const GetRevenuesDto: import("@sinclair/typebox").TObject<{
|
|
29
29
|
month: import("@sinclair/typebox").TNumber;
|
30
30
|
year: import("@sinclair/typebox").TNumber;
|
31
31
|
}>;
|
32
|
-
export type GetTransactionsQueryModel = typeof
|
32
|
+
export type GetTransactionsQueryModel = typeof GetTransactionsQueryDto.static;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { GetTransactionsQueryModel } from "
|
1
|
+
import type { GetTransactionsQueryModel } from "./accounting.model";
|
2
2
|
export declare class AccountingRepository {
|
3
3
|
static findMany(query: GetTransactionsQueryModel): Promise<{
|
4
4
|
id: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ChainId } from "@angleprotocol/sdk/ts";
|
2
|
-
import type { GetTransactionsQueryModel } from "
|
2
|
+
import type { GetTransactionsQueryModel } from "./accounting.model";
|
3
3
|
export declare class AccountingService {
|
4
4
|
static hashId(chainId: ChainId, fromTokenId: string, toTokenId: string, timestamp: number): string;
|
5
5
|
static getTokenId(chainId: number, address: string): string;
|