func: function createToken(
          string  name,
          string  symbol,
          uint8   decimals,
          uint    totalSupply
          )
          public
          returns (address addr)
      {
          require(tokenRegistry != 0x0);
          require(tokenTransferDelegate != 0x0);
          ERC20Token token = new ERC20Token(
              name,
              symbol,
              decimals,
              totalSupply,
              tx.origin,
              tokenTransferDelegate
          );
          addr = address(token);
          TokenRegistry(tokenRegistry).registerMintedToken(addr, symbol);
          tokens.push(addr);
          emit TokenCreated(
              addr,
              name,
              symbol,
              decimals,
              totalSupply,
              tx.origin,
              tokenTransferDelegate
          );
      }