We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38fb29b commit 57e3359Copy full SHA for 57e3359
utils/convertToRawData.ts
@@ -131,8 +131,8 @@ export async function createRawSections(
131
const totalNewWeeklyRate = linearAllocations.reduce((sum, a) => sum + (a.newRatePerWeek || 0), 0);
132
metadata.unlockEvents.push({
133
timestamp,
134
- cliffAllocations,
135
- linearAllocations,
+ cliffAllocations: cliffAllocations.map(({ timestamp, ...rest }) => rest),
+ linearAllocations: linearAllocations.map(({ timestamp, ...rest }) => rest),
136
summary: {
137
totalTokensCliff: totalTokensCliff > 0 ? totalTokensCliff : undefined,
138
netChangeInWeeklyRate: netChangeInWeeklyRate !== 0 ? netChangeInWeeklyRate : undefined,
0 commit comments