Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

sherlock-audit/2023-04-splits

Repository files navigation

Splits contest details

For more details: https://www.notion.so/splits/Swapper-Audit-Overview-78ba6b86bb604e33942e5915c258ac62

Q&A

Q: On what chains are the smart contracts going to be deployed?

just mainnet for now


Q: Which ERC20 tokens do you expect will interact with the smart contracts?

~any, although our provided oracle implementation only works with tokens handled by uniswap v3 (e.g. no rebasing or fee-on-transfer)


Q: Which ERC721 tokens do you expect will interact with the smart contracts?

none


Q: Which ERC777 tokens do you expect will interact with the smart contracts?

~any, subject again to the above caveat re oracle / uni v3


Q: Are there any FEE-ON-TRANSFER tokens interacting with the smart contracts?

no


Q: Are there any REBASING tokens interacting with the smart contracts?

no


Q: Are the admins of the protocols your contracts integrate with (if any) TRUSTED or RESTRICTED?

don’t think there are any (uniswap v3 twap), but RESTRICTED


Q: Is the admin/owner of the protocol/contracts TRUSTED or RESTRICTED?

no protocol owner(s); oracle, swapper, & pass-through-wallet owners are TRUSTED


Q: Are there any additional protocol roles? If yes, please explain in detail:

no


Q: Is the code/contract expected to comply with any EIPs? Are there specific assumptions around adhering to those EIPs that Watsons should be aware of?

no


Q: Please list any known issues/acceptable risks that should not result in a valid finding.

user misconfiguration; swapper#flash callers are expected to be sophisticated (aka will check if a given txn reverts, will use flashbots rpc to avoid FR & owner-griefing, etc)


Q: Please provide links to previous audits (if any).

none


Q: Are there any off-chain mechanisms or off-chain procedures for the protocol (keeper bots, input validation expectations, etc)?

configuration of individual deployments is important but not in scope


Q: In case of external protocol integrations, are the risks of external contracts pausing or executing an emergency withdrawal acceptable? If not, Watsons will submit issues related to these situations that can harm your protocol's functionality.

our understanding is uniswap v3’s twap is not pausable


Audit scope

splits-utils @ 0dd263bf6feb0bd26b054da3cf1bb742d0bfb13e

splits-oracle @ f6628a116d8721289dad2c70d3e3aa14e4815d4e

splits-swapper @ 83ce1124767a097aac37d1cd162a9b27bbc48701

splits-pass-through-wallet @ 203badc970b9bb2216cf2ae0e93dcb0a0de19151

splits-diversifier @ bdb11a10d9f3aaf731adca09d6a0e05ab359e188

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •