Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Nukem Loans>Threat Model>erase
GeneralOverview
Findings
Critical (3)
High (3)
Medium (2)
Low (1)
DiscussionInitializer called in constructorBorrowing on behalf of the Market contractPotential storage-collision issueSaferERC20 additional checksEIP-712 implementationMarket setters should only be called onceUtilizing eth-brownie for testingCentralizationAMM oracle pricing
Threat ModelWhat are threat models?AbstractSwapper.solAuctions.solCollateral.solCredit.sol
Debt.sol_deposit_withdrawerasetotalSupply
EIP712.solERC20Base.solERC20Permit.solEnFi4626.solLendingStrategy.solMarket.solProxyManager.solRoles.solSaferERC20.solUniswapV2Swapper.sol
Audit ResultsSummary

Function: erase(address account)

This erases debt.

Inputs

  • account

    • Control: Full.

    • Constraints: None.

    • Impact: The account whose debt will be erased.

Branches and code coverage (including function calls)

Intended branches

  • Removes debt.

Negative behavior

  • Cannot erase debt from an empty account.

Zellic © 2025Back to top ↑