Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 71888

Uniswap is a decentralized finance protocol that is used to exchange cryptocurrencies.

1 vote

Confusion around AmoutOutMin with swapExactETHForTokens call

When calling the router contract to issue a swapExactEthForTokens swap, due to the fluctuation of the market, the router takes a parameter called AmountOutMin which is how much token you want at least …
Aaron Klich's user avatar
2 votes
1 answer
3k views

How to set a custom gwei / gas price on uniswap/sdk Javascript using ethers.js module?

Im building an app to do trades on uniswap using ethers module. ive created contracts and imported the router and the factory contracts using this code: const factory = new ethers.Contract( addresses.factory … addresses.recipient, Date.now() + 1000 * 60 //1 minute expiry time for contract. ); My question is how do i implement custom gwei in my trade , there dont appeart to be an argument within uniswap
Aaron Klich's user avatar