Lite Ⅳ

CertiKFiles named in the report

CertiK reviewed liteusd.com (Lite Ⅳ) on 20 Oct 2022: 13 findings, 0 critical; 9 marked fixed, 1 acknowledged, 3 open.

No open critical findings
Open the reportOpen liteusd.com’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings13

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

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium000
Low309
LowMissing Emit EventsOpen

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

LowMissing Input ValidationOpen

The following are missing range bound checks: - `day` in `setBounsDay()` - `_duration` in `addPool()` - `_duration` in `setPool()` - `value` in `setAutoDelay()` - `_duration` in `setUnstakeDuration()` ---- The following are missing zero address checks: - `token_` and `upgrade_` addresses passed to the constructor - `_lpToken` in `setPool()` - `_lpToken` in `addPool()`

LowPotential Loss of Rewards and DepositsOpen

If `initUpgrade()` is called after `depositReward()`, the current value of `totalReward` will be overridden by the `totalReward` of the `upgradeAddress`. --- If `initUpgrade()` is called after `stake()`, the current value of `totalStaked` will be overridden by the `totalStaked` of the `upgradeAddress`. Note that if `isStaking` is changed to true through `setStaking()` and a new pool is added through `addPool()`, it will be possible to call `stake()` and so write to `totalStaked` --- If `initUpgrade()` is called after `stake()` (which executes `_bonusReward()`), the current values of `lastBounsEpoch` and `lastBounsToken` will be overridden by `lastBounsEpoch` and `lastBounsToken` of the `upgradeAddress`. Note that if `isStaking` and `isBonus` are changed to true through `setStaking()` and `setIsBouns()` and a new pool is added through `addPool()`, it will be possible to call `stake()` which executes `_bonusReward()`.

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)

  • lite_staking_upgrade.sol

Part of liteusd.com’s security record

liteusd.com
Audits1 audit by 1 firmLast audit Oct 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open liteusd.com’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