From ac72a8e8ae49706f0ee3162dc76ab02dad34215e Mon Sep 17 00:00:00 2001 From: Jack Tanner Date: Fri, 5 Dec 2025 11:17:16 +0100 Subject: [PATCH 1/3] fix: double special round categories --- contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp index 833c7ac..18d46e5 100644 --- a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp +++ b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp @@ -61,6 +61,9 @@ namespace vestingtoken {26, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Platform Dev {27, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Staking & Infra Rewards {28, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Ecosystem + {29, {days(0 * 30), days(42), days(6 * 30), 0.15}}, // Double Special Round - Full + {30, {days(0 * 30), days(42), days(3 * 30), 0.3}}, // Double Special Round - Part 1 + {31, {days(0 * 30), days(42 + 3 * 30), days(3 * 30), 0.0}}, // Double Special Round - Part 2 // Testing categories: #ifdef BUILD_TEST {997, {days(6 * 30), days(0 * 30), days(2 * 365), 0.0}}, // TESTING ONLY From 5faa585b0269c244ffe4aeaaa4c62ba1c8aa9a3c Mon Sep 17 00:00:00 2001 From: Jack Tanner Date: Fri, 5 Dec 2025 11:24:34 +0100 Subject: [PATCH 2/3] fix: updated delay time for new vesting categories --- contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp index 18d46e5..12b1b13 100644 --- a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp +++ b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp @@ -61,9 +61,9 @@ namespace vestingtoken {26, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Platform Dev {27, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Staking & Infra Rewards {28, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Ecosystem - {29, {days(0 * 30), days(42), days(6 * 30), 0.15}}, // Double Special Round - Full - {30, {days(0 * 30), days(42), days(3 * 30), 0.3}}, // Double Special Round - Part 1 - {31, {days(0 * 30), days(42 + 3 * 30), days(3 * 30), 0.0}}, // Double Special Round - Part 2 + {29, {days(0 * 30), days(26), days(6 * 30), 0.15}}, // Double Special Round - Full + {30, {days(0 * 30), days(26), days(3 * 30), 0.3}}, // Double Special Round - Part 1 + {31, {days(0 * 30), days(26 + 3 * 30), days(3 * 30), 0.0}}, // Double Special Round - Part 2 // Testing categories: #ifdef BUILD_TEST {997, {days(6 * 30), days(0 * 30), days(2 * 365), 0.0}}, // TESTING ONLY From 5af8d60fa46d52f5710f5ac75af976bed4cde670 Mon Sep 17 00:00:00 2001 From: Jack Tanner Date: Wed, 10 Dec 2025 19:58:13 +0100 Subject: [PATCH 3/3] fix: fixed the tokens_claim check --- contracts/vesting.tmy/src/vesting.tmy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/vesting.tmy/src/vesting.tmy.cpp b/contracts/vesting.tmy/src/vesting.tmy.cpp index 6320ae5..79ef6c6 100644 --- a/contracts/vesting.tmy/src/vesting.tmy.cpp +++ b/contracts/vesting.tmy/src/vesting.tmy.cpp @@ -176,7 +176,7 @@ namespace vestingtoken // Checks to verify new allocation is valid eosio::check(iter->tokens_allocated.amount == old_amount.amount, "Old amount does not match existing allocation"); eosio::check(iter->vesting_category_type == old_category_id, "Old category does not match existing allocation"); - eosio::check(iter->tokens_claimed.amount < new_amount.amount, "New amount is less than the amount already claimed"); + eosio::check(iter->tokens_claimed.amount <= new_amount.amount, "New amount is less than the amount already claimed"); // Modify the table row data, and update the table vesting_table.modify(iter, get_self(), [&](auto &row)