From 3122c156aee6a543d15a0524bd334846cde0016a Mon Sep 17 00:00:00 2001 From: 0xVeto <111819883+0xVeto@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:29:52 +0000 Subject: [PATCH 1/9] Fix airdrop dates. Setting first step at 18.01.2023 --- protocols/ipor.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/ipor.ts b/protocols/ipor.ts index f34d08e..e99e39c 100644 --- a/protocols/ipor.ts +++ b/protocols/ipor.ts @@ -12,8 +12,8 @@ const ipor: Protocol = { "Core Team": manualLinear(TGE + periodToSeconds.day, TGE + periodToSeconds.day + periodToSeconds.year * 3, 20e6), "Investors": manualLinear(TGE + periodToSeconds.day, TGE + periodToSeconds.day + periodToSeconds.year * 3, 11.85e6), "airdrop": [ - manualStep(TGE + periodToSeconds.year + 17 * periodToSeconds.day, periodToSeconds.day, 1, 85200), - manualLinear(TGE + periodToSeconds.year + 17 * periodToSeconds.day, TGE + periodToSeconds.year + 17 * periodToSeconds.day + periodToSeconds.month * 6, 305000), + manualStep(TGE + periodToSeconds.month + 17 * periodToSeconds.day, periodToSeconds.day, 0, 85200), + manualLinear(TGE + periodToSeconds.month + 17 * periodToSeconds.day, TGE + periodToSeconds.month + 17 * periodToSeconds.day + periodToSeconds.month * 6, 305000), ], meta: { notes: [ @@ -32,4 +32,4 @@ const ipor: Protocol = { }, }; -export default ipor; \ No newline at end of file +export default ipor; From e00eac768afbfcfaeeed543c72076f58a96e11b7 Mon Sep 17 00:00:00 2001 From: itofarina Date: Thu, 8 Feb 2024 17:18:41 -0300 Subject: [PATCH 2/9] =?UTF-8?q?=E2=9C=A8=20add=20exactly=20protocol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/exactly.ts | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 protocols/exactly.ts diff --git a/protocols/exactly.ts b/protocols/exactly.ts new file mode 100644 index 0000000..a03b2a5 --- /dev/null +++ b/protocols/exactly.ts @@ -0,0 +1,41 @@ +import { manualCliff, manualLinear } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; +import type { Protocol } from "../types/adapters"; + +const launch = 1689972929; // 21 July 2023 8:55:29 PM +const vestingStart = 1717200000; // 01 June 2024 00:00:00 AM +const end = vestingStart + periodToSeconds.year * 4; + +const total = 10_000_000; + +const team = total * 0.314; +const airdrop = total * 0.01; +const incident = total * 0.1; +const treasury = total * 0.1; +const investors = total * 0.136; +const community = total * 0.45 - incident - airdrop; + +const exactly: Protocol = { + "DAO Treasury": manualCliff(launch, treasury), + Airdrop: manualLinear(launch, launch + periodToSeconds.month * 4, airdrop), + Community: manualLinear(launch, end, community), + "Incident Compensation": manualLinear(vestingStart, end, incident), + Investors: manualLinear(vestingStart, end, investors), + "Team and Advisors": manualLinear(vestingStart, end, team), + meta: { + token: "optimism:0x1e925De1c68ef83bD98eE3E130eF14a50309C01B", + sources: [ + "https://docs.exact.ly/governance/exactly-token-exa", + "https://x.com/ExactlyProtocol/status/1681380822304149504", + "https://medium.com/@exactly_protocol/the-exa-token-is-here-88a2449c4eb3", + ], + protocolIds: ["exactly"], + }, + categories: { + airdrop: ["Airdrop"], + insiders: ["Team and Advisors", "Investors"], + noncirculating: ["DAO Treasury"], + }, +}; + +export default exactly; From 102581411100d6a46b0b41a66d854531bf2fdd99 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Thu, 15 Feb 2024 04:02:37 +0000 Subject: [PATCH 3/9] add starknet wip --- wipProtocols/starknet.ts | 70 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 wipProtocols/starknet.ts diff --git a/wipProtocols/starknet.ts b/wipProtocols/starknet.ts new file mode 100644 index 0000000..1728c81 --- /dev/null +++ b/wipProtocols/starknet.ts @@ -0,0 +1,70 @@ +import { Protocol } from "../types/adapters"; +import { manualLinear, manualCliff, manualStep } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const totalSupply = 10_000_000_000; // 10 billion +const start = 1708430400; // February 20, 2024 12pm + + +// calculation for Investors and Early Contributors + const combinedAllocationPercentage = 0.3821; // 38.21% + const combinedAllocation = totalSupply * combinedAllocationPercentage; // Combined allocation + + // Initial cliffs + const initialCliffPercentage = 0.131; // 13.1% of combined allocation + const april30CliffPercentage = 0.004; // 0.4% of combined allocation + + const initialCliffAmount = combinedAllocation * initialCliffPercentage; + const april30CliffAmount = combinedAllocation * april30CliffPercentage; + + // Equally distributed cliffs + const eachInitialCliffAmount = initialCliffAmount / 2; + const eachApril30CliffAmount = april30CliffAmount / 2; + + // Calculating remaining allocations after initial cliffs + const remainingAfterCliffs = combinedAllocation - (initialCliffAmount + april30CliffAmount); + const remainingEachAfterCliffs = remainingAfterCliffs / 2; // Divide the remainder equally + + // Corrected Unix timestamps for unlock dates + const unlockDate1 = 1713139200; // April 15, 2024 + const unlockDate2 = 1714435200; // April 30, 2024 + const monthlyReleaseStart = unlockDate2; + + +const starknet: Protocol = { + "Community Provisions": manualCliff(start, totalSupply * 0.09), + "StarkWare": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.1076), + "Grants including DPs": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.1293), + "Community Rebates": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.09), + "Foundation Strategic Reserves": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.1), + "Foundation Treasury": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.081), + "Donations": manualLinear(start, start + periodToSeconds.year * 4, totalSupply * 0.02), + "Early Contributors": [ + manualCliff(unlockDate1, eachInitialCliffAmount), // Half of 13.1% unlocked on April 15, 2024 + manualCliff(unlockDate2, eachApril30CliffAmount), // Half of 0.4% unlocked on April 30, 2024 + manualStep(monthlyReleaseStart, periodToSeconds.month, 31, remainingEachAfterCliffs / 31) // Distribute the remaining allocation + ], + "Investors": [ + manualCliff(unlockDate1, eachInitialCliffAmount), // Half of 13.1% unlocked on April 15, 2024 + manualCliff(unlockDate2, eachApril30CliffAmount), // Half of 0.4% unlocked on April 30, 2024 + manualStep(monthlyReleaseStart, periodToSeconds.month, 31, remainingEachAfterCliffs / 31) // Distribute the remaining allocation + ], + meta: { + notes: [ + "Distribution based on Starknet Foundation's plan. Details may vary based on governance decisions." + ], + sources: [ + "https://docs.starknet.io/documentation/architecture_and_concepts/Economics-of-Starknet/#supply_and_distribution" + ], + token: "starknet:0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d", // L2 address + protocolIds: [""], + }, + categories: { + insiders: ["Early Contributors", "Investors", "Donations"], + noncirculating: ["Foundation Strategic Reserves", "Foundation Treasury", "StarkWare", "Grants including DPs"], + airdrop: ["Community Provisions"], + liquidity: ["Community Rebates"] + }, +}; + +export default starknet; \ No newline at end of file From 0dcca4582299ee5777c2934d75204be49687a3c7 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Sat, 17 Feb 2024 02:15:10 +0000 Subject: [PATCH 4/9] add correct protocolIds --- protocols/exactly.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/exactly.ts b/protocols/exactly.ts index a03b2a5..583ac8f 100644 --- a/protocols/exactly.ts +++ b/protocols/exactly.ts @@ -29,12 +29,13 @@ const exactly: Protocol = { "https://x.com/ExactlyProtocol/status/1681380822304149504", "https://medium.com/@exactly_protocol/the-exa-token-is-here-88a2449c4eb3", ], - protocolIds: ["exactly"], + protocolIds: ["2385"], }, categories: { airdrop: ["Airdrop"], insiders: ["Team and Advisors", "Investors"], noncirculating: ["DAO Treasury"], + farming: ["Community"] }, }; From 970cb4de99314d70d3ab5897afbfb9aacdf815ef Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Sat, 17 Feb 2024 02:16:23 +0000 Subject: [PATCH 5/9] add starknet to protocols --- {wipProtocols => protocols}/starknet.ts | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {wipProtocols => protocols}/starknet.ts (100%) diff --git a/wipProtocols/starknet.ts b/protocols/starknet.ts similarity index 100% rename from wipProtocols/starknet.ts rename to protocols/starknet.ts From f3c06061608f587e9de4eb399f44dc0aa7cd7b75 Mon Sep 17 00:00:00 2001 From: Define101 Date: Thu, 22 Feb 2024 10:56:47 +0000 Subject: [PATCH 6/9] add correct epoch hold --- protocols/holdstation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/holdstation.ts b/protocols/holdstation.ts index 5ff874a..a49520a 100644 --- a/protocols/holdstation.ts +++ b/protocols/holdstation.ts @@ -3,7 +3,7 @@ import { manualLinear, manualCliff } from "../adapters/manual"; import { periodToSeconds } from "../utils/time"; const totalSupply = 30_000_000; -const TGE = 1700092800; +const TGE = 1701043201; // Allocations const investorAllocation = totalSupply * 0.10; // 10% From 371a6a43ea15f8d84a8e1e464ffbfe9787283361 Mon Sep 17 00:00:00 2001 From: Real Shaman <85087525+realdealshaman@users.noreply.github.com> Date: Fri, 23 Feb 2024 23:08:31 +0000 Subject: [PATCH 7/9] Update sui.ts update --- protocols/sui.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/sui.ts b/protocols/sui.ts index edc0f76..c88f994 100644 --- a/protocols/sui.ts +++ b/protocols/sui.ts @@ -2,9 +2,9 @@ import { Protocol } from '../types/adapters'; import { manualCliff, manualStep } from '../adapters/manual'; import { periodToSeconds } from '../utils/time'; -const totalQty = 10e6; +const totalQty = 10e9; const start = 1680307200; -const aptos: Protocol = { +const sui: Protocol = { 'Community Reserve': [ manualCliff(start, totalQty / 20), manualStep( @@ -75,4 +75,4 @@ const aptos: Protocol = { noncirculating: ['Community Access Program'], }, }; -export default aptos; +export default sui; From ed65e9fdc56a01a351ed52aed7354679ecdcc9a5 Mon Sep 17 00:00:00 2001 From: Real Shaman <85087525+realdealshaman@users.noreply.github.com> Date: Fri, 23 Feb 2024 23:49:22 +0000 Subject: [PATCH 8/9] fix start date fix start date --- protocols/sui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/sui.ts b/protocols/sui.ts index c88f994..0c24824 100644 --- a/protocols/sui.ts +++ b/protocols/sui.ts @@ -3,7 +3,7 @@ import { manualCliff, manualStep } from '../adapters/manual'; import { periodToSeconds } from '../utils/time'; const totalQty = 10e9; -const start = 1680307200; +const start = 1683072000; const sui: Protocol = { 'Community Reserve': [ manualCliff(start, totalQty / 20), From a6b28de76df995e0a431dbe6ab8b9e9052ba11f6 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Sat, 24 Feb 2024 01:32:31 +0000 Subject: [PATCH 9/9] update with more info --- protocols/sui.ts | 80 ++++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/protocols/sui.ts b/protocols/sui.ts index 0c24824..6dce263 100644 --- a/protocols/sui.ts +++ b/protocols/sui.ts @@ -2,69 +2,66 @@ import { Protocol } from '../types/adapters'; import { manualCliff, manualStep } from '../adapters/manual'; import { periodToSeconds } from '../utils/time'; -const totalQty = 10e9; -const start = 1683072000; +const totalQty = 10e9; // 10 billion tokens +const start = 1683072000; // May 3, 2023 + const sui: Protocol = { - 'Community Reserve': [ - manualCliff(start, totalQty / 20), - manualStep( - start + periodToSeconds.month * 12, - periodToSeconds.month, - 24, - totalQty * 0.0015 - ), + 'ICO $0.03': [ + manualCliff(start, totalQty * 0.0138), + ], + 'Binance Launchpool': [ + manualCliff(start, totalQty * 0.004), + ], + 'ICO $0.1': [ + manualCliff(start, (totalQty * 0.045) * 0.07), manualStep( - start + periodToSeconds.month * 36, + start, periodToSeconds.month, - 12, - totalQty * 0.00015 + 13, + (totalQty * 0.045) * 0.93 / 13 ), + ], + 'Community Reserve': [ + manualCliff(start, totalQty * 0.49720000001 * 0.01), manualStep( - start + periodToSeconds.month * 36, + start, periodToSeconds.month, - 48, - totalQty * 0.0007 + 84, + (totalQty * 0.49720000001) * 0.99 / 84 ), ], 'Early Contributors': [ - manualStep(start, periodToSeconds.month, 84, totalQty / 20 / 84), - ], - 'Community Access Program': [ - manualStep(start, periodToSeconds.month, 84, totalQty / 20 / 84), - ], - 'Series A': [ - manualCliff(start + periodToSeconds.month * 12, totalQty / 35), manualStep( - start + periodToSeconds.month * 12, + start + periodToSeconds.month * 6, periodToSeconds.month, - 24, - totalQty * 0.0015 + 36, + totalQty * 0.2 / 36 ), + ], + 'Mysten Labs Treasury': [ manualStep( - start + periodToSeconds.month * 36, + start + periodToSeconds.month * 6, periodToSeconds.month, - 12, - totalQty * 0.0001 + 42, + totalQty * 0.1 / 42 ), + ], + 'Series A': [ manualStep( - start + periodToSeconds.month * 36, + start + periodToSeconds.month * 6, periodToSeconds.month, - 48, - totalQty * 0.00035 + 24, + totalQty * 0.08 / 24 ), ], 'Series B': [ - manualCliff(start + periodToSeconds.month * 12, totalQty / 25), manualStep( - start + periodToSeconds.month * 12, + start + periodToSeconds.year, periodToSeconds.month, - 84, - totalQty / 20 / 84 + 24, + totalQty * 0.06 / 24 ), ], - 'Stake Subsidies': [ - manualStep(start, periodToSeconds.month, 96, totalQty / 10 / 96), - ], meta: { sources: ['https://blog.sui.io/token-release-schedule/'], token: 'coingecko:sui', @@ -72,7 +69,10 @@ const sui: Protocol = { }, categories: { insiders: ['Series A', 'Series B', 'Early Contributors'], - noncirculating: ['Community Access Program'], + publicSale: ["ICO $0.03","ICO $0.1","Binance Launchpool"], + noncirculating: ['Mysten Labs Treasury', 'Community Reserve'], }, }; + export default sui; +