Skip to content

Commit

Permalink
Change 'caller' to 'sender' to more closely match EIP-4626 specs. (Op…
Browse files Browse the repository at this point in the history
  • Loading branch information
ronhuafeng committed Sep 9, 2022
1 parent c356042 commit 83c3027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/interfaces/IERC4626.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import "../token/ERC20/extensions/IERC20Metadata.sol";
* _Available since v4.7._
*/
interface IERC4626 is IERC20, IERC20Metadata {
event Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares);
event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);

event Withdraw(
address indexed caller,
address indexed sender,
address indexed receiver,
address indexed owner,
uint256 assets,
Expand Down

0 comments on commit 83c3027

Please sign in to comment.