diff --git a/protocols/dymension.ts b/protocols/dymension.ts new file mode 100644 index 0000000..a7b5b2a --- /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: ["4490"], + total, + }, + categories: { + airdrop: ["Genesis Rolldrop"], + farming: ["Incentives Manager"], + noncirculating: ["Community Pool", "Ecosystem & R&D"], + insiders: ["Backers", "Core Contributors"], + }, +}; +export default apecoin;