Timeline for IERC20.approve(spender, amount) thinks the owner is also the contract
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 12, 2020 at 13:30 | history | edited | Wyctus | CC BY-SA 4.0 |
added 270 characters in body
|
Dec 12, 2020 at 13:25 | comment | added | Wyctus | Editet my answer. | |
Dec 12, 2020 at 13:24 | history | edited | Wyctus | CC BY-SA 4.0 |
added 270 characters in body
|
Dec 12, 2020 at 13:16 | history | edited | Wyctus | CC BY-SA 4.0 |
added 59 characters in body
|
Dec 12, 2020 at 13:15 | comment | added | Saehun Sean Oh | my account in my wallet, which owns the contract | |
Dec 12, 2020 at 13:14 | history | edited | Wyctus | CC BY-SA 4.0 |
deleted 40 characters in body
|
Dec 12, 2020 at 13:04 | comment | added | Saehun Sean Oh |
My goal is to call daiToken.transferFrom(msg.sender, address(this), daiAmountIn) so I can transfer some tokens to my contract. If I call daiToken.approve(msg.sender, daiAmmountIn) , it doesn't make sense to "transfer from msg.sender to contract", because I'm approved to do the opposite way.
|
|
Dec 12, 2020 at 12:25 | history | answered | Wyctus | CC BY-SA 4.0 |