Skip to content

Commit 9798610

Browse files
committed
zora
1 parent 0369cd9 commit 9798610

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

protocols/zora.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Protocol } from "../types/adapters";
44
const tgeTimestamp = 1745416800;
55

66
const totalSupply = 10_000_000_000;
7-
const claimDayOfMonth = 30;
87

98
const createMonthlyCliffSchedule = (
109
originTimestamp: number,
@@ -25,8 +24,7 @@ const createMonthlyCliffSchedule = (
2524
const monthIndex = baseMonth + i;
2625
const year = baseYear + Math.floor(monthIndex / 12);
2726
const month = monthIndex % 12;
28-
const daysInMonth = new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
29-
const day = Math.min(claimDayOfMonth, daysInMonth);
27+
const day = new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
3028

3129
const timestamp = Math.floor(
3230
Date.UTC(year, month, day, hours, minutes, seconds) / 1000,
@@ -62,7 +60,7 @@ const zora: Protocol = {
6260
meta: {
6361
notes: [
6462
"Allocations described as 'Not subject to lockup restrictions' (Incentives, Airdrop, Liquidity) are modeled as fully unlocked at TGE using manualCliff.",
65-
"Treasury, Team, and Investors unlocks start 6 months post-TGE and occur on the last available day up to the 30th of each month (February adjusts to month-end), as per confirmed by team.",
63+
"Treasury, Team, and Investors unlocks start 6 months post-TGE and occur on the last day of each month, as per confirmed by team.",
6664
],
6765
sources: ["https://support.zora.co/en/articles/4797185"],
6866
token: `base:0x1111111111166b7fe7bd91427724b487980afc69`,

0 commit comments

Comments
 (0)