From 6f2a91129e697a1432bd0fc98bcd5caece4aad4a Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Thu, 25 Apr 2024 10:56:34 +0100 Subject: [PATCH] ton --- protocols/ton.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 protocols/ton.ts diff --git a/protocols/ton.ts b/protocols/ton.ts new file mode 100644 index 0000000..b8e5965 --- /dev/null +++ b/protocols/ton.ts @@ -0,0 +1,26 @@ +import { Protocol } from "../types/adapters"; +import { manualCliff, manualLinear, manualStep } from "../adapters/manual"; +import { periodToSeconds } from "../utils/time"; + +const ton: Protocol = { + Premine: manualLinear("06-07-2020", "28-06-2022", 2665e6, "DD-MM-YYYY"), + Inflation: manualLinear("28-06-2022", "28-06-2026", 3470400, "DD-MM-YYYY"), + "TON Believers Fund": manualStep( + "2025-10-23", + periodToSeconds.month, + 36, + 1317e6 / 36, + ), + "Inactive Miners": manualCliff("2027-02-22", 1081e6), + meta: { + sources: [ + "https://ton.org/mining", + "https://github.com/whiterabbitsolutions/Ton-miners-data-parsing/blob/main/TON_miners_data_parsing.ipynb", + ], + notes: [], + token: "coingecko:the-open-network", + protocolIds: [], + }, + categories: {}, +}; +export default ton;