Hi there, just a quick question, if someone have a time

Is it possible that contract decide itself make transaction or not.

Example: I would like to get 100 ABC tokens. I send amount, 100 (minReturn) and path to my contract. Contract make a request to getAmountsOut of UniswapV2. And if Uni returns more then 100, contract send a transaction to blockchain. If not, it just return false.

Thanks in advance for any help!

Dec 27, 2021, 12:29 PM

© 2024 Draquery.com All rights reserved.