Timeline for Fail with error 'TransferHelper: TRANSFER_FROM_FAILED' even approved in contract
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8 at 10:25 | comment | added | LiT Zelos | "TRANSFER FROM FAILED" typically indicates that there was an error or failure in the approval process for a transfer. | |
Mar 8 at 10:19 | comment | added | LiT Zelos | His question is TRANSFER FROM FAILED. I got exactly the same error and the solution is to approve exactly the balance you own as you cannot approve more then your balance in certain situations. Tell me why it's not the solution ? He even said it was the problem in his solution. : "returns 100, the actual balanceOf() is only 96. So when you try to sell 100 MSTART, it shows error "TRANSFER_FROM_FAILED". I guess this is why". So I provided a solution in web3 instead of solidity. A solution that approved exactly the amount of balance you own. Please tell me why this is wrong ? | |
Mar 8 at 9:52 | comment | added | DevCrypto | This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review | |
Mar 7 at 18:23 | history | edited | LiT Zelos | CC BY-SA 4.0 |
deleted 12 characters in body
|
Mar 6 at 23:07 | review | Late answers | |||
Mar 8 at 9:52 | |||||
Mar 6 at 22:52 | history | edited | LiT Zelos | CC BY-SA 4.0 |
added 67 characters in body
|
S Mar 6 at 22:50 | review | First answers | |||
Mar 7 at 8:55 | |||||
S Mar 6 at 22:50 | history | answered | LiT Zelos | CC BY-SA 4.0 |