-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/DefiLlama/emissions-adapters
- Loading branch information
Showing
3 changed files
with
171 additions
and
1 deletion.
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
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,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; |
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,113 @@ | ||
import { Protocol } from "../types/adapters"; | ||
import { manualLinear, manualCliff } from "../adapters/manual"; | ||
import { periodToSeconds } from "../utils/time"; | ||
|
||
const totalSupply = 500_000_000; // Total PLX Supply | ||
const PLX_TGE = 1700784000; // Nov 24, 2023 | ||
|
||
// Allocations | ||
const investorsSeedAllocation = totalSupply * 0.0535; // 5.35% | ||
const investorsPrivateAllocation = totalSupply * 0.0535; // 5.35% | ||
const investorsKOLAllocation = totalSupply * 0.0153; // 1.53% | ||
const investorsPublicAllocation = totalSupply * 0.11; // 11% | ||
const liquidityAllocation = totalSupply * 0.04; // 4% | ||
const initialAirdropAllocation = totalSupply * 0.03; // 3% | ||
const chainlinkBuildAllocation = totalSupply * 0.01; // 1% | ||
const ecosystemAllocation = totalSupply * 0.1419; // 14.19% | ||
const marketingAllocation = totalSupply * 0.0865; // 8.65% | ||
const protocolContributorAllocation = totalSupply * 0.24; // 24% | ||
const advisorAllocation = totalSupply * 0.038; // 3.80% | ||
const teamAllocation = totalSupply * 0.1813; // 18.13% | ||
|
||
const plx: Protocol = { | ||
"Seed Investors": [ | ||
manualCliff(PLX_TGE, investorsSeedAllocation * 0.10), | ||
manualLinear( | ||
PLX_TGE + periodToSeconds.month * 1, | ||
PLX_TGE + periodToSeconds.month * 9, | ||
investorsSeedAllocation * 0.90 | ||
) | ||
], | ||
"Private Investors": [ | ||
manualCliff(PLX_TGE, investorsPrivateAllocation * 0.15), | ||
manualLinear( | ||
PLX_TGE + periodToSeconds.month * 1, | ||
PLX_TGE + periodToSeconds.month * 7, | ||
investorsPrivateAllocation * 0.85 | ||
) | ||
], | ||
"KOL Investors": [ | ||
manualCliff(PLX_TGE, investorsKOLAllocation * 0.15), | ||
manualLinear( | ||
PLX_TGE + periodToSeconds.month * 1, | ||
PLX_TGE + periodToSeconds.month * 6, | ||
investorsKOLAllocation * 0.85 | ||
) | ||
], | ||
"Public Investors": [ | ||
manualCliff(PLX_TGE, investorsPublicAllocation * 0.20), | ||
manualLinear( | ||
PLX_TGE + periodToSeconds.month * 1, | ||
PLX_TGE + periodToSeconds.month * 6, | ||
investorsPublicAllocation * 0.80 | ||
) | ||
], | ||
"Liquidity": manualCliff(PLX_TGE, liquidityAllocation), | ||
"Initial Airdrop": manualLinear( | ||
PLX_TGE, | ||
PLX_TGE + periodToSeconds.month * 12, | ||
initialAirdropAllocation | ||
), | ||
"Chainlink Build": manualLinear( | ||
PLX_TGE, | ||
PLX_TGE + periodToSeconds.year * 3, | ||
chainlinkBuildAllocation | ||
), | ||
"Ecosystem": manualLinear( | ||
PLX_TGE, | ||
PLX_TGE + periodToSeconds.year * 3, | ||
ecosystemAllocation | ||
), | ||
"Marketing": manualLinear( | ||
PLX_TGE, | ||
PLX_TGE + periodToSeconds.year * 4, | ||
marketingAllocation | ||
), | ||
"Protocol Contributor": manualLinear( | ||
PLX_TGE, | ||
PLX_TGE + periodToSeconds.year * 4, | ||
protocolContributorAllocation | ||
), | ||
"Advisor": manualLinear( | ||
PLX_TGE + periodToSeconds.month * 6, | ||
PLX_TGE + periodToSeconds.month * 24, | ||
advisorAllocation | ||
), | ||
"Team": manualLinear( | ||
PLX_TGE + periodToSeconds.month * 8, | ||
PLX_TGE + periodToSeconds.month * 34, | ||
teamAllocation | ||
), | ||
|
||
meta: { | ||
notes: [ | ||
`The emission and distribution details are based on the proposed and intended token emission and distribution for PLX.`, | ||
`The exact details might vary based on real-time decisions and governance.`, | ||
], | ||
token: "arbitrum:0x153516904bc7E28aE7C526E8aEe4EC5EaE878eDB", | ||
sources: [ | ||
"https://docs.plexus.app/plexus/tokenomics/tokenomics" | ||
], | ||
protocolIds: ["2740"], | ||
}, | ||
categories: { | ||
liquidity: ["Liquidity"], | ||
farming: ["Chainlink Build"], | ||
noncirculating: ["Ecosystem", "Marketing"], | ||
airdrop: ["Initial Airdrop"], | ||
insiders: ["Team", "Advisor","Protocol Contributor", "Private Investors", "KOL Investors", "Seed Investors"], | ||
publicSale: ["Public Investors" ] | ||
}, | ||
}; | ||
|
||
export default plx; |