Timeline for UniswapV2Router swapExactETHForTokens Fail with error 'EXPIRED' after deadline is reached
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 29, 2021 at 1:48 | answer | added | Ruben Santana | timeline score: 1 | |
Jul 29, 2021 at 1:35 | comment | added | Ruben Santana | It was a silly mistake, thanks for pointing it out, I realize that I was declaring the deadline outside the function, so the deadline was set according to the time the contract was deployed. | |
Jul 28, 2021 at 6:17 | comment | added | Keerthana Ramalingam | Try printing the deadline and check the timestamp before calling the function. The error is from the ensure modifier which checks deadline should greater than timestamp. | |
Jul 28, 2021 at 5:08 | history | asked | Ruben Santana | CC BY-SA 4.0 |