Frankencoin - Jorgect's results

A decentralized and fully collateralized stablecoin.

General Information

Platform: Code4rena

Start Date: 12/04/2023

Pot Size: $60,500 USDC

Total HM: 21

Participants: 199

Period: 7 days

Judge: hansfriese

Total Solo HM: 5

Id: 231

League: ETH

Frankencoin

Findings Distribution

Researcher Performance

Rank: 167/199

Findings: 1

Award: $22.60

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

Low issue

L-1 Add modifier in PositionFactory contract

if createNewPosition function Must be called through minting hub to be recognized as valid position you should add a modifier insted of let the responsability to the user, this can cause disorder in the protocol and can give some errors.

modifier onlyHub(){ require(msg.sender == mintinHubAddress, " you are not minting hub contract") } function createNewPosition( address _owner, address _zchf, address _collateral, uint256 _minCollateral, //@audit if Must be called through minting hub to be recognized as valid position. then create a modifier uint256 _initialLimit, uint256 initPeriod, uint256 _duration, uint256 _challengePeriod, uint32 _mintingFeePPM, uint256 _liqPrice, uint32 _reserve ) external onlyHub returns (address) {

#0 - c4-judge

2023-05-16T16:18:35Z

hansfriese marked the issue as grade-b

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter