solmate
solmate copied to clipboard
ERC4626: `beforeWithdraw` and `afterDeposit` hooks should be passed the `receiver`
Just discovered that some logic I built on a deriving vault was using msg.sender which would not be quite right, we need to do in context of the receiver. Can make a PR if this is good with @transmissions11.
#211