Skip to content

Commit

Permalink
overnight
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Apr 22, 2024
1 parent b771d8a commit fd003db
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions protocols/overnight.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import { manualCliff, manualLinear } from "../adapters/manual";
import { Protocol } from "../types/adapters";
import { periodToSeconds } from "../utils/time";

const qty = 1e6;
const start = 1694044800;
const presaleEnd = 1695600000;
const overnight: Protocol = {
"Pre Seed": [
manualCliff(start + periodToSeconds.months(6), (qty * 0.085) / 5),
manualLinear(
presaleEnd + periodToSeconds.months(6),
presaleEnd + periodToSeconds.months(30),
(qty * 0.085 * 4) / 5,
),
],
Team: [
manualCliff(start + periodToSeconds.months(6), (qty * 0.25) / 5),
manualLinear(
presaleEnd + periodToSeconds.months(6),
presaleEnd + periodToSeconds.months(30),
(qty * 0.25 * 4) / 5,
),
],
Presale: [
manualCliff(presaleEnd, (qty * 0.025) / 4),
manualLinear(
presaleEnd + periodToSeconds.days(5),
presaleEnd + +periodToSeconds.days(5) + periodToSeconds.weeks(4),
(qty * 0.025 * 3) / 4,
),
],
"Insurance Fund": [
manualCliff(presaleEnd, qty * 0.02),
manualLinear(
presaleEnd,
presaleEnd + periodToSeconds.months(6),
qty * 0.18,
),
],
Treasury: [
manualCliff(presaleEnd, qty * 0.044),
manualLinear(
presaleEnd,
presaleEnd + periodToSeconds.months(6),
qty * 0.396,
),
],
meta: {
sources: [
"https://docs.overnight.fi/governance/ovn-token/overnight-tokenomics",
],
token: "base:0xa3d1a8deb97b111454b294e2324efad13a9d8396",
protocolIds: ["1023", "2696", "2810", "3631"],
},
categories: {
insiders: ["Pre Seed", "Team"],
noncirculating: ["Treasury", "Insurance Fund"],
publicSale: ["Presale"],
},
};

export default overnight;

0 comments on commit fd003db

Please sign in to comment.