Skip to content

Commit

Permalink
fix: fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
YasseinBilal committed Mar 14, 2024
1 parent 8248f8c commit 5352229
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions examples/src/AutoSavings/AutoSavings.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ import { ERC7579ExecutorBase, SessionKeyBase } from "modulekit/src/Modules.sol";
contract AutoSavingToVault is ERC7579ExecutorBase, SessionKeyBase {
using ERC4626Integration for *;

/*//////////////////////////////////////////////////////////////////////////
Events
//////////////////////////////////////////////////////////////////////////*/

event AutoSaveExecuted(
address indexed smartAccount, address indexed token, uint256 amountReceived
);

/*//////////////////////////////////////////////////////////////////////////
CONSTANTS & STORAGE
//////////////////////////////////////////////////////////////////////////*/
Expand All @@ -42,6 +34,10 @@ contract AutoSavingToVault is ERC7579ExecutorBase, SessionKeyBase {

mapping(address account => mapping(address token => Config)) internal _config;

event AutoSaveExecuted(
address indexed smartAccount, address indexed token, uint256 amountReceived
);

/*//////////////////////////////////////////////////////////////////////////
CONFIG
//////////////////////////////////////////////////////////////////////////*/
Expand Down

0 comments on commit 5352229

Please sign in to comment.