contract FactoryInterface {

    address public metmToken;
    address[] issuers;
    address[] tokens;

    uint256 public price;

    FundsHolder internal fundsHolder;

    struct TokenSettings {
        uint256 ts;
        uint256 price;
        string name;
        string symbol;
        address tokenAddress;
    }

    /**
    * @dev array of tokens issued by the issuer
    */
    mapping(address => address[]) issuerTokens;

    /**
    * @dev in the form of issuerTokensData[userAddress][tokenAddress] = TokenSettings
    */
    mapping(address => mapping(address => TokenSettings)) issuerTokensData;

    //implemented by the owner
    function setFundsHolderAddress(address _fundsHolder) external;

    /**
    * @dev Function to set price of the token function, onlyowner
    * @param _price New price of the reserve.
    */
    function setPrice(uint256 _price) external;

    /**
    * @dev Function to get info of all tokens created by the issuer
    * @param _issuer The address of the issuer.
    */
    function getAlltokens(address _issuer) public view returns (address[]);

    /**
    * @dev num of tokens created on the platform
    */
    function getNumOfTokens() public view returns (uint256);

    /**
    * @dev num of issuers who created tokens on the platform
    */
    function getNumOfIssuers() public view returns (uint256);

    /**
    * @dev address of the funds holder, onlyOwner
    */
    function getFundsHolderAddress() public view returns (address);
}
/**
 * @title TokenReserve interface
 */
function getAlltokens(address _issuer) public view returns (address[]);

/**
 * @dev Function to get info of all tokens created by the issuer
 * @param _issuer The address of the issuer.
 */