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.

Beceriler: Programlama, Sözleşmeler, Python, Smart Contracts

Daha fazlasını gör: 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?

İşveren Hakkında:
( 0 değerlendirme ) Lagos, Nigeria

Proje NO: #30956227

Bu iş için 2 freelancer ortalamada $200 teklif veriyor


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 Daha Fazla

$150 USD in 7 gün içinde
(1 Yorum)
(0 Değerlendirme)