hey guys im trying to understand uniswap by impersonating binance to swap dai to usdc using their swapExactInputSingle function. I met with Error: VM Exception while processing transaction: reverted with reason string 'STF'. I tried to approve what i could but still couldnt make it work. Anyone able to lend a hand?

Nov 25, 2022, 2:45 AM
This is the code im using
https://codeshare.io/gL1MDV

This is the script im running
https://codeshare.io/ZJMord
Nov 25, 2022, 2:45 AM

© 2024 Draquery.com All rights reserved.