From 29065bbd08c885bb551ca83709eaf358d9146a78 Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Thu, 18 Apr 2024 17:25:17 +0100 Subject: [PATCH 1/2] dym --- protocols/dymension.ts | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 protocols/dymension.ts diff --git a/protocols/dymension.ts b/protocols/dymension.ts new file mode 100644 index 0000000..589b55b --- /dev/null +++ b/protocols/dymension.ts @@ -0,0 +1,56 @@ +import { Protocol } from "../types/adapters"; +import { manualCliff, manualLinear } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const total = 1e9; +const start = 1707264000; +const token = + "ibc/9A76CDF0CBCEF37923F32518FA15E5DC92B9F56128292BC4D63C4AEA76CBB110"; +const chain = "cosmos"; + +const apecoin: Protocol = { + "Genesis Rolldrop": manualCliff(start, total * 0.08), + "Ecosystem & R&D": [ + manualCliff(start, (total * 0.2) / 3), + manualLinear(start, start + periodToSeconds.years(3), (total * 0.4) / 3), + ], + "Incentives Manager": manualLinear( + start, + start + periodToSeconds.years(5), + total / 3, + ), + "Community Pool": manualLinear( + start, + start + periodToSeconds.years(5), + total * 0.05, + ), + Backers: manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(3), + total * 0.14, + ), + "Core Contributors": manualLinear( + start + periodToSeconds.year, + start + periodToSeconds.years(3), + total * 0.2, + ), + Inflation: manualLinear(start, start + periodToSeconds.years(5), 276281562), // 5% inflation per year + meta: { + notes: [ + "Infaltion is dynamic and between 2% and 8% per year. Here we have used an approximate of 5%.", + "Unvested DYM is eligible for staking", + "The Incentives Manager and Community Pool allocations are available at genesis. Dymension indicates that they will be spent over 5 years. This is the time period used in this analysis.", + ], + sources: ["https://docs.dymension.xyz/learn/dymension/dym/distribution"], + token: `${chain}:${token}`, + protocolIds: [""], + total, + }, + categories: { + airdrop: ["Genesis Rolldrop"], + farming: ["Incentives Manager"], + noncirculating: ["Community Pool", "Ecosystem & R&D"], + insiders: ["Backers", "Core Contributors"], + }, +}; +export default apecoin; From a1e9359a09b4d70586f20f382ccaef404005181c Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Fri, 19 Apr 2024 09:53:35 +0100 Subject: [PATCH 2/2] id --- protocols/dymension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/dymension.ts b/protocols/dymension.ts index 589b55b..a7b5b2a 100644 --- a/protocols/dymension.ts +++ b/protocols/dymension.ts @@ -43,7 +43,7 @@ const apecoin: Protocol = { ], sources: ["https://docs.dymension.xyz/learn/dymension/dym/distribution"], token: `${chain}:${token}`, - protocolIds: [""], + protocolIds: ["4490"], total, }, categories: {