solmate icon indicating copy to clipboard operation
solmate copied to clipboard

ERC4626: `beforeWithdraw` and `afterDeposit` hooks should be passed the `receiver`

Open 0xdapper opened this issue 3 years ago • 1 comments

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.

0xdapper avatar Jun 06 '22 09:06 0xdapper

#211

cruzdanilo avatar Jun 06 '22 16:06 cruzdanilo