Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexkroeger/00df446fc690006f001d449b0e00e8a0 to your computer and use it in GitHub Desktop.
Save alexkroeger/00df446fc690006f001d449b0e00e8a0 to your computer and use it in GitHub Desktop.
a=0x234B619B4f4E405665F7d94F2CE60c24256032B5, b=0xBafE01ff935C7305907c33BF824352eE5979B526
diff --git a/old_comptrollerstorage.sol b/new_comptrollerstorage.sol
index fdf1eed..b74db65 100644
--- a/old_comptrollerstorage.sol
+++ b/new_comptrollerstorage.sol
@@ -151,3 +151,11 @@ contract ComptrollerV6Storage is ComptrollerV5Storage {
/// @notice The rate at which comp is distributed to the corresponding supply market (per block)
mapping(address => uint) public compSupplySpeeds;
}
+
+contract ComptrollerV7Storage is ComptrollerV6Storage {
+ /// @notice Flag indicating whether the function to fix COMP accruals has been executed (RE: proposal 62 bug)
+ bool public proposal65FixExecuted;
+
+ /// @notice Accounting storage mapping account addresses to how much COMP they owe the protocol.
+ mapping(address => uint) public compReceivable;
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment