refactoring coinbasecallbacvalidator