Skip to content

Commit e9143e4

Browse files
committed
story
1 parent a3e41aa commit e9143e4

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

protocols/story.ts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
import { Protocol } from "../types/adapters";
2+
import { manualCliff, manualLinear, manualStep } from "../adapters/manual";
3+
import { periodToSeconds } from "../utils/time";
4+
5+
const total = 1e9;
6+
const start = 1739404800;
7+
8+
const story: Protocol = {
9+
"Core Contributors": [
10+
manualLinear(
11+
start + periodToSeconds.year,
12+
start + periodToSeconds.months(20),
13+
total * 0.066,
14+
),
15+
manualLinear(
16+
start + periodToSeconds.months(20),
17+
start + periodToSeconds.months(48),
18+
total * 0.134,
19+
),
20+
],
21+
"Early Backers": [
22+
manualLinear(
23+
start + periodToSeconds.year,
24+
start + periodToSeconds.months(20),
25+
total * 0.1,
26+
),
27+
manualLinear(
28+
start + periodToSeconds.months(20),
29+
start + periodToSeconds.months(36),
30+
total * 0.1,
31+
),
32+
manualLinear(
33+
start + periodToSeconds.months(36),
34+
start + periodToSeconds.months(48),
35+
total * 0.016,
36+
),
37+
],
38+
Foundation: [
39+
manualCliff(start, total * 0.05),
40+
manualLinear(
41+
start + periodToSeconds.months(10),
42+
start + periodToSeconds.months(12),
43+
total * 0.05,
44+
),
45+
],
46+
"Initial Incentives": manualCliff(start, total * 0.1),
47+
"Ecosystem & Community": [
48+
manualCliff(start, total * 0.1),
49+
manualLinear(start, start + periodToSeconds.years(4), total * 0.284),
50+
],
51+
meta: {
52+
notes: [
53+
"Some of the quantities shown in this analysis have been estimated from the chart in the source material.",
54+
"This data does not include staking rewards or the effects of the burn mechanism.",
55+
],
56+
sources: ["https://www.story.foundation/blog/introducing-ip"],
57+
token: "coingecko:story-2",
58+
protocolIds: ["5778"],
59+
total,
60+
},
61+
categories: {
62+
farming: ["Initial Incentives", "Ecosystem & Community"],
63+
insiders: ["Core Contributors", "Early Backers", "Foundation"],
64+
},
65+
};
66+
67+
export default story;

0 commit comments

Comments
 (0)