Skip to content

Commit

Permalink
update allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Oct 25, 2023
1 parent 3a6a7f1 commit 43aa418
Showing 1 changed file with 43 additions and 22 deletions.
65 changes: 43 additions & 22 deletions protocols/immutable.ts
Original file line number Diff line number Diff line change
@@ -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"],
},
};

Expand Down

0 comments on commit 43aa418

Please sign in to comment.