diff --git a/protocols/fxn.ts b/protocols/fxn.ts new file mode 100644 index 0000000..3afdc6e --- /dev/null +++ b/protocols/fxn.ts @@ -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; diff --git a/protocols/injective.ts b/protocols/injective.ts index f2264e2..2af7836 100644 --- a/protocols/injective.ts +++ b/protocols/injective.ts @@ -11,7 +11,7 @@ const aptos: Protocol = { start + periodToSeconds.month, periodToSeconds.month, 10, - totalQty * 0.01 + totalQty * 0.01, ), ], Ecosystem: [ @@ -20,7 +20,7 @@ const aptos: Protocol = { start + periodToSeconds.month * 7, periodToSeconds.month * 3, 9, - (totalQty * 0.36 * 0.83) / 9 + (totalQty * 0.36 * 0.83) / 9, ), ], Team: [ @@ -28,7 +28,7 @@ const aptos: Protocol = { start + periodToSeconds.month * 9, periodToSeconds.month * 6, 5, - (totalQty * 0.2) / 5 + (totalQty * 0.2) / 5, ), ], "Private Sale": [ @@ -36,7 +36,7 @@ const aptos: Protocol = { start + periodToSeconds.month * 6, periodToSeconds.month * 6, 3, - (totalQty * 0.167) / 3 + (totalQty * 0.167) / 3, ), ], "Seed Sale": [ @@ -44,7 +44,7 @@ const aptos: Protocol = { start + periodToSeconds.month * 7, periodToSeconds.month * 6, 3, - totalQty * 0.06 * 0.33 + totalQty * 0.06 * 0.33, ), ], Advisors: [ @@ -52,7 +52,7 @@ const aptos: Protocol = { start + periodToSeconds.month * 9, periodToSeconds.month * 6, 6, - totalQty * 0.02 * 0.167 + totalQty * 0.02 * 0.167, ), ], meta: {