Skip to content

Commit

Permalink
add x2y2 & truefi
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Nov 3, 2023
1 parent a581b9d commit 0cbab3c
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
30 changes: 30 additions & 0 deletions protocols/truefi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { Protocol } from "../types/adapters";
import { manualStep } from "../adapters/manual";
import { periodToSeconds } from "../utils/time";

const totalSupply = 1_450_000_000;
const start = 1605926400; // 21st November 2020

const truefi: Protocol = {
"Liquidity Mining Rewards": manualStep(start, periodToSeconds.day, 1, 565500000),
"Presale Investors": manualStep(start, periodToSeconds.month * 3, 8, 387917402 / 8),
"Team": manualStep(start, periodToSeconds.month * 3, 8, 268250000 / 8),
"Company": manualStep(start, periodToSeconds.year, 3, 163082598 / 3),
"Future Team": manualStep(start, periodToSeconds.day, 1, 65250000),

meta: {
notes: [
`The emission and distribution details are based on the proposed and intended token emission and distribution for TRU tokens`,
`The exact details might vary based on real-time decisions and governance.`,
],
sources: ["https://docs.truefi.io/faq/truefi-protocol/tru-token"],
token: "ethereum:0x4c19596f5aaff459fa38b0f7ed92f11ae6543784",
protocolIds: ["166"],
},
categories: {
insiders: ["Presale Investors","Team","Company","Future Team"],
farming: ["Liquidity Mining Rewards"],
},
};

export default truefi;
42 changes: 42 additions & 0 deletions protocols/x2y2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { Protocol } from "../types/adapters";
import { manualCliff, manualLinear, manualStep } from "../adapters/manual";
import { periodToSeconds } from "../utils/time";

const totalSupply = 1_000_000_000;
const start = 1645056000;

const x2y2: Protocol = {
"Staking Reward": manualStep(start, periodToSeconds.day, 1, 650_000_000),
"Liquidity Management": manualStep(start, periodToSeconds.day, 1, 15_000_000),
"Airdrop": manualStep(start, periodToSeconds.day, 1, 120_000_000),
"Development & Team": [
manualCliff(start,25_000_000),
manualStep(start , periodToSeconds.day * 180, 4, 25_000_000),
],
"Treasury & Ecosystem": [
manualCliff(start,12_500_000),
manualStep(start , periodToSeconds.day * 90, 8, 12_500_000),
],
"Presale": manualLinear(start, start + periodToSeconds.day * 360, 15_000_000),

meta: {
notes: [
`This represents the token emission and distribution details for X2Y2 based on the available information.`,
`Changes may occur based on governance decisions and real-time adjustments.`,
],
sources: [
"https://docs.x2y2.io/tokens/tokenomics",
],
token: "ethereum:0x1e4ede388cbc9f4b5c79681b7f94d36a11abebc9",
protocolIds: ["1431"],
},
categories: {
farming: ["Staking Reward"],
airdrop: ["Airdrop"],
insiders: ["Development & Team","Presale"],
noncirculating: ["Treasury & Ecosystem"],
liquidity: ["Liquidity Management"]
},
};

export default x2y2;

0 comments on commit 0cbab3c

Please sign in to comment.