@merkl/api 0.10.116 → 0.10.117
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/default.d.ts +1 -1
- package/dist/database/api/.generated/edge.d.ts +1 -1
- package/dist/database/api/.generated/index.d.ts +335 -311
- package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/api/.generated/package.json +15 -2
- package/dist/database/api/.generated/runtime/library.d.ts +195 -79
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.d.ts +1 -1
- package/dist/database/engine/.generated/default.d.ts +1 -1
- package/dist/database/engine/.generated/edge.d.ts +1 -1
- package/dist/database/engine/.generated/index.d.ts +16 -104
- package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
- package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
- package/dist/database/engine/.generated/package.json +14 -1
- package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
- package/dist/database/engine/.generated/wasm.d.ts +1 -1
- package/dist/src/eden/index.d.ts +470 -414
- package/dist/src/index.d.ts +160 -138
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
- package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
- package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
- package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
- package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
- package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
- package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
- package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +22 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
- package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
- package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
- package/dist/src/modules/v4/price/price.service.d.ts +8 -8
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
- package/dist/src/modules/v4/reward/reward.controller.d.ts +11 -8
- package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
- package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
- package/dist/src/modules/v4/reward/reward.service.d.ts +133 -130
- package/dist/src/modules/v4/router.d.ts +160 -138
- package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
- package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
- package/dist/src/modules/v4/status/status.service.d.ts +20 -20
- package/dist/src/modules/v4/user/user.controller.d.ts +44 -44
- package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
- package/dist/src/modules/v4/user/user.service.d.ts +3 -3
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +160 -138
- package/dist/src/routes/v3/blacklist.d.ts +160 -138
- package/dist/src/routes/v3/campaigns.d.ts +160 -138
- package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
- package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
- package/dist/src/routes/v3/opportunity.d.ts +160 -138
- package/dist/src/routes/v3/positions.d.ts +160 -138
- package/dist/src/routes/v3/rewards.d.ts +160 -138
- package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
- package/dist/src/routes/v3/updates.d.ts +160 -138
- package/dist/src/routes/v3/userRewards.d.ts +160 -138
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@merkl/api",
|
3
|
-
"version": "v0.10.
|
3
|
+
"version": "v0.10.117",
|
4
4
|
"type": "module",
|
5
5
|
"types": "./dist/src/eden/index.d.ts",
|
6
6
|
"main": "./dist/src/eden/index.js",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"@elysiajs/cors": "^0.7.2",
|
35
35
|
"@elysiajs/swagger": "^0.7.4",
|
36
36
|
"@ethersproject/abi": "^5.7.0",
|
37
|
-
"@prisma/client": "
|
37
|
+
"@prisma/client": "6.0.1",
|
38
38
|
"@sinclair/typebox": "^0.33.4",
|
39
39
|
"@types/crypto-js": "^4.2.1",
|
40
40
|
"@types/lodash": "^4.17.12",
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"@types/treeify": "^1.0.3",
|
76
76
|
"@types/uuid": "^9.0.7",
|
77
77
|
"bun-types": "latest",
|
78
|
-
"prisma": "^
|
78
|
+
"prisma": "^6.0.1"
|
79
79
|
},
|
80
80
|
"repository": {
|
81
81
|
"type": "git",
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { type MerklChainId } from "@sdk";
|
2
|
-
export type RewardsT = {
|
3
|
-
[chainId: number]: {
|
4
|
-
tokenData: {
|
5
|
-
[token: string]: {
|
6
|
-
accumulated: string;
|
7
|
-
unclaimed: string;
|
8
|
-
decimals: number;
|
9
|
-
symbol: string;
|
10
|
-
proof: string[];
|
11
|
-
};
|
12
|
-
};
|
13
|
-
campaignData: {
|
14
|
-
[campaignId: string]: {
|
15
|
-
[reason: string]: {
|
16
|
-
accumulated: string;
|
17
|
-
unclaimed: string;
|
18
|
-
token: string;
|
19
|
-
decimals: number;
|
20
|
-
symbol: string;
|
21
|
-
mainParameter: string;
|
22
|
-
auxiliaryData1: string;
|
23
|
-
auxiliaryData2: string;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
};
|
27
|
-
};
|
28
|
-
};
|
29
|
-
export declare const getRewards: (chainIds: MerklChainId[], user: string, merklRoots: string[], creatorTag?: string) => Promise<RewardsT>;
|