Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Token format EIP20 to ERC223 #3

Open
syrohei opened this issue Oct 3, 2017 · 0 comments
Open

Switch Token format EIP20 to ERC223 #3

syrohei opened this issue Oct 3, 2017 · 0 comments

Comments

@syrohei
Copy link
Contributor

syrohei commented Oct 3, 2017

  • Raiden contain ERC223 fixed token standard
 /*
 * Contract that is working with ERC223 tokens
 * https://github.com/ethereum/EIPs/issues/223
 */

/// @title ERC223ReceivingContract - Standard contract implementation for compatibility with ERC223 tokens.
contract ERC223ReceivingContract {

    /// @dev Function that is called when a user or another contract wants to transfer funds.
    /// @param _from Transaction initiator, analogue of msg.sender
    /// @param _value Number of tokens to transfer.
    /// @param _data Data containig a function signature and/or parameters
    function tokenFallback(address _from, uint256 _value, bytes _data) public;
}

function tokenFallback implement a refunding from contract if sender is contract. but this format is not de fact standard yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant