Skip to content

Commit

Permalink
flare
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed May 23, 2024
1 parent 433e637 commit f372306
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions protocols/flare.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import {
manualCliff,
manualLinear,
manualLog,
manualStep,
} from "../adapters/manual";
import { Protocol } from "../types/adapters";
import { periodToSeconds } from "../utils/time";

const start = 1673226000;
const total = 1e11;

const flare: Protocol = {
"Flare Labs": [
manualCliff(start, total * 0.125 * 0.15),
manualStep(start, periodToSeconds.month, 35, total * 0.125 * 0.0237),
manualCliff(start + periodToSeconds.months(36), total * 0.125 * 0.0205),
],
"Flare VC Fund": [
manualCliff(start, total * 0.1 * 0.15),
manualStep(start, periodToSeconds.month, 35, total * 0.1 * 0.0237),
manualCliff(start + periodToSeconds.months(36), total * 0.1 * 0.0205),
],
"Flare Foundation": [
manualCliff(start, total * 0.098 * 0.15),
manualStep(start, periodToSeconds.month, 35, total * 0.098 * 0.0237),
manualCliff(start + periodToSeconds.months(36), total * 0.098 * 0.0205),
],
"Initial Airdrop": manualCliff(start, total * 0.043),
FlareDrop: [
manualStep(start, periodToSeconds.month, 35, total * 0.266 * 0.0279),
manualCliff(start + periodToSeconds.months(36), total * 0.266 * 0.0235),
],
"Incentive Pool": manualLog(
start,
start + periodToSeconds.years(8),
total * 0.2,
periodToSeconds.month,
0.1,
),
Team: [
manualCliff(start, total * 0.085 * 0.15),
manualStep(start, periodToSeconds.month, 35, total * 0.085 * 0.0237),
manualCliff(start + periodToSeconds.months(36), total * 0.085 * 0.0205),
],
"Future Team": [], // TBC
Advisors: [
manualCliff(start + periodToSeconds.months(6), total * 0.02 * 0.1),
manualCliff(start + periodToSeconds.months(12), total * 0.02 * 0.25),
manualCliff(start + periodToSeconds.months(12), total * 0.02 * 0.65),
],
Backers: [
manualStep(
start + periodToSeconds.months(3),
periodToSeconds.month,
39,
5e7,
),
manualCliff(start + periodToSeconds.months(42), 1.15e9),
],
Inflation: [
manualStep(start, periodToSeconds.month, 12, 35e8 / 12),
manualStep(
start + periodToSeconds.year,
periodToSeconds.month,
12,
44e8 / 12,
),
manualStep(
start + periodToSeconds.year,
periodToSeconds.month,
12,
45e8 / 12,
),
],
meta: {
sources: [
"https://flare.network/tokenomics-flr-updated/",
"https://docs.flare.network/tech/tokenomics/",
],
token: "coingecko:flare-networks",
notes: [
`Incentive pool emissions have been estimated based on info in the source materials.`,
`It cant be known when future team members will join, so this section (1.5% of total) has been excluded from the analysis.`,
],
protocolIds: ["4665"],
},
categories: {
insiders: [
"Flare Labs",
"Flare VC Fund",
"Flare Foundation",
"Team",
"Future Team",
"Advisors",
"Backers",
],
farming: ["Inflation", "Incentive Pool"],
airdrop: ["Initial Airdrop", "FlareDrop"],
},
};
export default flare;

0 comments on commit f372306

Please sign in to comment.