Skip to content

Commit

Permalink
add holdstation defutures
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Dec 8, 2023
1 parent c7085d6 commit ebbd793
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions protocols/holdstation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import { Protocol } from "../types/adapters";
import { manualLinear, manualCliff } from "../adapters/manual";
import { periodToSeconds } from "../utils/time";

const totalSupply = 30_000_000;
const TGE = 1700092800;

// Allocations
const investorAllocation = totalSupply * 0.10; // 10%
const publicRoundAllocation = totalSupply * 0.10; // 10%
const communityFundAllocation = totalSupply * 0.59; // 59%
const teamAllocation = totalSupply * 0.17; // 17%
const liquidityAllocation = totalSupply * 0.04; // 4%

const hold: Protocol = {
"Public Round": manualCliff(TGE, publicRoundAllocation),
"Liquidity": manualCliff(TGE, liquidityAllocation),
"Community Fund": [
manualCliff(TGE, communityFundAllocation * 0.055),
manualLinear(
TGE,
TGE + periodToSeconds.month * 60,
communityFundAllocation * 0.945
)
],
"Investor": [
manualCliff(TGE + periodToSeconds.month * 6, investorAllocation * 0.5), // First half during the cliff
manualLinear(
TGE + periodToSeconds.month * 6,
TGE + periodToSeconds.month * 18,
investorAllocation * 0.5 // Second half over the 12 months
)
],
"Team": [
manualCliff(TGE + periodToSeconds.month * 12, teamAllocation * 0.5), // First half during the cliff
manualLinear(
TGE + periodToSeconds.month * 12,
TGE + periodToSeconds.month * 72,
teamAllocation * 0.5 // Second half over the 60 months
)
],

meta: {
token: "era:0xed4040fD47629e7c8FBB7DA76bb50B3e7695F0f2",
sources: [
"https://docs.holdstation.com/holdstation-docs-en/token/tokenomics"
],
protocolIds: ["2959"],
},
categories: {
insiders: ["Team","Investor"],
liquidity: ["Liquidity"],
publicSale: ["Public Round"],
farming: ["Community Fund"]
},
};

export default hold;

0 comments on commit ebbd793

Please sign in to comment.