import { Witness , WitnessModel } from '@neo-one/client-common' ; export const witness = ( witnessLike ) : WitnessModel => new WitnessModel ( { invocation : Buffer . from ( witnessLike . invocation , 'hex' ) , verification : Buffer . from ( witnessLike . verification , 'hex' ) } ) ;