Assessment reportsPublic findings
Back to Zellic site
↗
Assessment reports>Origami Finance>Threat Model>updateCap
GeneralOverview
Findings
Low (3)
DiscussionPossible share-price inflationLack of validationExemplary codebasePotential price arbitrage
Threat ModelWhat are threat models?LinearWithKinkInterestRateModel.solMintableToken.solOrigamiAaveV3IdleStrategy.solOrigamiAbstractLovTokenManager.sol
OrigamiCircuitBreakerAllUsersPerPeriod.solpreChecksetConfigupdateCap
OrigamiCircuitBreakerProxy.solOrigamiCrossRateOracle.solOrigamiDebtToken.solOrigamiElevatedAccessBase.solOrigamiIdleStrategyManager.solOrigamiInvestmentVault.solOrigamiLendingClerk.solOrigamiLendingRewardsMinter.solOrigamiLendingSupplyManager.solOrigamiLovToken.solOrigamiLovTokenErc4626Manager.solOrigamiOToken.solRepricingToken.solTokenPrices.sol
Audit ResultsSummary

Function: updateCap(uint128 newCap)

This function allows the caller access to set new values for cap.

Inputs

  • newCap

    • Constraints: No constraints.

    • Impact: The maximum allowed amount to be borrowed within each period.

Branches and code coverage

Intended branches

  • The cap was updated.

Negative behavior

  • Non-whitelisted caller

Zellic © 2025Back to top ↑