From 4be31be18507ec94cde8f326282cd8692974c156 Mon Sep 17 00:00:00 2001 From: Ivan Zhelyazkov Date: Tue, 16 Apr 2024 17:11:06 +0300 Subject: [PATCH] Carbon Vortex 2.0 - minor fixes --- contracts/vortex/CarbonVortex.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/vortex/CarbonVortex.sol b/contracts/vortex/CarbonVortex.sol index 59ba52d6..da1e29ff 100644 --- a/contracts/vortex/CarbonVortex.sol +++ b/contracts/vortex/CarbonVortex.sol @@ -138,9 +138,9 @@ contract CarbonVortex is ICarbonVortex, Upgradeable, ReentrancyGuardUpgradeable, // set target token price decay half-life to 10 days _setTargetTokenPriceDecayHalfLifeOnReset(10 days); // set initial target token sale amount to 100 eth - _setMaxTargetTokenSaleAmount(100 ether); + _setMaxTargetTokenSaleAmount(uint128(100) * uint128(10) ** _targetToken.decimals()); // set min target token sale amount to 10 eth - _setMinTokenSaleAmount(_targetToken, 10 ether); + _setMinTokenSaleAmount(_targetToken, uint128(10) * uint128(10) ** _targetToken.decimals()); } /**