I think it is kind of a usability problem - people will not understand why they CORION transfers are failing.
If I use Mist Multisig Wallet Contract (https://github.com/ethereum/mist/wiki/Wallet-Contract), I can buy tokens using ICO contract.
But, because of the way token contract's transfer and transferFrom functions are implementated https://github.com/CORIONplatform/solidity/blob/master/token.sol#L196-L197 my Wallet Contract will not be able to receive any CORION transfers.
Not sure about the fix - maybe the code should not fail if the contract does not implement the receiveCorionToken method (but it should still fail the contract implements the function but the call fails).
P.s. To add more confusion to the matter, the transferFromByModule does not implement the same logic regarding contracts as the transfer and transferFrom functions. - I understand, this transfer is currently used only to transfer CORIONs between modules.
I think it is kind of a usability problem - people will not understand why they CORION transfers are failing.
If I use Mist Multisig Wallet Contract (https://github.com/ethereum/mist/wiki/Wallet-Contract), I can buy tokens using
ICOcontract.But, because of the way
tokencontract'stransferandtransferFromfunctions are implementated https://github.com/CORIONplatform/solidity/blob/master/token.sol#L196-L197 my Wallet Contract will not be able to receive any CORION transfers.Not sure about the fix - maybe the code should not fail if the contract does not implement the
receiveCorionTokenmethod (but it should still fail the contract implements the function but the call fails).P.s. To add more confusion to the matter, the- I understand, this transfer is currently used only to transfer CORIONs between modules.transferFromByModuledoes not implement the same logic regarding contracts as thetransferandtransferFromfunctions.