Page 1 of 27
January 30, 2025
Express Audit Report for
KharYsma Coins [KHACN]
DISCLAIMER: This is an automatically generated audit performed with De.Fi Scanner tool.
De.Fi smart contract auditing tool is intended to assist in identifying potential
vulnerabilities or malicious functions in smart contracts. While this is done to our best effort and knowledge, please notice that no tool can
guarantee complete accuracy or comprehensiveness in detecting all possible
vulnerabilities.
Page 2 of 27
Project Summary
Project Name KhacToken(KharYsma Coins)
Address 0x11c1b94294a7967092f747434dee4876eca5fd53
Network 1
Page 3 of 27
Issue ID 243
Severity Medium
Status High
Description Code
function updatePrice() public {
(, int256 price, , , ) = priceFeed.latestRoundData();
require(price != 0, "Invalid price from oracle");
tokenPrice = uint256(price);
emit PriceUpdated(tokenPrice);
}
Location
Function with ChainLink price aggregator
issue:KhacToken.updatePrice() (KhacToken.sol#122-
127) in expression: (price) =
priceFeed.latestRoundData()