-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from DefiLlama/dym
Dym
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |