The agreement is a back-up funding arrangement to allow OMAG to continue operations until they get the project up and running and revenue generated. The agreement is written so that YA Investment HAS to invest in OMAG at OMAG's discretion, from time-to-time. This is critical as it eliminates the risk that YA would decline to buy shares. And the purchase price is based on the average share price for a handful of days prior to investing (I forget the exact details, but I think it's 3 or 5 days). You'll notice that Frank and Charlie have been judicious in issuing shares to YA so as to not dilute our holdings.
This is laid out early in each of the 8ks filed at least this year (when I became an investor). Look at any one of the quarterly filings and you'll see a para on it. Regards.