Zogi Labs - Bezoge

CertiKFiles named in the report

CertiK reviewed Magical Blocks (Zogi Labs - Bezoge) on 6 Dec 2022: 8 findings, 0 critical; 2 marked fixed, 5 acknowledged, 1 open.

No open critical findings
Open the reportOpen Magical Blocks’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
High030
Medium021
Low101
MediumLogical issue in transferFrom()Fixed

In the function `transferFrom()`, the `msg.sender` will be checked in the blacklist or not. However, the address `from` is not checked. According to the logic of the function `transfer`, the user in the blacklist cannot transfer his/her own tokens. But he/she can bypass this restriction via the function `transferFrom`, by approving the allowance to others.

LowFunction Should Be Declared ExternalFixed

The functions which are never called internally within the contract should have external visibility for gas optimization. ```solidity=132 function updatePercentageDecimals(uint256 newPercentageDecimals_)public onlyOwner{ ``` --- ```solidity=136 function updateSupportedChains(uint256[]memory chainIds_,bool[]memory chainStatus_)public onlyOwner{ ``` --- ```solidity=140 function pause() public onlyOwner { ``` --- ```solidity=144 function unpause() public onlyOwner { ``` --- ```solidity=19 function mint(address account_, uint256 amount_)public whenNotPaused onlyAdmin{ ``` --- ```solidity=25 function burn(uint256 amount_)public whenNotPaused{ ``` --- ```solidity=31 function blacklistUpdate(address user, bool value) public onlyOwner { ``` --- ```solidity=37 function transfer(address recipient, uint256 amount) public whenNotPaused override(ERC20,IERC20) returns (bool) { ``` --- ```solidity=43 function transferFrom(address from,address to,uint256 amount) public whenNotPaused virtual override(ERC20,IERC20) returns (bool) { ``` --- ```solidity=19 function init(address bezogeToken_, address zogiToken_, uint256 minWrapAmount_, ``` --- ```solidity=34 function wrapBezoge(uint256 amount_)public { ``` --- ```solidity=49 function unWrapBezoge(uint256 amount_)public { ```

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)

  • contracts/tokens/Zogi.sol
  • contracts/wrapper/Conversion.sol
  • contracts/bridge/ZogiBridge.sol

Part of Magical Blocks’s security record

Magical Blocks
Audits1 audit by 1 firmLast audit Dec 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Magical Blocks’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