Create a smart contract that works with uniswap to buy a set amount of tokens multiple times in 1 transaction
Budget: $750 – $1,500 USD
You must provide a working contract on ropsten network I will give you contracts to test with on ropsten
The contract needs to be able to buy as many times as I tell it to in 1 transaction, + also have the option to buy multiple times + send the buys to different addresses
I want to be able to submit the number of tokens I want to buy (in uint 256 format) + amount of times I would like to buy
It needs a whitelist function that only the owner of the contract can interact with
Only whitelisted addresses will only be able to use functions in the contract
I need to be able to set a contract and token amount to swap for the token amount needs to be set in unit256 format ( i need to be able to change this with a function)
I need to be able to set a swap amount for the transaction that i can change with a function (for example I set to swap 5 times in 1 transaction)
The number of tokens it swaps for must be exactly what I set in the token amount it cannot go over the number I set
I need it so I can send a set amount of eth to send and it will split it evenly between the swaps and any leftover eth not used is returned
If I accidentally send eth to the smart contract I need you to make a function to withdraw any eth accidentally sent to it
and you cannot verify it
I will provide more detailed examples and transactions live on the mainnet
The contract needs to be able to buy as many times as I tell it to in 1 transaction, + also have the option to buy multiple times + send the buys to different addresses
I want to be able to submit the number of tokens I want to buy (in uint 256 format) + amount of times I would like to buy
It needs a whitelist function that only the owner of the contract can interact with
Only whitelisted addresses will only be able to use functions in the contract
I need to be able to set a contract and token amount to swap for the token amount needs to be set in unit256 format ( i need to be able to change this with a function)
I need to be able to set a swap amount for the transaction that i can change with a function (for example I set to swap 5 times in 1 transaction)
The number of tokens it swaps for must be exactly what I set in the token amount it cannot go over the number I set
I need it so I can send a set amount of eth to send and it will split it evenly between the swaps and any leftover eth not used is returned
If I accidentally send eth to the smart contract I need you to make a function to withdraw any eth accidentally sent to it
and you cannot verify it
I will provide more detailed examples and transactions live on the mainnet