Techtrees

CertiKFiles named in the report

CertiK reviewed Tech Trees (Techtrees) on 22 Oct 2022: 15 findings, 0 critical; 3 marked fixed, 12 open.

No open critical findings
Open the reportOpen Tech Trees’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings15

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

SeverityOpenAcknowledgedFixed
Critical000
High300
Medium100
Low803
Low`initTokens()` Can Be Called Multiple TimesFixed

Before `start()` is called, `lastUpdateBlock` will be always be `0`. With this, `initTokens()` can be freely called by the owner multiple times. This could increase the contract's balance of `ttCoin` and the state variable `totalInjectedTokens`, as well as overwrite the `powTokensPerBlock` and `pointsPerBlock` state variables on each call.

LowMissing Emit Events (Arithmetic Parameter)Fixed

One or more state changes do not emit events to pass the changes out of chain. ```solidity=1328 royaltyFee = _royaltyFee; ``` --- ```solidity=92 totalInjectedTokens += powTokens; ``` ```solidity=93 powTokensPerBlock = uint96(powTokensPerBlock_); ``` ```solidity=94 pointsPerBlock = uint96(pointsPerblock_); ``` --- ```solidity=109 powEndBlock = uint32(block.number + restToken / powTokensPerBlock_); ``` ```solidity=110 powTokensPerBlock = uint96(powTokensPerBlock_); ``` --- ```solidity=117 pointsPerBlock = uint96(pointsPerBlock_); ``` --- ```solidity=124 totalInjectedTokens += powTokens; ``` ```solidity=126 if (lastUpdateBlock > 0) powEndBlock = uint32(block.number + restToken / powTokensPerBlock); ```

LowUnused State VariableFixed

One or more state variables are never used in the codebase. Variable `feeFreeBlocks` in `TechTreesCoinStaking` is never used in `TechTreesCoinStaking`. ```solidity=20 uint256 private constant feeFreeBlocks = blocksPerday * 7; ``` ```solidity=8 contract TechTreesCoinStaking is Ownable { ``` --- Variable `oneEther` in `TechTreesCoinStaking` is never used in `TechTreesCoinStaking`. ```solidity=22 uint256 private constant oneEther = 1 ether; ``` ```solidity=8 contract TechTreesCoinStaking is Ownable { ``` --- Variable `zeroAddress` in `TechTreesCoinStaking` is never used in `TechTreesCoinStaking`. ```solidity=26 address private constant zeroAddress = address(0x0); ``` ```solidity=8 contract TechTreesCoinStaking is Ownable { ```

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (3)

  • TechTreesCoin.sol
  • staking/TechTreesCoinStaking.sol
  • interfaces/IPoint.sol

Part of Tech Trees’s security record

Tech Trees
Audits1 audit by 1 firmLast audit Oct 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Tech Trees’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 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