Maia DAO - Ulysses - twcctop's results

Harnessing the power of Arbitrum, Ulysses Omnichain specializes in Virtualized Liquidity Management.

General Information

Platform: Code4rena

Start Date: 22/09/2023

Pot Size: $100,000 USDC

Total HM: 15

Participants: 175

Period: 14 days

Judge: alcueca

Total Solo HM: 4

Id: 287

League: ETH

Maia DAO

Findings Distribution

Researcher Performance

Rank: 99/175

Findings: 1

Award: $25.68

QA:
grade-a

🌟 Selected for report: 0

🚀 Solo Findings: 0

Unproper mapping define:

https://github.com/code-423n4/2023-09-maia/blob/746905cdd3aa165ba1f9274c360dfd9f0c52e781/src/RootPort.sol#L89-L90

This is how mapping:

 mapping(address chainId => mapping(uint256 localAddress => address globalAddress)) public getGlobalTokenFromLocal;

but how it autally use is

 getGlobalTokenFromLocal[_localAddress][_srcChainId] = _globalAddress

So the correct define should be:

mapping(address localAddress => mapping(uint256 chainId => address globalAddress))   public getGlobalTokenFromLocal;

#0 - c4-pre-sort

2023-10-15T12:40:53Z

0xA5DF marked the issue as sufficient quality report

#1 - c4-judge

2023-10-20T13:55:06Z

alcueca 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