PEPEDEX-Audit

CertiK1 address on BNB Chain

CertiK reviewed PEPEDEX (PEPEDEX-Audit) on 1 Jun 2023: 6 findings, 0 critical; 2 acknowledged, 4 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings6

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low400
LowMissing Emit EventsOpen

Functions that update state variables should emit relevant events as notifications. The following functions do not emit any event: - `setNoFeeWallet`

LowMissing Zero Address ValidationOpen

Addresses are not validated before assignment or external calls, potentially allowing the use of zero addresses and leading to unexpected behavior or vulnerabilities. For example, transferring tokens to a zero address can result in a permanent loss of those tokens. ```solidity=330 marketingAddress = payable(marketing); ``` - `marketing` is not zero-checked before being used.

LowThird-Party Dependency UsageOpen

The contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=177 IRouter02 public swapRouter; ``` - The contract `PEPEDEX` interacts with third party contract via `swapRouter`, as well as its related factory and LP pair.

LowVariables That Could Be Declared as ImmutableOpen

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. Note that the function `changeLpPair()` only updates the `isLpPair` mapping, but not the `lpPair` address declared in line 182.

Contracts in scope1

AddressChainSource code
0x42d1aab8cbb202bc0b74c75da0fd999eec4a5c07Chain: BNB ChainSource code: Verified source

Part of PEPEDEX’s security record

PEPEDEX
Audits2 audits by 2 firmsLast audit Jun 2023, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open PEPEDEX’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