Timeline for Swap ETH for Tokens and Back on Remix
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2021 at 13:54 | vote | accept | johnny 5 | ||
S Nov 4, 2021 at 11:22 | history | suggested | johnny 5 | CC BY-SA 4.0 |
Updating the answer to include additional details
|
Nov 3, 2021 at 16:56 | review | Suggested edits | |||
S Nov 4, 2021 at 11:22 | |||||
Nov 2, 2021 at 11:24 | comment | added | Saman H. Pasha |
calculate amountOutMin by uint256[] memory amounts = _router.getAmountsOut(value, path); and send ETH as WEI 90ETH = 90000000000000000000. amountOutMin = amounts[1];
|
|
Nov 1, 2021 at 13:52 | comment | added | johnny 5 | i'm using that address, I set the value to 99 eth and amountOut for Dai as 1. I just want any transaction to pass so I know it works :/ | |
Oct 30, 2021 at 19:52 | history | answered | Saman H. Pasha | CC BY-SA 4.0 |