Aderlo Metaverse

CertiKFiles named in the report

CertiK reviewed Aderlo Metaverse on 2 Feb 2023: 14 findings, 0 critical; 10 marked fixed, 4 acknowledged.

No open critical findings
Open the reportOpen Aderlo Metaverse’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings14

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

SeverityOpenAcknowledgedFixed
Critical000
High012
Medium000
Low038
HighCentralized Control of Contract UpgradeFixed

`ACC.sol`, `ACCTokenSale.sol` and `VestingWallet.sol` are upgradeable contracts, the owner can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract.

HighWrong `require` statementsFixed

Since ACC tokens are transferred out from this contract when `buyTokens()` or `sendOutsidePurchase()` are executed, its ACC balance will decrease over time. Instead, the value of `totalTokensPurchased` will only increase over time. At a certain point, if no other ACC tokens are sent to the contract, the require statements at lines 50 and 128 will always revert and the contract will be in stuck.

Low`vestedPercentage` can be usedFixed

The magic number 80 is used in the code instead of the state variable `vestedPercentage`.

LowDeclaration Naming ConventionFixed

One or more declarations do not conform to the [Solidity style guide](https://solidity.readthedocs.io/en/v0.7.3/style-guide.html#naming-conventions) with regards to its naming convention. Particularly: - `camelCase`: Should be applied to function names, argument names, local and state variable names, modifiers - `UPPER_CASE`: Should be applied to `constant` variables - `CapWords`: Should be applied to contract names, struct names, event names and enums ```solidity=11 uint256 public constant tokensPerEth = 10000; ``` - Constant variable `tokensPerEth` is not in `UPPER_CASE`. --- ```solidity=14 uint256 public constant vestedPercentage = 80; ``` - Constant variable `vestedPercentage` is not in `UPPER_CASE`. --- ```solidity=15 uint256 public constant vestingPeriod = 30 days * 12; ``` - Constant variable `vestingPeriod` is not in `UPPER_CASE`.

LowMisleading error messagesFixed

The error messages at linked lines are not understandable by users.

LowMissing checks or Input ValidationsFixed

The following checks are missing: - In `AderloNFT.sol` the `tokenId` passed to `burn()` should be greater than zero since the minting process starts from index 1 due to the increment made at line 16. - In `ACCTokenSale.sol` the `tokenAddress` passed to the `initialize()` function is not zero-checked. - In `ACCTokenSale.sol` `aderlo`, `planetary` and `marketing` addresses passed to `withdraw()` are not zero-checked. - In `ACCTokenSale.sol` the `msg.value` used when calling `buyTokens()` must be greater than zero. - In `ACCTokenSale.sol` the `amount` parameter passed to `sendOutsidePurchase()` must be greater than zero.

LowMissing Emit EventsFixed

In the function `withdraw()`, which is controlled by a centralization role, no event is emitted.

LowMissing Error MessagesFixed

The **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.

LowPotential Overflow/Underflow in Unchecked BlockFixed

In `sendOutsidePurchase()` if `amount` passed as input is greater than `[(2**256 - 1) - totalTokensPurchased]`, an overflow condition may happen at line 125.

LowUsage of Magic NumberFixed

In `withdraw()` the magic numbers 10 and 45 are used at lines 98 and 99.

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 (4)

  • VestingWallet.sol
  • AderloNFT.sol
  • ACC.sol
  • ACCTokenSale.sol

Part of Aderlo Metaverse’s security record

Aderlo Metaverse
Audits1 audit by 1 firmLast audit Feb 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Aderlo Metaverse’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