No suit shall be filed nor shall any pending suit be prosecuted in any court of this State affecting the issuance or sale of any state security, certificate of indebtedness or bond the intent or effect of which is to prevent, delay or affect the sale or other disposition thereof or which would have this effect unless and until the plaintiff in such action shall make application to the circuit judge presiding in the circuit in which the action is brought or, if there be no judge presiding, then to the resident judge of such circuit or to the Chief Justice of the Supreme Court, if the action be brought in the original jurisdiction thereof, or if he be disabled or disqualified to an associate justice, for leave to bring or prosecute such action and shall convince such judge or justice of the merit in such action or proceeding. Such suit shall not then be filed or prosecuted unless and until the plaintiff shall file in such court a bond in such amount as will adequately protect the State against loss, damage, injury and costs in an amount of not less than twenty-five thousand dollars, subscribed by a duly licensed surety company or secured by the deposit of a like amount in cash, conditioned to pay all loss, damage, injury and costs, including attorney's fees, which the State may sustain in any such action. And before any such action shall be commenced at least ten days' notice thereof, together with a copy of the proposed complaint, shall be given to the Governor and the State Treasurer, so as to afford them an opportunity to appear before the judge or justice in opposition to the filing of the suit and to be heard upon the amount of the bond to be required.
S.C. Code § 15-77-20