code: func typeOfScript(pops []parsedOpcode) ScriptClass {
  	if isPubkey(pops) {
  		return PubKeyTy
  	} else if isPubkeyHash(pops) {
  		return PubKeyHashTy
  	} else if isWitnessPubKeyHash(pops) {
  		return WitnessV0PubKeyHashTy
  	} else if isScriptHash(pops) {
  		return ScriptHashTy
  	} else if isWitnessScriptHash(pops) {
  		return WitnessV0ScriptHashTy
  	} else if isMultiSig(pops) {
  		return MultiSigTy
  	} else if isNullData(pops) {
  		return NullDataTy
  	}
  	return NonStandardTy
  }
docs: // scriptType returns the type of the script being inspected from the known
  // standard types.