TTcoin

CertiK1 address on BNB Chain

CertiK reviewed TTcoin Network (TTcoin) on 5 Nov 2024: 8 findings, 0 critical; 2 acknowledged, 6 open.

No open critical findings
Open the reportOpen TTcoin Network’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
High010
Medium010
Low600
LowMissing Zero Address ValidationOpen

The cited address input is missing a check that it is not `address(0)`.

LowPotential High Gas Risks For Users During ReleasiOpen

The logical vulnerability lies in the `freezeTo` function, which allows any user to freeze tokens to any address without a requirement that the `_amount` is greater than zero. If the victim has a pending release amount with a release date of `block.timestamp + p` and no earlier release amounts, the attacker can insert `p-1` nodes into the release chain, causing the victim to incur significantly higher gas costs when releasing. Specifically, the attacker can insert nodes in reverse order from `block.timestamp + p - 1`, `block.timestamp + p - 2`, ... to `block.timestamp`, achieving O(1) time complexity. Additionally, by setting the amount in `freezeTo()` to 0, the attacker can insert nodes at a low cost without holding the token.

LowPull-Over-Push PatternOpen

The change of `_owner` by function `transferOwnership()` overrides the previously set `_owner` with the new one without guaranteeing the new `_owner` is able to actuate transactions on-chain.

LowUnused ValueOpen

The smart contract contains one or more values that are not used, which can lead to unnecessary complexity and reduced maintainability. ```solidity=536 parent = next; ``` - The variable `parent` is never used after this assignment.

LowUser-Defined GettersOpen

The linked functions are equivalent to the compiler-generated getter functions for the respective variables.

LowWrong Event in `mintAndFreeze`Open

In `mintAndFreeze`, the `Transfer` event should correspond to the minting style, namely `Transfer(address(0), _to, _amount)`. However, the event here is incorrect: `MainToken.sol` ```solidity=649 emit Mint(_to, _amount); emit Freezed(_to, _until, _amount); emit Transfer(msg.sender, _to, _amount); ```

Contracts in scope1

AddressChainSource code
0x659049786cb66e4486b8c0e0ccc90a5929a21162Chain: BNB ChainSource code: Verified source

Part of TTcoin Network’s security record

TTcoin Network
Audits1 audit by 1 firmLast audit Nov 2024, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open TTcoin Network’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