DeFiLayer 1Layer 2
14,723 OP
View results
Submission Details
Severity: low
Invalid

hardcoded address only on mainnet

Summary

The SCRVUSD address is hardcoded

Vulnerability Details

we can see SCRVUSD address is stored in constant variable in the contract.

address constant SCRVUSD = 0x0655977FEb2f289A4aB78af67BAB0d17aAb84367;

and we can see

Compatibilities:
Blockchains:
- Any EVM, including solutions like neon on Solana

SCRVUSD address in only on eth mainnet

Impact

Breaking of core logic and every calls to address can be revert

Tools Used

Manual Review

Recommendations

add a set function so the address can be change when deploy on other EVM

Updates

Lead Judging Commences

0xnevi Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
Assigned finding tags:

[invalid] finding-hardcoded-srCRV-multi-chain

- Original scrvUSD exists only on mainnet – that's where it gets revenue. And these storage proofs are retrieved from Ethereum scrvUSD contract, meaning no other token deployment needed. - The point of using storage proofs is to port data from Ethereum to other networks. And storage proofs are just making it possible in a trustless manner wrt blockhash oracle.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.