transmissions11 / solmate

Modern, opinionated, and gas optimized building blocks for smart contract development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

0xdapper opened this issue · 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.