solidity-challenge
solidity-challenge copied to clipboard
new version&&fix potential transfer callback vulnerability
Hi, you advise me to take a look at widely used DeFi protocols. I'm looking at uniswapv3 now. Though am still have no idea about implementation without loop. But I think maybe this is what you mean. Transfer calculate dividend logic from owner to user, so owner's gas cost would be lower. I planned to deploy and verify new version of contract but always get timeout error, so the script keeps old contract address.