Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created gasefficient uniswapV2 Trade solidity smart contract to swap eth or tokens efficiently from the contract. #314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manavjain2002
Copy link

@manavjain2002 manavjain2002 commented Oct 14, 2023

Closes #313

πŸ‘¨β€πŸ’» Changes proposed

Created a new solidity smart contract for uniswapV2 Trading.
The smart contract supports swapping from EthToToken, TokenToETH, and TokenToToken with other useful functionalities to deposit or withdraw ETH or WETH.

βœ”οΈ Check List (Check all the applicable boxes)

  • [ βœ”οΈ] My code follows the code style of this project.
  • [ βœ”οΈ] This PR does not contain plagiarized content.
  • [ βœ”οΈ] The title of my pull request is a short description of the requested changes.

πŸ“„ Note to reviewers

Comments are written wherever it's required.

My Deployed contract and results :

Network - Goerli

Contract Address - 0xeAd01ad508F87cd4482ECeA609e2A3F3220d32B6

SwapEthToTokens Tx Hash - 0x4da3c21675bd3e00bb6aef2f54b0ed2436249a299fcbfd5be9d80009c3db1db1

Swap TokensToEth Tx Hash - 0xde5a9ec840e1858d04d499297895bdf431c5c1d457c8a443592973a2f62def1c

Swap TokensToTokens Tx Hash - 0xcd6a8fa10c897de86c8a4f1462311e53959179b4e6100a4c2fe364ef423d1749

UnwrapWeth Tx Hash - 0x243c67a749680ab46f585fc40ef6f0dd69d785a56bd5b7974e7c802798c86904

WithdrawETH Tx Hash - 0x05f145d7a9f327f601c17a300b8b89233f88ab26dc0df460830f7db6560d2650

@github-actions
Copy link

Our team will soon review your PR. Thanks @manavjain2002 :)

@manavjain2002
Copy link
Author

Kindly add hacktoberfest-accepted label if merging.

@Vikash-8090-Yadav
Copy link
Owner

Vikash-8090-Yadav commented Oct 14, 2023

Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uniswap Dex Trading Contract
2 participants