@merkl/api 0.10.160 → 0.10.162
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/modules/v4/reward/reward.model.d.ts +1 -11
- package/dist/src/modules/v4/reward/reward.repository.js +2 -3
- package/dist/src/routes/v3/campaignsRewardsReport.js +1 -1
- package/dist/src/routes/v3/rewardsReport.js +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -178,16 +178,6 @@ export type BreakdownForCampaignsRaw = {
|
|
178
178
|
recipient: string;
|
179
179
|
campaignId: string;
|
180
180
|
reason: string;
|
181
|
-
|
182
|
-
id: string;
|
183
|
-
name: string;
|
184
|
-
chainId: number;
|
185
|
-
address: string;
|
186
|
-
decimals: number;
|
187
|
-
symbol: string;
|
188
|
-
icon: string;
|
189
|
-
verified: boolean;
|
190
|
-
price: number;
|
191
|
-
};
|
181
|
+
rewardTokenAddress: string;
|
192
182
|
};
|
193
183
|
export {};
|
@@ -186,13 +186,12 @@ export class RewardRepository {
|
|
186
186
|
SELECT
|
187
187
|
rb."amount",
|
188
188
|
rb."reason",
|
189
|
-
r."recipient"
|
189
|
+
r."recipient",
|
190
|
+
t."address" as "rewardTokenAddress"
|
190
191
|
FROM
|
191
192
|
"RewardBreakdown" rb
|
192
193
|
INNER JOIN
|
193
194
|
"Reward" r ON rb."rewardId" = r."id"
|
194
|
-
INNER JOIN
|
195
|
-
"Campaign" c ON rb."campaignId" = c."id"
|
196
195
|
INNER JOIN
|
197
196
|
"Token" t ON r."rewardTokenId" = t."id"
|
198
197
|
WHERE
|