In all cases of sales in partition when it appears that any person has a vested or contingent future right or estate in any of the property sold, the court shall ascertain and settle the proportional value of the contingent or vested right or estate according to the principles of law applicable to annuities and survivorship, and shall direct such proportion of the proceeds of sale to be invested, secured or paid over in such manner as to protect the rights and interests of the parties.
ORS 105.340