Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dym #88

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Dym #88

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Loading