If niocorp is able to pay $8mil to Yorkville with shares (and I don't think they want this), then the company will have received a little less than $7mil in exchange for over 3.5 million shares with the warrants included.
Mark has been trying to use the shelf offering for close to 3 years now with only one tiny nibble to show for it. That is why the above happened.