shadow: Implement putspent