All such warrants shall be considered as contracts in writing for the payment of money, and the period prescribed for the commencement of an action based upon any such warrants, or connected therewith, is four years from the date of the first publication of the notice specifying the warrants published by the State Treasurer pursuant to the provisions of this article.