Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions protocols/zkswap_finance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@ import { manualCliff, manualLinear } from "../adapters/manual";
import { Protocol } from "../types/adapters";
import { periodToSeconds } from "../utils/time";
const start = 1693558800;
const halfTime = start + periodToSeconds.month * 18;
const endTime = start + periodToSeconds.month * 54;
const qty = 1000000000;
const chain: string = "era";
const token: string = "0x";
const token: string = "0x31C2c031fDc9d33e974f327Ab0d9883Eae06cA4A";

const zkswap_finance: Protocol = {
"Token Generation Event (TGE)": manualCliff(start, qty * 0.25),
"Initial Liquidity": manualCliff(start, qty * 0.125),
"TGE Bonus": manualLinear(start, start + periodToSeconds.month * 5, qty * 0.05),
"Early Supporters Retroactive": manualLinear(start, start + periodToSeconds.month * 5, qty * 0.05),
"Swap2Earn Incentive": manualLinear(start, start + periodToSeconds.month * 36, qty * 0.2),
"Liquidity Providers Incentive": manualLinear(start, start + periodToSeconds.month * 36, qty * 0.2),
"Staking Reward": manualLinear(start, start + periodToSeconds.month * 36, qty * 0.05),
"Team": manualLinear(start, start + periodToSeconds.month * 36, qty * 0.04),
"Treasury + Operation": manualLinear(start, start + periodToSeconds.month * 36, qty * 0.035),
"Swap2Earn Incentive": [manualLinear(start, halfTime, qty * 0.2 * 0.5), manualLinear(halfTime, endTime, qty * 0.15 * 0.5)],
"Liquidity Providers Incentive": [manualLinear(start, halfTime, qty * 0.2 * 0.5), manualLinear(halfTime, endTime, qty * 0.2 * 0.5)],
"Staking Reward": [manualLinear(start, halfTime, qty * 0.05 * 0.5), manualLinear(halfTime, endTime, qty * 0.10 * 0.5)],
"Team": [manualLinear(start, halfTime, qty * 0.04 * 0.5), manualLinear(halfTime, endTime, qty * 0.04 * 0.5)],
"Treasury + Operation": [manualLinear(start, halfTime, qty * 0.035 * 0.5), manualLinear(halfTime, endTime, qty * 0.035 * 0.5)],
meta: {
token: `${chain}:${token}`,
sources: [
"https://zkswapfinance.gitbook.io/zkswap/usdzf-token/tokenomics",
"https://docs.zkswap.finance/dao-and-tokenomics/tokenomics",
],
protocolIds: ["3180"],
},
Expand Down
Loading