You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/common/StorageAccessible.sol
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
pragma solidity>=0.7.0<0.9.0;
3
3
4
4
/// @title StorageAccessible - generic base contract that allows callers to access all internal storage.
5
-
/// @notice Adjusted version of https://github.com/gnosis/util-contracts/blob/3db1e531cb243a48ea91c60a800d537c1000612a/contracts/StorageAccessible.sol
5
+
/// @notice See https://github.com/gnosis/util-contracts/blob/bb5fe5fb5df6d8400998094fb1b32a178a47c3a1/contracts/StorageAccessible.sol
6
6
contractStorageAccessible {
7
7
/**
8
8
* @dev Reads `length` bytes of storage in the currents contract
@@ -27,22 +27,34 @@ contract StorageAccessible {
27
27
28
28
/**
29
29
* @dev Performs a delegetecall on a targetContract in the context of self.
30
-
* Internally reverts execution to avoid side effects (making it static). Returns encoded result as revert message
31
-
* concatenated with the success flag of the inner call as a last byte.
30
+
* Internally reverts execution to avoid side effects (making it static).
31
+
*
32
+
* This method reverts with data equal to `abi.encode(bool(success), bytes(response))`.
33
+
* Specifically, the `returndata` after a call to this method will be:
0 commit comments