Hello All ,
i Have A Create Smart Contract Router
After Send Order buy Give me Error Fail with error 'TransferHelper: TRANSFER_FROM_FAILED'
Binance (BNB) detailed transaction info for txhash 0x9ce935330a253cc4a869b1be619ab708fa606033306448510ac2f327f495dc6c. The transaction status, block confirmation, gas fee, BNB, and token transfer are shown.
My Source Contract : https://github.com/Supercycled/cake_sniper/tree/master/contracts
Please Help Me , Thanks
Skyge
February 15, 2022, 12:33am
2
Hi, it seems like there is not enough allowance, so has src
called token.approve(msg.sender, MAX)
, and just check what is the result of allowance[src][msg.sender]
Hello sir , How Are you?
i Have Create Smart contract Router
Binance (BNB) detailed transaction info for txhash 0x9ce935330a253cc4a869b1be619ab708fa606033306448510ac2f327f495dc6c. The transaction status, block confirmation, gas fee, BNB, and token transfer are shown.
And My Transction faild .
Can you Help Me Please?
require(allowance[src][msg.sender] >= wad);
execution reverted
i Have Use Source smart contract :
Can you check Please ? Thanks Sir