GroveCoin

CertiK1 address on Ethereum

CertiK reviewed GroveCoin on 11 Jan 2023: 8 findings, 0 critical; 2 acknowledged, 6 open.

No open critical findings
Open the reportOpen GroveCoin’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings8

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low600
LowFunction Should Be Declared ExternalOpen

The functions which are never called internally within the contract should have external visibility for gas optimization. ```solidity=319 function renounceOwnership() public virtual onlyOwner { ``` --- ```solidity=520 function name() public view virtual override returns (string memory) { ``` --- ```solidity=528 function symbol() public view virtual override returns (string memory) { ``` --- ```solidity=545 function decimals() public view virtual override returns (uint8) { ``` ```solidity=876 function decimals() public view override returns (uint8) { ``` --- ```solidity=552 function totalSupply() public view virtual override returns (uint256) { ``` --- ```solidity=559 function balanceOf(address account) public view virtual override returns (uint256) { ``` --- ```solidity=571 function transfer(address to, uint256 amount) public virtual override returns (bool) { ``` ```solidity=905 function transfer(address to, uint256 amount) public override returns (bool) { ``` --- ```solidity=594 function approve(address spender, uint256 amount) public virtual override returns (bool) { ``` --- ```solidity=616 function transferFrom( ``` ```solidity=880 function transferFrom( ``` --- ```solidity=639 function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { ``` --- ```solidity=659 function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { ``` --- ```solidity=923 function ExcludeFromBlackList(address account) public onlyOwner() { ``` --- ```solidity=927 function IncludeInBlackList(address account) public onlyOwner() { ``` --- ```solidity=931 function getRestriction(address account) public view onlyOwner() returns (Restriction memory) { ``` --- ```solidity=935 function deleteRestriction(address account) public onlyOwner() { ``` --- ```solidity=939 function addRestriction(address account, uint256 delay, uint256 amount) public onlyOwner() { ``` --- ```solidity=962 function setTax(address account, uint256 tax) public onlyOwner() { ``` --- ```solidity=967 function getTax() public view onlyOwner() returns (address account, uint256 tax){ ``` --- ```solidity=971 function deleteTax() public onlyOwner() { ```

LowLack of reasonable boundaryOpen

The variable `_tax` does not have reasonable boundaries, so they can be given arbitrary values after deploying.

LowLogic Issue on the restrictionsOpen

The current logic of the function `checkRestriction` will block an account with restrictions, to receive tokens from the same `from` address in a period of time. It will also restrict the amount transferring each time.

LowMissing Emit EventsOpen

Functions that update state variables should emit relevant events as notifications.

LowMissing Zero Address ValidationOpen

Addresses should be checked before assignment or external call to make sure they are not zero addresses.

LowUnnecessary Use of SafeMathOpen

The `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow. ```solidity=18 library SafeMath { ``` - An implementation of `SafeMath` library is found. --- ```solidity=853 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `Token` contract. ```solidity=977 return _amount.mul(_tax).div(10**2); ``` - `SafeMath.mul` is called in `calculateTaxFee` function of `Token` contract. *Note: Only a sample of 2 `SafeMath` library usage in this contract (out of 3) are shown above.*

Contracts in scope1

AddressChainSource code
0xf33893de6eb6ae9a67442e066ae9abd228f5290cChain: EthereumSource code: Verified source

Part of GroveCoin’s security record

GroveCoin
Audits1 audit by 1 firmLast audit Jan 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open GroveCoin’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us