In any action, suit or proceeding referred to in ORS 223.585, whether before or after the issuance of the deed, the party claiming to be the owner as against the party claiming under the sale must tender with the first pleading of the party and pay into the court at the time of filing such pleading the amount of the purchase price for which the lands were sold, together with the penalties prescribed by law at the time of the sale, and of all taxes and final assessments or liens, or both, levied or made upon or against the land, or any part thereof, which were paid after the sale by the purchaser at the sale, or the heirs or assigns of the purchaser, together with interest thereon at the rate of 10 percent per annum from the respective times of the payment of the purchase price, taxes, final assessments or liens, or both, by the purchaser, or the heirs or assigns of the purchaser, up to the time of the filing of the pleading, to be paid to the purchaser, or the heirs or assigns of the purchaser, in case the right or title of the purchaser at the sale fails in such action, suit or proceeding.
ORS 223.590