From 43aa418253d0680847b99a52b6a375c40e7532ce Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Wed, 25 Oct 2023 19:54:57 +0100 Subject: [PATCH] update allocation --- protocols/immutable.ts | 65 ++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 22 deletions(-) diff --git a/protocols/immutable.ts b/protocols/immutable.ts index de6b575..319b13b 100644 --- a/protocols/immutable.ts +++ b/protocols/immutable.ts @@ -1,44 +1,65 @@ -import { manualCliff, manualStep } from "../adapters/manual"; +import { manualCliff, manualStep, manualLinear, manualLog } from "../adapters/manual"; import { Protocol } from "../types/adapters"; import { periodToSeconds } from "../utils/time"; -const start = 1636156800; -const qty = 2_000_000_000; +const start = 1636156800; // 05 Nov 2021 +const end = start + periodToSeconds.year * 4; // 31 Oct 2025 +const periodLength = periodToSeconds.month; -const immutable: Protocol = { - "ecosystem development": manualStep( - start, - periodToSeconds.month, - 48, - (qty * 0.5174) / 48, - ), - "project development": manualStep( +const ecosystemDevelopment = manualLog( + start, + end, + 1_034_461_000, + periodLength, + 0.10, + true +); + +const projectDevelopment = [ + manualCliff(start + 12 * periodToSeconds.month, 0), + manualStep( start + 12 * periodToSeconds.month, periodToSeconds.month, 36, - (qty * 0.25) / 36, - ), - "private sale": manualStep( + 500_000_000 / 36 + ) +]; + +const privateSale = [ + manualCliff(start + 12 * periodToSeconds.month, 0), + manualStep( start + 12 * periodToSeconds.month, periodToSeconds.month, - 18, - (qty * 0.1426) / 18, - ), - "public sale": manualStep(start, periodToSeconds.month, 6, (qty * 0.05) / 6), - "foundation reserve": manualCliff(start, qty * 0.04), + 20, + 277_139_000 / 20 + ) +]; + +const publicSale1 = manualStep(start, periodToSeconds.month, 3, 58_800_000 / 3); +const publicSale2 = manualStep(start, periodToSeconds.month, 6, 49_600_000 / 6); + +const immutable: Protocol = { + "Ecosystem Development": ecosystemDevelopment, + "Project Development": projectDevelopment, + "Private Sale": privateSale, + "Public Sale 1": publicSale1, + "Public Sale 2": publicSale2, + "Foundation Reserve": manualCliff(start, 80_000_000), meta: { token: "ethereum:0xF57e7e7C23978C3cAEC3C3548E3D615c346e79fF", sources: [ "https://www.digitalworldsnfts.com/imx-token", "https://assets.website-files.com/646557ee455c3e16e4a9bcb3/646557ee455c3e16e4a9be87_Immutable%20X%20Whitepaper.pdf", + "https://twitter.com/0xferg/status/1714270599214981164" ], protocolIds: ["3139"], }, categories: { - insiders: ["project development", "private sale"], - noncirculating: [], - publicSale: ["public sale"], + farming: ["Ecosystem Development"], + insiders: ["Project Development", "Private Sale"], + publicSale: ["Public Sale 1", "Public Sale 2"], + noncirculating: ["Foundation Reserve"], }, };