Momentum - Addendum

CertiKFiles named in the report

CertiK reviewed Momentum (Momentum - Addendum) on 12 Jul 2023: 19 findings, 0 critical; 14 marked fixed, 4 acknowledged, 1 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings19

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

SeverityOpenAcknowledgedFixed
Critical000
High031
Medium013
Low1010
LowIncompatibility with Deflationary TokensOpen

When transferring deflationary ERC20 tokens, the input amount may not be equal to the received amount due to the charged transaction fee. For example, if a user sends 100 deflationary tokens (with a 10% transaction fee), only 90 tokens actually arrived to the contract. However, a failure to discount such fees may allow the same user to withdraw 100 tokens from the contract, which causes the contract to lose 10 tokens in such a transaction. ```solidity=355 _stake(odyssey_id, amount, token); ``` - Transferring tokens by `amount`. - This function call executes the following operation. - In `Staking._stake`, - `IERC20(mom_token).safeTransferFrom(payable(msg.sender), address(this), amount);` ```solidity=355 _stake(odyssey_id, amount, token); ``` - This function call executes the following operation. - In `Staking._stake`, - `_do_stake(odyssey_id, amount, token);` - In `Staking._do_stake`, - `staked_by[odyssey_id][index].effective_timestamp_mom = calculate_effective_timestamp(staked_by[odyssey_id][index].timestamp, staked_by[odyssey_id][index].mom_amount, amount, true);` - In `Staking.calculate_effective_timestamp`, - `uint256 amount_diff = current_amount - amount > 0 ? current_amount - amount : 1;` - The `amount` appears to be used for bookkeeping purposes without compensating the potential transfer fees. In this project, the `mom_token` address should be ideally set to the address of deployed `MOMToken` contract which doesn't support transferring fee.

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

  • contracts/token/MomToken.sol
  • contracts/nft/OdysseyNFT.sol
  • contracts/vesting/Vesting.sol
  • contracts/token/DADToken.sol
  • contracts/staking/Staking.sol

Part of Momentum’s security record

Momentum
Audits2 audits by 1 firmLast audit Jul 2023, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open Momentum’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