Skip to content

Commit

Permalink
fxn
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Apr 23, 2024
1 parent 10415b2 commit c3b2b50
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 6 deletions.
79 changes: 79 additions & 0 deletions protocols/fxn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import { Protocol } from "../types/adapters";
import { manualCliff, manualLinear, manualLog } from "../adapters/manual";
import { periodToSeconds } from "../utils/time";

const total = 2e6;
const start = 1694995200;
const fxn: Protocol = {
"Liquidity Incentives": manualLog(
start,
start + periodToSeconds.years(50),
total * 0.49,
periodToSeconds.year,
10,
true,
5,
),
"Community Contributors": [
manualLinear(start, start + periodToSeconds.year, total * 0.015),
manualLinear(
start + periodToSeconds.year,
start + periodToSeconds.years(2),
total * 0.01,
),
manualLinear(
start + periodToSeconds.years(2),
start + periodToSeconds.years(3),
total * 0.005,
),
],
"Treasury Reserve": manualLinear(
start,
start + periodToSeconds.years(2),
total * 0.1,
),
IDO: manualCliff(start, total * 0.05),
"Testnet/Beta/IDO Users": manualLinear(
start,
start + periodToSeconds.year,
total * 0.005,
),
"veCLEV Holders": manualLinear(
start,
start + periodToSeconds.year,
total * 0.0025,
),
"veCTR Holders": manualLinear(
start,
start + periodToSeconds.year,
total * 0.0025,
),
"Alladin DAO": manualLinear(
start,
start + periodToSeconds.years(2),
total * 0.3,
),
"Initial Liquidity": manualCliff(start, total * 0.01),
"Strategic Parnerships": manualLinear(
start,
start + periodToSeconds.year,
total * 0.01,
),
meta: {
sources: ["https://docs.aladdin.club/f-x-protocol/tokenomics"],
token: "ethereum:0x365accfca291e7d3914637abf1f7635db165bb09",
protocolIds: ["3344"],
},
categories: {
farming: ["Liquidity Incentives"],
insiders: [
"Community Contributors",
"Strategic Parnerships",
"Alladin DAO",
],
noncirculating: ["Treasury Reserve"],
publicSale: ["IDO", "Initial Liquidity"],
airdrop: ["Testnet/Beta/IDO Users", "veCLEV Holders", "veCTR Holders"],
},
};
export default fxn;
12 changes: 6 additions & 6 deletions protocols/injective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const aptos: Protocol = {
start + periodToSeconds.month,
periodToSeconds.month,
10,
totalQty * 0.01
totalQty * 0.01,
),
],
Ecosystem: [
Expand All @@ -20,39 +20,39 @@ const aptos: Protocol = {
start + periodToSeconds.month * 7,
periodToSeconds.month * 3,
9,
(totalQty * 0.36 * 0.83) / 9
(totalQty * 0.36 * 0.83) / 9,
),
],
Team: [
manualStep(
start + periodToSeconds.month * 9,
periodToSeconds.month * 6,
5,
(totalQty * 0.2) / 5
(totalQty * 0.2) / 5,
),
],
"Private Sale": [
manualStep(
start + periodToSeconds.month * 6,
periodToSeconds.month * 6,
3,
(totalQty * 0.167) / 3
(totalQty * 0.167) / 3,
),
],
"Seed Sale": [
manualStep(
start + periodToSeconds.month * 7,
periodToSeconds.month * 6,
3,
totalQty * 0.06 * 0.33
totalQty * 0.06 * 0.33,
),
],
Advisors: [
manualStep(
start + periodToSeconds.month * 9,
periodToSeconds.month * 6,
6,
totalQty * 0.02 * 0.167
totalQty * 0.02 * 0.167,
),
],
meta: {
Expand Down

0 comments on commit c3b2b50

Please sign in to comment.