EDMC project

CertiKFiles named in the report

CertiK reviewed EDM DanceCoin (EDMC) (EDMC project) on 7 Feb 2023: 10 findings, 0 critical; 6 marked fixed, 2 acknowledged, 2 open.

No open critical findings
Open the reportOpen EDM DanceCoin (EDMC)’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low206
LowDivide Before MultiplyFixed

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=576 uint256 slipAmount = (amount.div(100)).mul(_slippageAmount); ```

LowLogical issue of `transferFrom()`Fixed

The function `transferFrom()` lacks the check `sender != msg.sender`. If the user wants to call the function `transferFrom()` to do a transfer, he/she should approve allowance to himself/herself.

LowLogical issue of function `_transfer`Fixed

If the sender and recipient are the same, the slip amount should not be charged.

LowMissing zero check on `amount`Fixed

Functions `transfer()`, `mint()`, `increaseAllowance()`, `decreaseAllowance()` and `transferFrom()` need to check if `amount > 0` to avoid meaningless transactions.

LowToo Many DigitsFixed

Literals with many digits are difficult to read and review.

LowVariables That Could Be Declared as ImmutableFixed

The linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.

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

  • contracts/Dancecoin.sol

Part of EDM DanceCoin (EDMC)’s security record

EDM DanceCoin (EDMC)
Audits1 audit by 1 firmLast audit Feb 2023, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open EDM DanceCoin (EDMC)’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