Omniscia Gnosis Guild Audit

WriteOnce Code Style Findings

WriteOnce Code Style Findings

WOE-01C: Multiple Top-Level Declarations

TypeSeverityLocation
Code StyleWriteOnce.sol:L4, L11

Description:

The referenced file contains multiple top-level declarations that decrease the legibility of the codebase.

Example:

packages/evm/contracts/WriteOnce.sol
4interface ISingletonFactory {
5 function deploy(
6 bytes memory initCode,
7 bytes32 salt
8 ) external returns (address);
9}
10
11library WriteOnce {

Recommendation:

We advise all highlighted top-level declarations to be split into their respective code files, avoiding unnecessary imports as well as increasing the legibility of the codebase.

Alleviation:

The Gnosis Guild team evaluated this exhibit and has opted to not apply a remediation for it in the current iteration of the codebase.