Skip to content

Mist Contract Wallet usage inconsistency #119

Description

@gundas

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions