Mayors security record

BNB Chain, EthereumGitHub

As of 3 Nov 2026, Mayors has 1 audit report on Trustblock, by CertiK, dated 28 Jun 2022. That report lists no open critical findings.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Record last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

AuditSecurity firmDateScopeCritical findingsReport
MayorsSecurity firm: CertiKDate: Scope: Files named in the reportNo open critical findingsOpen · skynet.certik.com

Findings18

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

SeverityOpenAcknowledgedFixed
Critical000
High052
Medium001
Low604
LowFunction Visibility OptimizationMayors · CertiK · 28 Jun 2022Open

The following functions are declared as `public`, contain array function arguments, and are not invoked in any of the contracts contained within the project's scope. The functions that are never called internally within the contract should have external visibility.

Open the report
LowIncompatibility With Deflationary TokensMayors · CertiK · 28 Jun 2022Open

When transferring standard ERC20 deflationary tokens, the input amount may not be equal to the received amount due to the internally charged transaction fee.

Open the report
LowMerkle Tree Proof for BuyerMayors · CertiK · 28 Jun 2022Open

In the contract `Marketplace`, the `buyLootboxMP()` function uses the state variable `season.merkleRoot` which stands for an off-chain Merkle tree to verify whether a given user has the privilege to buy the NFT. Meanwhile, there is also in parallel a whitelist to determine such privilege in `buyLootbox()` function. What's more, in the function `buyLootboxMP()`, the parameter `proofs` is passed in by the message sender to verify whether it is in the Merkle tree. So the actual value is uncertain and malicious users can perform a second preimage attack. We would like to confirm with the client if the current implementation aligns with the original project design.

Open the report
LowPotential Reentrancy RisksMayors · CertiK · 28 Jun 2022Open

A reentrancy attack can occur when the contract creates a function that makes an external call to another untrusted contract before resolving any effects. If the attacker can control the untrusted contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects.

Open the report
LowRisk For Weak RandomnessMayors · CertiK · 28 Jun 2022Open

It is now well understood that the difficulty or timestamp is not a source of randomness. They can be manipulated if the attacker is also a miner. For EVM compatible blockchains such as Binance smart chain and Polygon, the `block.difficulty` and `block.gaslimit` can be the same value across multiple blocks, making the situation even worse.

Open the report
LowState Variable Should Be Declared ConstantMayors · CertiK · 28 Jun 2022Open

State variables that never change should be declared as `constant` to save gas. File: contracts/common/erc721/ERC721Storage.sol (Line 12, Contract `ERC721Storage`) ```solidity string internal _symbol; ``` - `_symbol` should be declared `constant`. --- File: contracts/common/erc721/ERC721Storage.sol (Line 15, Contract `ERC721Storage`) ```solidity string internal _baseURI; ``` - `_baseURI` should be declared `constant`. --- File: contracts/common/erc721/ERC721Storage.sol (Line 18, Contract `ERC721Storage`) ```solidity uint256 internal _tokenIdCounter; ``` - `_tokenIdCounter` should be declared `constant`. --- File: contracts/common/erc721/ERC721Storage.sol (Line 9, Contract `ERC721Storage`) ```solidity string internal _name; ``` - `_name` should be declared `constant`. --- File: contracts/common/ownership/OwnableStorage.sol (Line 6, Contract `OwnableStorage`) ```solidity address internal _owner; ``` - `_owner` should be declared `constant`.

Open the report

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="mayors"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

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