Lif3 - vaults - SC

CertiKFiles named in the report

CertiK reviewed LIF3 (Lif3 - vaults - SC) on 9 Feb 2023: 9 findings, 0 critical; 5 marked fixed, 2 acknowledged, 2 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings9

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

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium001
Low204
LowSingle Point of Failure on Claiming RewardsOpen

Function `_transferAllRewards()` calculates the reward amount for each reward token and transfers them to the caller. The *require* check on line 536 will revert the entire transaction if one of the reward token balance is not sufficient for the transfer. If the contract is short on one reward token, it could stop all users from claiming their rewards. ```solidity=532 for (uint256 rewardId = 0; rewardId < rewardsLength; ++rewardId) { address reward = rewards[rewardId]; uint256 userRewards = _calculateReward(startOfClaim, endOfClaim, lock.lockTime, lock.amount, reward); if (userRewards > 0) { require( IERC20(reward).balanceOf(address(this)) >= userRewards, "Too little rewards in contract to pay to user" ); address sender = msg.sender; IERC20(reward).safeTransfer(sender, userRewards); emit RewardPaid(sender, userRewards); } } ```

LowThird Party DependenciesOpen

The contract is serving as the underlying entity to interact with third party deposit and reward token contracts, and prb math library. The scope of the audit treats 3rd party entities as black boxes and assumes their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. Additionally, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to addresses, etc.

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

  • LockingRewardPool.sol
  • LockNFT.sol

Part of LIF3’s security record

LIF3
Audits3 audits by 2 firmsLast audit Feb 2024, by CertiK.
Critical findings1 critical acknowledged, not fixedReported in “Lif3 L3USD” by CertiK, Feb 2024. The team acknowledged it.
Open LIF3’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