Adventure Gold | Loot Staking

CertiKFiles named in the report

CertiK reviewed Loot (Adventure Gold | Loot Staking) on 28 Oct 2022: 11 findings, 2 critical; 1 marked fixed, 7 acknowledged, 3 open.

1 critical acknowledged, not fixed
Open the reportOpen Loot’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings11

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

SeverityOpenAcknowledgedFixed
Critical011
High300
Medium010
Low050
CriticalPotential Logic Issue In `LootStaking `Fixed

In the function `_signalStake()`, token IDs are staked to the contract, in line 229 code the variable `epochsByNFTId[bagId]` stores `currentEpoch + 1`, so if the user stakes token IDs to the contract in the previous epoch, the condition `if (epochs[j] < currentEpoch)` in line 289 code returns false, the reward cannot be cumulative, and in line 300 the variable `epochs[epochsLength - 1]` stores a value that might be `currentEpoch + 1`.

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

  • src/MLoot.sol
  • src/lib/Math.sol
  • src/AdventureGold.sol
  • src/LootStaking.sol
  • src/Loot.sol
  • src/lib/Base64.sol

Part of Loot’s security record

Loot
Audits1 audit by 1 firmLast audit Oct 2022, by CertiK.
Critical findings1 critical acknowledged, not fixedReported in “Adventure Gold | Loot Staking” by CertiK, Oct 2022. The team acknowledged it.
Open Loot’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