Add function for contract spend tx from locked funds tx