Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

add tokenFallback function for ERC223 compatibility #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drgorb
Copy link

@drgorb drgorb commented Jan 19, 2018

in order to make the Gnosis MultiSig ERC223 compatible the tokenFallback function with an empty body does the trick.

This does not impact the functionality of the contract in any way and does not pose a security vulnerability.

@pacoccino
Copy link

pacoccino commented Jan 30, 2018

Would really need to see that implemented to support ERC223 tokens !

Triggering an event could be also a good option like in
EthereumCommonwealth@8a2bbb9

@pacoccino
Copy link

Just a little comment on that, there is already a fallback function in the contract (https://github.com/gnosis/MultiSigWallet/blob/master/contracts/MultiSigWallet.sol#L95)

I just tried to send ERC223 to the regular gnosis contract and it works since it seems to fall into that method, so adding the tokenFallback method has actually no effect (unless you implement something inside)

@germartinez germartinez requested a review from Georgi87 February 22, 2018 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants