Content pfp
Content
@
0 reply
18 recasts
21 reactions

billzh pfp
billzh
@billzh
$FARTS experiment has failed and I'm calling it off. - A contract bug has made it impossible to move funds out of the treasury (to Purple or anyone else) - Will burn all remaining tokens and renounce ownership soon
32 replies
8 recasts
33 reactions

billzh pfp
billzh
@billzh
More technical details: - in withdrawToPurple function, `transfer` will always run out of gas because the Purple treasury is a proxy contract. Should use `call` instead - $FARTS contract is not upgradable and the Purple address is hardcoded (s/o to @neokry for pointing out the bug)
4 replies
0 recast
3 reactions

billzh pfp
billzh
@billzh
https://etherscan.io/address/0xa00db4042b9537b8958289c7c68c5c74e341f766
0 reply
0 recast
0 reaction

shahruz pfp
shahruz
@shahruz
i think there's a way around this - i helped a project that ran into similar issues around withdrawing to a gnosis safe. these two links helped us at the time: https://help.safe.global/en/articles/40813-why-can-t-i-transfer-eth-from-a-contract-into-a-safe https://github.com/folia-app/eip-2929
4 replies
1 recast
14 reactions

fraan pfp
fraan
@ufolud
bro everyone knows you shouldn't use .transfer lol
1 reply
0 recast
1 reaction

iain pfp
iain
@iain
Often in solidity the hardest thing to do is to transfer native ETH :/. The `.transfer` function should just be removed at this point.
0 reply
0 recast
1 reaction