1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Differenciate ERC20 / ERC223 / ERC677 Tokens

Discussion in 'Finance' started by s k, Oct 8, 2018.

  1. s k

    s k Guest

    Are really mind blogging!

    I am having difficulties to check which version of Token I am handling when I am creating a new contract.

    How can I easily tell the token that I need to transfer is ERC20 or ERC223 or ERC677? (in addition to 721)

    (I know 677 is more downward compatible to 20 compare to 223)

    In my opinion, all these will get out of control sooner or later unless we implement a simple field in the contract just to tell which version this token is


    string public tokenSpec;

    function MyToken() public {
    tokenSpec = "ERC223";

    Login To add answer/comment

Share This Page