Skip to content

Commit

Permalink
Merge pull request #88 from DefiLlama/dym
Browse files Browse the repository at this point in the history
Dym
  • Loading branch information
waynebruce0x authored Apr 19, 2024
2 parents f5ce085 + a1e9359 commit facef25
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions protocols/dymension.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit facef25

Please sign in to comment.