solidity-challenge icon indicating copy to clipboard operation
solidity-challenge copied to clipboard

new version&&fix potential transfer callback vulnerability

Open yonghenghuanmie opened this issue 3 years ago • 0 comments

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.

yonghenghuanmie avatar Mar 21 '22 03:03 yonghenghuanmie