Skip to content

Commit

Permalink
myria
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Sep 28, 2023
1 parent 60730b9 commit efa01f1
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions protocols/myria.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import { Protocol } from "../types/adapters";
import { manualCliff, manualLinear } from "../adapters/manual";
import { periodToSeconds } from "../utils/time";

const qty = 50e9;
const start = 1679659200;

const node = () => {
let daily = 12e6;
let thisStart = start;
const sections = [];
for (let i = 0; i < 6; i++) {
sections.push(
manualLinear(
thisStart,
thisStart + periodToSeconds.year * 2,
daily * 730.5,
),
);
daily /= 2;
thisStart += periodToSeconds.year * 2;
}
return sections;
};

const myria: Protocol = {
"Ecosystem Fund": manualLinear(
start,
start + periodToSeconds.year * 3,
qty * 0.4,
),
"TGE & Liquidity": manualCliff(start, qty * 0.03),
"Strategic Reserve": manualCliff(start, qty * 0.02),
Team: [
manualCliff(start + periodToSeconds.month * 6, (qty * 0.19) / 8),
manualLinear(
start + periodToSeconds.month * 6,
start + periodToSeconds.month * 48,
(qty * 0.19 * 7) / 8,
),
],
"Node Emissions": node(),
meta: {
sources: ["https://myria.com/token/"],
notes: [],
token: "ethereum:0xa0ef786bf476fe0810408caba05e536ac800ff86",
protocolIds: [""],
},
categories: {
publicSale: ["TGE & Liquidity"],
farming: ["Node Emissions"],
noncirculating: ["Strategic Reserve", "Ecosystem Fund"],
insiders: ["Team"],
},
};

export default myria;

0 comments on commit efa01f1

Please sign in to comment.