From 6308375b6ccb9909a8df36f0c6accdda64e7eef5 Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Thu, 25 Apr 2024 14:44:41 +0100 Subject: [PATCH] etherfi --- protocols/etherfi.ts | 60 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 protocols/etherfi.ts diff --git a/protocols/etherfi.ts b/protocols/etherfi.ts new file mode 100644 index 0000000..d7d97b9 --- /dev/null +++ b/protocols/etherfi.ts @@ -0,0 +1,60 @@ +import { balance, latest } from "../adapters/balance"; +import { manualLinear } from "../adapters/manual"; +import { Protocol } from "../types/adapters"; +import { periodToSeconds } from "../utils/time"; + +const start = 1709679600; +const total = 1e9; +const token = "0x57e114b691db790c35207b2e685d4a43181e6061"; +const chain = "ethereum"; + +const etherfi: Protocol = { + "Core Contributors": manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(3), + total * 0.2326, + ), + Treasury: () => + balance( + ["0x6329004E903B7F420245E7aF3f355186f2432466"], + token, + chain, + "etherfi", + 0, + ), + // "User Airdrops": () => balance(), + // Partnerships: () => balance(), + Investors: manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(2), + total * 0.325, + ), + meta: { + token: `${chain}:${token}`, + notes: [ + `Details of the User Airdrops and Partnerships sections wallet addresses and schedules couldn't be found so they've been excluded in this analysis.`, + ], + sources: [ + `https://etherfi.medium.com/announcing-ethfi-the-ether-fi-governance-token-8cae7327763a`, + ], + protocolIds: ["4133"], + // incompleteSections: [ + // { + // allocation: total * 0.15, + // key: "Foundation", + // lastRecord: () => latest("ethena", 0), + // }, + // { + // allocation: total * 0.3, + // key: "Ecosystem Development", + // lastRecord: () => latest("ethena", 0), + // }, + // ], + }, + categories: { + insiders: ["Investors", "Core Contributors"], + noncirculating: ["Foundation", "Ecosystem Development"], + }, +}; + +export default etherfi;