Open kelpieinu opened 3 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 0.1 ETH (182.88 USD @ $1828.77/ETH) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 265 years, 5 months from now. Please review their action plans below:
1) awas666 has been approved to start work.
I already implemented something similar once in a contract, but for all transfers 2) adi44 has applied to start work _(Funders only: approve worker | reject worker)_.
Basically it needs a temporary lock implementation. I will implement a lock for 20 seconds
Learn more on the Gitcoin Issue Details page.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 0.1 ETH (182.88 USD @ $1828.77/ETH) has been submitted by:
To add in 20 seconds cooldown under _transfer function after function is perform with uniswap as a cooldown constructor, i don't need all the fees and setting, i just need a cooldown to block "bot" .
so i need a 20 seconds "lock" period where buyer cannot sell the token immediately if they transact with Uniswapv2 , reference code as below.
To make modification to :
https://github.com/kelpieinu/kelpie/blob/main/kelpie_contract
Such that it can have a 20 seconds lock to prevent sniping bot. Buy from UniswapV2 will be locked from selling for 20 seconds.
` function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero");