Mochi contest - pauliax's results

Next-Gen Decentralized Digital Currency Backed By Long-Tail Cryptoassets.

General Information

Platform: Code4rena

Start Date: 21/10/2021

Pot Size: $80,000 ETH

Total HM: 28

Participants: 15

Period: 7 days

Judge: ghoulsol

Total Solo HM: 19

Id: 42

League: ETH

Mochi

Findings Distribution

Researcher Performance

Rank: 8/15

Findings: 3

Award: $4,572.30

🌟 Selected for report: 8

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: WatchPug

Also found by: pauliax

Labels

bug
duplicate
3 (High Risk)

Awards

0.4373 ETH - $1,820.32

External Links

Handle

pauliax

Vulnerability details

Impact

function claimRewardAsMochi in ReferralFeePoolV0 will produce a runtime exception because the length of the path is 2 but it tries to assign 3 entries: address[] memory path = new address; path[0] = address(usdm); path[1] = uniswapRouter.WETH(); path[2] = address(engine.mochi()); So users will not be able to claim their rewards.

address[] memory path = new address;

#0 - r2moon

2021-10-29T12:56:32Z

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