Hi everyone. Anyone here can help with something? There's a $1000 reward in ETH

Oct 20, 2020, 8:53 PM
Explain
Oct 20, 2020, 8:55 PM
So is there a way of selling it? Someone who knows solidity might have a workaround
I think the problem lies in line 236 - 240 in the code
That line says your allowance becomes the value of your allowance (what you approved for prior to selling) minus the amount you hold - effectively making your approved selling limit 0
Oct 20, 2020, 9:00 PM
Have you tried sending token to any other address?
Oct 20, 2020, 9:16 PM
Yes it works
Oct 20, 2020, 9:17 PM
Looks like the wierd calcfee function is causing the issue
CalcFee is called from another contract FeeManagement (line 304) which is not a verified contract. So can't be sure why it is causing the error
Oct 20, 2020, 9:26 PM
Yea someone on reddit pointed that out
Oct 20, 2020, 9:26 PM
And this confirms my assumption, you can send anywhere else but UNI😅
And there also exists a wierd delegatecall function, which can destroy this entire contract in seconds...
Oct 20, 2020, 9:29 PM
Is there a possibility we can write a contract that interacts with the token's and sell somehow without going through calcfee?
Oct 20, 2020, 10:33 PM
Yes, you cant do
Oct 20, 2020, 10:35 PM
Can or cannot?
Oct 20, 2020, 10:36 PM
Can
Sorry , i speak Spanish😅
Oct 20, 2020, 10:38 PM
It's ok 😊
Can you help with that?
If so we can talk in private
Oct 20, 2020, 10:39 PM
Umm I don't think you can... Uni pair is already created and every transfer function call from uni goes through the calcfee function
Or if you found any workarounds, feel free to share🙂
Oct 21, 2020, 4:25 AM
Which contract are you guys discussing?
Oct 21, 2020, 5:38 AM
Ooh he deleted the etherscan link
Oct 21, 2020, 6:45 AM

© 2024 Draquery.com All rights reserved.