@@ -27,7 +27,10 @@ interface ISafeMinimal {
27
27
28
28
function approvedHashes (address owner , bytes32 txHash ) external view returns (bool );
29
29
30
- function getModulesPaginated (address start , uint256 pageSize ) external view returns (address [] memory array , address next );
30
+ function getModulesPaginated (address start , uint256 pageSize )
31
+ external
32
+ view
33
+ returns (address [] memory array , address next );
31
34
32
35
// This function is not part of the interface at 0xfb1bffC9d739B8D520DaF37dF666da4C687191EA
33
36
// . It's part of the implicit interface on the proxy contract(s) created by the factory at
@@ -246,7 +249,7 @@ contract ZeroExSettlerDeployerSafeGuard is IGuard {
246
249
assert (! safe.isOwner (address (this )));
247
250
assert (safe.getGuard () == address (this ));
248
251
{
249
- (address [] memory modules , ) = safe.getModulesPaginated (address (1 ), 1 );
252
+ (address [] memory modules ,) = safe.getModulesPaginated (address (1 ), 1 );
250
253
assert (modules.length == 0 );
251
254
}
252
255
@@ -459,7 +462,7 @@ contract ZeroExSettlerDeployerSafeGuard is IGuard {
459
462
// consequently arbitrary modification of the state of the proxy (including
460
463
// `SELFDESTRUCT`). Therefore, we prohibit the installation of modules.
461
464
{
462
- (address [] memory modules , ) = _safe.getModulesPaginated (address (1 ), 1 );
465
+ (address [] memory modules ,) = _safe.getModulesPaginated (address (1 ), 1 );
463
466
if (modules.length != 0 ) {
464
467
revert ModuleInstalled (modules[0 ]);
465
468
}
0 commit comments