When I read WETH9 contract code, I felt strange.

For example, generally "transferFrom" method has "from", "to", "value" as parameters but WETH9's transferFrom has "src", "dst", "wad".

Why is this happening?

WETH9 contract code: https://github.com/makerdao/sai/blob/master/src/weth9.sol


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.