Sunrise to pay for study of sale of water to proposed mine