One place for the smart contract developer. This repo will have all the smart contract written in the remix ide .It contains all the source code with the screen shot.
MIT License
42
stars
55
forks
source link
Created gasefficient uniswapV2 Trade solidity smart contract to swap eth or tokens efficiently from the contract. #314
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.
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)
š 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