From 11122c8682587b33e5e81d535a33e6b4459b4dd3 Mon Sep 17 00:00:00 2001 From: define Date: Fri, 13 Oct 2023 14:03:55 +0100 Subject: [PATCH 1/8] add waygu wip --- wipProtocols/wagyu.ts | 63 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 wipProtocols/wagyu.ts diff --git a/wipProtocols/wagyu.ts b/wipProtocols/wagyu.ts new file mode 100644 index 0000000..8112aad --- /dev/null +++ b/wipProtocols/wagyu.ts @@ -0,0 +1,63 @@ +import { manualCliff, manualLinear } from "../adapters/manual"; +import { Protocol } from "../types/adapters"; +import { periodToSeconds } from "../utils/time"; + +const start = 1696118400; //01-10-2023 +const qty = 1000000000; //1b +const time1y = 1727740800 //01-10-24 + + +const wagyu: Protocol = { + "TenderSwap Bonding": manualCliff(start, qty * 0.05), + "Public Sale": manualCliff(start, qty * 0.05), + "Tenderize Labs": manualLinear( + start, start + 3 *periodToSeconds.year, + 0.1 * qty + ), + "Genesis Grants": manualLinear ( + start, start + 12 * periodToSeconds.month, + 0.03 * qty + ), + "Public Airdrop": manualLinear( + start, + start + 12 * periodToSeconds.month, + 0.04 * qty, + ), + "Staking Incentives": manualLinear( + start, start + 3 *periodToSeconds.year, + 0.11 * qty + ), + "Community Incentives": manualLinear( + start, start + 3 *periodToSeconds.year, + 0.12 * qty + ), + "DAO Treasury": manualLinear( + start, start + 3 *periodToSeconds.year, + 0.125 * qty + ), + "Current & Future Team": manualLinear( + time1y, time1y + 2 *periodToSeconds.year, + 0.175 * qty + ), + "Early Backers": manualLinear( + time1y, time1y + 2 *periodToSeconds.year, + 0.2 * qty + ), + meta: { + notes: [ + ` Regarding Incentives, after the 3 months, it will be 30%-40%-30% Supply-Borrow-Bribe. The rates can be adjusted via governance in order to keep up with the market. `, + ], + token: "base:0x2dc1cda9186a4993bd36de60d08787c0c382bead", //add + sources: ["https://www.tenderize.me/blog/wagyu-tokenomics-tge-timeline"], + protocolIds: ["1784"], + }, + categories: { + insiders: ["Early Backers", "Current & Future Team", "Genesis Grants", "Tenderize Labs"], + publicSale: ["Public Sale", "TenderSwap Bonding"], + farming: ["Community Incentives", "Staking Incentives"], + noncirculating: ["DAO Treasury"], + airdrop: ["Public Airdrop"] + + }, +}; +export default wagyu; \ No newline at end of file From 2da222a035909cef9fe1dc6103180eb73141b0ab Mon Sep 17 00:00:00 2001 From: 0xngmi <0xngmi@protonmail.com> Date: Sat, 14 Oct 2023 02:07:02 +0100 Subject: [PATCH 2/8] fix --- README.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 331219f..09522b5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,10 @@ https://docs.llama.fi/list-your-project/emissions-dashboard ## Testing ``` -ts-node utils/test.ts [fileName] +npm t [fileName] + +# Example +npm t protocols/gearbox.ts ``` ## Further Questions: diff --git a/package.json b/package.json index 3daf4c4..e07eb60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "scripts": { - "test": "ts-node utils/test.ts" + "test": "mkdir -p utils/testCharts && ts-node utils/test.ts" }, "dependencies": { "@defillama/sdk": "^4.0.43", From a8f507bccc96b3eb29eddc08f0c2c30196371765 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Sat, 14 Oct 2023 03:59:49 +0100 Subject: [PATCH 3/8] add aura --- protocols/aura.ts | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 protocols/aura.ts diff --git a/protocols/aura.ts b/protocols/aura.ts new file mode 100644 index 0000000..743bdf1 --- /dev/null +++ b/protocols/aura.ts @@ -0,0 +1,47 @@ +import { Protocol } from "../types/adapters"; +import { manualStep, manualCliff, manualLinear } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const totalSupply = 100e6; +const start = 1654732800; + +const aura: Protocol = { + + "Future incentives": manualStep(1671148800, periodToSeconds.day, 1, 1e6), + "Bootstrapping token holder base": manualStep(start, periodToSeconds.day, 1, 1e6), + "LBP liquidity": manualStep(start, periodToSeconds.day, 1, 1.7e6), + "veBAL bootstrapping incentives": manualStep(start, periodToSeconds.day, 1, 2e6), + "AURA/ETH POL": manualStep(start, periodToSeconds.day, 1, 2e6), + "BAL treasury": manualLinear(start, start + periodToSeconds.year * 2, 2e6), + "auraBAL incentives": manualLinear(start, start + periodToSeconds.year * 4, 10e6), + "Contributors": [ + manualLinear(start, start + periodToSeconds.year, 4.25e6), + manualLinear(start + periodToSeconds.year, start + periodToSeconds.year * 3.5, 5.75e6) + ], + "Treasury": [ + manualStep(start, periodToSeconds.day, 1, 2.8e6), + manualLinear(start, start + periodToSeconds.year * 4, 17.5e6) + ], + "Balancer LP rewards": [ + manualLinear(start, start + periodToSeconds.year, 13.5e6), + manualLinear(start + periodToSeconds.year, start + periodToSeconds.year * 2, 9.5e6), + manualLinear(start + periodToSeconds.year * 2, start + periodToSeconds.year * 4, 12e6), + manualLinear(start + periodToSeconds.year * 4, start + periodToSeconds.year * 6, 10e6), + manualLinear(start + periodToSeconds.year * 6, start + periodToSeconds.year * 7.5, 5e6) + ], + meta: { + + notes: [ + `The emission and distribution details are based on the proposed and intended token emission and distribution for Aura.`, + `The exact details might vary based on real-time decisions and governance.`, + ], + sources: [ + "https://docs.aura.finance/aura/usdaura/distribution", + ], + token: "ethereum:0xc0c293ce456ff0ed870add98a0828dd4d2903dbf", + protocolIds: ["1918"], + }, + categories: {}, +}; + +export default aura; \ No newline at end of file From 34d253bf98fbf8b6f47504c3198e9aa43405be7e Mon Sep 17 00:00:00 2001 From: Real Shaman <85087525+realdealshaman@users.noreply.github.com> Date: Sat, 14 Oct 2023 19:02:33 +0100 Subject: [PATCH 4/8] Update aura.ts add categories --- protocols/aura.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/protocols/aura.ts b/protocols/aura.ts index 743bdf1..815c245 100644 --- a/protocols/aura.ts +++ b/protocols/aura.ts @@ -41,7 +41,12 @@ const aura: Protocol = { token: "ethereum:0xc0c293ce456ff0ed870add98a0828dd4d2903dbf", protocolIds: ["1918"], }, - categories: {}, + categories: { + farming: ["auraBAL incentives", "Balancer LP rewards"], + noncirculating: ["BAL treasury", "Treasury"], + insiders: ["Contributors"], + airdrop: ["AURA/ETH POL", "Bootstrapping token holder base", "LBP liquidity", "veBAL bootstrapping incentives", "Future incentives"] + }, }; -export default aura; \ No newline at end of file +export default aura; From 88c9f8b4a408f7c79deaa79bccc22a71b66415e9 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Mon, 16 Oct 2023 02:19:45 +0100 Subject: [PATCH 5/8] add cow --- protocols/cow-protocol.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 protocols/cow-protocol.ts diff --git a/protocols/cow-protocol.ts b/protocols/cow-protocol.ts new file mode 100644 index 0000000..10bf027 --- /dev/null +++ b/protocols/cow-protocol.ts @@ -0,0 +1,35 @@ +import { Protocol } from "../types/adapters"; +import { manualLinear, manualStep, manualCliff } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const totalSupply = 1e9; +const start = 1648425600; + +const cow: Protocol = { + "Community Airdrop": manualCliff(start, 100e6), + "DAO Treasury": manualCliff(start, 444e6), + "Advisory": manualLinear(start, start + periodToSeconds.year * 4, 6e6), + "Community Investment Options": manualLinear(start, start + periodToSeconds.year * 4, 100e6), + "Private Investment Round": manualLinear(start, start + periodToSeconds.year * 4, 100e6), + "Gnosis DAO": manualLinear(start, start + periodToSeconds.year * 4, 100e6), + "Team": manualLinear(start, start + periodToSeconds.year * 4, 150e6), + meta: { + notes: [ + `The emission and distribution details are based on the proposed and intended token emission and distribution for CoW Protocol.`, + `The exact details might vary based on real-time decisions and governance.`, + ], + sources: [ + "https://blog.cow.fi/cow-token-is-moving-forward-at-full-speed-d9f047a23b57", + ], + token: "ethereum:0xdef1ca1fb7fbcdc777520aa7f396b4e015f497ab", + protocolIds: ["2643"], + }, + categories: { + farming: ["Community Investment Options"], + noncirculating: ["DAO Treasury"], + insiders: ["Team", "Gnosis DAO", "Private Investment Round", "Advisory"], + airdrop: ["Community Airdrop"] + }, +}; + +export default cow; \ No newline at end of file From f044690f527cae4cb550be673ca4adad882f16a3 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Mon, 16 Oct 2023 02:24:05 +0100 Subject: [PATCH 6/8] update file name --- protocols/{cow-protocol.ts => cow-swap.ts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename protocols/{cow-protocol.ts => cow-swap.ts} (100%) diff --git a/protocols/cow-protocol.ts b/protocols/cow-swap.ts similarity index 100% rename from protocols/cow-protocol.ts rename to protocols/cow-swap.ts From 8c39c4f668ef9cabcec02f786e9a819db2b48370 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Tue, 17 Oct 2023 03:21:54 +0100 Subject: [PATCH 7/8] add dfx --- protocols/dfx.ts | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 protocols/dfx.ts diff --git a/protocols/dfx.ts b/protocols/dfx.ts new file mode 100644 index 0000000..5a0fab9 --- /dev/null +++ b/protocols/dfx.ts @@ -0,0 +1,41 @@ +import { Protocol } from "../types/adapters"; +import { manualLinear } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const totalSupply = 100000000; +const start = 1612137600; + +const dfx: Protocol = { + + + + "Future Token Sale": manualLinear(start, start + periodToSeconds.month * 36, totalSupply * 0.05), + "Dev Fund": manualLinear(start, start + periodToSeconds.month * 36, totalSupply * 0.05), + "Founders (4 founders)": manualLinear(start, start + periodToSeconds.month * 36, totalSupply * 0.15), + "Seed (11 investors)": manualLinear(start, start + periodToSeconds.month * 36, totalSupply * 0.108), + "Pre-Seed (9 investors)": manualLinear(start, start + periodToSeconds.month * 24, totalSupply * 0.092), + "Treasury - Ecosystem DAO": manualLinear(start, start + periodToSeconds.month * 36, totalSupply * 0.20), + "Liquidity Providers": [ + manualLinear(start, start + periodToSeconds.month * 32, totalSupply * 0.35 * 0.65), + manualLinear(start + periodToSeconds.month * 32, start + periodToSeconds.month * 64, totalSupply * 0.35 * 0.25), + manualLinear(start + periodToSeconds.month * 64, start + periodToSeconds.month * 96, totalSupply * 0.35 * 0.10) + ], + meta: { + notes: [ + `The emission and distribution details are based on the proposed and intended token emission and distribution for DFX Protocol.`, + `The exact details might vary based on real-time decisions and governance.`, + ], + sources: [ + "https://docs.dfx.finance/protocol/governance/dfx-token", + ], + token: "ethereum:0x888888435fde8e7d4c54cab67f206e4199454c60", + protocolIds: ["366"], + }, + categories: { + farming: ["Liquidity Providers"], + noncirculating: ["Treasury - Ecosystem DAO", "Dev Fund", "Future Token Sale"], + insiders: ["Pre-Seed (9 investors)", "Seed (11 investors)", "Founders (4 founders)"], + }, +}; + +export default dfx; From 29876bd3e4275241bc1d3d3add897740f7a58224 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Wed, 18 Oct 2023 01:36:29 +0100 Subject: [PATCH 8/8] update allocation --- protocols/cow-swap.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/protocols/cow-swap.ts b/protocols/cow-swap.ts index 10bf027..1a70636 100644 --- a/protocols/cow-swap.ts +++ b/protocols/cow-swap.ts @@ -3,16 +3,16 @@ import { manualLinear, manualStep, manualCliff } from "../adapters/manual"; import { periodToSeconds } from "../utils/time"; const totalSupply = 1e9; -const start = 1648425600; +const start = 1648166400; const cow: Protocol = { - "Community Airdrop": manualCliff(start, 100e6), - "DAO Treasury": manualCliff(start, 444e6), - "Advisory": manualLinear(start, start + periodToSeconds.year * 4, 6e6), - "Community Investment Options": manualLinear(start, start + periodToSeconds.year * 4, 100e6), - "Private Investment Round": manualLinear(start, start + periodToSeconds.year * 4, 100e6), - "Gnosis DAO": manualLinear(start, start + periodToSeconds.year * 4, 100e6), - "Team": manualLinear(start, start + periodToSeconds.year * 4, 150e6), + "CoWmunity Airdrop": manualCliff(start, totalSupply * 0.05), + "CoW DAO Treasury": manualCliff(start, totalSupply * 0.571), + "CoW Advisory": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.006), + "CoWmunity Investment": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.025), + "Investment Round": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.096), + "GnosisDAO": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.10), + "Team": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.15), meta: { notes: [ `The emission and distribution details are based on the proposed and intended token emission and distribution for CoW Protocol.`, @@ -25,10 +25,10 @@ const cow: Protocol = { protocolIds: ["2643"], }, categories: { - farming: ["Community Investment Options"], - noncirculating: ["DAO Treasury"], - insiders: ["Team", "Gnosis DAO", "Private Investment Round", "Advisory"], - airdrop: ["Community Airdrop"] + farming: [], + noncirculating: ["CoW DAO Treasury"], + insiders: ["Team", "GnosisDAO", "Investment Round", "CoW Advisory"], + airdrop: ["CoWmunity Airdrop", "CoWmunity Investment"] }, };