From 0ea2d136d55203b008d40b59925ab2a877ae25f4 Mon Sep 17 00:00:00 2001 From: Define101 Date: Mon, 29 Apr 2024 20:16:41 +0100 Subject: [PATCH 1/2] wip eigenlayer --- protocols/eigenlayer.ts | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 protocols/eigenlayer.ts diff --git a/protocols/eigenlayer.ts b/protocols/eigenlayer.ts new file mode 100644 index 0000000..2f6cc0c --- /dev/null +++ b/protocols/eigenlayer.ts @@ -0,0 +1,45 @@ +import { manualCliff, manualLinear, manualStep } from "../adapters/manual"; +import { Protocol } from "../types/adapters"; +import { periodToSeconds } from "../utils/time"; + +const start = 1715299260; // 10/05/2024 +const total = 1.67e9; // Total Supply: 1.67 billion tokens +const token = null; +const chain = "ethereum"; + +const eigen: Protocol = { + "Airdrop/Stakedrop": [ + manualCliff(start, total * 0.05), + manualStep(start + periodToSeconds.month * 3, periodToSeconds.month, 6, (total * 0.1) / 6), //assuming 6 + ], + "Community Initiatives": manualCliff(start + periodToSeconds.year, total * 0.15), //no idea about durations here, assuming unlock after 1 year + "Ecosystem": manualCliff(start + periodToSeconds.year, total * 0.15), //no idea about durations here, assuming unlock after 1 year + "Investors": [ + manualCliff(start + periodToSeconds.year, total * 0.295 / 4), + manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(3), + (total * 0.295 * 3) / 4, + ), + ], + "Early Contributors": [ + manualCliff(start + periodToSeconds.year, total * 0.255 / 4), + manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(3), + (total * 0.255 * 3) / 4, + ), + ], + meta: { + token: `${chain}:${token}`, + sources: ["https://docs.eigenfoundation.org/"], + protocolIds: ["3107"], + }, + categories: { + publicSale: ["Airdrop/Stakedrop"], + insiders: ["Investors", "Early Contributors"], + noncirculating: ["Community Initiatives", "Ecosystem"], + }, +}; + +export default eigen; From b4ec24a49148068144e3826876e347ef87b29438 Mon Sep 17 00:00:00 2001 From: Define101 Date: Mon, 29 Apr 2024 21:59:52 +0100 Subject: [PATCH 2/2] add notes to eigenlayer adapter --- protocols/eigenlayer.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protocols/eigenlayer.ts b/protocols/eigenlayer.ts index 2f6cc0c..c8cd6fa 100644 --- a/protocols/eigenlayer.ts +++ b/protocols/eigenlayer.ts @@ -31,6 +31,11 @@ const eigen: Protocol = { ), ], meta: { + notes: [ + "Airdrop/Stakedrop: Assuming there will be 6 seassons", + "Community Initiatives: No information, assuming is locked for 1 year", + "Ecosystem: No information, assuming is locked for 1 year", + ], token: `${chain}:${token}`, sources: ["https://docs.eigenfoundation.org/"], protocolIds: ["3107"],