Fermé

smart contract -- 2

To be exact I need a Smart Contract for arbitrage trading between Uniswap and Sushiswap. The smart contract should contain a function to trade from Uniswap to Sushiswap, and a function to trade from Sushiswap to Uniswap. These functions shall only be called by the contract owner.

The two functions should take the following parameters:

-Token Address of the token to be borrowed from Aave (usually DAI, if possible WETH).

-Token address of the token which is to be bought in Exchange A (this can be the same as the first parameter, then this token is not to be bought from Exchange A but is to be continued with the selling in Exchange B)

-Token address of the token to be sold in Exchange B

-Token amount to be borrowed from Aave, which will be used for the trade.

An arbitrage trade should be executed as follows:

1. flash loan of specified tokens (e.g. DAI, WETH) in the specified amount from Aave.

2. perform an exchange with the borrowed tokens into the specified token on Exchange A (or skip this step if the borrowed token is the same as the token to be bought)

3. swap the exchanged tokens again on Exchange B into the other specified token.

4. check if the exchange + aave fee has made a profit > 0, otherwise you will get an error message.

5. pay back the flash loan + fee to Aave

If you understand the requirements, I would be happy to place an award

PS: Upon successful completion and if the Smart Contract proves to be Satisfactory upon execution, I am ready to send you a bonus to your Ethereum Wallet! :)

Kind Regards.

Compétences : Programmation, Contrats, Python, Smart Contracts

En voir plus : i need a contract lawyer to check documents co za, write wh question to each of the following sentences 1 at first the internet was mainly used by scientists 2 you dont need a cd, Write a public class method chopMiddle that accepts a String parameter with 5 integers in it separated by commas (e.g. “1,2,3,, how to become a smart contract developer, tools to audit smart contract, how to edit ethereum smart contract, how to audit a smart contract, ethereum competitors guide to the alternative smart contract platforms, how to interact with smart contract, what are specified in a transaction to invoke an operation on a smart contract, how much money do you need to start binary trading, how to create a smart contract, how to read ethereum smart contract, how to create smart contract in blockchain, how to deploy smart contract on mainnet, how to deploy smart contract, how to deploy smart contract in private blockchain, what does the evm need to compile a smart contract, what do you need to access a smart contract from an application, what do you need to access a smart contract from an application?

Concernant l'employeur :
( 0 commentaires ) Lagos, Nigeria

Nº du projet : #30956227

2 freelances font une offre moyenne de 200 $ pour ce travail

AlexBozic

Hi, I have an deep experience of blockchain, cryptocurrency, smart contract, Defi and etc. After many years of experience, I am now ready to stand up to any other developer. A pure mind that puts customer satisfaction Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
0.8
(0 Commentaires)
0.0