ERCs
ERCs copied to clipboard
Update ERC-7540: Fix event names
The DepositRequest and RedeemRequest events were mistyped as RequestDeposit and RequestRedeem.
Also adds minor punctuation fixes.
File ERCS/erc-7540.md
Requires 2 more reviewers from @axic, @g11tech, @gcolvin, @lightclient, @xinbenlv
Implementations MUST support an additional overloaded deposit and mint method on the specification from ERC-4626, with an additional controller input of type address:
When the Deposit event is emitted, the first parameter MUST be the controller, and the second parameter MUST be the receiver.
IMO that Deposit event is new and is part of the standard therefore it must be added under the Events section with the correct signature.
I think the Deposit event remains the same with the same parameters and parameter names. This EIP just specifies that that the implementation should emit Deposit(controller, receiver, assets, shares) - i.e. the sender is always the controller and the owner is always the receiver.